Sybase
Sybase
Administration Guide
October 2017
This document and the information herein is the property of SIOS Technology Corp. (previously known as
SteelEye® Technology, Inc.) and all unauthorized use and reproduction is prohibited. SIOS Technology
Corp. makes no warranties with respect to the contents of this document and reserves the right to revise this
publication and make changes to the products described herein without prior notification. It is the policy of
SIOS Technology Corp. to improve products as new technology, components and software become
available. SIOS Technology Corp., therefore, reserves the right to change specifications without prior notice.
LifeKeeper, SteelEye and SteelEye DataKeeper are registered trademarks of SIOS Technology Corp.
Other brand and product names used herein are for identification purposes only and may be trademarks of
their respective companies.
To maintain the quality of our publications, we welcome your comments on the accuracy, clarity,
organization, and value of this document.
Copyright © 2017
By SIOS Technology Corp.
San Mateo, CA U.S.A.
All rights reserved
Table of Contents
Chapter 1: Introduction 1
Sybase ASE Recovery Kit Documentation 1
Overview 1
Chapter 2: Requirements 3
Sybase ASE Recovery Kit Requirements 3
Hardware Requirements 3
Software Requirements 3
Active/Standby Considerations 6
Scenario 1 6
Scenario 2 7
Active/Active Considerations 7
Scenario 1 8
Scenario 2 8
Solution 10
Table of Contents
i
Chapter 4: Installation 13
Installing/Configuring Sybase ASE with SPS 13
Chapter 5: Administration 21
Resource Hierarchy Administration 21
Updating Parameters 24
Chapter 6: Troubleshooting 25
Sybase ASE Error During Resource Creation 25
Appendix 28
Creating Device Spaces Using Raw I/O 28
Requirements 28
Naming Conventions 28
Table of Contents
ii
Adding a Database Device After Creating Hierarchy 29
Table of Contents
iii
Chapter 1: Introduction
The SIOS Protection Suite for Linux Sybase ASE Recovery Kit will provide SPS resource protection for the
Sybase ASE components Adaptive Server, Monitor Server, and Backup Server.
Overview
The SIOS Protection Suite (SPS) for Linux Sybase ASE Recovery Kit provides a mechanism for protecting
Sybase ASE Server instances within SPS. The Sybase ASE software, LifeKeeper Core and Sybase ASE
Recovery Kit are installed on two or more servers in a cluster. Once the Sybase ASE Server instance is under
SPS protection, clients connect to the database using an SPS protected IP address. The SPS protected IP
address must be created separately prior to the creation of the Sybase ASE resource hierarchy. The Sybase
ASE resource hierarchy creation will create the dependency between the parent Sybase ASE resource
instance, and the child IP address resource. In the event that the Sybase ASE Server instance fails, SPS will
first attempt to recover it on the local server. If the local recovery fails, then SPS will fail over to a backup
server.
The dependencies in the above example correspond to the following protected resources:
In the event of failover, SPS will bring the file system, IP address and database resources (including all the
resource dependencies) in service on a backup server. Clients will be disconnected, and will need to re-
connect to the server. Any SQL statement that has not been committed will need to be re-entered.
Your LifeKeeper configuration must meet the following requirements prior to the installation of the LifeKeeper
for Linux Sybase Recovery Kit. Please refer to the SPS for Linux Installation Guide for specific instructions
regarding the installation and configuration of your LifeKeeper hardware and software.
Hardware Requirements
Software Requirements
Hardware Requirements
l Servers - Servers should be configured in accordance with the requirements described in the SPS for
Linux Technical Documentation and the SPS for Linux Release Notes.
l IP Network Interface Cards - Each server requires at least one Ethernet TCP/IP-supported network
interface card. Remember, however, that an SPS cluster requires at least two communication paths.
Two separate LAN-based communication paths using dual independent sub-nets are recommended for
heartbeats, and at least one of these should be configured as a private network. Using a combination of
TCP and TTY heartbeats is also supported.
l Storage – Servers should be configured to use SPS supported shared storage or the DataKeeper for
Linux storage.
Software Requirements
l TCP/IP Software – Each server in your SPS configuration requires TCP/IP Software.
l Sybase ASE Software – SPS supports version 15.5 and later of the Sybase ASE software. This
version can be obtained from Sybase Inc. at http://www.sybase.com/products/databaseservers/ase.
Note: The same version of the Sybase ASE software must be installed on all servers in the cluster. In
addition, only one version of the Sybase ASE software may be installed on the SPS protected servers.
l SPS Software – It is imperative that you install the same version of the SPS software and apply the
same versions of the SPS software patches to each server in your cluster.
l SPS for Linux IP Recovery Kit – The SPS for Linux IP Recovery Kit is required by the SPS for Linux
Sybase ASE Recovery Kit. The SPS for Linux IP Recovery Kit is provided on the SPS for Linux image
file (sps.img) via ftp download.
l SPS for Linux Sybase ASE Recovery Kit – The Sybase ASE Recovery Kit (steeleye-
lkSYBASE) is provided on the SPS for Linux Installation image file (sps.img) via ftp download. It is
installed and removed via this image file.
For example, a dependent file system for a Sybase ASE resource would look similar to the following, which
shows a file system for the system device space and its dependency, the DataKeeper resource mirror.
Example
Example_back
Example_mon
Active/Standby Considerations
In an Active/Standby configuration, the backup server is not actively running the Sybase ASE but stands by in
case the primary server experiences a failure. The following scenarios provide specific requirements that
must be adhered to when protecting a Sybase ASE resource instance in active/standby configurations.
Scenario 1
The Sybase ASE product is installed locally on all servers in the cluster.
l All Sybase Adaptive Server, Monitor Server and Backup Server devices are configured on shared
storage.
l The Sybase Adaptive Server, Monitor Server and Backup Server configuration files are stored on a
shared file system.
l The Sybase Adaptive Server and Monitor Server shared memory directory is located on a shared file
system.
l The interfaces file must be manually updated on all servers to contain common entries for each
instance to be protected.
l All interfaces file entries must be resolvable by all servers where the resource will be protected.
l The RUN files for each Adaptive Server, Monitor Server and Backup Server must exist on all servers in
the cluster.
l The RUN files for each Adaptive Server, Monitor Server and Backup Server must be executable on all
servers in the cluster.
l The RUN files for each Adaptive Server, Monitor Server and Backup Server must contain the same
options on all servers in the cluster.
Scenario 2
The Sybase ASE product is installed to one or more shared file systems on the primary server.
l All Sybase Adaptive Server, Monitor Server and Backup Server devices are configured on shared
storage.
l The Sybase Adaptive Server, Monitor Server and Backup Server configuration files are stored on a
shared file system.
l The Sybase Adaptive Server and Monitor Server shared memory directory is located on a shared file
system.
l The interfaces file does not have to be updated on the target servers.
l All interfaces file entries must be resolvable by all servers where the resource will be protected.
l On the SPS backup server, /etc/ld.so.conf must be updated to add entries for the Sybase
product libraries.
l Mount the shared file system containing the Sybase ASE installed products and run ldconfig
Active/Active Considerations
In an Active/Active configuration, each server is actively running one or more Sybase ASE Servers, while
acting as a backup for the other SPS server in case of failure. The following scenario provides specific
requirements that must be adhered to in sequential order when protecting a Sybase ASE resource instance in
an active/active configuration.
Scenario 1
The Sybase ASE product is installed locally on all servers in the cluster.
l All Sybase Adaptive Server, Monitor Server, and Backup Server devices are configured on shared
storage.
l The Sybase Adaptive Server, Monitor Server, and Backup Server configuration files are stored on a
shared file system.
l The Sybase Adaptive Server and Monitor Server shared memory directory is located on a shared file
system.
l The interfaces file must be manually updated on all servers to contain common entries for each
instance to be protected.
l All interfaces file entries must be resolvable by all servers where the resource will be protected.
l The RUN files for each Adaptive Server, Monitor Server and Backup Server must exist on all servers in
the cluster.
l The RUN files for each Adaptive Server, Monitor Server and Backup Server must be executable on all
servers in the cluster.
l The RUN files for each Adaptive Server, Monitor Server and Backup Server must contain the same
options on all servers in the cluster.
Scenario 2
The Sybase ASE product is installed to one or more shared file systems on the primary server.
l All Sybase Adaptive Server, Monitor Server and Backup Server devices are configured on shared
storage.
l The Sybase Adaptive Server, Monitor Server and Backup Server configuration files are stored on a
shared file system.
l The Sybase Adaptive Server and Monitor Server shared memory directory is located on a shared file
system.
l The interfaces file does not have to be updated on the target servers.
l All interfaces file entries must be resolvable by all servers where the resource will be protected.
l On the SPS backup server, /etc/ld.so.conf must be updated to add entries for the Sybase
product libraries.
l Mount the shared file system containing the Sybase ASE installed products and run ldconfig
When choosing whether to protect these components it is important to note that the configuration files that
share a common file system with the Adaptive Server configuration files, device paths, log paths, or shared
memory directories will be protected by SPS. If one or more components will not be protected with SPS,
considerations for file placement should be made to prevent sharing between the protected components and
the non-protected components.
NOTE: The Sybase Monitor Server is no longer supported with the Sybase ASE ARK v9.0.2 and later.
This indicates that the Sybase dataserver has set an NFS lock on the file "master.dat" on the NFS file
system that is being controlled by SPS. The lock was not cleared by the system crash, so SPS is unable to
bring the dataserver back into service. Sybase thinks that some other process is using the master.dat file.
Solution
To fix this, mount the NFS file system that will hold master.dat with the "nolock" NFS option before the
File System resource is created. By default, NFS allows file locks to be set. If the "nolock" option is used
before resource creation, SPS will pick up this option and use it each time it brings the file system resource in
service. Since SPS will be controlling access (from the cluster nodes) to the file system containing
master.dat, the lock is not typically critical. The NFS mount options used during testing were
"rw,sync,tcp,nfsvers=3,noac,nolock".
It is not necessary to use the "nolock" on other file systems used by the Sybase resource hierarchy such as
the file system where the Sybase ASE binaries are located.
If the NAS File System resource has already been created without the "nolock" option set, use the following
procedure to change the mount option:
1. Using the LifeKeeper GUI, take the file system resource that needs to be changed out of service. This
can be done from the LifeKeeper GUI putting the pointer on the file system resource and doing a right
mouse click, and select "Out of Service" from the drop-down menu. This action may take parent
resources out of service as well.
2. Confirm the "Out of Service" action and allow the process to complete.
3. Once the file system resource is out of service, you can put the pointer on the resource and do another
right mouse click, and from the drop-down menu, select "Change Mount Options."
4. In the popup window, add "nolock" to the line of options, and click "Set Value." You will need to
repeat steps 3 and 4 for each node in the cluster.
5. Bring the NAS File System resource back in service by doing a right mouse click, and selecting "In
Service".
6. The File System resource's property panel should now reflect that "nolock" is one of the current
mount options.
After you have performed these tasks, you will be ready to create the SPS resource hierarchy to protect your
Sybase ASE Server(s).
Once you have completed the setup tasks described in the previous section, you are ready to create and
extend your Sybase ASE resource hierarchies.
The following tasks are available for configuring the SPS for Linux Sybase ASE Recovery Kit:
l Extend Resource Hierarchy - Extends a Sybase ASE resource hierarchy from the primary server to the
backup server
l Unextend Resource Hierarchy - Unextends (removes) a Sybase ASE resource hierarchy from a single
server in the SPS cluster
l Testing Your Resource Hierarchy - Tests your Sybase ASE resource hierarchy
Refer to the GUI Administrative Tasks section of the SPS for Linux Technical Documentation for instructions
on configuring SPS Core resource hierarchies, for instance, file system and IP resources.
The following tasks are described in the Administration section within the SPS for Linux Technical
Documentation because they are common tasks with steps that are identical across all Recovery Kits.
l Delete a Resource Dependency. Deletes a resource dependency and propagates the dependency
changes to all applicable servers in the cluster.
l View/Edit Properties. View or edit the properties of a resource hierarchy on a specific server.
Note: Throughout the rest of this section, configuration tasks are performed using the Edit menu. You may
also perform most of the tasks:
Using the right-click method allows you to avoid entering information that is required using the Edit menu.
l A non-root system user (Sybase OS User) must exist on all servers. The user must have the same
user id, group id, and home directory on all servers where the resource(s) will be protected.
l The Sybase ASE common software packages must be installed. This package provides both the
Sybase srvbuild and Sybase isql utilities.
l Each SPS server containing a Sybase ASE resource hierarchy must have identical service entries in
the $SYBASE/interfaces file for the Sybase ASE Server(s).
l Verify that a link exists between $SYBASE/ASE-<version> and $SYBASE/ASE. If the link does not
exist, it must be manually created. See the topic Creating Links for ASE and OCS for additional
information.
l Verify that a link exists between $SYBASE/OCS-<version> and $SYBASE/OCS. If the link does not
exist, it must be manually created. See the topic Creating Links for ASE and OCS for additional
information.
l Refer to the Installation Guide Adaptive Server for Linux for details on configuring shared memory
parameters for the Adaptive Server, Monitor Server and Backup Server.
Follow the instructions in your Installation Guide Adaptive Server for Linux for configuring the Sybase
Adaptive Server, Monitor Server and Backup Server. The following considerations should be followed:
l Use the srvbuild utility or other Sybase ASE utility to create the Sybase Adaptive Server instance
Refer to the SPS for Linux Installation Guide for details on installing the SPS packages.
2. Select Sybase ASE Database from the drop-down list and click Next.
3. You will be prompted for the following information. When the Back button is active in any of the dialog
boxes, you can go back to the previous dialog box. This is helpful should you encounter any error
requiring you to correct the previously entered information. You may click Cancel at any time to cancel
the entire creation process.
Field Tips
Server Select the SPS server where the Sybase ASE resource is to be created.
Switchback Choose either intelligent or automatic. This determines how the Sybase ASE resource
Type will be switched back to the primary server after it comes in-service (active) on the
backup server following a failover. Intelligent switchback requires administrative
intervention to switch the resource back to the primary server, while automatic
switchback occurs as soon as the primary server is back on line and reestablishes SPS
communication paths.
Note: The switchback strategy must match that of the dependent resources to be used
by the Sybase ASE resource.
Sybase This field is used to specify the installation location of the Sybase ASE product. You
Install may type in another directory path. The valid characters allowed for the pathname are
Directory letters, digits and the following special characters: - _ . /
Sybase This field is used to specify the directory path that contains the Sybase data directory.
Instance The data directory will typically contain the ASE-<version>/RUN_* files for the instance.
Directory
Sybase This field contains by default the name of the first Sybase instance found on the system,
Instance for which no SPS hierarchy exists. The drop down list shows other Sybase instances
that may be available on your SPS server. This field is used to specify the Sybase ASE
Database instance that will be placed under LifeKeeper protection. The specified
instance must exist and must be running.
Sybase This field is used to enter the user name for the Sybase System Administrator. By
Username default the user name is sa. This System Administrator must have login and full
privileges on any database on the Sybase Adaptive Server being protected.
Field Tips
Sybase This field is used to specify the password for the Sybase System Administrator.
Login
Password
Sybase This field is used to specify the Sybase Backup server for the specified Adaptive Server
Backup instance. This Sybase Backup will be placed under SPS protection. The user may
Server select 'none’ if the Sybase Backup Server does not need to be included under SPS
protection.
Sybase This is a unique tag name for the new Sybase ASE database resource on the primary
ASE server. The default tag name consists of the word sybase followed by the name of the
Database Adaptive Server instance. You may type in another unique tag name. The valid
Tag characters allowed for the tag are letters, digits, and the following special characters: - _
./
4. Cllick Next. The Create Resource Wizard will then create your Sybase ASE resource hierarchy. SPS
will validate the data entered. If SPS detects a problem, an error message will appear in the information
box.
5. You should see a message indicating that you have successfully created a Sybase ASE resource
hierarchy, and you must extend that hierarchy to another server in your cluster to achieve failover
protection. Click Next.
6. Click Continue. SPS will then launch the Pre-extend Wizard. Refer to Step 2 under Extending a
Sybase ASE Resource Hierarchy for details on how to extend your resource hierarchy to another
server.
1. On the Edit menu, select Resource, then Extend Resource Hierarchy. The Pre-Extend Wizard
appears. If you are unfamiliar with the Extend operation, click Next. If you are familiar with the SPS
Extend Resource Hierarchy defaults and want to bypass the prompts for input/confirmation, click
Accept Defaults.
2. The Pre-Extend Wizard will prompt you to enter the following information.
Note: The first two fields appear only if you initiated the Extend from the Edit menu.
Field Tips
Template Select the server where your Sybase ASE resource is currently in service.
Server
Tag to Select the Sybase ASE resource you wish to extend.
Extend
Field Tips
Target Enter or select the server you are extending to.
Server
Switchback This determines how the Sybase ASE resource will be switched back tothe primary
Type server after it comes in-service (active) on the backup server following a failover. You
can choose either intelligent or automatic. The switchback type can be changed later, if
desired, from the General tab of the Resource Properties dialog box.
Note: Remember that the switchback strategy must match that of the dependent
resources to be used by the Sybase ASE resource.
Template Select or enter a Template Priority. This is the priority for the Sybase ASE hierarchy on
Priority the server where it is currently in service. Any unused priority value from 1 to 999 is
valid, where a lower number means a higher priority (1=highest). The extend process will
reject any priority for this hierarchy that is already in use by another system. The default
value is recommended.
Note: This selection will appear only for the initial extend of the hierarchy.
Target This is the priority for the new extended Sybase ASE hierarchy relative to equivalent
Priority hierarchies on other servers. Any unused priority value from 1 to 999 is valid, indicating a
server’s priority in the cascading failover sequence for the resource. Note that SPS
assigns the number “1” to the server on which the hierarchy is created by default. The
priorities need not be consecutive, but no two servers can have the same priority for a
given resource.
3. After receiving the message that the pre-extend checks were successful, click Next.
4. Depending upon the hierarchy being extended, SPS will display a series of information boxes showing
the Resource Tags to be extended, some of which cannot be edited.
5. The Extend Wizard will prompt you to enter the following information.
Sybase This field contains by default the Sybase ASE install path of the Template Resource. The
ASE valid Sybase ASE installation path should be specified. The valid characters allowed for
Install the pathname are letters, digits, and the following special characters: - _ . /
Directory
Sybase This is a unique tag name for the new Sybase ASE database resource on the primary
ASE server. The default tag name consists of the word sybase followed by the name of the
Database Adaptive Server instance. You may type in another unique tag name. The valid characters
Tag allowed for the tag are letters, digits, and the following special characters: - _ . /
6. After receiving the message "Hierarchy extend operations completed", click Next Server
to extend the hierarchy to another server, or click Finish if there are no other extend operations to
perform.
2. Select the Target Server where you want to unextend the Sybase ASE resource. It cannot be the
server where the resource is currently in service. (This dialog box will not appear if you selected the
Unextend task by right-clicking on a resource instance in the right pane.) Click Next.
3. Select the Sybase ASE hierarchy to unextend and click Next. (This dialog will not appear if you
selected the Unextend task by right-clicking on a resource instance in either pane.)
4. An information box appears confirming the target server and the Sybase ASE resource hierarchy you
have chosen to unextend. Click Unextend.
5. Another information box appears confirming that the Sybase ASE resource was unextended
successfully. Click Done to exit the Unextend Resource Hierarchy menu selection.
2. Select the name of the Target Server where you will be deleting your Sybase ASE resource hierarchy.
Note: If you selected the Delete Resource task by right-clicking from either the left pane on a global
resource or the right pane on an individual resource instance, this dialog will not appear.
3. Select the Hierarchy to Delete. (This dialog will not appear if you selected the Delete Resource task
by right-clicking on a resource instance in the left or right pane.) Click Next.
4. An information box appears confirming your selection of the target server and the hierarchy you have
selected to delete. Click Next.
5. Another information box appears confirming that the Sybase ASE resource was deleted successfully.
to be placed in service on the backup server and taken out-of-service on the primary server. At this point, the
original backup server is now the primary server and original primary server has now become the backup
server.
If you execute the Out of Service request, the resource hierarchy is taken out-of-service without bringing it in
service on the other server.
IMPORTANT: After bringing your resource hierarchy in service on the backup server, you should
attempt to connect to the databases, especially when using raw devices as device spaces. This
is necessary to ensure that all disk partitions are visible on the backup servers and the raw
bindings are being established correctly.
If the raw bindings have not been established on the backup servers, it is most likely caused by
the fact that new partitions were created on the primary server and added to the configuration, but
the partition tables have not yet been updated on the backup servers.
The solution is to reboot the backup servers so that the partition tables are updated correctly.
The following tasks may be required after your resource hierarchies have been created.
Updating Parameters
1. On the Edit menu, select Resource, then select Properties. A Resource Properties wizard will
appear.
2. Select the resource tag from the Select Resource drop-down. This is the resource tag for the SPS
protected Sybase ASE resource to modify.
3. Select the SPS Server from the Select Server for Resource drop-down. This will be the server to
update the Sybase ASE resource instance on. If changes are required on more than one SPS server,
then this process should be repeated for each server in the cluster.
4. Select the Resource Configuration button on the Resource Properties page. This will launch a
Reconfiguration wizard for the protected resource selected in Step 3. The first screen of the wizard
will display the current configuration settings for the resource under SPS protection. Select Next.
5. If a valid Sybase Backup Server exists on the specified server, the next screen will display a drop-
down for the Sybase Backup Server to add or remove. Select the Sybase Backup Server to add from
the list. Select Next. Note: For Sybase ASE installations where the Sybase software is installed on
shared storage, the file system containing the installation must be in service on the server where the
reconfiguration will take place.
6. If a valid Sybase Monitor Server exists, the next screen will allow you to configure it now. Refer to
Modifying Protection for the Sybase Monitor Server for considerations regarding modifying the Monitor
Server protection.
7. Select Reconfigure. If any errors are displayed they must be corrected before proceeding. Otherwise,
select Done.
8. Any Sybase Backup Server configuration file paths or associated database devices should be
manually protected with an SPS file system resource and made a dependent of the parent resource
hierarchy.
9. The virtual IP address associated with the Sybase Backup Server must be made a dependent of the
parent resource hierarchy. To find the associated IP address, look for the master and query lines
following the Sybase Backup Server name in the interfaces file.
1. On the Edit menu, select Resource, select Properties. A Resource Properties wizard will appear.
2. Select the resource tag from the Select Resource drop-down. This is the resource tag for the SPS
protected Sybase ASE resource to modify.
3. Select the SPS Server from the Select Server for Resource drop-down. This will be the server to
update the Sybase ASE resource instance on. If changes are required on more than one SPS server,
then this process should be repeated for each server in the cluster.
4. Select the Resource Configuration button on the Resource Properties page. This will launch a
Reconfiguration wizard for the protected resource selected in Step 3. The first screen of the wizard
will display the current configuration settings for the resource under SPS protection. Select Next.
5. If a valid Sybase Backup Server exists on the specified server, the next screen will display a drop-
down for the Sybase Backup Server to add or remove. Select ‘none’ from the list to remove protection
for the Sybase Backup Server. Select Next.
6. If a valid Sybase Monitor Server exists, the next screen will allow you to configure it now. Refer to
Modifying Protection for the Sybase Monitor Server for considerations regarding modifying the Monitor
Server protection.
7. Select Reconfigure. If any errors are displayed, they must be corrected before proceeding. Otherwise,
select Done.
8. Any Sybase Backup Server configuration file paths or associated database devices that are no longer
in use should be removed from the Sybase ASE resource dependency and deleted from SPS.
9. Any Sybase Backup Server virtual IP resources that are no longer in use should be removed from the
Sybase ASE resource dependency and deleted from SPS.
The Monitor Server is a separate server from the database server that monitors the Adaptive Server. The
Monitor Server can provide real time or historical data to client applications. The Sybase Monitor Server can
be protected by the SPS Sybase ASE resource hierarchy during the resource creation, or added to the SPS
protection after the resource hierarchy creation. In addition, the Sybase Monitor Server can be removed from
SPS protection after the hierarchy has been created.
1. On the Edit menu, select Resource, select Properties. A Resource Properties wizard will appear.
2. Select the resource tag from the Select Resource drop-down. This is the resource tag for the SPS
protected Sybase ASE resource to modify.
3. Select the SPS Server from the Select Server for Resource drop-down. This will be the server to
update the Sybase ASE resource instance on. If changes are required on more than one SPS server,
then this process should be repeated for each server in the cluster.
4. Select the Resource Configuration button on the Resource Properties page. This will launch a
Reconfiguration wizard for the protected resource selected in Step 3. The first screen of the wizard
will display the current configuration settings for the resource under SPS protection. Select Next.
5. If a valid Sybase Backup Server exists, the next screen will allow you to configure it now. Refer to
Modifying Protection for the Sybase Backup Server for considerations regarding modifying the Backup
Server protection.
6. If a valid Sybase Monitor Server exists on the specified server, the next screen will display a drop-
down for the Sybase Monitor Server to add or remove. Select the Sybase Monitor Server to add from
the list. Select Next. Note: For Sybase ASE installations where the Sybase software is installed on
shared storage, the file system containing the installation must be in-service on the server where the
reconfiguration will take place.
7. Select Reconfigure. If any errors are displayed they must be corrected before proceeding. Otherwise,
select Done.
8. Any Sybase Monitor Server configuration file paths or associated database devices should be
manually protected with an SPS file system resource and made a dependent of the parent Sybase
ASE resource hierarchy.
9. The virtual IP address associated with the Sybase Monitor Server must be made a dependent of the
parent Sybase ASE resource hierarchy. To find the associated IP address, look for the master and
query lines following the Sybase Monitor Server name in the interfaces file.
1. On the Edit menu, select Resource, select Properties. A Resource Properties wizard will appear.
2. Select the resource tag from the Select Resource drop-down. This is the resource tag for the SPS
protected Sybase ASE resource to modify.
3. Select the SPS Server from the Select Server for Resource pull down. This will be the server to update
the Sybase ASE resource instance on. If changes are required on more than one SPS server, then this
process should be repeated for each server in the cluster.
4. Select the Resource Configuration button on the Resource Properties page. This will launch a
Reconfiguration wizard for the protected resource selected in Step 3. The first screen of the wizard
will display the current configuration settings for the resource under SPS protection. Select Next.
5. If a valid Sybase Backup Server exists, the next screen will allow you to configure it now. Refer to
Modifying Protection for the Sybase Backup Server for considerations regarding modifying the Backup
Server protection
6. If a valid Sybase Monitor Server exists on the specified server, the next screen will display a pull down
for the Sybase Monitor Server to add or remove. Select ‘none’ from the list to remove protection for the
Sybase Monitor Server. Select Next.
7. Select Reconfigure. If any errors are displayed they must be corrected before proceeding. Otherwise,
select Done.
8. Any Sybase Monitor Server configuration file paths or associated database devices that are no longer
in use should be removed from the Sybase ASE resource dependency and deleted from SPS.
9. Any Sybase Monitor Server virtual IP resources that are no longer in use should be removed from the
Sybase ASE resource dependency and deleted from SPS.
Updating Parameters
When database parameters are updated for a Sybase ASE instance, it is necessary to check that all changes
will allow the instance to function on all LifeKeeper servers in the cluster. If changes require the addition or
deletion of LifeKeeper resources, such as file systems, raw devices or virtual IP addresses, these must be
added manually and made a dependency of the parent Sybase ASE resource hierarchy.
SYBASE_PROFILE=/opt/my-non-standard-path/SYBASE.sh
Symptom: SPS-L Sybase Resource fails to come in-service but the database instance is started.
Cause: The instance took longer than the default start up time to complete its startup and recovery process.
Solution: Increase the start wait tunable via the /etc/default/LifeKeeper file
For example: Add to /etc/default/LifeKeeper
SYBASE_STARTWAIT=120
114000 Usage: %s
114001 The Sybase Install Directory cannot be empty.
ACTION: View the SPS logs for details and retry the operation.
114010 Unable to get the version for the Sybase Server %s installed under %s on %s.
114011 The device %s for Sybase ASE Server %s is not a valid device.
114012 An error has occurred while trying to obtain the devices for Sybase ASE Server %s.
114013 Unable to create raw resource hierarchy for %s.
114014 Unable to create file system resource hierarchy for %s.
114015 The path %s is not on a shared file system.
114016 Unable to create resource dependency for parent %s and child %s.
114017 Information: SPS will not protect the path %s because it is not located on a shared file system.
114018 Unable to get the owner for the Sybase ASE Server %s installed under %s on %s.
114019 Unable to open file %s on server %s due to error %s.
114020 There are no hosts defined for the Sybase ASE Server %s in the file %s.
114021 There are no ports defined for the Sybase ASE Server %s in the file %s.
114022 The specified host name %s defined for the Sybase ASE Server %s in the file %s cannot be
resolved.
114023 Unable to detect the host and ports for the Sybase ASE Server %s.
114024 A LifeKeeper resource hierarchy does not exist for the IP address %s on server %s.
ACTION: Please specify the correct values for the target and template servers.
114026 The system user %s does not exist on the server %s.
114027 The group id for user %s is not the same on template server %s and target server %s.
114028 The user id for user %s is not the same on template server %s and target server %s.
114029 There are no IP dependent resources defined for the Sybase resource %s on %s.
114035 The Sybase ASE resource hierarchy %s does not contain any valid gen/filesys or scsi/raw
resource dependents on server %s.
ACTION: The hierarchy does not contain any valid dependents, you must delete and recreate the
hierarchy.
114036 There are no Sybase ASE Servers available for protection with LifeKeeper.
114037 Unable to obtain the pid of the backupserver process corresponding to instance %s.
114038 The pid detected for Sybase Backup Server %s in the LifeKeeper pidfile %s.LK on server %s
exists in another LifeKeeper pidfile on this server.
ACTION: The duplicate pid entry in the pid files should be resolved. The pid file for the instance
that is not running should be removed.
114039 Unable to update the resource instance %s on server %s.
114040 The update of the resource instance %s failed on server %s. All attempts to rollback the instance
information field have failed. ACTION: Manual intervention is required.
114041 The interfaces file %s on %s contains an invalid comment line. ACTION: Please correct the
interfaces file to remove any comment lines.
114042 One or more of the Sybase ASE Servers is missing from the file %s.
114043 The file %s does not exist on server %s.
114044 The reconfiguration of the Sybase ASE resource hierarchy %s on server %s was successful
114045 The update of the resource instance %s failed on server %s. The instance information field has
not been modified.
Requirements
In order to use the Sybase ASE Recovery Kit with raw I/O, the following requirements must be met:
l The Linux OS must support raw I/O devices. For most distributions this support was included in the 2.4
kernel, but there are some distributions that support raw I/O on a 2.2 kernel.
l All raw I/O devices must be bound to a shared disk partition. The number of database devices
(devspaces) that will be located on raw I/O devices determines the exact number of raw devices and
shared disk partitions required. Refer to the Installation Guide Adaptive Server for Linux for guidelines
for creating database devices on raw devices.
l The version of the Sybase ASE software must support the use of raw I/O devices.
Naming Conventions
The naming of raw devices and controller varies by Linux distribution.
l On Red Hat, the device name is /dev/raw/raw<number> and the controller is /dev/rawctl
l On SuSE SLES 11 versions, the device name is /dev/raw/raw<number> and the controller is
/dev/raw/rawctl
2. Bind an unused raw device node to this partition. Since this needs to be done every time the machine is
rebooted, and requires root access, you may want to add the raw bindings to a system initialization file
(i.e. rc.local or boot.local). These bindings must be removed from the file once the hierarchy is under
SPS protection. SPS will re-establish the raw bindings for raw I/O devices that are under SPS
protection. Use the command raw –qa to see which raw device nodes are already in use. For
example:
# raw –qa
3. Set global read permissions on both the raw device controller (/dev/rawctl or
/dev/raw/rawctl), and the disk partition on all servers that will protect the database instance.
4. Set group and user read/write permissions on the raw device on all servers that will protect the
database instance.
5. Change the owner of the raw device to the Sybase ASE owner for the given database instance on all
servers that will protect the database instance.
6. Refer to the Installation Guide Adaptive Server for Linux for information on adding the raw device to the
database server(s).
1. From the command line, change directories into the $SYBASE directory.
Example:
server1 # cd $SYBASE
server1 # pwd
/opt/sybase-15.5
Example:
Note: If a link already exists between ASE-15_5 and ASE, proceed to Step 5.
Example:
server1 # ls ASE-15_5/bin/srvbuild
srvbuild
Note: If a "no such file or directory" error occurs, then you have chosen the wrong path.
4. From the command line, create a link between the identified ASE-<version> directory and ASE.
Example:
server1 # pwd
/opt/sybase-15.5
Example:
server1 # ls ASE/bin/srvbuild
srvbuild
6. From the command line, change directories into the $SYBASE directory.
Example:
server1 # cd $SYBASE
server1 # pwd
/opt/sybase-15.5
Example:
Note: If a link already exists between OCS-15_5 and OCS, proceed to Step 5.
Example:
server1 # ls OCS-15_5/bin/isql
isql
Note: If a "no such file or directory" error occurs, then you have chosen the wrong path.
9. From the command line, create a link between the identified OCS-<version> directory and OCS.
Example:
server1 # pwd
/opt/sybase-15.5
Example:
server1 # ls ASE/bin/isql
isql