Configuring the service group for Sybase using the command line

The VCS agent for Sybase contains a sample configuration file that can be used as reference to directly modify your present configuration file. This method requires you to restart VCS before the configuration takes effect.

To configure a service group for Sybase from the command line

  1. Log in to a cluster system as superuser.
  2. Make sure the Sybase type definition is imported into VCS engine.

  3. Edit the file at /etc/VRTSvcs/conf/config/ For reference, use the sample files at /etc/VRTSagents/ha/conf/Sybase.

    • Create a Sybase service group.

    • Create the Sybase and SybaseBk resources.

    • Edit the default attributes to match the parameters in your configuration.

      For added security, you must always provide a secure value for passwords.

    • Assign dependencies to the newly created resources. Refer to the sample file at /etc/VRTSagents/ha/conf/Sybase/.

      See the for more information on assigning dependencies.

  4. Save and close the file.
  5. Verify the syntax of the file /etc/VRTSvcs/conf/config/
    # cd /etc/VRTSvcs/conf/config
    # hacf -verify .
  6. Start VCS on the local node.
    # hastart
  7. Start VCS on the other nodes.
  8. If the system is listed in AutoStartList attribute of the Sybase service group, verify that all Sybase service group resources are brought online.
    # hagrp -state
  9. Take the service group offline and verify that all the resources are stopped.
    # hagrp -offline service_group -sys system_name
    # hagrp -state
  10. Bring the service group online again and verify that all the resources are available.
    # hagrp -online service_group -sys system_name
    # hagrp -state
  11. Switch the Sybase service group to the other node.
    # hagrp -switch service_group -to system_name
  12. Verify that all Sybase service group resources are brought online on the other node.
    # hagrp -state
  13. On all systems, look at the following log files for any errors or status.

More Information

Configuring the service groups for Sybase

Sybase resource type

SybaseBk resource type

Encrypting passwords for Sybase