Installing Sybase considerations on a Linux operating system

Source: Internet
Author: User
Tags sybase linux

1. If it is a dual system, the code is mounted on the local disk, and the database device is mounted on the array by default, Sybase code is installed under/opt/sybase-12.5

In the/OPT directory, create the sybase-12.5 directory

#mkdir sybase-12.5

Set the moint point of the disk array to/sybdata

The database equipment built in the future is built on the/sybdata.

2. Create a Sybase user

Using the graphical interface to build Sybase users with administrative tools, note that the Sybase user's home directory is set to/opt/sybase-12.5,shell setting to BSH.

3. Modify the hosting of/opt/sybase-12.5 and/sybdata for Sybase

#chown sybase/opt/sybase-12.5

#chown Sybase/sybdata

4. Change the shared memory value of the linuxn.com "target=" _blank >linux system, in units of M

For example, the system has 2G of memory allocated to Sybase 1.5G

Perform

#echo ' 1500*1024*1024 ' Bc>/proc/sys/kernel/shmmax

Check for effective, executable

#ipcs Clm grep ' max seg size '

To share memory settings permanently, add a row to the/etc/rc.d/rc.local file as follows:

Echo ' 1500*1024*1024 ' Bc>/proc/sys/kernel/shmmax

5. If it is a dual-machine system, it is recommended to generate a logical IP, the installation of the database binding on the logical IP

For example, the local network card is ETH0,IP address is 10.100.60.201, host name is Dataserver1, logical IP is 10.100.60.200, host name is DataServer

You can use the graphical interface

#redhat-config-network to eth0 add one more IP, address is 10.100.60.200, and activate this network card.

The command-line method should also be

#ifconfig eth0:1 10.100.60.200 netmask 255.255.255.0 dataserver

Finally, perform ifconfig to check that the new IP address is in effect.

In addition, if the dual-machine system, on both servers, to modify the/etc/hosts file, add the following records:

10.100.60.200 DataServer

Where DataServer is the name of the database server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.