VERITAS Cluster Server For UNIX, Fundamentals: Lesson 4 Installing VCS

You might also like

You are on page 1of 32

VERITAS Cluster Server for UNIX,

Fundamentals

Lesson 4
Installing VCS
Lesson Introduction
 Lesson 1: High Availability Concepts
 Lesson 2: VCS Building Blocks
 Lesson 3: Preparing a Site for VCS
 Lesson 4: Installing VCS
 Lesson 5: VCS Operations
 Lesson 6: VCS Configuration Methods
 Lesson 7: Preparing Services for VCS
 Lesson 8: Online Configuration
 Lesson 9: Offline Configuration
 Lesson 10: Sharing Network Interfaces
 Lesson 11: Configuring Notification
 Lesson 12: Configuring VCS Response to Faults
 Lesson 13: Cluster Communications
 Lesson 14: System and Communication Faults
 Lesson 15: I/O Fencing
 Lesson 16: Troubleshooting
Lesson Topics and Objectives

Topic After completing this lesson, you


will be able to:
Using the VERITAS Install VCS using the VERITAS product
Product Installer installation utility.
VCS Configuration Files Display the configuration files created
during installation.
Viewing the Default VCS View the VCS configuration created
Configuration during installation.
Other Installation Describe other components to
Considerations consider at installation time.
Topic 1: Using the VERITAS Product
Installer
After completing this topic, you
will be able to install VCS using
the VPI utility.
Using the VERITAS Product Installer
The VERITAS product installer:
 Is the recommended installation procedure for VCS
 Performs environment checking for prerequisites
 Enables you to add product licenses
 Is started by running the installer file in the DVD
mount point directory
 Runs the installvcs utility
 Logs user input and program output to:
/opt/VRTS/install/logs
The installvcs Utility
The installvcs utility, called by the product
installer:
 Uses the operating system-specific commands to install VCS
packages
 Configures network links for the cluster interconnect
 Can install all systems simultaneously
 Configures and starts VCS:
– Brings the ClusterService group online
– Enables access to the VCS Web GUI (if configured)
Automated VCS Installation Procedure
Invoke Verify communication
Enter system names. and install infrastructure
installer.
packages.
Enter license keys.

Select optional packages.

Configure the cluster What the script


(name, ID, interconnects). does
User input Select root broker node.
to the script
Set up VCS user accounts.

Configure cluster Install VCS packages.


connector or local CMC
(Web GUI). Configure VCS.
Configure SMTP and SNMP
Start VCS.
notification.
Installing VCS Updates
 Check for VCS updates periodically:
http://entsupport.symantec.com
 Updates are provided as patches or
maintenance packs.
 Refer to the update installation instructions.
Topic 2: VCS Configuration Files

After completing this topic, you


will be able to display the
configuration files created during
installation.
VCS File Locations

Directories Contents
/sbin, /usr/sbin, Executables, scripts, libraries
/opt/VRTSvcs/bin

/var/VRTSvcs/log VCS engine and agent log files

/etc/VRTSvcs/conf/config Cluster configuration files

/etc Configuration files for GAB, LLT, and I/O


fencing
/opt/VRTSvcs/doc PDF versions of VCS documentation

/opt/VRTS/install/logs VCS installation log files


Communication Configuration Files
 LLT configuration files:
– /etc/llttab
 Cluster ID number
 System name
 LLT network interfaces used for the cluster
interconnect
– /etc/llthosts
Cluster host names with corresponding LLT node ID
number
 GAB configuration file:
/etc/gabtab
GAB startup command with specified number of systems
Cluster Configuration Files
VCS configuration files
 /etc/VRTSvcs/conf/config/types.cf
 /etc/VRTSvcs/conf/config/main.cf

include "types.cf"
cluster
… vcs_train ( Cluster name
)
system train1 (
)
system train2 ( Systems in the cluster
)
group ClusterService (

)
IP webip (
Device = eri0 Local CMC Web GUI
Address = "192.168.105.101"
NetMask = "255.255.255.0"
)
. . .
Solaris
Topic 3: Viewing the Default VCS
Configuration
After completing this topic, you
will be able to view the VCS
configuration created during
installation.
Viewing Installation Results

 List the VERITAS packages installed.

pkginfo lslpp swlist rpm

 View VCS configuration files.


llthosts main.cf
gabtab
llttab types.cf

 Access the local CMC Web Console.


http://IP_Address:8181/cmc
Viewing Status

• View LLT status:


# lltconfig
llt is running
• View GAB status:
# gabconfig -a
GAB Port Memberships
================================
Port a gen a36e003 membership 01
Port h gen fd57002 membership 01
• View VCS status:
# hastatus –sum
-- System State Frozen
A S1 RUNNING 0
A S2 RUNNING 0
Topic 4: Other Installation Considerations

After completing this topic, you


will be able to describe other
components to consider at
installation time.
I/O Fencing Considerations
I/O Fencing is the recommended method for
protecting shared storage in a cluster
environment.
 Configure fencing after initial VCS installation if:
– Your shared storage devices support SCSI-3
Persistent Reservations; and
– You installed a 4.0 or later version of VCS; and
– You are using Volume Manager 4.0 or later.
 A detailed procedure is provided later in the
course.
Cluster Manager Java GUI
The Cluster Manager Java GUI:
 Can be installed on non-cluster systems
 Is installed on cluster systems if all optional packages
are selected
 Can manage multiple clusters as separate sessions
 Has no effect on Cluster Management Console Web GUI
 Is started on UNIX by typing hagui &
Lesson Summary
 Key Points
– Use the VERITAS Common Product Installer to
install VCS on UNIX systems.
– Familiarize yourself with the installed and running
configuration.
 Reference Materials
– VERITAS Cluster Server Release Notes
– VERITAS Cluster Server Installation Guide
– http://support.veritas.com
– http://vlicense.veritas.com
What Did You Learn?
 You are about to be
asked a series of
questions related to the
current topic.
 Click Answer to see the
solutions.
If you use the VERITAS product installer, you
must:
A. Install each cluster system individually.
B. Perform an unattended installation.
C. Create a response file for use by installvcs.
D. Enter a valid license key.

Answer
If you use the VERITAS product installer, you
must:
A. Install each cluster system individually.
B. Perform an unattended installation.
C. Create a response file for use by installvcs.
D. Enter a valid license key.
The correct answer is D.

Next >>
Which configuration files are always created
during the automated VCS installation
procedure?
A. llttab, main.cf, llthosts
B. gabtab, llttab, OracleTypes.cf
C. main.cf, gabconfig, llthosts
D. gabtab, lltconfig, llthosts

Answer
Which configuration files are always created
during the automated VCS installation
procedure?
A. llttab, main.cf, llthosts
B. gabtab, llttab, OracleTypes.cf
C. main.cf, gabconfig, llthosts
D. gabtab, lltconfig, llthosts
The correct answer is A.

Next >>
During VCS installation, you requested that the
local Cluster Management Console Web GUI be
installed. In which service group will you find
the resources for the local CMC?
A. WebService
B. WWWService
C. ClusterService
D. ClusterManager

Answer
During VCS installation, you requested that the
local Cluster Management Console Web GUI be
installed. In which service group will you find
the resources for the local CMC?
A. WebService
B. WWWService
C. ClusterService
D. ClusterManager
The correct answer is C.

Next >>
I/O fencing can be configured for VCS 5.x if you
are using Volume Manager 5.x and:
A. You have installed the Fencing agent for VCS.
B. Your shared storage is a SAN.
C. Your shared storage devices support SCSI-3
Persistent Reservation.
D. Your shared storage devices support SCSI-2
Reservation.

Answer
I/O fencing can be configured for VCS 4.x if you
are using Volume Manager 4.x and:
A. You have installed the Fencing agent for VCS.
B. Your shared storage is a SAN.
C. Your shared storage devices support SCSI-3
Persistent Reservation.
D. Your shared storage devices support SCSI-2
Reservation.
The correct answer is C.

Next >>
Where can you install the Cluster Manager Java
GUI?
A. UNIX cluster systems only
B. Windows workstations only
C. Any UNIX or Windows cluster system
D. Any supported system

Answer
Where can you install the Cluster Manager Java
GUI?
A. UNIX cluster systems only
B. Windows workstations only
C. Any UNIX or Windows cluster system
D. Any supported system
The correct answer is D.

Next >>
Lab 4: Installing VCS

vcs1
Link 1:______
Link 1:______ Link 2:______
Link 2:______

Public:______ Public:______

train1 train2

Software
5.0 # ./installer -rsh location:_______________________________

4.x # ./installer Subnet:_______

Pre-4.0 # ./installvcs
End of Presentation

You might also like