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
 
Setting up ssh and rsh connection using the pwdutil.pl utility
The password utility, pwdutil.pl, is bundled under the scripts directory. The users can run the utility in their script to set up the ssh and rsh connection automatically.
# ./pwdutil.pl -h
Usage:
Command syntax with simple format:
    pwdutil.pl check|configure|unconfigure ssh|rsh <hostname|IP addr> 
				[<user>] [<password>] [<port>]
Command syntax with advanced format:
    pwdutil.pl [--action|-a 'check|configure|unconfigure']
               [--type|-t 'ssh|rsh']
               [--user|-u  '<user>']
               [--password|-p '<password>']
               [--port|-P '<port>']
               [--hostfile|-f '<hostfile>']
               [--keyfile|-k '<keyfile>']
               [-debug|-d]
               <host_URI>
    pwdutil.pl -h | -?Table: Options with pwdutil.pl utility
| Option | Usage | 
|---|---|
| --action|-a 'check|configure|unconfigure' | Specifies action type, default is 'check'. | 
| --type|-t 'ssh|rsh' | Specifies connection type, default is 'ssh'. | 
| --user|-u '<user>' | Specifies user id, default is the local user id. | 
| --password|-p '<password>' | Specifies user password, default is the user id. | 
| --port|-P '<port>' | Specifies port number for ssh connection, default is 22 | 
| --keyfile|-k '<keyfile>' | Specifies the private key file. | 
| --hostfile|-f '<hostfile>' | Specifies the file which list the hosts. | 
| -debug | Prints debug information. | 
| -h|-? | Prints help messages. | 
| <host_URI> | Can be in the following formats: <hostname> <user>:<password>@<hostname> <user>:<password>@<hostname>: <port> | 
You can check, configure, and unconfigure ssh or rsh using the pwdutil.plutility. For example:
- To check ssh connection for only one host: - pwdutil.pl check ssh hostname 
- To configure ssh for only one host: - pwdutil.pl configure ssh hostname user password 
- To unconfigure rsh for only one host: - pwdutil.pl unconfigure rsh hostname 
- To configure ssh for multiple hosts with same user ID and password: - pwdutil.pl -a configure -t ssh -u user -p password hostname1 hostname2 hostname3 
- To configure ssh or rsh for different hosts with different user ID and password: - pwdutil.pl -a configure -t ssh user1:password1@hostname1 user2:password2@hostname2 
- To check or configure ssh or rsh for multiple hosts with one configuration file: - pwdutil.pl -a configure -t ssh --hostfile /tmp/sshrsh_hostfile 
- To keep the host configuration file secret, you can use the 3rd party utility to encrypt and decrypt the host file with password. - For example: - ### run openssl to encrypt the host file in base64 format # openssl aes-256-cbc -a -salt -in /hostfile -out /hostfile.enc enter aes-256-cbc encryption password: <password> Verifying - enter aes-256-cbc encryption password: <password> ### remove the original plain text file # rm /hostfile ### run openssl to decrypt the encrypted host file # pwdutil.pl -a configure -t ssh 'openssl aes-256-cbc -d -a -in /hostfile.enc' enter aes-256-cbc decryption password: <password> 
- To use the ssh authentication keys which are not under the default $ - HOME/.sshdirectory, you can use --keyfile option to specify the ssh keys. For example:- ### create a directory to host the key pairs: # mkdir /keystore ### generate private and public key pair under the directory: # ssh-keygen -t rsa -f /keystore/id_rsa ### setup ssh connection with the new generated key pair under the directory: # pwdutil.pl -a configure -t ssh --keyfile /keystore/id_rsa user:password@hostname 
You can see the contents of the configuration file by using the following command:
# cat /tmp/sshrsh_hostfile user1:password1@hostname1 user2:password2@hostname2 user3:password3@hostname3 user4:password4@hostname4 # all default: check ssh connection with local user hostname5 The following exit values are returned: 0 Successful completion. 1 Command syntax error. 2 Ssh or rsh binaries do not exist. 3 Ssh or rsh service is down on the remote machine. 4 Ssh or rsh command execution is denied due to password is required. 5 Invalid password is provided. 255 Other unknown error.