Precautions for installing Sybase on Linux platforms

Source: Internet
Author: User

1. For a dual-host system, the code is installed on the local disk, and the database device is mounted on the array.
By default, Sybase code is installed under/opt/sybase-12.5
  
Under 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 devices created later are all created on/sybdata.
  
2. Create a sybase user
Use a graphical interface and management tools to create sybase users. Note that the home directory of Sybase users is set to/opt/sybase-12.5, and the shell is set to bsh.
  
3. Modify the/opt/sybase-12.5 and/sybdata host to sybase
# Chown sybase/opt/sybase-12.5
  
# Chown sybase/sybdata
  
4. Change the value of linuxn.com "target =" _ blank "> linux shared memory, in MB
For example, the system has 2 GB of memory and is allocated to sybase 1.5 GB.
  
Run
  
# Echo '2017*1500*1024 'bc>/proc/sys/kernel/shmmax
  
Check whether it is effective and executable
  
# Ipcs Clm grep 'max seg size'
  
To ensure that the shared memory settings take effect permanently, add the following line to the/etc/rc. d/rc. local file:
  
Echo '2017*1500*1024 'bc>/proc/sys/kernel/shmmax
  
5. For dual-host systems, we recommend that you first generate a logical IP address and bind it to the logical IP address when installing the database.
For example, the local Nic is eth0, the IP address is 10.100.60.201, the host name is dataserver1, the logical IP address is 10.100.60.200, and the host name is dataserver.
  
Graphical interface
  
# RedHat-config-network add one more IP address to eth0, Which is 10.100.60.200, and activate this Nic.
  
The command line method should also work.
  
# Ifconfig eth0: 1 10.100.60.200 netmask 255.255.255.0 dataserver
  
Finally, run ifconfig to check whether the new IP Address has taken effect.
  
In addition, if you want to modify the/etc/hosts file on both servers, add the following records:
  
10.100.60.200 dataserver
  
Dataserver is the name of the database server.

  • 1
  • 2
  • Next Page
[Content navigation]
Page 7: Precautions for installing Sybase on Linux Page 7: Precautions for installing Sybase on Linux

Related Article

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.