Using the syscadm script

Use the syscadm script to configure and administer Adaptive Server resource groups and their associated resources in Sun Cluster. You can use syscadm to create, remove, or no longer control the Adaptive Server resource group and its resources. The syscadm script is located in $SYBASE/$SYBASE_ASE/SC-3_0/bin/.

The create option of the script:

The remove option in the script removes specified resource groups and their resources.

The unmanage option:

NoteYou must be logged in as “root” to run the syscadm.

syscadm works with an input file called sysc_input_file, which you edit to provide the correct input values for your configuration. The sysc_input_file is located in $SYBASE/$SYBASE_ASE/SC-3_0/etc/.

NoteMake sure the file is not tampered with when you finish editing the sysc_input_file. If erroneous values are included in this file, they may affect your installation. Sybase suggests that you change the permissions on this file so only System Administrators can edit it.

When editing the sysc_input_file, make sure that:

See “Sample sysc_input_file” for a sample of the sysc_input_file.

The input file is divided into three sections.

For example, to edit the file for the Adaptive Server resource name, change this line:

ASE_RNAME="ase_$Dataserver_name"

To:

ASE_RNAME="my_ase_name"

Or, to specify the RUN_SERVER file and to set Debug_callback flag, change the entry for OTHER_PROPERTIES, whose value is a space-separated list of <name>=<value> strings, to:

OTHER_PROPERTIES="RUN_server_file=/mypath/RUN_my_ase Debug_callback=TRUE"