Storage Foundation for Sybase ASE CE 7.4.1 Configuration and Upgrade Guide - Linux
- Section I. Configuring SF Sybase ASE CE
- Preparing to configure SF Sybase CE
- Configuring SF Sybase CE
- About configuring SF Sybase CE
- Configuring the SF Sybase CE components using the script-based installer
- Configuring the SF Sybase CE cluster
- Configuring the cluster name
- Configuring private heartbeat links
- Configuring the virtual IP of the cluster
- Configuring SF Sybase CE in secure mode
- Configuring a secure cluster node by node
- Adding VCS users
- Configuring SMTP email notification
- Configuring SNMP trap notification
- Configuring global clusters
- Configuring the SF Sybase CE cluster
- Configuring SF Sybase CE clusters for data integrity
- Setting up disk-based I/O fencing using installer
- Performing an automated SF Sybase CE configuration
- Performing an automated I/O fencing configuration using response files
- Configuring a cluster under VCS control using a response file
- Section II. Post-installation and configuration tasks
- Section III. Upgrade of SF Sybase CE
- Planning to upgrade SF Sybase CE
- Performing a full upgrade of SF Sybase CE using the product installer
- Performing an automated full upgrade of SF Sybase CE using response files
- Performing a phased upgrade of SF Sybase CE
- About phased upgrade
- Performing a phased upgrade of SF Sybase CE from version 6.2.1 and later release
- Step 1: Performing pre-upgrade tasks on the first half of the cluster
- Step 2: Upgrading the first half of the cluster
- Step 3: Performing pre-upgrade tasks on the second half of the cluster
- Step 4: Performing post-upgrade tasks on the first half of the cluster
- Step 5: Upgrading the second half of the cluster
- Step 6: Performing post-upgrade tasks on the second half of the cluster
- Performing a rolling upgrade of SF Sybase CE
- Performing post-upgrade tasks
- Section IV. Installation and upgrade of Sybase ASE CE
- Installing, configuring, and upgrading Sybase ASE CE
- Before installing Sybase ASE CE
- Preparing for local mount point on VxFS for Sybase ASE CE binary installation
- Preparing for shared mount point on CFS for Sybase ASE CE binary installation
- Installing Sybase ASE CE software
- Preparing to create a Sybase ASE CE cluster
- Creating the Sybase ASE CE cluster
- Preparing to configure the Sybase instances under VCS control
- Configuring a Sybase ASE CE cluster under VCS control using the SF Sybase CE installer
- Upgrading Sybase ASE CE
- Installing, configuring, and upgrading Sybase ASE CE
- Section V. Adding and removing nodes
- Adding a node to SF Sybase CE clusters
- About adding a node to a cluster
- Before adding a node to a cluster
- Adding the node to a cluster manually
- Starting Veritas Volume Manager (VxVM) on the new node
- Configuring cluster processes on the new node
- Setting up the node to run in secure mode
- Starting fencing on the new node
- Configuring Cluster Volume Manager (CVM) and Cluster File System (CFS) on the new node
- After adding the new node
- Configuring the ClusterService group for the new node
- Adding a node to a cluster using the Veritas InfoScale installer
- Adding the new instance to the Sybase ASE CE cluster
- Removing a node from SF Sybase CE clusters
- Adding a node to SF Sybase CE clusters
- Section VI. Configuration of disaster recovery environments
- Section VII. Installation reference
- Appendix A. Installation scripts
- Appendix B. Sample installation and configuration values
- Appendix C. Tunable files for installation
- About setting tunable parameters using the installer or a response file
- Setting tunables for an installation, configuration, or upgrade
- Setting tunables with no other installer-related operations
- Setting tunables with an un-integrated response file
- Preparing the tunables file
- Setting parameters for the tunables file
- Tunables value parameter definitions
- Appendix D. Configuration files
- About sample main.cf files
- Sample main.cf files for Sybase ASE CE configurations
- Sample main.cf for a basic Sybase ASE CE cluster configuration under VCS control with shared mount point on CFS for Sybase binary installation
- Sample main.cf for a basic Sybase ASE CE cluster configuration with local mount point on VxFS for Sybase binary installation
- Sample main.cf for a primary CVM VVR site
- Sample main.cf for a secondary CVM VVR site
- Appendix E. Configuring the secure shell or the remote shell for communications
- Appendix F. High availability agent information
Configuring a Sybase ASE CE cluster under VCS control using the SF Sybase CE installer
A VCS service group is a collection of resources working together to provide application services to clients. A VCS service group typically includes multiple resources that are both hardware and software based. For example, a resource maybe a physical component such as a disk or network interface card, or a software component such as Sybase or a Web server, or a configuration component such as an IP address or mounted file system.
For an example configuration file:
The SF Sybase CE installer enables you to configure VCS service groups for putting a basic Sybase ASE CE cluster under VCS control. For examples of the VCS service group dependencies for SF Sybase CE see the following diagrams.
Figure: Service group dependencies for an SF Sybase CE configuration on local disk group with VxFS displays the service group dependencies for an SF Sybase CE configuration on local disk group with VxFS.
Figure: Service group dependencies for an SF Sybase CE configuration on shared disk group with CFS displays the service group dependencies for an SF Sybase CE configuration on shared disk group with CFS.
Requirements for configuring the SF Sybase CE cluster under VCS control:
Install Veritas InfoScale Enterprise.
Configure SF Sybase CE.
Configure I/O fencing in Sybase mode.
Create Sybase user and group.
See Sybase documentation.
Create a local or shared disk group, volume, and mount point for Sybase binary installation.
Install the Sybase ASE CE software
Create a shared disk group, volume and mount point for the Sybase ASE CE quorum device
Create a shared disk group, volume and mount point for the Sybase ASE CE datafiles
Create the Sybase ASE CE cluster
To put the Sybase ASE CE cluster and its resources under VCS control, the installer's configuration process will add the required resources to appropriate VCS service groups.
Table: Required resources for configuring Sybase ASE CE under VCS control lists the required resources for configuring Sybase ASE CE under VCS control.
Table: Required resources for configuring Sybase ASE CE under VCS control
Required resources | Example values | |
|---|---|---|
Resources for the Sybase ASE CE binary installation: | Example values for shared mount point: | Example values for local mount point: |
|
|
|
Resources for the Sybase ASE CE quorum device: | Example values for shared mount point: | |
|
| |
Resources for the Sybase ASE CE datafiles: | Example values for shared mount point: | |
|
| |
Any other CFS disk group, mount point, and volume used for Sybase ASE CE resources that are required by the Sybase ASE CE cluster | As needed | |
The quorum device name | /quorum/quorum.dat | |
Warning:
You will not be able to proceed using the installer to configure the Sybase ASE CE cluster under VCS control without the items listed in Table: Required resources for configuring Sybase ASE CE under VCS control
To configure VCS service groups for Sybase ASE CE
- Log in to the installer if you are not currently logged in.
See Configuring the SF Sybase CE components using the script-based installer.
- When prompted to select an option from the main menu, choose the option: Configure Sybase ASE CE Instance in VCS.
The installer will not be able to proceed any further unless you have the required resources available.
See Table: Required resources for configuring Sybase ASE CE under VCS control.
- To select the type of file system where Sybase ASE CE binaries reside, choose one of the options.
Veritas recommends CFS.
- Configure the Sybase ASE CE binary installation resources under VCS control. These are the resources which were created while preparing to install Sybase ASE CE.
See Preparing for shared mount point on CFS for Sybase ASE CE binary installation. for shared mount point.
See Preparing for local mount point on VxFS for Sybase ASE CE binary installation . for local mount point.
To configure the Sybase resources under VCS control:
To select a disk group used for Sybase ASE CE installation, choose one of the options.
Note:
If you use Sybase ASE CE installation binaries on the local VxFS mount, you must specify the disk group for each node.
To select the volume used for Sybase ASE CE installation, choose one of the options.
Enter the mount point for the selected volume.
- The quorum device resources must be added into the resource group if it is under a different CFS than the Sybase database installation. These resources were created while preparing for a Sybase ASE CE cluster.
See Preparing to create a Sybase ASE CE cluster.
To configure the quorum device under VCS control:
Enter y if the quorum device is under a different CFS than the Sybase database resources you have configured in the previous step, otherwise enter n.
If you entered y, select a disk group for the quorum device.
Select a volume for the qourum device.
Enter y if there is a CFS on the volume you selected, otherwise enter n. The quorum device can use either a volume which you have selected directly or a file under CFS created on the selected volume.
Enter the mount point for the volume.
- If there are any other disk groups, volumes, or mount points used for the Sybase ASE CE cluster, such as other database files, for instance master, system, etc., which are using a different CFS, they must also be put under VCS control.
To add other disk groups, volumes, and mount points to the resource group, enter y when prompted, otherwise enter n.
- Verify the disk groups, volumes and mount points information when prompted.
- To configure the Sybase ASE CE resources:
Enter the Sybase instance on ASE1 and ASE2 when prompted.
Enter the Sybase UNIX user name.
Enter Sybase home directory, where the Sybase binaries reside.
Enter Sybase version.
If required, enter the username and password for the Admin user. The default username is 'sa', password is''.
Enter the Sybase quorum device information.
During configuration of Sybase instance under VCS control, if the quorum device is on CFS and is not mounted, the following warning message appears on the installer screen:
Error: CPI WARNING V-9-0-0 The quorum file /quorum/quorum.dat cannot be accessed now. This may be due to a file system not being mounted.
This message may be safely ignored. The resource will be onlined and available when the service is completed.
Verify the Sybase configuration information by entering y, otherwise enter n. For example:
Sybase configuration information verification: Sybase Server on sys1: ASE1 Sybase Server on sys2: ASE2 Sybase UNIX user name: sybase Sybase home directory where sybase binaries reside: /sybase Sybase version: 15 Sybase sa: sa Passwords are not displayed Sybase quorum: /quorum/quorum.datOnce you confirm the information is correct, the installer configures and onlines the VCS service groups for Sybase ASE CE. This completes the configuration of Sybase ASE CE under VCS control.
Note the location of the configuration log files for future reference.
- To verify the service groups have been created and are available online, enter:
# hagrp -state
hagrp -state #Group Attribute System Value cvm State system1 |ONLINE| cvm State system2 |ONLINE| quorum_voldgmnts State system1 |ONLINE| quorum_voldgmnts State system2 |ONLINE| sybasece State system1 |ONLINE| sybasece State system2 |ONLINE| sybbin_voldgmnts State system1 |ONLINE| sybbin_voldgmnts State system2 |ONLINE|