The sybha executable enables the Adaptive Server High Availability Basic Services Library to interact with each platform’s high availability cluster subsystem. Before sybha can run, you must change its ownership and permissions. You must also edit a file named sybhauser in $SYBASE/$SYBASE_ASE/install contains a list of the users who have System Administrator privileges on the cluster. Sybase strongly recommends that you limit the number of users who have System Administrator privileges on the cluster.
As “root,” perform the following:
Add a new group named sybhagrp. You can either add this group to the /etc/group file or you can add it to your NIS maps. Add the sybase user (the user that owns the $SYBASE directory) to this group. When the server is started, the sybase user runs the data server. If you have multiple servers running and different users owning the $SYBASE directory for each of them, you must add each of these users to the group.
Change to the $SYBASE/$SYBASE_ASE/bin directory:
cd $SYBASE/$SYBASE_ASE/bin
Change the ownership of sybha to “root”:
chown root sybha
Change the group for the sybha program to sybhagrp:
chgrp sybhagrp sybha
Modify the file permissions for sybha to 4550:
chmod 4550 sybha
Change to the $SYBASE/$SYBASE_ASE/install directory:
cd $SYBASE/$SYBASE_ASE/install
Add the sybase user to the sybhauser file. These logins must be in the format of UNIX login IDs, not Adaptive Server logins. For example:
sybase coffeecup spooner venting howe
Change the ownership of sybhauser to “root”:
chown root sybhauser
Modify the file permissions for sybhauser:
chmod 600 sybhauser
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |