VERITAS Cluster Server For UNIX, Fundamentals: Lesson 7 Preparing Services For VCS
VERITAS Cluster Server For UNIX, Fundamentals: Lesson 7 Preparing Services For VCS
Fundamentals
Lesson 7
Preparing Services for VCS
Course Overview
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
IP Address
NIC
Network
End Users
Process
File System
Application
Volume
Disk Group
Storage
Identifying Components
Application
Start, stop, and monitor processes
File locations Process
Storage
IP Mount
Network IP addresses
Network interfaces
NIC Volume
DiskGroup
Perform one-time
configuration tasks on
each system.
N
Start, verify, and Y
More Ready for
stop services on
Systems? VCS
one system at a time.
Documenting Attributes
As you configure components:
Use a design worksheet to document details needed to
configure VCS resources.
Note differences among systems, such as network
interface device names.
Resource Type IP
IP Mount
Required Attributes
Device eri0 NIC Volume
Solaris
Address 10.10.21.198
Optional Attributes DiskGroup
NetMask 255.0.0.0
Checking Resource Attributes
While documenting the configuration, verify that:
Recorded attribute values match configured values
All required attributes have values
Resource Definition Sample Value
Process Service Group Name DemoSG
Resource Name DemoMount
192.... /Demo Resource Type Mount
Fix!
Required Attributes
eri0 DemoVol
MountPoint /demo
BlockDevice /dev/vx/dsk. . .
DemoDG
FSType vxfs
FsckOpt -y
BARGs: Optional Attributes Solaris
MountOpt
Solaris AIX HP-UX Linux
Configuring Shared Storage
From One System
Initialize disks. vxdisksetup -i disk_dev
N
Ready for
Bring up resources. S1 VCS
More
Start up all resources
Systems?
in dependency order.
Y
Shared storage
Virtual IP address S2
S2…Sn
Stop resources.
Application software
http://eweb.com Failed
DNS
web.com = 10.10.21.198
10.10.21.8
S1
Solaris
Virtual IP Address Migration
http://eweb.com
DNS
ifconfig eri0 addif 10.10.21.198 up
After Failover
S1
Bringing Up Application (Virtual) IP Addresses
An application IP address is:
Added as virtual IP address to a virtual public
network device
Associated with an application service
Resolved by a naming service
Controlled by the high availability software
Migrated to other systems by VCS
Also called service group or floating IP addresses
192.168.21.198
S2
S1
Topic 4: Stopping and Migrating a Service
/opt/orderproc stop
Solaris
Stop the volume.
IP Address
Network
NIC
Process
Application
File
S1 System S2
Storage
Topic 5: Validating the Design Worksheet
Answer
One of the most important tasks in preparing
application services for VCS is:
A. Starting and stopping the service under VCS
control before creating the SystemList
B. Making sure all resources in the service group
can be probed
C. Manually testing each service on each system
that is a startup or failover target before placing
the service under VCS control
D. Testing all services on the same system
before placing under VCS control
The correct answer is C.
Next >>
When testing resource components, start the
components:
A. In any order; the order for starting resources
is irrelevant
B. Based on whether they are storage or network
resources
C. According to the inherent component
dependencies
D. From the top of the resource dependency tree
Answer
When testing resource components, start the
components:
A. In any order; the order for starting resources
is irrelevant
B. Based on whether they are storage or network
resources
C. According to the inherent component
dependencies
D. From the top of the resource dependency tree
The correct answer is C.
Next >>
In VCS, application IP addresses are added as
virtual IP addresses to the network interface,
and are:
A. Configured to come up outside of VCS control
when the application comes up
B. Migrated to other systems if the current
system or application service fails
C. The same as the Administrative IP address for
each system
D. Configured to come up when the operating
system is started
Answer
In VCS, application IP addresses are added as
virtual IP addresses to the network interface,
and are:
A. Configured to come up outside of VCS control
when the application comes up
B. Migrated to other systems if the current
system or application service fails
C. The same as the Administrative IP address for
each system
D. Configured to come up when the operating
system is started
The correct answer is B.
Next >>
Why is an administrative IP address required if
HA services require network access?
A. The application (virtual) IP address cannot be
configured without an administrative IP address.
B. The administrative IP address migrates between
systems during failover.
C. The Web GUI uses the administrative IP address
to initiate failover.
D. VCS updates the DNS server with the
administrative IP address during failover.
Answer
Why is an administrative IP address required if
HA services require network access?
A. The application (virtual) IP address cannot be
configured without an administrative IP address.
B. The administrative IP address migrates between
systems during failover.
C. The Web GUI uses the administrative IP address
to initiate failover.
D. VCS updates the DNS server with the
administrative IP address during failover.
The correct answer is A.
Next >>
Which shared storage configuration task must
be performed on each system?
A. Creating the file system.
B. Creating a volume.
C. Making a disk group.
D. Making a mount point.
Answer
Which shared storage configuration task must
be performed on each system?
A. Creating the file system.
B. Creating a volume.
C. Making a disk group.
D. Making a mount point.
The correct answer is D.
Next >>
Lab 7: Preparing Application Services
/bob1/loopy /sue1/loopy
bobDG1 sueDG1
/bob1 bobVol1
disk1 sueVol1 /sue1
disk2
Disk/Lun Disk/Lun
Disk assignments:
– Node 1:
______________________________________________
– Node 2:
______________________________________________
End of Presentation
Appendix