Executing sybha

The Adaptive Server High Availability Basic Services Library calls sybha, which allows the library to interact with each platform’s high availability cluster subsystem. sybha is located in $SYBASE/$SYBASE_ASE/bin. Before you can run sybha, you must change its ownership and permissions.

You must also edit a file named sybhauser in $SYBASE/$SYBASE_ASE/install. This file 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”:

  1. Add a new group called sybhagrp either in the /etc/group file or to your NIS maps.

  2. Add the Sybase user to sybhagrp. This is the user who owns the $SYBASE directory, and when the server is started, this user runs the data server. If you have multiple servers running, with different users owning the $SYBASE directory, you must add all of these users to sybhagrp.

  3. Change to the $SYBASE/$SYBASE_ASE/bin directory.

  4. Change the ownership of the sybha program to “root”:

    chown root sybha
    
  5. Change the group of the sybha program to sybhagrp:

    chgrp sybhagrp sybha
    
  6. Modify the file permissions for sybha to 4550:

    chmod 4550 sybha
    
  7. Change to the $SYBASE/$SYBASE_ASE/install directory.

  8. Add the sybase user to the sybhauser file.

  9. Change the permissions of sybhauser to “root”:

    chown root sybhauser
    
  10. Modify the file permissions for sybhauser so it can be modified only by “root:”

    chmod 600 sybhauser