Veritas Cluster Server Installation Guide
Veritas Cluster Server Installation Guide
Legal Notice
Symantec Corporation Ellis Street Mountain View, CA
Technical Support
Contacting Technical Support
Licensing and registration
Customer service
Documentation feedback
Maintenance agreement resources
Additional enterprise services
Contents
Contents
Chapter Configuring VCS clusters for data integrity
Chapter Adding and removing cluster nodes
121
171
Index 173
Contents
About VCS basics
About Veritas Cluster Server
This chapter includes the following topics
About shared storage
About multiple nodes
Example of a four-node VCS cluster
About LLT and GAB
See About the LLT and GAB configuration files on
About network channels for heartbeating
About preexisting network partitions
About VCS seeding
About VCS features
Veritas Installation Assessment Service
About VCS notifications
About global clusters
About I/O fencing
About VCS optional components
You can add the following optional components to VCS
About Symantec Product Authentication Service AT
See Preparing to configure the clusters in secure mode on
See Installing the Java Console on
About Cluster Manager Java Console
About Veritas Cluster Server Management Console
About VCS optional components
Page
Hardware requirements
About planning to install VCS
1lists the hardware requirements for a VCS cluster
Hardware requirements for a VCS cluster
Required disk space
Description
Supported operating systems
Kernel Architecture
Required Linux RPMs for VCS
Rhel
Supported software
Planning to install VCS Supported software
About preparing to install VCS
Preparing to configure the clusters in secure mode
1depicts the flow of configuring VCS cluster in secure mode
Workflow to configure VCS cluster in secure mode
Tasks
Preparatory tasks to configure a cluster in secure mode
This task
See About Symantec Product Authentication Service AT on
Installing the root broker for the security infrastructure
# ./installer
Venus # vssat showalltrustedcreds
Venus # vssat showprpl --pdrtype root \
Creating encrypted files for the security infrastructure
Venus # vssat showbrokerhash
Addprpl command
For example
RootBroker # vssat createpkg \
Performing preinstallation tasks
Task Reference
Obtaining VCS license keys
Https//licensing.symantec.com
Setting up the private network
You can use network switches instead of hubs
Page
Configuring SuSE network interfaces
See About installing and configuring VCS on
Run the command
Where ethX is the interface name For example
# cd /etc/sysconfig
# ifconfig -a
# ifconfig eth0
Setting up inter-system communication
# cd /etc/sysconfig/network
Accept the default location of ~/.ssh/iddsa
Setting up ssh on cluster systems
# ssh-keygen -t dsa
Setting up shared storage
See About setting up disk-based I/O fencing on
# chmod 755 ~/.ssh
# exec /usr/bin/ssh-agent $SHELL # ssh-add
Setting the Manpath variable
Setting the Path variable
For the C Shell csh or tcsh, type
Optimizing LLT media speed settings on private NICs
Setting the kernel.panic tunable
Case of a panic, the node will reboot after 10 seconds
Mounting the product disc
Performing automated pre-installation check
# mount -o ro /dev/cdrom /mnt/cdrom
# ./installvcs -precheck galaxy nebula
About installing and configuring VCS
VCS
Example galaxy, nebula
To configure Veritas Cluster Server you need
Example vcscluster27
To configure Smtp email notification optional, you need
To configure VCS clusters in secure mode optional, you need
Var/tmp/privatedir/roothash
To configure global clusters optional, you need
To configure Snmp trap notification optional, you need
Optional VCS RPMs
About the VCS installation program
Optional features of the installvcs program
VRTSvcsmn Manual pages for VCS commands
See About preparing to install VCS on
Interacting with the installvcs program
About installvcs program command options
Installvcs command usage takes the following form
Optional action Reference
Installvcs system1 system2... options
Option and Syntax Description
Nooptionalpkgs
Installing VCS using installonly option
Configuring VCS using configure option
Installing and configuring VCS 5.0 RU3
See Configuring the basic cluster on
3lists the installation and the configuration tasks
Overview of tasks
Starting the software installation
Specifying systems for installation
Start the installvcs program
# ./installvcs -rsh
# cd /clusterserver
Licensing VCS
See Checking licensing information on the system on
Choosing VCS RPMs for installation
Enter keys for additional product features
Choosing to install VCS RPMs or configure VCS
Starting the software configuration
See Configuring VCS using configure option on
Specifying systems for configuration
Configuring the basic cluster
# ./installvcs -configure
# cd /dvdrom/clusterserver
Page
Configuring the cluster in secure mode
East.symantecexample.com
Symantecexample.com
Root@east.symantecexample.com
Root/roothash
Configuring Smtp email notification
Enter the user’s name, password, and level of privileges
Adding VCS users
To add a user, enter y at the prompt
See Configuring Snmp trap notification on
Configuring Snmp trap notification
See Configuring global clusters on
If you do not want to add, answer n
Verify and confirm the Smtp notification information
Configuring global clusters
Verify and confirm the Snmp notification information
Installing VCS RPMs
See Creating VCS configuration files on
Creating VCS configuration files
Verifying the NIC configuration
Starting VCS
Completing the installation
Set the Persistentname for all the NICs
File description
VCS node authentication broker
Installing the Java Console
Software requirements for the Java Console
Hardware requirements for the Java Console
See Software requirements for the Java Console on
Installing the Java Console on Linux for IBM Power
Installing the Java Console on a Windows system
Navigate to the folder that contains the RPMs
# cd /mnt/cdrom/distarch/clusterserver/rpms
Installing VCS Simulator
Installing VCS Simulator on Unix systems
Installing VCS Simulator on Windows systems
Software requirements for VCS Simulator
Reviewing the installation
Verifying the cluster after installation
See About verifying the VCS installation on
Verifying and updating licenses on the system
Checking licensing information on the system
Updating product licenses using vxlicinst
Replacing a VCS demo license with a permanent license
# cd /opt/VRTS/bin
# hastop -all -force
Accessing the VCS documentation
To access the VCS documentation
Start VCS on each node
# hastart
Configuring VCS clusters for data integrity
About configuring VCS clusters for data integrity
About I/O fencing components
About data disks
About coordination points
See About data disks on
About setting up disk-based I/O fencing
1illustrates the tasks involved to configure I/O fencing
Workflow to configure disk-based I/O fencing
I/O fencing configuration files include
Preparing to configure disk-based I/O fencing
Initializing disks as VxVM disks
# fdisk -l
# vxddladm listsupport all
Libnamevidpid
Checking shared disks for I/O fencing
Identifying disks to use as coordinator disks
Example specifies the CDS format
Testing the shared disks for SCSI-3
Verifying that the nodes have access to the same disk
See Testing the disks using vxfentsthdw utility on
See Removing permissions for communication on
Testing the disks using vxfentsthdw utility
# /opt/VRTSvcs/vxfen/bin/vxfentsthdw
# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -n
If you use rsh for communication
Dev/sdr
Setting up disk-based I/O fencing manually
Setting up coordinator disk groups
# vxdg init vxfencoorddg sdx sdy sdz
# vxdg -g vxfencoorddg set coordinator=on
For raw device configuration
Creating I/O fencing configuration files
Deport the coordinator disk group
Make a backup copy of the main.cf file
Modifying VCS configuration to use I/O fencing
Stop VCS on all nodes
Verifying I/O fencing configuration
# hacf -verify /etc/VRTSvcs/conf/config
Start VCS
# /etc/init.d/vxfen start
Removing permissions for communication
# vxfenadm -d
Page
About verifying the VCS installation
About the LLT and GAB configuration files
Galaxy Nebula
About the VCS configuration file main.cf
Sample main.cf file for VCS clusters
Page
Sample main.cf file for global clusters
ClusterAddress =
Wac requires gcoip
Gcoip requires csgnic
Application wac IP gcoip NIC csgnic
Verifying the LLT, GAB, and VCS configuration files
Verify the content of the configuration files
See Setting the Path variable on
Verifying LLT, GAB, and cluster operation
Verifying LLT
See Verifying the cluster on
Output on galaxy resembles
Output on nebula resembles
Eth1 UP
Verifying GAB
Output resembles
Verifying the cluster
Verifying the cluster nodes
Current
Eth1 UP eth2 UP
About adding and removing nodes
Adding a node to a cluster
Setting up the hardware
See Adding a license key on
Preparing for a manual installation when adding a node
Installing VCS RPMs for a manual installation
See Mounting the product disc on
Checking licensing information on the system
Adding a license key
SLES10/ppc64, required Rpms
Setting up the node to run in secure mode
See Configuring LLT and GAB on
See Configuring the authentication broker on node saturn on
See Setting up VCS related security configuration on
Configuring the authentication broker on node saturn
Configuring LLT and GAB
Setting up VCS related security configuration
# /sbin/lltconfig -c
On the new system, run the command
If the file on one of the existing nodes resembles
Adding the node to the existing cluster
To verify GAB On the new node, run the command
Add the new system to the cluster
Removing a node from a cluster
Starting VCS and verifying the cluster
Stop VCS on the new node
Start VCS on the new node
Verifying the status of nodes and service groups
Check the status of the systems and the service groups
Deleting the departing node from VCS configuration
# hastatus -summary
# hagrp -dep
# hagrp -switch grp3 -to nebula
# haconf -makerw # hagrp -unlink grp4 grp1
Save the configuration, making it read only
Check the status
Delete the node from the cluster
# hagrp -delete grp4
Modifying configuration files on each remaining node
Removing security credentials from the leaving node
Stop GAB and LLT
To determine the RPMs to remove, enter
# /etc/init.d/gab stop # /etc/init.d/llt stop
# rpm -qa grep Vrts
Remove the LLT and GAB configuration files
# rm /etc/llttab # rm /etc/gabtab # rm /etc/llthosts
About installing VCS on a single node
Creating a single-node cluster using the installer program
Preparing for a single node installation
Starting the installer for the single node cluster
Tasks to create a single-node cluster using the installer
See Starting the software installation on
Installing the VCS software manually on a single node
Creating a single-node cluster manually
See Licensing VCS on
Set the path variable
Renaming the LLT and GAB startup files
Modifying the startup files
Verifying single-node operation
# hastart -onenode
Adding a node to a single-node cluster
Setting up a node to join the single-node cluster
Installing VxVM or VxFS if necessary
Configuring the shared storage
See Setting up shared storage on
Display the service groups currently configured
Bringing up the existing node
Configuring LLT
Freeze the service groups
Stop VCS on Node a
Rename the GAB and LLT startup files so they can be used
Setting up /etc/llthosts
Setting up /etc/llttab
LLT directives
See LLT directives on
LLT directives
Additional considerations for LLT
Directive Description
Configuring GAB when adding a node to a single node cluster
Reconfiguring VCS on the existing node
Reconfigure VCS on the existing nodes
Starting LLT and GAB
Verifying configuration on both nodes
Unfreeze the service groups
Implement the new two-node configuration
Start the VCS on Node B
Verify that VCS is up on both nodes
Page
Preparing to uninstall VCS
About the uninstallvcs program
See About adding and removing nodes on
# cd /opt/VRTS/install # ./uninstallvcs
Uninstalling VCS 5.0 RU3
Removing VCS 5.0 RU3 RPMs
Running uninstallvcs from the VCS 5.0 RU3 disc
Uninstallvcs program is not available in /opt/VRTS/install
Using the UDP layer for LLT
When to use LLT over UDP
Configuring LLT over UDP
Following checklist is to configure LLT over UDP
Link command in the /etc/llttab file
See Sample configuration links crossing IP routers on
Broadcast address in the /etc/llttab file
See Broadcast address in the /etc/llttab file on
Set-addr command in the /etc/llttab file
Table A-2describes the fields of the set-addr command
Selecting UDP ports
Configuring the netmask for LLT
# setparms ipaddress
Configuring the broadcast address for LLT
Sample configuration direct-attached links
For second network interface
# cat /etc/llttab
UDP
File for Node 1 resembles
Sample configuration links crossing IP routers
Figure A-2
Performing automated VCS installations
/etc/llttab file on Node 0 resembles
Syntax in the response file
Example response file
Or, in the case of an integer value
Or, in the case of a list
Response file variable definitions
Table A-3 Response file variables Variable Description
$CPICFGOPTLICENSE
$CPICFGOPTPKGPATH
$CPICFGKEYS
Table A-3
See Installing and configuring VCS 5.0 RU3 on
$CPICFGOPTUNINSTALL
# ./installvcs -responsefile /tmp/installvcs-uui.response
Index
GAB
RAM
VCS