Professional Documents
Culture Documents
0 for UNIX:
Install and Configure
Lesson 13: Cluster Communications
Lesson introduction
Lesson objectives
Topic
Objectives
Cluster interconnect
configuration
Changing the
interconnect
configuration
VCS communications
review
After completing this topic, you
will be able to describe how
components communicate in a
VCS environment.
Agents
Agents
HAD
HAD
HAD
GAB
GAB
GAB
LLT
LLT
LLT
Each LLT
module tracks
the status of
heartbeats from
each peer on
each interface.
LLT sends a
heartbeat on
each interface
every second.
Cluster membership
After completing this topic, you
will be able to describe how VCS
determines cluster membership.
# gabconfig -a
GAB Port Memberships
===============================================
Port a gen f7c001
Port b gen f7c004
Port h gen f7c002
HAD is
communicating
Fencing
is communicating
GAB is
communicating
Cluster with 22 nodes
membership 01
membership 01
membership 01
;
;
;
;12
;12
;12
10s placeholder
(0 displayed if node 10
is a member)
Nodes 21 and 22
1 s2
State
Link
Status
Address
OPEN
dev1
UP
00:0C:29:97:FB:5D
dev2
UP
00:0C:29:97:FB:67
dev1
UP
00:0C:29:C4:1D:0A
dev2
UP
00:0C:29:C4:1D:14
OPEN
Cluster interconnect
configuration
After completing this topic, you
will be able to describe the files
that specify the cluster
interconnect configuration.
/etc/llttab
set-cluster
10
set-node
s1
link nxge0 /dev/nxge:0 - ether - link nxge4 /dev/nxge:4 - ether - -
SAP
# cat /etc/llttab
set-node
S1
set-cluster
10
link en1 /dev/en:1 - ether - link en2 /dev/en:2 - ether - Tag Name
MTU
SAP
# cat /etc/llttab
set-node
S1
set-cluster
10
link lan1 /dev/lan:1 - ether - link lan2 /dev/lan:2 - ether - Tag Name
Device:Unit
Link Type
MTU
# cat /etc/llttab
set-node
S1
set-cluster
10
link eth1 eth1 ether -
link eth2 eth-00:05:56:3f:02:2f ether 0xCAFD
Tag Name
Device
Link Type
Range (all)
MTU
/etc/llthosts
0 s1
1 s2
set-cluster 10
link qfe0 /dev/qfe:0 - ether - link qfe4 /dev/qfe:4 - ether - -
/etc/llthosts
0 to 63
0 s1
1 s2
s1
s1
s1
s1
s1
s1 s1
s1
s1
s1
s1
s1
s1
s1
s1
s1
s1
s1 s12
s1
s1
s1
s1
s12
set-node /etc/VRTSvcs/conf/sysname
set-cluster 10
link dev1 /dev/dev:1 - ether - link dev2 /dev/dev:2 - ether - -
/etc/gabtab
/sbin/gabconfig c n 4
Cluster startup
After completing this topic, you
will be able to describe how
systems join the cluster
membership and services come
online.
HAD
2 I am
1 alive
HAD
I am
alive
HAD
GAB
GAB
GAB
LLT
LLT
LLT
s1
s2
s3
GAB starts on each system with a seed value equal to the number of
systems in the cluster: gabconfig c n 3
When GAB sees three members, the cluster is seeded.
S70llt
/etc/llttab?
sbin/lltconfig -c
S92gab
/etc/gabtab?
sh /etc/gabtab
/sbin/gabconfig c n #
S99vcs
hastart
/etc/llttab?
sbin/lltconfig -c
/etc/gabtab?
sh /etc/gabtab
/sbin/gabconfig c n #
hastart
/etc/rc3.d/S66llt
/etc/llttab?
sbin/lltconfig -c
/etc/rc3.d/S67gab
/etc/rc3.d/S99vcs
/etc/gabtab?
sh /etc/gabtab
/sbin/gabconfig c n #
hastart
/etc/llttab?
/sbin/lltconfig -c
/lib/svc/method/gab
/etc/gabtab?
sh /etc/gabtab
/sbin/gabconfig c n #
/lib/svc/method/vcs
hastart
B
2
Monitor
3
HAD
HAD
s1
s2
s3
s3 faults; C started on s1 or s2
Regular membership: s1, s2
No membership: s3
Manual seeding
5
Seede
d
3
HAD
Seeds
4
GAB
2
LLT
HAD
1
GAB
LLT
s1
s2
LLT starts on s1 and s2. GAB starts but cannot seed with s3
down.
Manually force GAB to seed on s1: gabconfig -x.
s3
1
1
s1
s2
s3
s3 determines that s1
and s2 are faulted.
1
1
s1
No change in membership
s2
s3
Jeopardy membership: s3
2 Public network is now
1
used for heartbeat and
status
Changing the
interconnect
configuration
s1
s3
s4
s2
Merging clusters
Changing parameters persistent
across reboots, such as the peer
inactive timeout
set-node
set-node s1
s1
set-cluster
set-cluster 10
10
.. .. ..
set-timer
set-timer peerinact:1200
peerinact:1200
s6
s5
s7
/etc/llttab
set-node s1
set-cluster 10
/etc/llthosts
path/gabconfig c n #
0 s1
1 s2
One system
Back up and
edit files
Stop VCS
Stop
fencing
All systems
haconf dump -makero
hastop all -force
Start VCS
vxfenconfig -U
hastart
Start
fencing
vxfenconfig c
sh /etc/gabtab
Stop GAB
gabconfig -U
Start GAB
Stop LLT
lltconfig -U
Start LLT
lltconfig -c
SAP
/etc/llttab
set-node
s1
set-cluster
10
link nxge0 /dev/nxge:0 - ether - link nxge4 /dev/nxge:4 - ether - #
link-lowpri e1000g0 /dev/e1000g:0 - ether - Tag name
Device:Unit
Lesson summary
Key points
The cluster interconnect is used for cluster membership and
status information.
The cluster interconnect configuration may never require
modification, but can be altered for site-specific requirements.
Reference materials
Veritas Cluster Server Installation Guide
Veritas Cluster Server Users Guide
End of Presentation