Professional Documents
Culture Documents
SG 12th B3936-90097
SG 12th B3936-90097
12
: B3936-90097
2005 10
Copyright 1995-2005 Hewlett-Packard Development Company, L.P.
. HP
. FAR 12.211 12.212 ,
.
. HP
.
. HP
.
Java Sun Microsystems, Inc. .
Linux Linus Torvalds .
MS-DOS, Microsoft, Windows, Windows NT, Windows XP Microsoft
Corporation .
Oracle Oracle Corporation .
UNIX The Open Group
.
1. Serviceguard
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Distributed Systems Administration Utilities?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2. Serviceguard
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
FDDI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
FDDI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
(RS232) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Event Monitoring Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Fibre Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3. Serviceguard
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Event Monitoring Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
EMS HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
cmrunserv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
, . . . 96
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
IP IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
LAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
HP-UX Logical Volume Manager(LVM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
VERITAS Volume Manager(VxVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
VERITAS Cluster Volume Manager(CVM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
TOC( ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
4. HA
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
SPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
CVM VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
CVM VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
VERITAS Cluster Volume Manager . . . . . . . . . . . . . . . . . . . . . 167
EMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
5. HA
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
LVM VxVM . . . . . . . . . . . . . . . . . . . . . 211
LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
VERITAS Cluster File System(CFS) . . . . . . . . . . . . . . . 242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
CFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
VERITAS Cluster Volume Manager(CVM) .
253
VERITAS Volume Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
CVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
CVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
DSAU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
6.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . 290
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . 307
HP-UX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
HP-UX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Distributed Systems Administration Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
7.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . 312
cmviewcl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
8.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
Event Monitoring Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
EMS(Event Monitoring Service) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
HP ISEE(HP Instant Support Enterprise Edition) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
SCSI . . . . . . . . . . . . . . . . . . . . . . . . . 369
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
LAN Fibre Channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Serviceguard Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
cmcheckconf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
cmscancl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
cmviewconf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
LAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
A. Serviceguard
B. Enterprise Cluster Master Toolkit
C.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
JFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
10
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
SPU ID MAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
uname(2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
IP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
SNA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
/ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
D. HA Serviceguard
HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
HA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
E.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
11
F.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 446
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
G. LVM VxVM
VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
VxVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
CVM 3.5 4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
LVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
H. IPv6
IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
IPv4 IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
/ LAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481
12
1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
3-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
3-4. . . . . . . . . . . . . . . . . . . . . . . . 99
3-5. Serviceguard . . . . . . . . . . . . . . . . . . . 124
4-1. SCSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
7-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
7-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
8-1. cmscancl . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
A-1. Serviceguard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
H-1. IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
H-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .472
H-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .472
H-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .473
H-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .473
H-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .474
H-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .474
H-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .474
13
14
1995 1
B3936-90001
1995 6
B3936-90003
1995 12
B3936-90005
1997 8
B3936-90019
1998 1
B3936-90024
1998 10
B3936-90026
2000 12
B3936-90045
2001 9
B3936-90053
2002 3
B3936-90065
2003 6
B3936-90070
10
2004 6
B3936-90076
11
2004 6(2005 6
B3936-90076
11, 2.
2)
2005 10
B3936-90097
12
, Serviceguard
A.11.17.
.
.
.
.
15
HP :
Infrastructure Solutions Division
Hewlett-Packard Co.
19111 Pruneridge Ave.
Cupertino, CA 95014
16
12 Serviceguard A.11.17 .
4, "HA "
.
5, "HA " .
192 .
6, " "
.
7, " " .
17
8, " " .
E, " "
Serviceguard HP-UX Serviceguard HP-UX
.
URL HP .
http://www.hp.com/go/ha
URL HP-UX .
http://docs.hp.com
Serviceguard .
18
Clusters for High Availability: a Primer of HP Solutions. HewlettPackard Professional Books: Prentice Hall PTR, 2001 (ISBN 0-13089355-2)
HP Serviceguard
19
(B2355-90915)
URL HP .
http://www.hp.com/go/ha
20
HP
.
21
22
Serviceguard
Serviceguard
HP-UX Serviceguard
. .
Serviceguard
Serviceguard Manager
Serviceguard 4, 133
HA . 5, 189
HA .
1-1 ServiceGuard
.
1-1
23
Serviceguard
Serviceguard
Serviceguard
Serviceguard HP 9000 HP Integrity
.
.
SPU(System Processing Unit), LAN(Local
Area Network) .
. Serviceguard
.
Serviceguard HP 9000 HP Integrity (
) .
(Single Point of Failure)
.
( HP-UX ) .
, .
.
. , ,
Serviceguard
.
. .
Serviceguard A.11.17 HewlettPackard , VERITAS Cluster
Volume Manager VERITAS Cluster File System HP
.
. .
.
.
24
Serviceguard
Serviceguard
1-1 1( SPU ) A 2
B .
.
.
. 1
() 2 ().
2 ()
1 ().
.
1 2 4.
.
LAN
. Serviceguard TCP/IP
.
. TCP/IP
.
"Serviceguard " .
Serviceguard .
Serviceguard
.
Serviceguard .
, ,
( ) .
1-2 .
25
Serviceguard
Serviceguard
1-2
.
.
.
1-2
. ,
,
. 4 "HA
" " " .
Serviceguard .
MirrorDisk/UX VERITAS Volume Manager, Serviceguard
Event Monitoring Service(EMS),
RAID , HP PowerTrust
26
Serviceguard
Serviceguard
HP UPS( )
. Serviceguard
.
27
Serviceguard
Serviceguard Manager
Serviceguard Manager
Serviceguard Manager Serviceguard .
Serviceguard Manager HP-UX, Linux Windows
, HP-UX Linux Serviceguard
.
: Serviceguard .
.
.
: Serviceguard Manager
. Serviceguard A.11.12
.
: .
Serviceguard A.11.16 .
Serviceguard Manager
Serviceguard .
, ,
.
28
Serviceguard
Serviceguard Manager
1-3
Serviceguard Manager
Serviceguard Manager
(Serviceguard A.11.14 A.11.15)
(Serviceguard A.11.16 A.11.17) ,
.
: ,
: ,
: , , ,
29
Serviceguard
Serviceguard Manager
1-4
30
Serviceguard Manager
Serviceguard
Serviceguard Manager
Serviceguard Manager
Serviceguard A.11.16
. , Serviceguard A.11.16
(UID=0) .
1-5
Serviceguard Manager
31
Serviceguard
Serviceguard Manager
Serviceguard Manager
"" .
"Serviceguard Manager "
.
" "
" "
Serviceguard Manager
Unix, Linux PC Serviceguard Manager.
Unix Linux Serviceguard Manager sgmgr
.
. man sgmgr
.
Windows Serviceguard Manager
.
( ) .
" " -> " " .
"" .sgm
. , .
Serviceguard Manager .
" " Serviceguard Cluster Object Manager(COM)
. COM Serviceguard .
Serviceguard COM
.
.
.
Serviceguard A.11.13 - A.11.17 ,
Serviceguard A.11.17
.
32
Serviceguard
Serviceguard Manager
. 192
.
/etc/passwd
. .
Serviceguard " " .
. /etc/hosts DNS
. Serviceguard A.11.16
.
Serviceguard A.11.16
, COM , .
Serviceguard /etc/cmcluster/cmclnodelist
COM root .
Serviceguard http://docs.hp.com/hpux/ha
.
192 .
Serviceguard A.11.16 (UID=0)
Serviceguard Manager
.
33
Serviceguard
Distributed Systems Administration Utilities?
.
.
. ,
, , .
(, )
.
.
.
DSAU , http://docs.hp.com/ko
.
34
Serviceguard
Serviceguard HA
. 1-6 .
1-6
Serviceguard
1-6 4~7 .
.
133 HA .
35
Serviceguard
36
Serviceguard
Serviceguard
Serviceguard
. .
Serviceguard .
37
Serviceguard
SPU
.
(Single point of Failure) .
, .
, SPU
. Serviceguard
.
SPU SPU
SPU .
Serviceguard , , SPU
SPU .
Serviceguard 16. SCSI
( ) 4
. HP StorageWorks XP EMC Symmetrix Fibre
Channel 16
.
.
, SCSI
4 .
Fibre Channel HP StorageWorks XP
EMC Symmetrix 16
.
38
Serviceguard
. ,
.
39
Serviceguard
,
.
. FDDI
.
.
IP . IP
IP
.
Serviceguard . Serviceguard
IP
.
.
Hewlett-Packard .
2-1
. .
40
Serviceguard
2-1
LAN
Serviceguard /
( A) LAN
. LAN LAN .
LAN /
. IP . /
LAN Serviceguard LAN
.
LAN LAN .
2-1 , LAN
. LAN
LAN .
LAN IP .
41
Serviceguard
/ LAN .
LAN LAN
.
FDDI
FDDI . FDDI
. .
FDDI . 2-2
. A B
.
.
2-2
42
FDDI
Serviceguard
FDDI
FDDI 2-3
FDDI .
. 2-3 3 4
.
2-3
FDDI
. LAN
.
(RS232)
Serviceguard (RS232)
.
.
2
43
Serviceguard
(RS232)
. LAN
. LAN LAN
LAN (RS232) .
,
LAN
.
(RS232)
LAN . Serviceguard
TCP/IP
.
(RS232) FDDI TCP/IP
. TCP/IP ,
.
.
2-4 (RS232) .
2-4
44
(RS232)
Serviceguard
. " " "LAN "
.
45
Serviceguard
.
. Logical
Volume Manager(LVM), VERITAS Volume Manager(VxVM) VERITAS
Cluster Volume Manager(CVM) . LVM
VxVM
.
. RAID
.
( ) Serviceguard
.
SCSI
SCSI
Fibre Channel
SCSI . HP
Unix Servers Configuration Guide . HP
.
Fast/Wide SCSI
. " " .
SCSI
SCSI
. SCSI
46
Serviceguard
. SCSI
HP-UX .
RAID
. Serviceguard
. Serviceguard
. HP MirrorDisk/UX LVM
VERITAS Volume Manager CVM VxVM .
.
.
LVM( VxVM plex) 3-
.
Fibre Channel SCSI
. ,
.
.
.
.
,
.
.
47
Serviceguard
RAID
RAID 1 RAID 5
RAID .
.
(SCSI Fibre Channel)
.
LVM PV VxVM DMP(Dynamic Multipathing)
,
RAID 1 5 . PV LVM
VxVM .
DMP Serviceguard Storage Managment Suite . DMP
VxVM . / DMP
B9116AA(VxVM 3.5) B9116BA(VxVM 4.1) /
DMP Base-VxVM .
. .
HA
.
" " " " .
48
Serviceguard
. " " "I/O
" .
SCSI
2-5 .
.
.
. A B
B A .
.
49
Serviceguard
2-5
2-6 /
. LVM PV
VERITAS Dynamic Multipath(DMP) EMC PowerPath
.
50
Serviceguard
2-6
PV Serviceguard "HA
" .
Fibre Channel
2-7 .
Fibre Channel
.
, .
51
Serviceguard
2-7
Fibre Channel
SCSI
IODC SCSI
. SCSI
.
, 2-8 SCSI A
B
. 0~3 6, 7 SCSI
.
52
Serviceguard
2-8
.
A SCSI B
.
. B
, B A IODC
. 2-9 .
53
Serviceguard
2-9
54
Serviceguard
.
HP PowerTrust HP UPS( )
.
.
.
( )
.
. HP ,
LAN .
,
.
. ,
.
55
Serviceguard
Serviceguard 16 .
SPU FDDI 16
.
16
16 . ,
SCSI
4 . 16
SCSI 4
.
XP EMC SCSI 4
. PV SCSI XP
EMC . 16
. "
" .
cmviewcl .
. ,
cmquerycl .
/
. , 8
7
7
. 2-10 .
56
Serviceguard
2-10
8 /
SCSI
. 2-11 SCSI 8
. 16 SCSI I/O XP EMC
. PV
SCSI . SCSI
.
57
Serviceguard
2-11
XP EMC 8
Fibre Channel
. HP Unix Servers
Configuration Guide . HP
.
58
Serviceguard
Serviceguard
Serviceguard
. .
Serviceguard
Serviceguard 5, 189
HA .
59
Serviceguard
Serviceguard
Serviceguard
Serviceguard .
.
3-1
Serviceguard
Serviceguard
Serviceguard 12 . .
60
/usr/lbin/cmclconfdServiceguard
/usr/lbin/cmcldServiceguard
/usr/lbin/cmfileassistdServiceguard
Serviceguard
Serviceguard
/usr/lbin/cmlogdServiceguard Syslog
/usr/lbin/cmsnmpd SNMP ( )
/usr/lbin/cmsrvassistdServiceguard
/usr/lbin/qsServiceguard
/usr/lbin/cmnetassistd
/usr/lbin/cmvxdServiceguard-VERITAS (VERITAS
CFS )
/var/adm/syslog/syslog.log ,
/opt/cmom/lbin/cmomd /var/opt/cmom/cmomd.log .
.
, /var/adm/qs/qs.log
.
: cmclconfd
Serviceguard
.
.
inetd(1M) /etc/inetd.conf .
: cmcld
Serviceguard cmcld
.
. cmcld
. cmcld
TOC( ) .
CPU . cmcld
, cmcld
61
Serviceguard
Serviceguard
.
TOC /var/adm/syslog/syslog.log
.
cmcld LAN
. Serviceguard
.
Serviceguard ,
cmcld .
20 . 20 .
Serviceguard
TOC .
: cmfileassistd
cmfileassistd cmcld
. / cmcld
.
Syslog : cmlogd
cmlogd cmcld syslog . cmcld syslog
cmlogd . cmcld syslog
.
Cluster Logical Volume Manager : cmlvmd
.
.
.
Cluster Object Manager : cmomd
, Serviceguard Manager
.
62
Serviceguard
Serviceguard
.
.
cmomd .
. cmclconfd
.
. inetd(1M)
/etc/inetd.conf .
SNMP : cmsnmpd
Serviceguard Serviceguard Manager
. MIB .
MIB URL http://docs.hp.com/hpux/ha Frequently
Asked Questions . /etc/rc.config.d/cmsnmpagt
.
Serviceguard cmsnmpd
.
: cmsrvassistd
cmcld
. .
, cmcld ,
cmcld cmsrvassistd
.
: qs
. Serviceguard
. /etc/inittab
.
63
Serviceguard
Serviceguard
.
Serviceguard
.
.
cmnetassistd
IPv4 IPv6
.
CFS
HP Serviceguard Storage Management Suite VERITAS Cluster File System
.
http://docs.hp.com .
VERITAS CFS
. .
VERITAS CFS .
64
Serviceguard
Serviceguard
65
Serviceguard
, ,
,
.
.
.
.
.
. ,
, , (133
HA ). Serviceguard
Manager ASCII (5, 189 HA
) .
.
.
. RS232
TCP/IP
. LAN 105
LAN .
.
(
75 ).
.
66
Serviceguard
.
.
LAN
Serviceguard
.
(RS232)
. LAN
.
. Serviceguard
43 (RS232) .
.
.
. VERITAS Cluster
Volume Manager(CVM) 3.5
. LAN
. 123 .
.
. 5, 189 HA .
67
Serviceguard
.
,
, .
. Serviceguard Manager
cmruncl . cmruncl
, cmcld
.
, ,
, .
.
.
, , SPU
.
/etc/rc.config.d/cmcluster AUTOSTART_CMCLD
1 . 1
,
.
.
.
.
SPU
68
Serviceguard
.
.
(, 50%
) . (
50%)
(split-brain) .
.
. Serviceguard
.
50%
50% 50%
.
. .
.
Serviceguard
.
.
.
50%
.
69
Serviceguard
.
TOC .
.
.
.
.
. .
LVM
.
LVM
.
.
.
.
3-2 .
70
Serviceguard
3-2
Serviceguard
syslog .
.
.
.
.
.
.
.
. ,
.
. 3~ 4 50%
.
71
Serviceguard
(Single Point of
Failure) . ,
.
.
.
.
.
.
.
.
.
.
Serviceguard
syslog .
.
.
Quorum
. Serviceguard
.
72
Serviceguard
""
.
TOC .
.
.
3-3 . 1 2
( 2)
. .
3-3
Quorum
.
. .
. ,
.
73
Serviceguard
.
.
.
. ,
LAN
.
74
Serviceguard
Serviceguard .
Serviceguard , , IP
.
.
.
.
,
.
.
.
.
,
.
Hewlett-Packard .
Serviceguard
. VERITAS Cluster Volume Manager(CVM)
. VERITAS CVM 3.5 VxVM-CVMpkg , VERITAS CVM 4.1 SG-CFS-pkg .
75
Serviceguard
,
. CVM
.
CFS CVM 254
CVM . CFS
CVM 242
VERITAS Cluster File System(CFS)
.
VERITAS Cluster File System(CFS) HP
.
.
.
.
.
.
,
.
.
3-4
76
Serviceguard
. Serviceguard Manager
ASCII
. 271 .
cmapplyconf
.
.
290 .
.
/
.
. ,
.
. AUTO_RUN,
FAILOVER_POLICY FAILBACK_POLICY.
AUTO_RUN ( Serviceguard
PKG_SWITCHING_ENABLED )
.
Serviceguard ,
Serviceguard
. cmmodpkg
. .
ASCII .
# The default for AUTO_RUN is YES. In the event of a
# failure, this permits the cluster software to transfer the
package to an adoptive node. Adjust as necessary.
AUTO_RUN
YES
77
Serviceguard
IP
.
. .
TCP . TCP
.
.
.
3-5 3-6 IP . 3-5
.
1 1 2 2 .
IP . IP
IP .
3-5
78
Serviceguard
3-6 1 1 2
. 1 IP 2 .
1 2 . 2 1
2 .
3-6
FAILOVER_POLICY
.
.
. CONFIGURED_NODE()
MIN_PACKAGE_NODE. ASCII
.
79
Serviceguard
# Enter the failover policy for this package. This policy will
be used
# to select an adoptive node whenever the package needs to be
started.
# The default policy unless otherwise specified is
CONFIGURED_NODE.
# This policy will select nodes in priority order from the list
of
# NODE_NAME entries specified below.
# The alternative policy is MIN_PACKAGE_NODE. This policy will
select
# the node, from the list of NODE_NAME entries below, which is
# running the least number of packages at the time of failover.
#FAILOVER_POLICY
CONFIGURED_NODE
CONFIGURED_NODE
.
.
MIN_PACKAGE_NODE
.
.
.
MIN_PACKAGE_NODE
.
,
. NODE_NAME
.
.
3-1
pkgA
NODE_NAME
1, 2,
FAILOVER_POLICY
MIN_PACKAGE_NODE
3, 4
pkgB
2, 3,
MIN_PACKAGE_NODE
4, 1
80
Serviceguard
3-1
()
pkgC
NODE_NAME
3, 4,
FAILOVER_POLICY
MIN_PACKAGE_NODE
1, 2
3-7 .
3-7
3-8 2
.
3-8
81
Serviceguard
MIN_PACKAGE_NODE 2
.
CONFIGURED_NODE
3-7 2
3-9 3 .
3-9
CONFIGURED_NODE
CONFIGURED_NODE
.
.
FAILBACK_POLICY
.
.
AUTOMATIC MANUAL.
ASCII .
# Enter the failback policy for this package. This policy will be used
# to determine what action to take during failover when a a package
# is not running on its primary node and its primary node is capable
82
Serviceguard
#
#
#
#
#
#FAILBACK_POLICY
MANUAL
, FAILOVER_POLICY
CONFIGURED_NODE FAILBACK_POLICY AUTOMATIC
.
3-10
3-2
NODE_NAME
FAILOVER
POLICY
FAILBACK
POLICY
pkgA
1, 4
CONFIGURED_NODE
AUTOMATIC
pkgB
2, 4
CONFIGURED_NODE
AUTOMATIC
pkgC
3, 4
CONFIGURED_NODE
AUTOMATIC
1 pkgA 4 .
83
Serviceguard
3-11
1 . pkgA 4
1 .
3-12
FAILBACK_POLICY AUTOMATIC
.
.
84
Serviceguard
FAILOVER_POLICY MIN_PACKAGE_NODE
FAILBACK_POLICY AUTOMATIC ,
.
Serviceguard
cmmakepkg
.
. , FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL.
Serviceguard A.11.17 .
PACKAGE_TYPE FAILOVER.
Serviceguard A.11.12 PKG_SWITCHING_ENABLED
AUTO_RUN . NET_SWITCHING_ENABLED
LOCAL_LAN_FAILOVER_ALLOWED .
85
Serviceguard
Serviceguard Manager
. Serviceguard
Manager
. /opt/resmon/bin/resls
. resls(1m)
.
EMS HA
EMS(Event Monitoring Service) HA
(B5736DA)
. EMS
.
LAN
.
.
EMS HA Open
View IT/Operations .
Using High Availability Monitors (B5736-90022) .
86
Serviceguard
.
.
Serviceguard Manager
.
3-3
Serviceguard
,
Manager
EMS
().
. ()
ASCII
NODE_FAIL_FAST_ENABLED NO
().
SERVICE_FAIL_FAST_ENABLED NO
().
AUTO_RUN YES
().
().
().
FAILOVER_POLICY
MIN_PACKAGE_NODE .
FAILOVER_POLICY
CONFIGURED_NODE
. ()
().
().
87
Serviceguard
3-3
()
Serviceguard
Manager
ASCII
FAILBACK_POLICY AUTOMATIC
.
().
FAILBACK_POLICY MANUAL
().
FAILOVER_POLICY
CONFIGURED_NODE
().
().
TOC(
) ,
.
TOC
.
SERVICE_FAIL_FAST_ENABLED
YES .
AUTO_RUN YES .
88
Serviceguard
3-3
()
Serviceguard
Manager
TOC
. TOC
ASCII
SERVICE_FAIL_FAST_ENABLED
YES .
AUTO_RUN YES .
89
Serviceguard
Serviceguard .
Serviceguard .
Serviceguard , , IP
. 150 900
.
.
.
.
.
.
.
. AUTO_RUN YES
Serviceguard
. (cmhaltpkg)
, EMS ,
Serviceguard .
Hewlett-Packard
. CFS
. cfs* .
CVM /etc/cmcluster/VxVM-CVMpkg.conf(CVM 3.5) /etc/cmcluster/SG-CFS-pkg.conf(CFS CVM
4.1) cmapplyconf .
CFS cmapplyconf
CFS . Serviceguard
. A cfs
.
90
Serviceguard
.
.
.
AUTO_RUN Serviceguard ,
NODE_SWITCHING ,
.
.
.
.
. cmrunpkg
.
cmmodpkg /
.
.
.
.
AUTO_RUN YES
Serviceguard .
AUTO_RUN YES . AUTO_RUN NO
Serviceguard
. cmmodpkg
.
91
Serviceguard
cmapplyconf
.
cmrunpkg cmmodpkg .
. 3-13 .
3-13
.
1.
2.
3.
4. ,
5.
6.
92
Serviceguard
7.
.
.
.
.
.
.
.
.
.
.
.
('start' )
. ( 3-14 ).
1. .
2. .
3. LAN IP .
4. .
5. .
6. EMS(Event
Monitoring Service) .
7. 0 .
93
Serviceguard
3-14
(
1). ,
.
RUN_SCRIPT_TIMEOUT
.
.
.log.
.
. ,
.
PID .
,
SERVICE_FAILFAST_ENABLED YES
. Restarts
.
94
Serviceguard
.
.
0 .
.
1 . NO_RESTART .
.
.
2 . RESTART .
.
. RESTART
.
Time outRUN_SCRIPT_TIMEOUT .
.
. LVM , VxVM
.
cmrunserv
cmrunserv .
.
. cmrunserv
.
.
SERVICE_RESTART[0]=" "
SERVICE_RESTART[0]="-r <n>"
SERVICE_RESTART[0]="-R"
; do not restart
; restart as many as <n> times
; restart indefinitely
95
Serviceguard
ID
. , LAN
LAN
LAN .
RESTART 0
.
EMS
.
cmviewcl "Script
Parameters" .
,
.
,
LAN , ,
,
.
.
96
Serviceguard
( ).
SERVICE_FAILFAST_ENABLED YES
.
.
AUTO_RUN YES
. AUTO_RUN NO
.
.
.
.
Serviceguard cmhaltpkg
.
(AUTO_RUN) .
. cmviewcl
. pkg1 pkg2 PKGa , PKGa
pkg1 pkg2 .
-n <nodename> cmhaltpkg
.
cmmodpkg
.
.
.
97
Serviceguard
.
, cmhaltpkg
. , halt
. ( 3-15 ).
1. .
2. .
3. .
4. LAN IP .
5. .
6. .
7. 0 .
3-15
(
1). HALT_SCRIPT_TIMEOUT
.
98
Serviceguard
. .log.
.
. .
0 .
.
1 . NO_RESTART .
.
. .
TimeoutHALT_SCRIPT_TIMEOUT .
.
. LVM , VxVM
.
3-4 ,
.
3-4
HP-UX
TOC
(TOC)
TOC
(TOC)
99
Serviceguard
3-4
()
HP-UX
TOC
(TOC)
TOC
(TOC)
1
2
2
1
1
100
Serviceguard
3-4
()
HP-UX
TOC
(TOC)
(cmhaltpkg
TOC
(TOC)
TOC
(TOC)
TOC
(TOC)
101
Serviceguard
3-4
()
HP-UX
) / (
)
102
Serviceguard
.
IP LAN
.
IP IP
( ) IP
. IP
/etc/rc.config.d/netconf /etc/rc.config.d/netconf-ipv6
. IP LAN
. IP .
IP ( " " )
.
IP IP
. IP
cmmodnet LAN .
IP
IP ( IP IP ).
150 200 IP
. IPv4 IPv6 .
,
IP .
IP IP . DNS(
) .
IP gethostbyname()
.
103
Serviceguard
IP IP LAN LAN
.
( ) . ,
.
IP
Serviceguard IPv4 IPv6 . IPv4
"n.n.n.n" , 'n' 0 255 . IPv6
"x:x:x:x:x:x:x:x" , 'x' 128 8 16
16 . IPv4 IPv4
IPv6 IP
. IPv4 IPv6 () IP .
IP
IP IP .
IP . IP
cmmodnet .
6, 271 .
IP . IP
. IPv4 IP
.
IP .
IP .
IP
.
.
104
Serviceguard
LAN
Serviceguard
.
. .
. .
.
2 40
.
LAN .
LAN Serviceguard
. ,
Serviceguard
.
Serviceguard
. Serviceguard
.
NETWORK_FAILURE_DETECTION
.
INOUT:
Serviceguard .
. , .
.
INONLY_OR_INOUT:
.
.
Serviceguard A.11.16 ,
. .
105
Serviceguard
LAN ( LAN )
. LAN IP .
TCP/IP IEEE 802.3
. IPv4 , FDDI ARP
HP-UX ARP MAC( ) IP
. IEEE 802.3 rearp .
IPv6 ARP NDP(Neighbor Discovery Protocol) . NDP
..
1000Base-SX 1000Base-T
106
Serviceguard
IP TCP( ) .
UDP( )
. UDP UDP
.
LAN . , FDDI
10BT 100BT
.
3-16 .
LAN 1 2 .
3-16
1 2 LAN 2 LAN 1 .
3-17 1 LAN 2
.
107
Serviceguard
3-17
IP
. TCP/IP .
. 1 IP
. TCP/IP . 1
.
3-18 . 2
1 LAN .
108
Serviceguard
3-18
.
.
LAN
.
. (cmcld) Serviceguard
.
.
. cmhaltnode
, cmhaltcl
.
109
Serviceguard
(, ) IP
.
. . TCP
. TCP
.
.
LAN . ,
FDDI .
IP 3-5 3-6 .
IPv4 IP
ARP .
IPv4 ARP .
ARP . ARP
IP . ARP ARP
. ARP
IP .
.
IPv4 IPv6 NDP
.
Serviceguard HP-APA(Auto-Port Aggregation, HP J4240AA)
. HP-APA
. HP-APA 100Mbps 1Gbps
( 200Mbps 2Gbps )
.
, .
. APA
.
110
Serviceguard
IP MAC
. HP-APA 4
. 50.
MAC .
. 4
. .
3-19 .
3-19
LAN LAN .
IP MAC LAN
(lan0, lan1, lan2, lan3) .
111
Serviceguard
IP MAC .
lan900 HP-UX 11i . HP-UX 11.0
lan100 .
( ) .
APA
. HP-APA
.
Serviceguard APA
http://docs.hp.com Networking and Communications HP Auto Port
Aggregation (APA) Support Guide( J4240-90027, 2004 9)
APA .
VLAN
Serviceguard HP-UX VLAN LAN
. VLAN .
VLAN
LAN( VLAN)
. VLAN LAN
LAN . LAN
ID . ID VLAN
.
LAN
. HP-UX VLAN , IP
. LAN VLAN
. VLAN
. VLAN IP
. VLAN
Using HP-UX VLAN(T1453-90001) .
112
Serviceguard
HP-UX VLAN
VLAN . VLAN
.
VLAN , VLAN
. VLAN
NIC
.
HP-UX NIC 1024 VLAN .
.
VLAN
Serviceguard , CPU
. VLAN
Serviceguard VLAN
.
ASCII 30
. NIC , VLAN , APA
.
Serviceguard VLAN
LAN VLAN ASCII
.
VLAN .
VLAN VLAN VLAN ID( ID) .
113
Serviceguard
VLAN VLAN
IP .
APA VLAN .
LAN VLAN
VLAN .
VLAN .
Serviceguard
VLAN
.
1. ,
VLAN LAN
.
2. VLAN .
3. VLAN ASCII
.
114
Serviceguard
.
. Serviceguard
.
Serviceguard .
(JBOD, just a bunch of disk ),
. RAID1 RAID5
. .
JBOD .
(RAID1) .
Serviceguard .
RAID1
RAID5 LUN.
3-20 HA .
1 2
. ,
.
. c0t0d0,
c0t1d0, c0t2d0, c1t0d0, c1t1d0, c1t2d0.
115
Serviceguard
3-20
3-21 .
3-21
116
Serviceguard
3-22
3-23 .
LUN
.
3-23
LUN
117
Serviceguard
LUN
.
.
3-24 ()
LUN .
3-24
LUN
, 3-25 .
118
Serviceguard
3-25
Serviceguard .
5 6 .
.
119
Serviceguard
120
16 ( )
Serviceguard
(CFS )
(CFS )
RAID
VxVM
VxVM
.
. VxVM CVM( Cluster Volume
Manager, CVM )
.
VxVM
VxVM
. VxVM
.
121
Serviceguard
. CVM VxVM
. 3.5
VERITAS CVM VxVM-CVM-pkg, CVM 4.1
SG-CFS-pkg.
CVM .
CVM ,
(: ). CVM DMP( )
. CVM CVM
.
CVM Oracle Real Application Cluster /
/
.
CVM 4.1 Serviceguard VERITAS Cluster File System(CFS)
. HP Serviceguard Storage Management Suite CVM
CFS .
CVM .
. ,
.
.
Oracle RAC
122
Serviceguard
CVM
CVM (DG)
CVM . DG , (, )
. 3
. CVM DG
.
.
.
CVM
CVM CVM
. .
CVM DG
.
.
.
CVM 3.5 4.1 .
.
1) ()
2) LAN
3) APA
CVM 3.5 2 3 . CVM 4.1 1 2
.
123
Serviceguard
3-5
Serviceguard
Logical Volume
Manager(LVM)
HP-UX
UX
PV /
3-way
Serviceguard 16
PV
.
.
Mirrordisk/UX
124
Serviceguard
3-5
Serviceguard ()
Shared Logical
Volume
Manager(SLVM)
RAC
SGeRAC
16
( SLVM
Serviceguard )
Base-VxVM
HP-UX 11i
Java
HP-UX 11.11
(RAID-0)
, VxVM 3.5
16
vxdg
125
Serviceguard
3-5
Serviceguard ()
VERITAS Volume
Manager
VxVM
B9116AA (VxVM
3.5)
B9116BA(VxVM
4.1)
/ DMP
16
HP-UX 11.11
, VxVM 3.5
32 plex
RAID 1+0
RAID 1
RAID 5
RAID 0+1
vxdg
126
Serviceguard
3-5
Serviceguard ()
VERITAS Cluster
Volume Manager
B9117AA(CVM
3.5)
B9117BA(CVM 4.1)
VxVM
VxVM
CVM 8
. CFS
RAID 5
File System(CFS)
3.5
( 4.1
)
CVM
127
Serviceguard
Serviceguard .
.
TOC( )
Serviceguard SPU
HP-UX TOC( ). TOC
.
,
, , , Serviceguard
cmcld TOC . TOC
.
Serviceguard: Unable to maintain contact with cmcld daemon.
Performing TOC to ensure data integrity.
Serviceguard TOC .
TOC .
NODE_FAIL_FAST_ENABLED YES 0
1
TOC .
.
(cmcld)
.
TOC .
TOC .
.
128
Serviceguard
SPU
Serviceguard
.
.
.
. .
" "
. ,
.
.
LAN , LAN LAN
. LAN
TOC
. LAN
NODE_FAILFAST_ENABLED(166
) YES TOC .
LAN
.
LVM Mirrordisk/UX VxVM CVM VERITAS
. EMS
.
Using High Availablity Monitors(HP B5736-90042)
.
Serviceguard
. HP HP PowerTrust UPS(
) .
129
Serviceguard
'stop'
.
.
EMS(Event Monitoring Service)
.
(TOC)
. Serviceguard TOC
.
TOC .
.
.
.
.
.
"" " " .
.
.
RESTART_COUNT .
,
.
130
Serviceguard
.
.
,
TOC .
RS-232 LAN
TOC . RS232
.
131
Serviceguard
132
HA
HA
Serviceguard
.
.
.
Serviceguard Manager HP-UX
. F, 445
.
. Serviceguard
Manager ASCII .
Serviceguard A.11.16 SAM .
A.11.16 Serviceguard Serviceguard Manager
A.04.00 .
Serviceguard A.11.12 Serviceguard Manager
.
Serviceguard Manager 7 .
Serviceguard SAM
.
Serviceguard Manager .sgm
, Serviceguard Manager .
Serviceguard Manager Serviceguard Manager
. 7 "Serviceguard Manager " .
.
133
HA
LVM
CVM VxVM
.
F, 445 .
.
.
.
.
.
134
HA
. .
1. ?
2. ( , ,
SPU, , ) ?
3. ?
4. ,
?
5. ?
6. ?
?
7. (Single Point of Failure) ?
.
Serviceguard
Serviceguard 15.5MB .
.
.
.
135
HA
.
.
.
.
" " .
136
HA
.
, , ,
. 4-1 .
4-1
.
. (5
). SPU .
.
SPU
137
HA
SPU
SPU .
. HP
Integrity . HP-UX Serviceguard
.
.
Server Number
.
: rp8400 rx8620-32
Host Name
.
Memory Capacity
MB .
Number of I/O slots
.
Serviceguard LAN
(RS232) .
Serviceguard
.
Serviceguard
DLPI(Data Link Provider Interface) UDP/TCP(User
Datagram Protocol/Transmission Control Protocol) .
138
HA
LAN
LAN
LAN . LAN
LAN .
. LAN .
Subnet Name
IP . IP
.
Interface Name
LAN
. lanscan
.
IP Address
IP
. IP 'Standby'
.
IPv4
.
nnn.nnn.nnn.nnn
IPv6 16
.
xxx:xxx:xxx:xxx:xxx:xxx:xxx:xxx.
IPv6 , 470 IPv6
.
NETWORK_FAILURE_DETECTION
Serviceguard
. Serviceguard
,
Network Manager
139
HA
DOWN
. Serviceguard LAN
.
.
INOUT ,
.
INONLY_OR_INOUT INOUT
.
.
Serviceguard
.
Serviceguard A.11.16 .
INOUT.
. 105 LAN
"LAN "
. http://docs.hp.com/hpux/ha -> Serviceguard White
Papers "Inbound Failure Detection Enhancement"
.
Kind of LAN Traffic
.
.
.
IP .
140
HA
RS232
(RS232)
.
1. MUX , MUX
.
2. ioscan -fnC tty
. .
# ioscan -fnC tty
RS232 .
3. RS-232 .
4. . 1
/dev/tty0p0 2 /dev/tty0p6 .
1 .
# cat < /dev/tty0p0
2 .
# cat /etc/passwd > /dev/tty0p6
1 .
5. .
RS232 Device File
. ASCII
SERIAL_DEVICE_FILE.
Second Node Name
RS232 .
31 .
141
HA
SCSI
SCSI SCSI . SPU
SCSI .
SCSI
.
SCSI 7 0 15 8
. 7 8. ,
,
SCSI
.
.
4-1
SCSI
SCSI
#1
#2
#3
#4
#5
15
#6
14
13 - 8
SCSI / /
.
.
142
HA
SCSI
SCSI , / ,
SCSI .
/
.
.
Bus Type
. Fibre Channel
SCSI.
Slot Number
Address
ioscan
.
diskinfo
lssf /dev/*dsk/c*
bdf
mount
swapinfo
vgdisplay -v
143
HA
lvdisplay -v
lvlnboot -v
vxprint(VxVM CVM)
HP-UX .
.
.
. lssf ,
.
.
. F, 445
. .
.
SPU Information:
Host Name ____ftsys9___________ Series No ______rp8400____________
Memory Capacity ____128 MB _________
Number of I/O Slots ______12_______
=============================================================================
LAN Information:
Name of
Subnet __Blue___
Name of
Node IP
Traffic
Interface ___lan0___ Addr___35.12.16.10__ Type
____HB___
Name of
Subnet __Blue___
Name of
Node IP
Interface ___lan2___ Addr_______________
Traffic
Type
_standby_
Name of
Name of
Node IP
Traffic
Subnet __Red____ Interface ___lan1___ Addr___35.12.15.12_ Type _HB, client
=============================================================================
Network Failure Dections: ____INOUT___
=============================================================================
Serial (RS232) Heartbeat Interface Information:
144
HA
_________
Attach a printout of the output from the ioscan -fnC disk command
after installing disk hardware and rebooting the system. Mark this
printout to indicate which physical volume group each disk belongs to.
145
HA
(UPS)
.
.
,
.
.
. ,
.
.
,
.
. " "
.
SPU
UPS .
.
.
.
.
.
.
146
Host Name
SPU .
Disk Unit
Tape Unit
HA
Other Unit
Power Supply
UPS
.
SPU UPS .
.
. F, 445 .
.
.
==========================================================================
SPU Power:
Host Name ____ftsys9__________
==========================================================================
Disk Power:
Disk Unit __________1_______________
==========================================================================
Tape Backup Power:
Tape Unit __________________________
==========================================================================
147
HA
Other Power:
148
HA
QS(Quorum Server) . QS
72 .
.
50 100
.
.
.
.
ASCII QS_TIMEOUT_EXTENSION
.
.
IP .
IPv4 . IPv6
.
149
HA
(31 ).
qs_authfile .
. F,
445 .
.
.
Quorum Server Data:
==============================================================================
QS Hostname: _________________IP Address: ______________________
==============================================================================
Quorum Services are Provided for:
150
HA
LVM
LVM
HP-UX Logical Volume Manager(LVM) VERITAS VxVM
CVM .
LVM .
.
,
.
,
, .
,
.
,
.
.
(vg01, vg02 )
. (:
/dev/vegetables) .
EMS HA Using High Availability Monitors(B573690046) "Rules for Using EMS Disk Monitor with Serviceguard"
.
151
HA
LVM
LVM
.
. F, 445 .
.
.
. (
)
.
=============================================================================
Volume Group Name:
__________/dev/vg01__________________________________
_______bus0___________________________
____________/dev/dsk/c1t2d0__________________________
____________/dev/dsk/c2t2d0__________________________
____________/dev/dsk/c3t2d0__________________________
_____________________________________________________
_____________________________________________________
_____________________________________________________
_____________________________________________________
152
______________/dev/dsk/c4t2d0________________________
______________/dev/dsk/c5t2d0________________________
______________/dev/dsk/c6t2d0________________________
_____________________________________________________
_____________________________________________________
_____________________________________________________
HA
LVM
_____________________________________________________
_____________________________________________________
153
HA
CVM VxVM
CVM VxVM
HP-UX Logical Volume Manager(LVM) VERITAS VxVM
CVM .
CVM VxVM
.
VxVM rootdg
. LVM HP-UX
. VxVM
. .
: VxVM rootdg VxVM 3.5 . VxVM 4.1
.
CVM VxVM
.
,
, .
, .
LVM .
VxVM ASCII .
cmquerycl ASCII .
154
HA
CVM VxVM
CVM VxVM
.
. F, 445 .
.
.
.
.
( )
.
=========================================================================
Disk Group Name: ______dg01_____________________
Disk Name: _____________________c1t2d0__________________________
Disk Name: _____________________c2t2d0__________________________
Disk Name: _____________________c3t2d0__________________________
Disk Name: _____________________________________________________
CFS DG Package Name: ___________SG-CFS-DG_1_____
CFS Volume, MP, and MP Pkg: _logdata_/mnt/lvol1_ SG-CFS-MP_1______
CFS Volume, MP, and MP Pkg: ______________________________________
Disk Group Name: ______dg02______________________
Disk Name: _____________________c1t3d0__________________________
Disk Name: _____________________c2t3d0__________________________
Disk Name: _____________________c3t3d0__________________________
CFS DG Package Name: ___________SG-CFS-DG_2_____
CFS Volume, MP, and MP Pkg: _hrdata__/mnt/lvol4_ SG-CFS-MP_2____
CFS Volume, MP, and MP Pkg: ____________________________________
155
HA
.
.
.
1000000(1) 2000000(2) .
1000000(1) 5~8
(5000000~8000000) .
.
.
.
.
.
.
, .
UID .
GID .
/usr
.
156
HA
.
.
.
. .
.
.
.
.
cmquerycl
. .
# cmquerycl -v -n ftsys9 -n ftsys10
SAM
.
Serviceguard .
.
.
.
. .
.
157
HA
.
.
cmquerycl
("HA " ).
ASCII .
.
CLUSTER_NAME
cmviewcl
.
, (/), (\) (*)
. .
39 .
QS_HOST
IP .
.
QS_POLLING_INTERVAL
(). 300,000,000
(5).
QS_TIMEOUT_EXTENSION
,
. Serviceguard
.
QS_TIMEOUT_EXTENSION .
FIRST_CLUSTER_LOCK_VG, SECOND_CLUSTER_LOCK_VG
158
HA
.
.
.
.
FIRST_CLUSTER_LOCK_VG
.
SECOND_CLUSTER_LOCK_VG .
ASCII
VOLUME_GROUP .
NODE_NAME
.
31
. , ftsys9.cup.hp.com ftsys9
.
NETWORK_INTERFACE
LAN
. , lan0 .
HEARTBEAT_IP
IP
. IP
. IP IPv4 .
VERITAS CVM 4.1
. CVM 3.5
.
3.5 LAN
.
159
HA
STATIONARY_IP
IP .
.
.
IP IPv4 IPv6 . IPv6
, 470 IPv6
.
FIRST_CLUSTER_LOCK_PV, SECOND_CLUSTER_LOCK_PV
.
FIRST_CLUSTER_LOCK_PV
SECOND_CLUSTER_LOCK_PV .
SECOND_CLUSTER_LOCK_PV
.
.
160
HA
(
).
. 39
.
SERIAL_DEVICE_FILE
(RS232)
. RS232
.
ASCII
SERIAL_DEVICE_FILE. 39
.
HEARTBEAT_INTERVAL
.
ASCII
HEARTBEAT_INTERVAL
.
1,000,000.
.
. 15
30. Node Timeout(
) 1/2 .
NODE_TIMEOUT
.
.
ASCII 2,000,000.
2 * ( ). ASCII
30,000,000 Serviceguard Manager 30.
.
161
HA
.
5,000,000~8,000,000(5~8) .
30 60.
AUTO_START_TIMEOUT
. ASCII
AUTO_START_TIMEOUT.
.
.
600(10) .
ASCII 600,000,000
Serviceguard Manager 600.
NETWORK_POLLING_INTERVAL
Serviceguard .
ASCII
NETWORK_POLLING_INTERVAL.
ASCII 2,000,000
Serviceguard Manager 2.
2
.
.
. 1,000,000(1 ).
15 30.
162
HA
MAX_CONFIGURED_PACKAGES
.
0, 150. Serviceguard A.11.17
150,
.
VOLUME_GROUP
LVM
.
. ASCII
VOLUME_GROUP. 39 .
Access Control Policies
USER_NAME, USER_HOST, USER_ROLE
. Serviceguard Manager USER_HOST
.
.
192 .
FAILOVER_OPTIMIZATION
Serviceguard Extension for Faster
Failover .
TWO_NODE
. NONE .
http://www.docs.hp.com/ -> high availability
Serviceguard Extension for Faster Failover .
NETWORK_FAILURE_DETECTION
Serviceguard
. Serviceguard
,
Network Manager
163
HA
DOWN .
Serviceguard LAN
.
.
INOUT - ,
.
INONLY_OR_INOUT -
.
Serviceguard
.
INOUT.
. INONLY_OR _INOUT
http://docs.hp.com/hpux/ha -> Serviceguard White
Papers "Inbound Failure Detection Enhancement"
.
.
. F, 445 .
Name and Nodes:
===============================================================================
Cluster Name: ___ourcluster_______________
Node Names: ____node1_________________
____node2_________________
164
HA
165
HA
.
.
LVM
. " "
. VERITAS ASCII
.
.
.
.
Serviceguard ,
. ,
.
.
.
166
HA
, .
.
(lvol1, lvol2 )
. (:
lvoldatabase) .
/etc/fstab commented ,
, .
.
#
#
#
#
#
#
/dev/vg01/lvoldb1
/dev/vg01/lvoldb2
/dev/vg01/lvoldb3
/dev/vg01/lvoldb4
/dev/vg01/lvoldb5
/dev/vg01/lvoldb6
1
# These six entries are
1
# for information purposes
0 0 # only. They record the
2
# logical volumes that
0
# exist for Serviceguard's
0
# HA package. Do not uncomment.
Serviceguard /etc/fstab
.
167
HA
CVM 3.5
VERITAS Cluster Volume Manager 3.5 VxM-CVMpkg .
CVM 3.5 VxM-CVM-pkg .
. APA, Infiniband VLAN
.
CFS CVM 4.1 VERITAS Cluster Volume Manager 4.1
SG-CFS-pkg .
CVM 4.1 SG-CFS-pkg .
APA, Infiniband VLAN
.
CFS CVM 4.1 CFS(VERITAS Cluster File System) VERITAS Cluster
Volume Manager 4.1 .
SG-CFS-pkg .
, CFS SG-CFS-MP-id# CFS SGCFS-DG-id# . cfs
. ASCII .
CVM 4.1 SG-CFS-pkg .
APA Infiniband .
.
1.
.
168
HA
SAME_NODE
SG-CFS-MP-id# =UP .
2.
.
cfsmntadm cfsmount .
Serviceguard SG-CFS-MP-id#
ID . Serviceguard
.
3. CFS
.
cfsdgadm. . Serviceguard
SG-CFS-DG-id# ID .
Serviceguard CFS .
cfsdgadm, cfsmntadm,
cfsmount, cfsumount cfs .
mount umount
.
CFS HP Serviceguard Storage Management Suite cfsmount
cfsumount mount (mount -o cluster,
dbed_chkptmount, sfrac_chkptmount )
. cfs Serviceguard
. mount
.
(SG-CFS-DG_ID# SG-CFSMP_ID#) .
169
HA
.
DG MP .
EMS
Serviceguard EMS(Event Monitoring Service)
. RESOURCE_NAME,
RESOURCE_POLLING_INTERVAL, RESOURCE_START RESOURCE_UP_VALUE
.
. RESOURCE_START DEFERRED
DEFERRED_RESOURCE_NAME .
RESOURCE_START Serviceguard EMS
. RESOURCE_START AUTOMATIC
DEFERRED .
AUTOMATIC Serviceguard
Serviceguard .
AUTOMATIC
DEFERRED_RESOURCE_NAME .
DEFERRED Serviceguard DEFERRED
. DEFERRED
DEFERRED_RESOURCE_NAME
DEFERRED .
DEFERRED AUTOMATIC .
.
RESOURCE_NAME
RESOURCE_POLLING_INTERVAL
RESOURCE_START
RESOURCE_UP_VALUE
170
/net/interfaces/lan/status/lan0
60
DEFERRED
= UP
HA
RESOURCE_NAME
RESOURCE_POLLING_INTERVAL
RESOURCE_START
RESOURCE_UP_VALUE
/net/interfaces/lan/status/lan1
60
DEFERRED
= UP
RESOURCE_NAME
RESOURCE_POLLING_INTERVAL
RESOURCE_START
RESOURCE_UP_VALUE
/net/interfaces/lan/status/lan2
60
AUTOMATIC
= UP
DEFERRED_RESOURCE_NAME
.
DEFERRED_RESOURCE_NAME[0]="/net/interfaces/lan/status/lan0"
DEFERRED_RESOURCE_NAME[1]="/net/interfaces/lan/status/lan1"
.
.
MAX_CONFIGURED_PACKAGES .
LAN
LAN IP .
LOCAL_LAN_FAILOVER . Enabled
YES .
Serviceguard
.
.
87 3-3
.
171
HA
.
Serviceguard Manager . ASCII
.
.
Package name
.
. , ,
. ASCII
PACKAGE_NAME.
ASCII 1~39
. , (/), (\) (*)
. .
Serviceguard Manager
. " "
.
Failover policy
. ASCII
FAILOVER_POLICY.
CONFIGURED_NODE,
.
.
MIN_PACKAGE_NODE,
.
Failback policy
. ASCII
FAILBACK_POLICY.
172
HA
MANUAL,
. Serviceguard .
AUTOMATIC.
MIN_PACKAGE_NODE
.
Package nodes
. ASCII
NODE_NAME.
.
.
,
.
.
NODE_NAME * .
31 .
173
HA
EMS(Event
Monitoring Service) ,
Enabled Serviceguard
TOC . ASCII
NODE_FAIL_FAST_ENABLED
YES NO.
Serviceguard Manager (
) ASCII NO.
NODE_FAIL_FAST_ENABLED YES
.
EMS
Serviceguard
"exit 1"
Serviceguard
NO_RESTART .
174
HA
(AUTO_RUN)
.
Controlscript pathname Serviceguard Manager
Serviceguard Manager
.
.
Serviceguard Manager
.
.
"cmcluster" .
. ASCII
RUN_SCRIPT HALT_SCRIPT
.
.
.
.
ASCII RUN_SCRIPT HALT_SCRIPT
.
'start' ,
'stop'
.
( , IP )
.
Run script timeout Halt script timeout
Serviceguard .
ASCII RUN_SCRIPT_TIMEOUT
HALT_SCRIPT_TIMEOUT. .
175
HA
0 . 10
, HALT_SCRIPT_TIMEOUT Service Halt
Timeout . HP-UX
ULONG_MAX , 4,294 .
.
1 .
. . 8 "
" .
VxVM
. VxVM
.
CVM diskgroups
STORAGE_GROUP CFS
CVM .
CFS
.
176
HA
CVM . CFS
CVM . ASCII
LVM VxVM
.
Service name
. ASCII
SERVICE_NAME.
SERVICE_NAME .
30 900
. , (/),
(\), (*) .
. 39 .
177
HA
Serviceguard
(0 ). HP-UX ULONG_MAX
, 4,294.
SERVICE_HALT_TIMEOUT
.
Subnet
IP .
ASCII SUBNET.
PACKAGE_TYPE
.
,
. FAILOVER, MULTI_NODE
SYSTEM_MULTI_NODE. FAILOVER.
SYSTEM_MULTI_NODE MULTI-NODE
. HP
.
ASCII VERITAS Cluster File System
. A cfs
.
EMS resource
Serviceguard
Event Monitoring Service . ASCII
RESOURCE_NAME.
.
. Serviceguard
Manager EMS(Event Monitoring Service)
(" EMS ")
.
60 .
Resource Up Values .
178
HA
1024.
Resource polling interval .
ASCII
RESOURCE_POLLING_INTERVAL.
60. 1
.
Serviceguard Manager EMS
(" EMS
")
.
Resource start
. ASCII
RESOURCE_START.
AUTOMATIC,
. DEFERRED,
. DEFERRED
DEFERRED_RESOURCE_NAME
. Serviceguard Manager
.
Resource UP criteria
. ASCII
RESOURCE_UP_VALUE. Resource Up Value
Serviceguard Manager EMS
" EMS "
.
15 Resource Up Value .
, Resource Up
Value 15 . Resource Name
179
HA
10 Resource Up Value
Resource Name 5 Resource Up
Value .
Resource Up Value 1024.
Access control policies
.
. 192
.
SCRIPT_LOG_FILE .
/etc/cmcluster/pkgname/control_script.log
. .
DEPENDENCIES
Serviceguard A.11.17
.
.
Serviceguard A.11.17 , HP
VERITAS Cluster File System
HP
.
DEPENDENCY_NAME -
DEPENDENCY_CONDITION- pkgname = UP
DEPENDENCY_LOCATION - SAME_NODE
. . F, 445
.
180
HA
___YES__
___NO___
_______________________________________________________________________
Additional Package Resource:
Resource Name:___________ Polling Interval_______ Resource UP Value________
_______________________________________________________________________
Access Policies:
User:___any_user______ From node:___ftsys9____ Role:__package_admin____
User:___lee ron admn__ From node:__ftsys10__ Role:__package_admin____
_______________________________________________________________________
DEPENDENCY_NAME _________ SG-CFS-MP-1_dep___________
DEPENDENCY_CONDITION ____SG-CFS-MP-1 = UP_______
DEPENDENCY_LOCATION _______________SAME_NODE_________
. .
PATH
181
HA
VGCHANGE
LVM .
(VGCHANGE="vgchange -a e")
. vgchange -c y
.
VGCHANGE="vgchange -a e -q n" .
VGCHANGE="vgchange a e -q n -s" .
VGCHANGE="vgchange -a y" .
.
CVM_ACTIVATION_CMD
VERITAS CVM .
CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set
activation=exclusivewrite" .
CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set
activation=readonly" .
CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set
activation=sharedread" .
CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set
activation=sharedwrite" .
VxVM
. VxVM .
VXVOL
182
HA
VxVM .
VXVOL="vxvol -g \$DiskGroup startall"
.
VXVOL="vxvol -g \$DiskGroup -o bg startall"
.
Volume Groups
LVM
. VG .
CVM Disk Groups
VERITAS CVM
.
. CVM_DG[0]
. CVM VxVM
CFS(VERITAS Cluster File System)
. CFS SG-CFS-DG-id#
SG-CFS-MP-id# .
VxVM Disk Groups
VERITAS VxVM
.
.
Logical Volumes, File Systems and Mount Options
.
,
.
LV, FS FS_MOUNT_OPT.
.
183
HA
.
. (FS)
(LV) .
LVM , VERITAS CVM
VERITAS VxVM . LV
.
Filesystem Unmount Count
. 1.
Filesystem Mount Retry Count
. 0.
FS_MOUNT_RETRY_COUNT 0,
1 .
FS_MOUNT_RETRY_COUNT 0
FS_MOUNT_RETRY_COUNT
.
1
.
CONCURRENT_VGCHANGE_OPERATIONS
. 1.
. 1
1
.
CONCURRENT_FSCK_OPERATIONS
fsck
. 1.
. 1 1
.
184
HA
CONCURRENT_MOUNT_OPERATIONS
. 1.
. 1
1
.
IP Addresse SUBNET
LAN IP
. IP IP
. IP IPv4 IPv6
. IPv6 , 470
IPv6 .
.
, IPv4 IP[0]=192.10.25.12
SUBNET[0]=192.10.25.0 .
255.255.255.0. IPv6 IP[0]=2001::3
SUBNET[0]=2001::/64 .
ffff:ffff:ffff:ffff::.
Service Name
.
Serviceguard .
30 .
.
cmrunserv cmhaltserv .
ASCII .
SERVICE_NAME
. .
SERVICE_NAME, SERVICE_CMD, SERVICE_RESTART
.
185
HA
186
HA
187
HA
188
HA
HA
5 6 Serviceguard
.
Serviceguard .
ftsys9 ftsys10 .
.
Serviceguard
LVM
VxVM
VERITAS CVM/CFS
.
Serviceguard Manager
. Serviceguard Manager A.04.00 Serviceguard
A.11.16 Serviceguard A.11.16
.
Serviceguard A.11.16
. .
.
.
.
189
HA
Serviceguard
.
190
HA
, ,
NTP( ) .
Serviceguard /etc/cmcluster.conf HP-UX
.
.
###################### cmcluster.conf########################
#
# Highly Available Cluster file locations
#
# This file must not be edited
#############################################################
SGCONF=/etc/cmcluster
SGSBIN=/usr/sbin
SGLBIN=/usr/lbin
SGLIB=/usr/lib
SGCMOM=/opt/cmom
SGRUN=/var/adm/cmcluster
SGAUTOSTART=/etc/rc.config.d/cmcluster
SGCMOMLOG=/var/adm/syslog/cmom
root
/etc/cmcluster.conf . .profile
.
. /etc/cmcluster.conf
.
$SGCONF/<FileName> . , SGCONF
/etc/cmcluster/conf $SGCONF/cmclconfig
/etc/cmcluster/conf/cmclconfig .
191
HA
/etc/cmcluster.conf .
Serviceguard
.
Serviceguard , IP ,
.
Serviceguard IPv4 .
Serviceguard
IP .
IP
Serviceguard .
IP .
Serviceguard
.
Serviceguard . IP
.
IP
Serviceguard .
DNS NIS
/etc/hosts .
, 2 (gryf
sly) ()
. /etc/hosts
.
192
HA
15.145.162.131
10.8.0.131
10.8.1.131
gryf.uksr.hp.com
gryf.uksr.hp.com
gryf.uksr.hp.com
gryf
gryf
gryf
15.145.162.132
10.8.0.132
10.8.1.132
sly.uksr.hp.com
sly.uksr.hp.com
sly.uksr.hp.com
sly
sly
sly
15.145.162.150
bit.uksr.hp.com
bit
(FQDN) Serviceguard
. , gryf.uksr.hp.com gryf.cup.hp.com
gryf .
Serviceguard .
Serviceguard
. .
15.145.162.131
10.8.0.131
10.8.1.131
gryf.uksr.hp.com
gryf2.uksr.hp.com
gryf3.uksr.hp.com
gryf
gryf
gryf
node1
15.145.162.132
10.8.0.132
10.8.1.132
sly.uksr.hp.com
sly2.uksr.hp.com
sly3.uksr.hp.com
sly
sly
sly
node2
.
Serviceguard IP
.
DNS, NIS LDAP /etc/hosts
.
/etc/nsswitch.conf ''
. .
193
HA
DNS .
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
[NOTFOUND=return UNAVAIL=return]
NIS .
hosts: files [NOTFOUND=continue UNAVAIL=continue] nis
[NOTFOUND=return UNAVAIL=return
Serviceguard ident
. Serviceguard ident
.
UID 0 .
/etc/passwd "root" UID 0
. ident UID
. Serviceguard
ident "root" .
Serviceguard ident
. "Securing Serviceguard" .
identd -i tcp hacl-cfg hacl-probe inetd
.
, Serviceguard A.11.17 HP-UX :
1. /etc/inetd.conf cmclconfd .
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd \
cmclconfd -c -i
2. /etc/inetd.conf cmomd .
hacl-probe stream tcp nowait root \
/opt/cmom/lbin/cmomd /opt/cmom/lbin/cmomd -i -f \
/var/opt/cmom/cmomd.log -r /var/opt/cmom
3. inetd .
/etc/init.d/inetd restart
194
HA
Serviceguard .
:
.
:
.
:
. cmviewcl, cmquerycl, cmgetconf
cmviewconf . Serviceguard Manager
, .
( ) : .
.
. cmrunpkg,
cmhaltpkg cmmodpkg . Serviceguard
Manager , ,
, .
.
.
( ) : ,
. .
.
: .
cmruncl, cmhaltcl, cmrunnode cmhaltnode
.
. Serviceguard Manager
Admin
. .
A.11.16 cmclnodelist
.
( ) .
195
HA
.
. .
Serviceguard
. Serviceguard
.
. Serviceguard Manager
COM .
.
.
.
.
Serviceguard
.
$SGCONF/cmclnodelist Serviceguard
.
cmclnodelist .
Serviceguard hostsequiv $SGCONF/cmclnodelist
. Serviceguard
. Serviceguard cmclnodelist hostsequiv
. r-command
hostsequiv cmclnodelist .
IP
.
Serviceguard IP
. IP
.
196
HA
cmclnodelist
cmclnodelist . "
" .
###########################################################
# Do Not Edit This File
# This is only a temporary file to bootstrap an unconfigured
# node with Serviceguard version A.11.16
# Once a cluster is created, Serviceguard will not consult
# this file.
###########################################################
cmclnodelist .
[hostname or ip address] [user] [#Comment]
.
gryf
gryf
root
user1
#cluster1,node1
#cluster1,node 1
sly
sly
root
user1
# cluster1, node2
#cluster1, node 2
bit
root
#Administration/COM Server
197
HA
hostsequiv IP
. hostsequiv man
hosts.equiv(4) http://docs.hp.com HP-UX
.
hostsequiv
Serviceguard
.
.
.
cmclnodelist hostsequiv .
.
.
ASCII .
.
. 200
.
.
198
ANY_SERVICEGUARD_NODE
CLUSTER_MEMBER_NODE
IP
USER_ROLE .
HA
MONITOR
FULL_ADMIN
PACKAGE_ADMIN
MONITOR FULL_ADMIN
. PACKAGE_ADMIN
. PACKAGE_ADMIN
.
PACKAGE_ADMIN .
.
USER_NAME john
USER_HOST bit
USER_ROLE PACKAGE_ADMIN
bit john
PACKAGE_ADMIN .
PackageA bit john
PackageA PACKAGE_ADMIN . john
MONITOR .
. ANY_USER
john .
Serviceguard .
, .
# Policy 1:
USER_NAME john
USER_HOST bit
USER_ROLE PACKAGE_ADMIN
# Policy 2:
USER_NAME john
USER_HOST bit
USER_ROLE MONITOR
199
HA
# Policy 3:
USER_NAME ANY_USER
USER_HOST
USER_ROLE MONITOR
ANY_SERVICEGUARD_NODE
john . Policy 2
PACKAGE_ADMIN MONITOR .
ANY_USER john , Policy 3
.
.
. , ANY_CLUSTER_NODE
operator1 MONITOR .
.
ANY_SERVICEGUARD_NODE .
.
Serviceguard .
Serviceguard (cmviewcl )
.
,
. Serviceguard Manager
.
Serviceguard . ,
Serviceguard Serviceguard Manager
.
200
HA
/etc/nsswitch.conf .
DNS .
hosts: files [NOTFOUND=continue UNAVAIL=contine] dns
[NOTFOUND=return UNAVAIL=return]
NIS .
hosts: files [NOTFOUND=continue UNAVAIL=contine] nis
{NOTFOUND=return UNAVAIL=return]
/etc/hosts
/etc/nsswitch.conf
. Serviceguard
/etc/hosts .
IP /etc/hosts .
LAN DNS
cmrunnode cmruncl
LAN LAN LAN
. DNS
.
1. /etc/hosts . IP
IP .
.
15.13.172.231
192.2.1.1
192.2.8.2
15.13.172.232
192.2.1.2
192.2.8.2
15.13.172.233
192.2.1.3
192.2.8.3
hasupt01
hasupt01
hasupt01
hasupt02
hasupt02
hasupt02
hasupt03
hasupt03
sgsupt03
201
HA
IP
.
2. /etc/nsswitch.conf
.
hosts: files [NOTFOUND=continue UNAVAIL=contine] dns
[NOTFOUND=return UNAVAIL=return]
"hosts:"
( ).
files [NOTFOUND=continue UNAVAIL=contine] dns [NOTFOUND=return
UNAVAIL=return]
DNS LAN IP
.
3. /etc/cmclnodelist
IP
.
15.13.172.231
15.13.172.232
15.13.172.233
hasupt01
hasupt02
hasupt03
.
(/dev/vg00/lvol1), (/dev/vg00/lvol2) (/dev/vg00/lvol3)
. /dev/dsk/c4t5d0
/dev/dsk/c4t6d0 .
.
1. LVM .
# pvcreate -B /dev/rdsk/c4t6d0
202
HA
2. .
# vgextend /dev/vg00 /dev/dsk/c4t6d0
3. .
# mkboot -l /dev/rdsk/c4t6d0
4. , .
/usr, /swap vg00 .
, ,
.
.
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c4t6d0
.
# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c4t6d0
.
# lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c4t6d0
5. , BDRA
.
# /usr/sbin/lvlnboot -b /dev/vg00/lvol1
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2
# /usr/sbin/lvlnboot -r /dev/vg00/lvol3
6. .
# lvlnboot -v
.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c4t5d0 (10/0.5.0) -- Boot Disk
/dev/dsk/c4t6d0 (10/0.6.0) -- Boot Disk
Boot:
lvol1
on:
/dev/dsk/c4t5d0
203
HA
/dev/dsk/c4t6d0
Root:
lvol3
on:
/dev/dsk/c4t5d0
Swap:
lvol2
on:
/dev/dsk/c4t5d0
Dump:
lvol2
on:
/dev/dsk/c4t6d0, 0
/dev/dsk/c4t6d0
/dev/dsk/c4t6d0
.
.
.
.
,
.
.
# pvdisplay <lock device file name>
"" .
.
# pvchange -t 0 <lock device file name>
.
3 " " .
.
vgcfgbackup , vgcfgrestore
.
204
HA
vgcfgbackup vgcfgrestore .
. ,
.
Network Time Protocol(NTP)
. NTP
.
. NTP xntpd
. NTP /etc/ntp.conf.
NTP http://docs.hp.com -> Networking and
Communication -> Internet Services HP-UX HP-UX Internet
Services Administrators Guide .
Serviceguard SGeSAP, SGeRAC SGeFF Serviceguard ndd
kmtune
.
.
. Serviceguard
HP
.
205
HA
Serviceguard
.
ndd . ndd(1M)
.
kmtune . kmtune(1M)
.
Serviceguard
.
ip6_nd_dad_solicit_count IPv6
. 478
IPv6 .
tcp_keepalive_interval
.
Serviceguard tcp_keepalive_interval
.
Serviceguard A.11.14
HP-UX 11.11
tcp_keepalive_interval 60000(60).
Serviceguard tcp_keepalive_interval
. ndd
/etc/rc.config.d/nddconf tcp_keepalive_interval
.
tcp_keepalive_interval
.
206
HA
.
.
.
.
.
.
MAX_CONFIGURED_PACKAGES
.
207
HA
.
.
.
ASCII QS_TIMEOUT_EXTENSION
.
.
HP-UX swinstall ( B8467BA)
. .
.
.
qs /usr/lbin .
Quorum QS
.
/etc/cmcluster/qs_authfile.
.
.
ftsys9.localdomain.com
ftsys10.localdomain.com
(+) .
208
HA
cmquerycl
cmapplyconf
stdout stderr .
/var/adm/qs stdout stderr
(: /var/adm/qs/qs.log) .
.
. /etc/inittab .
qs:345:respawn:/usr/lbin/qs >> /var/adm/qs/qs.log 2>&1
.
# init q
.
qs.log .
# cat /var/adm/qs/qs.log
.
Oct 04 12:25:06:0:main:Starting Quorum Server
Oct 04 12:25:09:0:main:Server is up and waiting for connections
at port 1238
69
. cmquerycl
234
.
209
HA
Serviceguard
Serviceguard
Serviceguard Software Distributor
. HP-UX .
.
1. CD ROM .
2. swinstall Software Distributor .
3. .
4. .
T1905BA
Serviceguard
5. . .
Serviceguard http://docs.hp.com -> high
availability -> Serviceguard -> Release Notes
.
swinstall HP-UX
.
210
HA
LVM VxVM
LVM VxVM
.
.
.
LVM VxVM . CVM CFS
.
LVM
LVM .
.
PV
211
HA
LVM VxVM
.
PVG .
( )
.
LVM HP-UX
.
SAM
SAM HA
. SAM "Disks and File Systems Area"
.
1. Volume Groups .
2. Actions Create Extend .
3.
.
4. vgdatabase .
5. Create Volume Group Extend Volume Group .
6. Add New Logical Volumes .
7. PVG
.
8. (: /mnt1).
9. , .
" " .
LVM
. LVM "
" .
212
HA
LVM VxVM
.
.
# lssf /dev/dsk/*
PVG (ftsys9)
. .
1. vgdatabase .
# mkdir /dev/vgdatabase
2. /dev/vgdatabase group .
# mknod /dev/vgdatabase/group c 64 0xhh0000
64 16 .
0xhh0000
hh . mknod
. NFS
VG .
.
# ls -l /dev/*/group
3. .
# vgcreate -g bus0/dev/vgdatabase /dev/dsk/c1t2d0
# vgextend -g bus1 /dev/vgdatabase /dev/dsk/c0t2d0
213
HA
LVM VxVM
bus0 .
bus1
. PV PVG
.
4. .
( /dev/vgdatabase)
.
# lvcreate
-L 120 -m 1 -s g /dev/vgdatabase
120MB lvol1 .
. -s g PVG
.
RAID 1 RAID 5 -m 1 -s g
.
.
.
1. .
# newfs -F vxfs /dev/vgdatabase/rlvol1
.
2. .
# mkdir /mnt1
3. .
# mount /dev/vgdatabase/lvol1 /mnt1
mount .
4. .
# vgdisplay -v /dev/vgdatabase
214
HA
LVM VxVM
PV
HP HA
.
LUN (PV )
. SAM
.
LVM .
.
8/0.15.0 /dev/dsk/c0t15d0
15 LUN 0 */
8/0.15.1 /dev/dsk/c0t15d1
15 LUN 1 */
8/0.15.2 /dev/dsk/c0t15d2
15 LUN 2 */
8/0.15.3 /dev/dsk/c0t15d3
15 LUN 3 */
8/0.15.4 /dev/dsk/c0t15d4
15 LUN 4 */
8/0.15.5 /dev/dsk/c0t15d5
15 LUN 5 */
10/0.3.0 /dev/dsk/c1t3d0
s 3 LUN 0 */
10/0.3.1 /dev/dsk/c1t3d1
s 3 LUN 1 */
10/0.3.2 /dev/dsk/c1t3d2
s 3 LUN 2 */
10/0.3.3 /dev/dsk/c1t3d3
s 3 LUN 3 */
10/0.3.4 /dev/dsk/c1t3d4
s 3 LUN 4 */
10/0.3.5 /dev/dsk/c1t3d5
s 3 LUN 5 */
, ioscan
LUN( ) .
/dev/dsk/c0t15d0
/dev/dsk/c1t3d0
215
HA
LVM VxVM
.
1. vgdatabase .
# mkdir /dev/vgdatabase
2. /dev/vgdatabase group .
# mknod /dev/vgdatabase/group c 64 0xhh0000
64 16 .
0xhh0000
hh .
. NFS
VG .
.
# ls -l /dev/*/group
LUN .
4. .
# vgcreate /dev/vgdatabase /dev/dsk/c0t15d0
# vgextend /dev/vgdatabase /dev/dsk/c1t3d0
vgdisplay -v . LVM
/dev/dsk/c0t15d0
. LVM /dev/dsk/c1t3d0
.
" " .
216
HA
LVM VxVM
.
.
(: ftsys9)
.
.
.
ftsys9 .
# umount /mnt1
# vgchange -a n /dev/vgdatabase
LVM
. ftsys9
ftsys10 .
.
ftsys10 .
1. ftsys9 .
# vgexport -p -s -m /tmp/vgdatabase.map
/dev/vgdatabase
2. ftsys9 ftsys10 .
# rcp /tmp/vgdatabase.map ftsys10:/tmp/vgdatabase.map
3. ftsys10 .
# mkdir /dev/vgdatabase
ftsys9 .
.
# ls -l /dev/*/group
217
HA
LVM VxVM
5. ftsys9 .
fsys10 .
# vgimport -s -m /tmp/vgdatabase.map /dev/vgdatabase
ftsys10 ftsys9 .
.
VG LVM
vgcfgrestore vgcfgbackup
. .
# vgchange -a y /dev/vgdatabase
# vgcfgbackup /dev/vgdatabase
# vgchange -a n /dev/vgdatabase
6. /etc/lvmpvg
ftsys10
.
PVG
/etc/lvmpvg .
PVG .
/etc/lvmpvg PVG
.
.
/etc/lvmpvg
. "
" .
7. ftsys9 . ftsys10
.
# vgchange -a y /dev/vgdatabase
8. .
# mkdir /mnt1
9. ftsys10 .
218
HA
LVM VxVM
10. ftsys10 .
# umount /mnt1
11. ftsys10 .
# vgchange -a n /dev/vgdatabase
.
Serviceguard
.
. (
)
/etc/lvmpvg .
("" ).
(ftsys9) (ftsys10)
.
1. ftsys9 /etc/lvmpvg ftsys10 /etc/lvmpvg.new .
2. ftsys10 /etc/lvmpvg.new /etc/lvmpvg.new
.
3. ftsys10 /etc/lvmpvg /etc/lvmpvg.new
PVG /etc/lvmpvg.new
.
4. ftsys10 /etc/lvmpvg.new
.
5. ftsys10 /etc/lvmpvg /etc/lvmpvg.old .
/etc/lvmvpg.new ftsys10 /etc/lvmpvg .
219
HA
LVM VxVM
Serviceguard
. . ,
, .
. , /dev/dsk/c0t2d0
/dev/dsk/c0t2d0 .
VxVM
. Logical Volume Manager(LVM),
VERITAS Volume Manager(VxVM) VERITAS Cluster Volume(CVM)
. . LVM
VxVM CVM
.
LVM VxVM G
.
VERITAS Volume Manager(VxVM)
. ( )
VxVM Storage Administrator GUI VEA
. VERITAS Volume Manager for HP-UX Release Notes
VERITAS Enterprise Administrator (VEA 500 Series) Getting
Started . VxVM .
VERITAS Cluster Volume Manager 3.5
CVM 3.5 Volume Manager
. rootdg
. VxVM .
# vxinstall
VxVM
. "Custom" rootdg
.
220
HA
LVM VxVM
LVM VxVM
vxvmconvert(1m) LVM VxVM
. .
, . VERITAS Volume
Manager Migration Guide .
vgcfgbackup
. 459 LVM VxVM
.
VxVM
VxVM .
vxdiskadm
vxdisksetup
. .
# /usr/lib/vxvm/bin/vxdisksetup -i c0t3d2
LVM
LVM pvremove
LVM . LVM
pvcreate -f
ID .
221
HA
LVM VxVM
LVM VxVM
. LVM
.
LVM .
.
# pvremove /dev/rdsk/c0t3d2
vxdiskadm VxVM
vxdisksetup .
.
# /usr/lib/vxvm/bin/vxdisksetup -i c0t3d2
vxdiskadm vxdg
.
# vxdg init logdata c0t3d2
.
# vxdg list
NAME
rootdg
logdata
STATE
enabled
enabled
ID
971995699.1025.node1
972078742.1084.node1
vxassist . .
# vxassist -g logdata make log_files 1024m
logdata log_files 1024MB
. /dev/vx/dsk/logdata/log_files ()
/dev/vx/rdsk/logdata/log_files .
.
222
HA
LVM VxVM
# vxprint -g logdata
.
TY NAME
ASSOC
TUTILO PUTILO
KSTATE
LENGTH
v
pl
ENABLED
ENABLED
1024000
1024000
logdata
fsgen
logdata-01 system
PLOFFS
STATE
ACTIVE
ACTIVE
VxVM
VERITAS Volume Manager Reference Guide .
. .
1. .
# newfs -F vxfs /dev/vx/rdsk/logdata/log_files
2. .
# mkdir /logs
3. .
# mount /dev/vx/dsk/logdata/log_files /logs
4. .
# umount /logs
Serviceguard
.
# vxdg deport <DiskGroupName>
223
HA
LVM VxVM
<DiskGroupName>
.
.
# vxdctl enable
vxdg import
.
.
# vxdg import dg_01
# vxvol -g dg_01 startall
# mount /dev/vx/dsk/dg_01/myvol /mountpoint
Clearimport
cmcluster RC
vxdisk clearimport . , noautoimport
. clearimport ID
.
clearimport Serviceguard
.
ID
ID .
224
HA
LVM VxVM
clearimport Serviceguard noautoimport
.
.
225
HA
.
Serviceguard Manager
. Serviceguard "Serviceguard
" .
Serviceguard Manager
Serviceguard Manager .
,
. .
.
. Serviceguard Manager
, .
.
.
.
.
. "successful"
.
, .
.
226
HA
Serviceguard
cmquerycl
. 31 .
.
# cmquerycl -v -C /etc/cmcluster/clust1.config -n ftsys9 -n ftsys10
/etc/cmcluster ASCII
. ASCII ftsys9 ftsys10
.
. , ftsys9.cup.hp.com ftsys9 .
.
.
,
cmquerycl .
, -k -w
.
-k
.
-w local
LAN .
-w full
LAN .
.
-w none .
.
cmquerycl(1m) .
227
HA
cmquerycl -w full ASCII
.
#
#
#
#
#
#
#
**********************************************************************
********* HIGH AVAILABILITY CLUSTER CONFIGURATION FILE ***************
***** For complete details about cluster parameters and how to *******
***** set them, consult the Serviceguard manual. *********************
**********************************************************************
Enter a name for this cluster. This name will be used to identify the
cluster when viewing or manipulating it.
CLUSTER_NAMEcluster1
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
You can use either the quorum server or the lock disk as
a cluster lock but not both in the same cluster.
Consider the following when configuring a cluster.
For a two-node cluster, you must use a cluster lock.
a cluster of three or four nodes, a cluster lock is strongly
recommended. For a cluster of more than four nodes, a
cluster lock is recommended. If you decide to configure
a lock for a cluster of more than four nodes, it must be
a quorum server.
228
HA
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
QS_HOST
sysman5
QS_POLLING_INTERVAL
300000000
# Definition of nodes in the cluster.
# Repeat node definitions as necessary for additional nodes.
# NODE_NAME is the specified nodename in the cluster.
# It must match the hostname and both cannot contain full domain name.
# Each NETWORK_INTERFACE, if configured with IPv4 address,
# must have ONLY one IPv4 address entry with it which could
# be either HEARTBEAT_IP or STATIONARY_IP.
# Each NETWORK_INTERFACE, if configured with IPv6 address(es)
# can have multiple IPv6 address entries(up to a maximum of 2,
# only one IPv6 address entry belonging to site-local scope
# and only one belonging to global scope) which must be all
# STATIONARY_IP. They cannot be HEARTBEAT_IP.
NODE_NAME
NETWORK_INTERFACE
HEARTBEAT_IP
# List of serial device
# For example:
# SERIAL_DEVICE_FILE
fresno
lan0
15.13.168.91
file names
/dev/tty0p0
229
HA
lodi
lan0
15.13.168.94
file names
/dev/tty0p0
HEARTBEAT_INTERVAL
NODE_TIMEOUT
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
1000000
2000000
230
HA
#
#
#
#
#
FAILOVER_OPTIMIZATION
<NONE/TWO_NODE>
NONE
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
231
HA
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
in the cluster
* FULL_ADMIN: MONITOR and PACKAGE_ADMIN plus the administrative
commands for the cluster.
Access control policy does not set a role for configuration
capability. To configure, a user must log on to one of the
cluster? nodes as root (UID=0). Access control
policy cannot limit root users?access.
MONITOR and FULL_ADMIN can only be set in the cluster configuration file,
and they apply to the entire cluster. PACKAGE_ADMIN can be set in the
cluster or a package configuration file. If set in the cluster
configuration file, PACKAGE_ADMIN applies to all configured packages.
If set in a package configuration file, PACKAGE_ADMIN applies to that
package only.
Conflicting or redundant policies will cause an error while applying
the configuration, and stop the process. The maximum number of access
policies that can be configured in the cluster is 200.
USER_NAME
USER_HOST
USER_ROLE
root
ANY_SERVICEGUARD_NODE
full_admin
#
#
#
#
#
#
List of cluster aware LVM Volume Groups. These volume groups will
be used by package applications via the vgchange -a e command.
Neither CVM or VxVM Disk Groups should be used here.
For example:
VOLUME_GROUP
/dev/vgdatabase
VOLUME_GROUP
/dev/vg02
#
#
#
#
#
#
232
HA
# OPS_VOLUME_GROUP
# OPS_VOLUME_GROUP
/dev/vgdatabase
/dev/vg02
cmquerycl
. "" .
/etc/cmcluster/clust1.config
.
.
(#) . cmquerycl
.
.
.
3 " " .
.
LVM .
cmquerycl ASCII FIRST_CLUSTER_LOCK_VG
FIRST_CLUSTER_LOCK_PV
.
.
.
cmquerycl
.
.
. ,
ftsys9.cup.hp.com ftsys9 .
# cmquerycl -v -n ftsys9 -n ftsys10
cmquerycl
. cmquerycl vgchange -c n
<vg name> ID .
vgchange -c y <vg name> ID
.
233
HA
. 3 " " "
" .
.
SECOND_CLUSTER_LOCK_VG /dev/volume-group
SECOND_CLUSTER_LOCK_PV /dev/dsk/block-special-file
/dev/volume-group block-special-file
.
.
cmquerycl -q
. .
# cmquerycl -n ftsys9 -n ftsys10 -q qshost
ASCII
. .
# Quorum Server Parameters. Use the QS_HOST,
QS_POLLING_INTERVAL,
# and QS_TIMEOUT_EXTENSION parameters to define a quorum
server.
# The QS_HOST is the host name or IP address of the system
# that is running the quorum server process. The
# QS_POLLING_INTERVAL (microseconds) is the interval at which
# The optional QS_TIMEOUT_EXTENSION (microseconds) is used to
increase
# the time interval after which the quorum server is marked
DOWN.
#
# The default quorum server interval is calculated from the
# Serviceguard cluster parameters, including NODE_TIMEOUT and
# HEARTBEAT_INTERVAL. If you are experiencing quorum server
# timeouts, you can adjust these parameters, or you can include
# the QS_TIMEOUT_EXTENSION parameter.
234
HA
#
#
#
#
#
#
#
#
#
.
.
, , .
Serviceguard A.11.17
150.
235
HA
HP-UX
.
cmquerycl HEARTBEAT_INTERVAL NODE_TIMEOUT
.
.
.
NODE_TIMEOUT 2, 30
. NODE_TIMEOUT 10
5 5 150
. NODE_TIMEOUT 2*HEARTBEAT_INTERVAL .
NODE_TIMEOUT 2~3
.
(RS232) SERIAL_DEVICE_FILE
.
.
236
HA
Serviceguard A.11.16
.
Serviceguard Manager
Serviceguard
.
.
, ANY_USER, CLUSTER_MEMBER_NODE
.
.
.
195 192
.
VOLUME_GROUP
, LVM ASCII
. cmapplyconf ID
. ,
. 6 .
CVM 253
VERITAS Cluster Volume Manager(CVM)
. VERITAS
6 .
Serviceguard Manager .
237
HA
ASCII
.
# cmcheckconf -k -v -C /etc/cmcluster/clust1.config
( )
4294
NODE_TIMEOUT HEARTBEAT_INTERVAL
AUTO_START_TIMEOUT 0
. LAN
LAN , LAN ,
LAN RS232 ,
LAN
.
NODE_NAME
LAN
LAN
(RS-232)
(RS232)
238
HA
VOLUME_GROUP
CVM 3.5
.
. ( )
. cmviewcl
, ,
.
. " " .
Serviceguard Manager
.
.
.
# vgchange -a y /dev/vglock
.
# cmapplyconf -k -v -C /etc/cmcluster/clust1.config
239
HA
# cmapplyconf -k -v -C /etc/cmcluster/clust1.ascii
.
# vgchange -a n /dev/vglock
cmapplyconf
. .
cmapplyconf ASCII .
. ,
.
.
vgcfgbackup
LVM .
vgcfgrestore
. " " " " .
, vgcfgbackup
.
240
HA
SAM HP-UX
vgcfgbackup
.
vgcfgrestore .
LUN
.
RAID
. Mirrordisk/UX
241
HA
VERITAS Cluster File System(CFS)
1. .
# cmviewcl
2. .
# cmruncl
242
HA
VERITAS Cluster File System(CFS)
3.
vxinstall VxVM/CVM . 254
VERITAS Volume Manager .
4. VERITAS Serviceguard
.
. CVM 4.1 Serviceguard
SG-CFS-pkg . CVM 3.5, Serviceguard VxVMCVM-pkg .
CVM 4.1 .
VxVM-CVM-pkg.conf SG-CFS-pkg.conf
. A cfs
.
243
HA
VERITAS Cluster File System(CFS)
# cfscluster status
Node
:
Cluster Manager
:
CVM state
:
MOUNT POINT
TYPE
ftsys9
up
up (MASTER)
SHARED VOLUME
DISK GROUP
STATUS
Node
:
Cluster Manager
:
CVM state
:
MOUNT POINT
TYPE
ftsys10
up
up
SHARED VOLUME
DISK GROUP
STATUS
.
1. vxdctl cfscluster status .
2. vxdg
.
init .
# vxdg -s init logdata c4t0d6
import .
# vxdg -C -s import logdata
3. . enabled shared .
# vxdg list
NAME
logdata
244
STATE
enabled, shared, cds
ID
11192287592.39.ftsys9
HA
VERITAS Cluster File System(CFS)
CFS CVM .
DEPENDENCY_CONDITION SG-DG-pkgid#=UP LOCATION SAME_NODE
. DEPENDENCY 172
.
1. cfsdgadm SG-CFS-DG-ID# . ID#
Serviceguard , .
SG-CFS-DG-ID# logdata
.
# cfsdgadm add logdata all=sw
2. VERITAS CFS cmviewcl cfsdgadm display
. cfsdgadm .
#cfsdgadm display
Node Name : ftsys9 (MASTER)
DISK GROUP
ACTIVATION MODE
logdata
off
(sw)
Node Name :
DISK GROUP
logdata
ftsys10
ACTIVATION MODE
off
(sw)
3. .
# cfsdgadm activate logdata
4. cfsdgadm cmviewcl . cfsdgadm
.
# cfsdgadm display -v logdata
NODE NAME
ACTIVATION MODE
ftsys9
sw (sw)
MOUNT POINT
SHARED VOLUME
TYPE
ftsys10
sw (sw)
MOUNT POINT
SHARED VOLUME
TYPE
245
HA
VERITAS Cluster File System(CFS)
5. cfsdgadm show_package
.
# cfsdgadm show_package logdata
sg_cfs_dg-1
1. logdata log_files .
# vxassist -g logdata make log_files 1024m
2. vxprint .
# vxprint log_files
disk group: logdata
TY NAME
KSTATE
LENGTH
fsgen
ENABLED
1048576
ACTIVE
pl log_files-01 fsgen
ENABLED
1048576
ACTIVE
sd ct4t0d6-01
ENABLED
1048576
ACTIVE
log_files
ASSOC
fsgen
PLOFFS
STATE
TUTIL0
PUTIL0
.
# newfs -F vxfs /dev/vx/rdsk/logdata/log_files
version 6 layout
1-048576 sectors, 1048576 blocks of size 1024, log size
16384 blocks
largefiles supported
3. .
# cfsmntadm add logdata log_files /tmp/logdata/log_files all=rw
Package name SG-CFS-MP-1 is generated to control the
resource.
.
.
cfsdgadm, cfsmntadm,
cfsmount, cfsumount cfs .
246
HA
VERITAS Cluster File System(CFS)
cfs Serviceguard
. mount
,
.
.
.
DG MP
.
TYPE
/tmp/logdata/log_files
regular
SHARED VOLUME
log_files
DISK GROUP
STATUS
logdata
NOT MOUNTED
TYPE
/tmp/logdata/log_files
regular
SHARED VOLUME
log_files
DISK GROUP
STATUS
logdata
NOT MOUNTED
5. .
# cfsmount /tmp/logdata/log_files
.
6. .
#cmviewcl
CLUSTER
STATUS
cfs_cluster
NODE
STATUS
up
STATE
ftsys9
up
running
ftsys10
up
running
247
HA
VERITAS Cluster File System(CFS)
MULTI_NODE_PACKAGES
PACKAGE
STATUS
STATE
SG-CFS-pkg
up
running
AUTO_RUN
enabled
SYSTEM
yes
SG-CFS-DG-1
up
running
enabled
no
SG-CFS-MP-1
up
running
enabled
no
# ftsys9/etc/cmcluster/cfs> bdf
Filesystem
kbytes used avail %used
/dev/vx/dsk/logdata/log_files 10485 17338 966793
Mounted on
2%
tmp/logdata/log_files
# ftsys10/etc/cmcluster/cfs> bdf
Filesystem
kbytes used avail %used
/dev/vx/dsk/logdata/log_files 10485 17338 966793
Mounted on
2%
tmp/logdata/log_files
7. cfsmntadm show_package
.
# cfsmntadm show_package /tmp/logdata/log_files
SG-CFS-MP-1
8.
. ASCII
DEPENDENCY_CONDITION SG-mp-pkg-#=UP
DEPENDENCY_LOCATION SAME_NODE
. DEPENDENCY 172
.
LVM CVM
.
CFS
.
cfsmntadm(1m) .
248
HA
VERITAS Cluster File System(CFS)
VERITAS
.
I/O
.
. , VERITAS
.
http://docs.hp.com , CFS
VERITAS File System Administrators Guide .
Online Backup .
/cfs/mnt2
.
.
1. check2 /tmp/logdata/log_files .
.
# cfsmntadm display
Cluster Configuration for Node: ftsys9
MOUNT POINT
/tmp/logdata/log_files
TYPE
regular
SHARED VOLUME
log_files
DISK GROUP
logdata
STATUS
MOUNTED
DISK GROUP
logdata
STATUS
MOUNTED
# cfsmount /tmp/check_logfiles
3. .
# cmviewcl
249
HA
VERITAS Cluster File System(CFS)
CLUSTER
cfs-cluster
STATUS
up
NODE
ftsys9
ftsys10
STATUS
up
up
STATE
running
running
MULTI_NODE_PACKAGES
PACKAGE
SG-CFS-pkg
SG-CFS-DG-1
SG-CFS-MP-1
SG-CFS-CK-1
STATUS
up
up
up
up
STATE
running
running
running
running
AUTO_RUN
enabled
enabled
enabled
disabled
SYSTEM
yes
no
no
no
kbytes
used
/dev/vg00/lvol3
544768
352240
180540
66% /
/dev/vg00/lvol1
307157
80196
196245
29% /stand
/dev/vg00/lvol5
1101824
678124
398216
63% /var
/dev/vg00/lvol7
2621440 1702848
861206
66% /usr
707
3235
18% /tmp
2367488 1718101
608857
74% /opt
/dev/vg00/lvol4
/dev/vg00/lvol6
4096
/dev/vghome/varopt 4194304
/dev/vghome/home
258655 3689698
2097152
17167 1949993
7% /var/opt
1% /home
/tmp/logdata/log_files
102400
1898
94228
2% /tmp/logdata/log_files
1898
94228
2% /tmp/check_logfiles
/tmp/logdata/log_files:check2
102400
,
.
, .
250
HA
VERITAS Cluster File System(CFS)
,
.
http://docs.hp.com VERITAS Storage Foundation Cluster File
System Installation and Administration Guide .
/tmp/logdata/log_files
.
1. .
# vxdg init dg1 c4t1d0
# vxassist -g dg1 make vol1 100m
# vxvol -g dg1 startall
2. .
# cfsmntadm add snapshot dev=/dev/vx/dsk/dg1/vol1 \
/tmp/logdata/log_files /local/snap1 ftsys9=ro
SG-CFS-SN-1 .
/local/snap1 .
# cfsmount /local/snap1
# cmviewcl
CLUSTER
cfs-cluster
STATUS
up
NODE
ftsys9
ftsys10
STATUS
up
up
STATE
running
running
MULTI_NODE_PACKAGES
PACKAGE
SG-CFS-pkg
SG-CFS-DG-1
SG-CFS-MP-1
SG-CFS-SN-1
STATUS
up
up
up
up
STATE
running
running
running
running
AUTO_RUN
enabled
enabled
enabled
disabled
SYSTEM
yes
no
no
no
/local/snap1
/tmp/logdata/log_files .
251
HA
VERITAS Cluster File System(CFS)
# bdf
Filesystem
kbytes
used
avail %used Mounted on
/dev/vg00/lvol3
544768 352233 180547
66% /
/dev/vg00/lvol1
307157
80196 196245
29% /stand
/dev/vg00/lvol5
1101824 678426 397916
63% /var
/dev/vg00/lvol7
2621440 1702848 861206
66% /usr
/dev/vg00/lvol4
4096
707
3235
18% /tmp
/dev/vg00/lvol6
2367488 1718101 608857
74% /opt
/dev/vghome/varopt 4194304 258609 3689741
7% /var/opt
/dev/vghome/home
2097152
17167 1949993
1% /home
/dev/vx/dsk/logdata/log_files
102400
1765
94353
2% /tmp/logdata/log_files
/dev/vx/dsk/dg1/vol1
102400
1765
94346
2% /local/snap1
252
HA
VERITAS Cluster Volume Manager(CVM)
Volume Manager
CVM
CVM
253
HA
VERITAS Cluster Volume Manager(CVM)
Plex(), RAID VERITAS
Volume Manager HP-UX . http://docs.hp.com
HP Serviceguard Storage Management Suite .
CVM
VERITAS Cluster Volume Manager(CVM) Serviceguard
CVM . ,
.
Serviceguard Manager
. Serviceguard Manager
.
,
.
254
HA
VERITAS Cluster Volume Manager(CVM)
226 .
CVM 4.1 .
CVM .
255
HA
VERITAS Cluster Volume Manager(CVM)
STATUS
up
NODE
ftsys9
ftsys10
STATUS
up
up
STATE
running
running
MULTI_NODE_PACKAGES:
PACKAGE
STATUS
VxVM-CVM-pkg up
STATE
running
AUTO_RUN
enabled
SYSTEM
yes
VxVM-CVM-pkg.conf SG-CFS-pkg.conf
. A cfs
.
. CVM
.
# cmruncl
CVM .
.
.
# vxdctl -c mode
. .
256
HA
VERITAS Cluster Volume Manager(CVM)
CVM
CVM .
LVM pvremove
LVM . LVM
.
CVM vxdiskadm
vxdisksetup
. .
# /usr/lib/vxvm/bin/vxdisksetup -i c4t3d4
.
1. vxdg . -s
.
# vxdg -s init logdata c0t3d2
2. .
# vxdg list
NAME
rootdg
logdata
STATE
enabled
enabled,shared
ID
971995699.1025.node1
972078742.1084.node2
3. .
# vxdg -g logdata set activation=ew
vxassist .
# vxassist -g logdata make log_files 1024m
logdata log_files 1024MB
. /dev/vx/dsk/logdata/log_files ()
/dev/vx/rdsk/logdata/log_files .
257
HA
VERITAS Cluster Volume Manager(CVM)
.
# vxdg list
CVM
CVM . ,
(plex) .
. ,
CVM .
.
.
.
.
vxedit
.
# vxedit set diskdetpolicy=[global|local] <DiskGroupName>
CVM
http://docs.hp.com VERITAS Volume Manager
HP-UX .
. .
1. .
# newfs -F vxfs /dev/vx/rdsk/logdata/log_files
2. .
# mkdir /logs
3. .
258
HA
VERITAS Cluster Volume Manager(CVM)
# mount /dev/vx/dsk/logdata/log_files /logs
4. .
# umount /logs
5. .
# vxdg -g logdata set activation=off
6. VxVM CVM
. Serviceguard Manager
. ASCII
STORAGE_GROUP
.
Serviceguard Manager
. ASCII
CVM , ,
.
272 290
.
LVM CVM
.
VxVM ASCII CVM
.
DISK_GROUP . CVM
, , .
6 .
259
HA
DSAU
DSAU
HP Distributed Systems Administration Utilities(DSAU) Serviceguard
.
.
Distributed Systems Administration Utilities(DSAU)
.
,
.
DSAU
. Serviceguard
.
.
.
.
cron
.
( , /etc/hosts )
260
HA
DSAU
DSAU Serviceguard
.
DSAU http://docs.hp.com
.
Distributed Systems Administration Utilities(DSAU)
. syslog
/var/adm/syslog/syslog.log
. DSAU syslog.log date/time, hostname,
message .
, .
.
UDP TCP
.
DSAU http://docs.hp.com
.
DSAU .
cexec ,
.
261
HA
DSAU
DSAU remsh ssh . ssh
DSAU csshsetup ssh
.
DSAU
. DSAU
.
.
: ccp
: cps
: ckill
: cuptime
DSAU http://docs.hp.com
.
Serviceguard
DSAU .
Serviceguard .
DSAU http://docs.hp.com
.
262
HA
.
7 " " .
Serviceguard Manager
Serviceguard Manager
. 7 "Serviceguard Manager "
. Serviceguard Manager
.
.
.
.
.
, , .
Serviceguard Manager (.sgm) .
.
.
Serviceguard Manager Serviceguard
A.11.12 .
Serviceguard
Serviceguard .
263
HA
cmviewcl
.
Serviceguard Manager .
cmrunnode Serviceguard .
Serviceguard
Manager .
cmhaltnode .
shutdown(1m) .
Serviceguard Manager
.
cmruncl .
Serviceguard Manager .
cmhaltcl .
Serviceguard
Manager .
.
1. . Serviceguard
Manager . cmruncl -v
.
cmruncl . Serviceguard
.
cmruncl -v - w none
.
2.
. Serviceguard Manager
. cmviewcl -v .
. 7,
311 .
3.
.
264
HA
. Serviceguard Manager
. cmhaltnode .
. Serviceguard Manager
. cmviewcl .
. Serviceguard Manager
cmrunnode .
Serviceguard Manager
cmviewcl .
4. . Serviceguard Manager
. cmhaltcl -v -f .
361
. Serviceguard A . Serviceguard
Serviceguard Manager .
LVM
/etc/lvmrc LVM
.
AUTO_VG_ACTIVATE 0
custom_vg_activation /etc/lvmrc
.
.
/etc/lvmrc
custom_vg_activation .
265
HA
, Serviceguard
.
.
.
.
. ,
, .
.
.
.
,
.
AUTO_START_TIMEOUT .
.
/etc/rc.config.d/cmcluster AUTOSTART_CMCLD 1
. .
/etc/rc.config.d/cmcluster .
#************************ CMCLUSTER ************************
# Highly Available Cluster configuration
#
# @(#) $Revision: 72.2 $
#
# AUTOSTART_CMCLD:
If set to 1, the node will attempt to
#
join it's CM cluster automatically when
#
the system boots.
#
If set to 0, the node will not attempt
#
to join it's CM cluster.
#
AUTOSTART_CMCLD=1
266
HA
/etc/rc.config.d/cmcluster Serviceguard
, /etc/cmcluster/rc(HP-UX) ${SGCONF}/rc(Linux)
. Serviceguard . , ,
.
.
This system is a node in a high availability cluster.
Halting this system may cause applications and services to
start up on another node in the cluster.
.
/etc/issue /etc/motd
.
Serviceguard
. Serviceguard
.
. cmquerycl
.
LAN . Serviceguard LAN
ASCII . IP LAN HEARTBEAT_IP
STATIONARY_IP . LAN
LAN NETWORK_INTERFACE .
267
HA
,
. .
Serviceguard cmcld
.
Serviceguard
. Serviceguard
. TOC
.
.
Serviceguard .
.
.
Serviceguard .
Serviceguard Manager
. cmdeleteconf -f
.
.
.
cmdeleteconf /etc/cmcluster/cmclconfig
/etc/cmcluster .
268
HA
cmdeleteconf
.
.
.
It is recommended that you do not proceed with the configuration
operation unless you are sure these nodes are permanently
unavailable.Do you want to continue?
Yes .
cmdeleteconf
.
269
HA
270
.
.
.
Serviceguard Manager .
.
.
""
.
.
.
Serviceguard Manager .
271
.
.
Serviceguard Manager HP-UX
. Serviceguard Manager .
Serviceguard 273 Serviceguard
.
Serviceguard Manager
Serviceguard Manager Serviceguard Manager A.04.00
Serviceguard Version A.11.16 .
(ftsys9) .
1. Serviceguard A.11.16 A.11.17 .
A.11.16 A.11.17 .
.
2. .
-> . ->
<pkgname> .
.
. Serviceguard
Manager . .
3. .
. .
276
.
.
272
4. : .
.
5. : .
.
.
.
Serviceguard Manager .
.
Serviceguard
.
SYSTEM_MULTI_NODE :
. CFS
cfscluster .
MULTI_NODE :
. CFS cfsdgadm
cfsmntadm .
FAILOVER : .
Serviceguard( )
. .
VERITAS CVM Cluster Volume Manager
. Serviceguard .
CVM 3.5 VxVM-CVM-pkg CVM 4.1 SG-CFS-pkg
.
CVM 4.1 SG-CFS-pkg .
273
CVM cmapplyconf
. VERITAS Cluster File System cfscluster
.
ASCII .
.
CFS A .
VERITAS Cluster File System .
cfsdgadm SG-CFS-DG-id# ,
cfsmntadm SG-CFS-MP-id# .
Serviceguard . Serviceguard
, , .
Serviceguard cfsdgadm cfsmntadm
.
274
cfsdgadm, cfsmntadm,
cfsmount, cfsumount cfs .
cfs Serviceguard
. mount
, .
.
.
.
.
DG MP .
AUTO_RUN YES
. .
.
1. , /etc/cmcluster
.
275
# mkdir /etc/cmcluster/pkg1
.
2. .
# cmmakepkg -p /etc/cmcluster/pkg1/pkg1.config
ASCII .
3. ,
( 31 ),
. .
.
1. .
2. .
3. .
4. .
5. .
6. IP .
7. .
8.
.
.
. Serviceguard CVM/CFS
,
.
.
.
.
276
#**********************************************************************
# ****** HIGH AVAILABILITY PACKAGE CONFIGURATION FILE (template)*******
#**********************************************************************
# ******* Note: This file MUST be edited before it can be used.********
# * For complete details about package parameters and how to set them,*
# * consult the Serviceguard Extension for RAC manuals.
#**********************************************************************
# Enter a name for this package. This name will be used to identify the
# package when viewing or manipulating it. It must be different from
# the other configured package names.
PACKAGE_NAME
277
#
#
#
#
#
#
#
#
FAILOVER_POLICY
FAILBACK_POLICY
Since an IP address can not be assigned to more than node at a
time, relocatable IP addresses can not be assigned in the
package control script for MULTI_NODE packages. If volume
groups are used in a MULTI_NODE package, they must be
activated in a shared mode and data integrity is left to the
#
application. Shared
#
# Examples : PACKAGE_TYPE
#
PACKAGE_TYPE
#
PACKAGE_TYPE
#
#
PACKAGE_TYPE
#
#
#
#
#
#
#
#
#
#
FAILOVER (default)
MULTI_NODE
SYSTEM_MULTI_NODE
FAILOVER
Enter the failover policy for this package. This policy will be used
toselect an adoptive node whenever the package needs to be started.
The default policy unless otherwise specified is CONFIGURED_NODE.
This policy will select nodes in priority order from the list of
NODE_NAME entries specified below.
The alternative policy is MIN_PACKAGE_NODE. This policy will select
the node, from the list of NODE_NAME entries below, which is
running the least number of packages at the time this package needs
to start.
FAILOVER_POLICY
#
#
#
#
#
#
#
#
#
#
CONFIGURED_NODE
Enter the failback policy for this package. This policy will be used
to determine what action to take when a package is not running on
its primary node and its primary node is capable of running the
package. The default policy unless otherwise specified is MANUAL.
The MANUAL policy means no attempt will be made to move the package
back to its primary node when it is running on an adoptive node.
The alternative policy is AUTOMATIC. This policy will attempt to
move the package back to its primary node whenever the primary node
is capable of running the package.
FAILBACK_POLICY
278
MANUAL
#
#
#
#
#
#
#
#
#
#
#
#
#
Repeat
Example : NODE_NAME
NODE_NAME
original_node
adoptive_node
NODE_NAME
#
#
#
#
#
#
AUTO_RUN
#
#
#
#
#
#
#
YES
LOCAL_LAN_FAILOVER_ALLOWED
#
#
#
#
#
#
YES
279
NODE_FAIL_FAST_ENABLED
NO
# Enter the complete path for the run and halt scripts. In most cases
# the run script and halt script specified here will be the same
# script,the package control script generated by the cmmakepkg command.
# This control script handles the run(ning) and halt(ing) of the
# package.
#
# Enter the timeout, specified in seconds, for the run and halt
# scripts. If the script has not completed by the specified timeout
# value, it will be terminated. The default for each script timeout
# is NO_TIMEOUT. Adjust the timeouts as necessary to permit full
# execution of each script.
#
# Note: The HALT_SCRIPT_TIMEOUT should be greater than the sum of
# all SERVICE_HALT_TIMEOUT values specified for all services.
#
# The file where the output of the scripts is logged can be specified
# via the SCRIPT_LOG_FILE parameter. If not set, script output is sent
# to a file named by appending '.log' to the script path.
#
#SCRIPT_LOG_FILE
RUN_SCRIPT
RUN_SCRIPT_TIMEOUT
HALT_SCRIPT
HALT_SCRIPT_TIMEOUT
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
NO_TIMEOUT
NO_TIMEOUT
Enter the names of the storage groups configured for this package.
Repeat this line as necessary for additional storage groups.
Storage groups are only used with CVM disk groups. Neither
VxVM disk groups or LVM volume groups should be listed here.
By specifying a CVM disk group with the STORAGE_GROUP keyword
this package will not run until the CVM system multi node package is
running and thus the CVM shared disk groups are ready for
activation.
NOTE: Should only be used by applications provided by
Hewlett-Packard.
Example : STORAGE_GROUP dg01
STORAGE_GROUP dg02
280
#
STORAGE_GROUP dg03
#
STORAGE_GROUP dg04
#
#
# Enter the names of the dependency condition for this package.
# Dependencies are used to describe the relationship between packages
# To define a dependency, all three attributes are required.
#
# DEPENDENCY_NAME must have a unique identifier for the dependency.
#
# DEPENDENCY_CONDITION
#
This is an expression describing what must be true for
#
the dependency to be satisfied.
#
#
The syntax is: <package name> = UP , where <package name>
#
is the name of multi-node or system multi-node package.
#
# DEPENDENCY_LOCATION
#
This describes where the condition must be satisfied.
#
The only possible value for this attribute is SAME_NODE
#
# NOTE:
# Dependencies should be used only for a CFS cluster, or by
# applications specified by Hewlett-Packard.
# These are automatically set up in the SYSTEM-MULTI-NODE
# and MULTI-NODE packages created for disk groups and mount points.
# Customers configure dependencies for FAILOVER type
# packages only; and the dependency would be on a MULTI+NODE mount
# point (MP) package.
#
# Example :
#
DEPENDENCY_NAME
SG-CFS-MP-1
#
DEPENDENCY_CONDITION
SG-CFS-MP-1=UP
#
DEPENDENCY_LOCATION
SAME_NODE
#
#DEPENDENCY_NAME
#DEPENDENCY_CONDITION
#DEPENDENCY_LOCATION SAME_NODE
#
# Enter the SERVICE_NAME, the SERVICE_FAIL_FAST_ENABLED and the
# SERVICE_HALT_TIMEOUT values for this package. Repeat these
# three lines as necessary for additional service names. All
# service names MUST correspond to the SERVICE_NAME[] entries in
# the package control script.
#
# The value for SERVICE_FAIL_FAST_ENABLED can be either YES or
281
#
#
#
#
#
#
#
#
#SUBNET
#
#
#
#
282
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
Resource is up when its value is
#
-------------------------------#
RESOURCE_UP_VALUE
= UP
"UP"
#
RESOURCE_UP_VALUE
!= DOWN
Any value except "DOWN"
#
RESOURCE_UP_VALUE
= "On Course"
"On Course"
#
# If the type is numeric, then it can specify a threshold, or a range to
# define a resource up condition. If it is a threshold, then any operator
# may be used. If a range is to be specified, then only > or >= may be used
# for the first operator, and only < or <= may be used for the second operator.
For example,
#
Resource is up when its value is
#
-------------------------------#
RESOURCE_UP_VALUE
= 5
5 (threshold)
#
RESOURCE_UP_VALUE
> 5.1
greater than 5.1 (threshold)
#
RESOURCE_UP_VALUE
> -5 and < 10
between -5 and 10 (range)
#
# Note that "and" is required between the lower limit and upper limit
# when specifying a range. The upper limit must be greater than the lower
# limit. If RESOURCE_UP_VALUE is repeated within a RESOURCE_NAME block, then
# they are inclusively OR'd together. Package Resource Dependencies may be
283
284
FAILOVER_POLICY. Serviceguard
( ) CONFIGURED_NODE . Serviceguard
MIN_PACKAGE_NODE
.
FAILBACK_POLICY. Serviceguard
AUTOMATIC
. Serviceguard MANUAL
. .
NODE_NAME. .
* .
NODE_NAME * .
AUTO_RUN. , Serviceguard
YES . Serviceguard
NO . YES
.
285
LOCAL_LAN_FAILOVER_ALLOWED. IP LAN
YES ,
NO . NO
.
NODE_FAIL_FAST_ENABLED. YES
TOC . Serviceguard
.
YES .
RUN_SCRIPT HALT_SCRIPT
( ). .
TIMEOUT: Serviceguard
() .
.
SCRIPT_LOG_FILE. ().
. Serviceguard
.log .
STORAGE_GROUP. CVM
. (CVM ) . CVM
ASCII .
LVM VxVM .
IP SUBNET .
IPv4 IPv6 .
ASCII
IP .
286
SERVICE_NAME,
SERVICE_FAIL_FAST_ENABLED SERVICE_HALT_TIMEOUT .
. 30
.
RESOURCE_NAMEServiceguard
.
RESOURCE_POLLING_INTERVAL
.
RESOURCE_UP_VALUE
.
.
287
RESOURCE_START
RESOURCE_UP_VALUE
DEFERRED
= UP
RESOURCE_NAME
/net/interfaces/lan/status/lan2
RESOURCE_POLLING_INTERVAL 60
RESOURCE_START
AUTOMATIC
RESOURCE_UP_VALUE
= UP
Serviceguard A.11.17 .
Serviceguard A.11.17 VERITAS Cluster File System
Hewlett-Packard
. CFS
.
, CFS
. .
DEPENDENCY_NAME. .
DEPENDENCY_CONDITION. pkg_name=UP
. CFS SG-CFS-pkg = UP.
288
.
MAX_CONFIGURED_PACKAGES .
7, 311
.
289
,
, ,
. Serviceguard Manager
. HP-UX
.
Serviceguard Manager
Serviceguard Manager
.
.
.
.
Serviceguard Manager
.
Serviceguard Manager HA-NFS , ECM , Metro
.
.
.
cmcluster
. ASCII
RUN_SCRIPT HALT_SCRIPT
.
.
, .
290
Enterprise Cluster Master Toolkit (B5139DA)
.
/opt/cmcluster/toolkit/DB/ . Oracle, Informix
Sybase .
.
README .
. .
PATH .
LVM VG[]
.
. LVM
VXVM_DG[] CVM_DG[] .
291
CVM CVM_DG[]
CVM_ACTIVATION_CMD . CVM VG[]
VXVM_DG[] .
VxVM VXVOL
.
( VxVM
) .
vgchange, mount/umount
fsck . 1
.
IP IP . IPv4 IPv6
.
.
.
cmrunserv Serviceguard
ID .
292
cmrunserv Serviceguard
,
.
Serviceguard
.
CUSTOMER DEFINED
FUNCTIONS .
CUSTOMER DEFINED FUNCTIONS .
VxVM
CVM VxVM Serviceguard
. VxVM
. vxdg
import deport .
vxdg -tfC .
-t noautoimport . ,
.
Serviceguard .
-f (: )
. -C
ID . TOC
ID
ID ID . ID
ID
ID .
.
293
-C
. " " -C
.
.
# vxdg -tfC import dg_01
ID dg_01
. ID
dg_01 noautoimport
.
. ID
. Serviceguard
Serviceguard
ID noautoimport
ID .
.
vxvol startall
.
.
. .
CONCURRENT_VGCHANGE_OPERATIONS
LVM LVM
.
CONCURRENT_FSCK_OPERATIONS fsck
.
294
CONCURRENT_MOUNT_AND_UMOUNT_OPERATIONS
.
FSCK_OPT FS_UMOUNT_OPT
-s . -s / fscks
. 11iv1(11.11) HP-UX
.
. VxVM LVM
.
#
#
#
#
#
#
#
**********************************************************************
*
*
*
HIGH AVAILABILITY PACKAGE CONTROL SCRIPT (template)
*
*
*
*
Note: This file MUST be edited before it can be used.
*
*
*
**********************************************************************
#
#
#
#
#
. ${SGCONFFILE:=/etc/cmcluster.conf}
# UNCOMMENT the variables as you set them.
# Set PATH to reference the appropriate directories.
PATH=$SGSBIN:/usr/bin:/usr/sbin:/etc:/bin
#
#
#
#
#
#
#
#
295
#
# Uncomment the second line (VGCHANGE="vgchange -a e -q n -s"), and comment
# and you want the mirror resynchronization to ocurr in parallel with
# the package startup.
#
# Uncomment the third line (VGCHANGE="vgchange -a y") if you wish to
# use non-exclusive activation mode. Single node cluster configurations
# must use non-exclusive activation.
#
# VGCHANGE="vgchange -a e -q n"
# VGCHANGE="vgchange -a e -q n -s"
# VGCHANGE="vgchange -a y"
VGCHANGE="vgchange -a e"
# Default
# CVM DISK GROUP ACTIVATION:
# Specify the method of activation for CVM disk groups.
# Leave the default
# (CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=exclusivewrite")
# if you want disk groups activated in the exclusive write mode.
#
# Uncomment the first line
# (CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=readonly"),
# and comment out the default, if you want disk groups activated in
# the readonly mode.
#
# Uncomment the second line
# (CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=sharedread"),
# and comment out the default, if you want disk groups activated in the
# shared read mode.
#
# Uncomment the third line
# (CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=sharedwrite"),
# and comment out the default, if you want disk groups activated in the
# shared write mode.
#
# CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=readonly"
# CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=sharedread"
# CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=sharedwrite"
CVM_ACTIVATION_CMD="vxdg -g \$DiskGroup set activation=exclusivewrite"
#
#
#
#
#
#
VOLUME GROUPS
Specify which volume groups are used by this package. Uncomment VG[0]=""
and fill in the name of your first volume group. You must begin with
VG[0], and increment the list in sequence.
For example, if this package uses your volume groups vg01 and vg02, enter:
296
#
VG[0]=vg01
#
VG[1]=vg02
#
# The volume group activation method is defined above. The filesystems
# associated with these volume groups are specified below.
#
#VG[0]=""
#
# CVM DISK GROUPS
# Specify which cvm disk groups are used by this package. Uncomment
# CVM_DG[0]="" and fill in the name of your first disk group. You must
# begin with CVM_DG[0], and increment the list in sequence.
#
# For example, if this package uses your disk groups dg01 and dg02, enter:
#
CVM_DG[0]=dg01
#
CVM_DG[1]=dg02
#
# The cvm disk group activation method is defined above. The filesystems
# associated with these volume groups are specified below in the CVM_
# variables.
#
# NOTE: Do not use CVM and VxVM disk group parameters to reference
# devices used by CFS (cluster file system). CFS resources are
# controlled by the Disk Group and Mount Multi-node packages.
#
#CVM_DG[0]=""
# NOTE: Do not use CVM and VxVM disk group parameters to reference
# devices used by CFS (cluster file system). CFS resources are
# controlled by the Disk Group and Mount Multi-node packages.
#
# VxVM DISK GROUPS
# Specify which VxVM disk groups are used by this package. Uncomment
# VXVM_DG[0]="" and fill in the name of your first disk group. You must
# begin with VXVM_DG[0], and increment the list in sequence.
#
# For example, if this package uses your disk groups dg01 and dg02, enter:
#
VXVM_DG[0]=dg01
#
VXVM_DG[1]=dg02
#
# The cvm disk group activation method is defined above.
#
#VXVM_DG[0]=""
#
# NOTE: A package could have LVM volume groups, CVM disk groups and VxVM
#
disk groups.
297
#
# NOTE: When VxVM is initialized it will store the hostname of the
#
local node in its volboot file in a variable called 'hostid'.
#
The MC Serviceguard package control scripts use both the values of
#
the hostname(1m) command and the VxVM hostid. As a result
#
the VxVM hostid should always match the value of the
#
hostname(1m) command.
#
#
If you modify the local host name after VxVM has been
#
initialized and such that hostname(1m) does not equal uname -n,
#
you need to use the vxdctl(1m) command to set the VxVM hostid
#
field to the value of hostname(1m). Failure to do so will
#
result in the package failing to start.
# FILESYSTEMS
# Filesystems are defined as entries specifying the logical volume, the
# mount point, the mount, umount and fsck options and type of the file system.
# Each filesystem will be fsck'd prior to being mounted. The filesystems
# will be mounted in the order specified during package startup and will
# be unmounted in reverse order during package shutdown. Ensure that
# volume groups referenced by the logical volume definitions below are
# included in volume group definitions above.
#
# Specify the filesystems which are used by this package. Uncomment
#LV[0]=""; FS[0]=""; FS_MOUNT_OPT[0]=""; FS_UMOUNT_OPT[0]="";
# FS_FSCK_OPT[0]= FS_TYPE[0]= and fill in the name of your
# first logical volume, filesystem, mount, umount and fsck options
# and filesystem type for the file system.
# You must begin with LV[0], FS[0],
# FS_MOUNT_OPT[0], FS_UMOUNT_OPT[0], FS_FSCK_OPT[0], FS_TYPE[0]
# and increment the list in sequence.
#
# Note: The FS_TYPE parameter lets you specify the type of filesystem to be
# mounted. Specifying a particular FS_TYPE will improve package failover time.
#
#
#
#
#
#
#
#
#
#
#
298
#
#
LV[1]=/dev/vg01/lvol2; FS[1]=/pkg01b; FS_MOUNT_OPT[1]="-o rw"
#
FS_UMOUNT_OPT[1]=""; FS_FSCK_OPT[1]=""; FS_TYPE[1]="vxfs"
#
#LV[0]=; FS[0]=; FS_MOUNT_OPT[0]=; FS_UMOUNT_OPT[0]=;FS_FSCK_OPT[0]=
#FS_TYPE[0]=""
#
# VOLUME RECOVERY
#
# When mirrored VxVM volumes are started during the package control
# bring up, if recovery is required the default behavior is for
# the package control script to wait until recovery has been
# completed.
#
# To allow mirror resynchronization to ocurr in parallel with
# the package startup, uncomment the line
# VXVOL="vxvol -g \$DiskGroup -o bg startall" and comment out the default.
#
# VXVOL="vxvol -g \$DiskGroup -o bg startall"
VXVOL="vxvol -g \$DiskGroup startall"
# Default
# FILESYSTEM UNMOUNT COUNT
# Specify the number of unmount attempts for each filesystem during package
# shutdown. The default is set to 1.
FS_UMOUNT_COUNT=1
#
#
#
#
#
#
#
#
#
#
#
Configuring the
performance for
each concurrent
The performance
299
# for the system resources available on your cluster nodes. Some examples
# of system resources that can affect the optimum number of concurrent
# operations are: number of CPUs, amount of available memory, the kernel
# configuration for nfile and nproc. In some cases, if you set the number
# of concurrent operations too high, the package may not be able to start
# or to halt. For example, if you set CONCURRENT_VGCHANGE_OPERATIONS=5
# and the node where the package is started has only one processor, then
# running concurrent volume group activations will not be beneficial.
# It is suggested that the number of concurrent operations be tuned
# carefully, increasing the values a little at a time and observing the
# effect on the performance, and the values should never be set to a value
# where the performance levels off or declines. Additionally, the values
# used should take into account the node with the least resources in the
# cluster, and how many other packages may be running on the node.
# For instance, if you tune the concurrent operations for a package so
# that it provides optimum performance for the package on a node while
# no other packages are running on that node, the package performance
# may be significantly reduced, or may even fail when other packages are
# already running on that node.
#
# CONCURRENT VGCHANGE OPERATIONS
# Specify the number of concurrent volume group activations or
# deactivations to allow during package startup or shutdown.
# Setting this value to an appropriate number may improve the performance
# while activating or deactivating a large number of volume groups in the
# package. If the specified value is less than 1, the script defaults it
# to 1 and proceeds with a warning message in the package control script
# logfile.
CONCURRENT_VGCHANGE_OPERATIONS=1
#
# CONCURRENT FSCK OPERATIONS
# Specify the number of concurrent fsck to allow during package startup.
# Setting this value to an appropriate number may improve the performance
# while checking a large number of file systems in the package. If the
# specified value is less than 1, the script defaults it to 1 and proceeds
# with a warning message in the package control script logfile.
CONCURRENT_FSCK_OPERATIONS=1
#
#
#
#
#
300
CONCURRENT_MOUNT_AND_UMOUNT_OPERATIONS=1
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
301
#
(netmask=ffff:ffff:ffff:ffff::)
#
# Hint: Run netstat -i to see the available IPv6 subnets by looking
# at the address prefixes
# IP/Subnet address pairs for each IP address you want to add to a subnet
# interface card. Must be set in pairs, even for IP addresses on the same
# subnet.
#
#IP[0]=""
#SUBNET[0]=""
# SERVICE NAMES AND COMMANDS.
# Specify the service name, command, and restart parameters which are
# used by this package. Uncomment SERVICE_NAME[0]="", SERVICE_CMD[0]="",
# SERVICE_RESTART[0]="" and fill in the name of the first service, command,
# and restart parameters. You must begin with SERVICE_NAME[0], SERVICE_CMD[0],
# and SERVICE_RESTART[0] and increment the list in sequence.
#
# For example:
#
SERVICE_NAME[0]=pkg1a
#
SERVICE_CMD[0]="/usr/bin/X11/xclock -display 192.10.25.54:0"
#
SERVICE_RESTART[0]="" # Will not restart the service.
#
#
SERVICE_NAME[1]=pkg1b
#
SERVICE_CMD[1]="/usr/bin/X11/xload -display 192.10.25.54:0"
#
SERVICE_RESTART[1]="-r 2"
# Will restart the service twice.
#
#
SERVICE_NAME[2]=pkg1c
#
SERVICE_CMD[2]="/usr/sbin/ping"
#
SERVICE_RESTART[2]="-R" # Will restart the service an infinite
#
number of times.
#
# Note: No environmental variables will be passed to the command, this
# includes the PATH variable. Absolute path names are required for the
# service command definition. Default shell is /usr/bin/sh.
#
#SERVICE_NAME[0]=""
#SERVICE_CMD[0]=""
#SERVICE_RESTART[0]=""
#
#
#
#
#
#
DEFERRED_RESOURCE NAME
Specify the full path name of the 'DEFERRED' resources configured for
this package. Uncomment DEFERRED_RESOURCE_NAME[0]="" and fill in the
full path name of the resource.
DEFERRED_RESOURCE_NAME[0]=""
302
. Logical Volume Manager , HP-UX
Serviceguard (cmrunserv, cmmodnet, cmhaltserv)
.
. .
# cmmakepkg -s | more
.
.
, VG ,
SERVICE_NAME, SERVICE_CMD,
SERVICE_RESTART .
EMS DEFERRED
DEFERRED_RESOURCE_NAME .
DEFERRED_RESOURCE_NAME .
DEFERRED_RESOURCE_NAME[0]="/net/interfaces/lan/status/lan0"
DEFERRED_RESOURCE_NAME[1]="/net/interfaces/lan/status/lan1"
rcp ftp
.
303
. CUSTOMER DEFINED FUNCTIONS
.
.
.
date echo .
304
Serviceguard
Customer Defined Functions cmmodpkg
Serviceguard .
.
Serviceguard
. "&"() .
. cmmodpkg -d <package-name> &
Serviceguard Serviceguard
. ,
. Pkg1 Pkg2 cmmodpkg -d ,
Pkg2 Pkg1 cmmodpkg -d . Pkg1 Pkg2
Pkg1 Pkg2 cmmodpkg .
cmmodpkg Pkg2 .
Pkg2 Pkg1 cmmodpkg Pkg2 Pkg1
.
Serviceguard
RUN_SCRIPT_TIMEOUT
HALT_SCRIPT_TIMEOUT .
.
Continuous Access/CA Metro
, EMC SRDF Metro , HA NFS
.
.
305
Serviceguard
.
Serviceguard Manager
.
ASCII
.
# cmcheckconf -v -P /etc/cmcluster/pkg1/pkg1.config
.
.
Serviceguard Manager cmcheckconf
.
, NODE_NAME
306
4294
Serviceguard Manager HP-UX
.
DSAU(Distributed Systems Administration Utilities)
.
Serviceguard Manager
Serviceguard Manager .
.
. Serviceguard Manager
.
.
HP-UX
HP-UX
. (: rcp
ftp) . , ftsys9 rcp ftsys10
.
# rcp /etc/cmcluster/pkg1/control.sh
ftsys10:/etc/cmcluster/pkg1/control.sh
HP-UX
ASCII .
.
# cmcheckconf -C /etc/cmcluster/cmcl.config -P \
/etc/cmcluster/pkg1/pkg1.config
307
.
# vgchange -a y /dev/vg01
.
# cmapplyconf -v -C /etc/cmcluster/cmcl.config -P \
/etc/cmcluster/pkg1/pkg1.config
.
# vgchange -a n /dev/vg01
cmapplyconf
. .
cmcheckconf cmapplyconf
.
Serviceguard
.
.
.
308
Serviceguard
.
.
DSAU http://docs.hp.com
.
Serviceguard
. , LAN
" " .
309
310
,
, ,
, , .
.
Serviceguard
Serviceguard Manager
. .
.
311
Serviceguard Manager
.
Serviceguard Manager
Serviceguard Manager .
7-1
: Serviceguard Manager
.
.
.
312
, .
.
7-2
: Serviceguard Manager
313
cmviewcl
. cmviewcl
.
# cmviewcl -v
cmviewcl .
Serviceguard A.11.16
. (<nodename>
<nonrootuser>) cmclnodelist .
-v cmviewcl
.
.
cmviewcl -v
Serviceguard CPU .
-r
. .
# cmviewcl -r A.11.09
. .
.
cmviewcl .
CFS , , cfsdgadm
show_package <diskgroup>, cfsmntadm show_package <mountpoint>,
getconf -p <mnpkg> | grep DEPENDENCY cfs .
314
cmviewcl -v .
-p pkgname .
. .
.
.
.
.
cmviewcl
.
(
) ( )
.
HP-UX .
.
.
.
.
.
.
. cmhaltnode
.
315
.
.
Serviceguard .
.
.
.
.
( ).
. cmmodpkg
.
.
.
316
.
.
Serviceguard
. .
.
NODE_TIMEOUT 2
.
.
.
FAILOVER_POLICY
.
CONFIGURED_NODE
.
MIN_PACKAGE_NODE
.
FAILBACK_POLICY
.
AUTOMATIC
.
MANUAL
.
cmviewcl -v .
317
cmviewcl -v , .
.
CLUSTER
example
NODE
ftsys9
STATUS
up
STATUS
up
STATE
running
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
STANDBY
up
PATH
56/36.1
60/6
NAME
lan0
lan1
PACKAGE
pkg1
STATE
running
AUTO_RUN
enabled
STATUS
up
NODE
ftsys9
Policy_Parameters:
POLICY_NAME
CONFIGURED_VALUE
Failover
configured_node
Failback
manual
Script_Parameters:
ITEM
STATUS
Service
up
Subnet
up
MAX_RESTARTS
0
0
Node_Switching_Parameters:
NODE_TYPE
STATUS
SWITCHING
Primary
up
enabled
Alternate
up
enabled
NODE
ftsys10
318
STATUS
up
RESTARTS
0
0
NAME
ftsys9
ftsys10
(current)
STATE
running
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
STANDBY
up
PATH
28.1
32.1
NAME
lan0
lan1
PACKAGE
STATE
AUTO_RUN
STATUS
NAME
service1
15.13.168.0
NODE
pkg2
up
running
enabled
ftsys10
Policy_Parameters:
POLICY_NAME
CONFIGURED_VALUE
Failover
configured_node
Failback
manual
Script_Parameters:
ITEM
STATUS
Service
up
Subnet
up
MAX_RESTARTS
0
0
Node_Switching_Parameters:
NODE_TYPE
STATUS
SWITCHING
Primary
up
enabled
Alternate
up
enabled
RESTARTS
0
0
NAME
ftsys10
ftsys9
NAME
service2
15.13.168.0
(current)
cmviewcl -v , ,
.
CLUSTER
example
NODE
ftsys9
STATUS
up
STATUS
up
STATE
running
STATUS
up
STATE
running
STATE
running
STATE
running
319
STATUS
up
NODE
ftsys7
ftsys8
ftsys9
ftsys10
STATUS
down
down
up
up
STATE
halted
halted
running
running
MULTI_NODE_PACKAGES:
PACKAGE
VxVM-CVM-pkg
STATUS
up
STATE
running
AUTO_RUN
enabled
SYSTEM
yes
-v
.
MULTI_NODE_PACKAGES:
PACKAGE
STATUS
VxVM-CVM-pkg up
AUTO_RUN
enabled
NODE
ftsys7
STATUS
down
SWITCHING
disabled
NODE
ftsys8
STATUS
down
SWITHCHING
disabled
NODE
STATUS
ftsys9
up
Script_Parameters:
ITEM
STATUS
Service
up
NODE
ftsys10
320
STATE
running
STATUS
up
SYSTEM
yes
SWITCHING
enabled
MAX_RESTARTS
0
RESTARTS
0
NAME
VxVM-CVM-pkg.srv
SWITCHING
enabled
Script_Parameters:
ITEM
STATUS
Service
up
MAX_RESTARTS
0
RESTARTS
0
NAME
VxVM-CVM-pkg.srv
# cmviewcl -v -p SG-CFS-pkg
MULTI_NODE_PACKAGES
PACKAGE
SG-CFS-pkg
NODE_NAME
ftsys9
STATUS
up
STATUS
up
Script_Parameters:
ITEM
STATUS
Service
up
Service
up
Service
up
Service
up
Service
up
NODE_NAME
ftsys10
0
5
5
0
0
AUTO_RUN
enabled
SYSTEM
yes
SWITCHING
enabled
MAX_RESTARTS RESTARTS
NAME
0
SG-CFS-vxconfigd
0
SG-CFS-sgcvmd
0
SG-CFS-vxfsckd
0
SG-CFS-cmvxd
0
SG-CFS-cmvxpingd
STATUS
up
Script_Parameters:
ITEM
STATUS
Service
up
Service
up
Service
up
Service
up
Service
up
0
5
5
0
0
STATE
running
SWITCHING
enabled
MAX_RESTARTS RESTARTS
NAME
0
SG-CFS-vxconfigd
0
SG-CFS-sgcvmd
0
SG-CFS-vxfsckd
0
SG-CFS-cmvxd
0
SG-CFS-cmvxpingd
321
cmhaltpkg pkg2
cmviewcl-v .
CLUSTER
example
NODE
ftsys9
STATUS
up
STATUS
up
STATE
running
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
STANDBY
up
PATH
56/36.1
60/6
NAME
lan0
lan1
PACKAGE
pkg1
STATE
running
AUTO_RUN
enabled
STATUS
up
NODE
ftsys9
Policy_Parameters:
POLICY_NAME
CONFIGURED_VALUE
Failover
configured_node
Failback
manual
Script_Parameters:
ITEM
STATUS
Service
up
Subnet
up
Resource
up
MAX_RESTARTS
0
Node_Switching_Parameters:
NODE_TYPE
STATUS
SWITCHING
Primary
up
enabled
Alternate
up
enabled
NODE
ftsys10
STATUS
up
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
STANDBY
up
RESTARTS
0
NAME
ftsys9
ftsys10
NAME
service1
15.13.168.0
/example/float
(current)
STATE
running
PATH
28.1
32.1
NAME
lan0
lan1
STATE
AUTO_RUN
UNOWNED_PACKAGES
PACKAGE
322
STATUS
NODE
pkg2
down
halted
disabled
unowned
Policy_Parameters:
POLICY_NAME
CONFIGURED_VALUE
Failover
configured_node
Failback
manual
Script_Parameters:
ITEM
STATUS
Resource
up
Subnet
up
Resource
up
Subnet
up
NODE_NAME
ftsys9
ftsys9
ftsys10
ftsys10
Node_Switching_Parameters:
NODE_TYPE
STATUS
SWITCHING
Primary
up
enabled
Alternate
up
enabled
NAME
/example/float
15.13.168.0
/example/float
15.13.168.0
NAME
ftsys10
ftsys9
cmviewcl -v .
CLUSTER
example
NODE
ftsys9
STATUS
up
STATUS
up
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
STANDBY
up
STATE
running
PATH
56/36.1
60/6
NAME
lan0
lan1
323
PACKAGE
pkg1
STATUS
up
STATE
running
AUTO_RUN
enabled
NODE
ftsys9
Policy_Parameters:
POLICY_NAME
CONFIGURED_VALUE
Failover
configured_node
Failback
manual
Script_Parameters:
ITEM
STATUS
Service
up
Subnet
up
Resource
up
MAX_RESTARTS
0
Node_Switching_Parameters:
NODE_TYPE
STATUS
SWITCHING
Primary
up
enabled
Alternate
up
enabled
PACKAGE
pkg2
STATUS
up
STATE
running
RESTARTS
0
NAME
ftsys9
ftsys10
AUTO_RUN
disabled
NAME
service1
15.13.168.0
/example/float
(current)
NODE
ftsys9
Policy_Parameters:
POLICY_NAME
CONFIGURED_VALUE
Failover
configured_node
Failback
manual
Script_Parameters:
ITEM
STATUS
MAX_RESTARTS
RESTARTS
NAME
Service
up
0
0
service2.1
Subnet
up
15.13.168.0
Node_Switching_Parameters:
NODE_TYPE
STATUS
SWITCHING
NAME
Primary
up
enabled
ftsys10
Alternate
up
enabled
ftsys9
(current)
NODE
ftsys10
STATUS
up
Network_Parameters:
INTERFACE
STATUS
324
STATE
running
PATH
NAME
PRIMARY
STANDBY
up
up
28.1
32.1
lan0
lan1
pkg2 ftsys9 .
.
.
# cmmodpkg -e pkg2
cmviewcl -v .
CLUSTER
example
NODE
ftsys9
PACKAGE
pkg1
pkg2
NODE
ftsys10
STATUS
up
STATUS
up
STATUS
up
up
STATUS
up
STATE
running
STATE
running
running
AUTO_RUN
enabled
enabled
NODE
ftsys9
ftsys9
STATE
running
ftsys10
ftsys9 cmviewcl .
CLUSTER
example
NODE
ftsys9
PACKAGE
pkg1
pkg2
STATUS
up
STATUS
up
STATUS
up
up
STATE
running
STATE
running
running
AUTO_RUN
enabled
enabled
NODE
ftsys9
ftsys9
325
NODE
ftsys10
STATUS
down
STATE
halted
ftsys9 ftsys10 .
RS232 (RS232) cmviewcl -v
RS232 .
.
CLUSTER
example
NODE
ftsys9
STATUS
up
STATUS
up
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
Serial_Heartbeat:
DEVICE_FILE_NAME
/dev/tty0p0
NODE
STATUS
ftsys10
up
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
Serial_Heartbeat:
DEVICE_FILE_NAME
/dev/tty0p0
STATE
running
PATH
56/36.1
STATUS
up
STATE
running
PATH
28.1
STATUS
up
NAME
lan0
CONNECTED_TO:
ftsys10
/dev/tty0p0
NAME
lan0
CONNECTED_TO:
ftsys9
/dev/tty0p0
ftsys10 .
CLUSTER
example
NODE
ftsys9
STATUS
up
STATUS
up
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
Serial_Heartbeat:
DEVICE_FILE_NAME
326
STATE
running
PATH
56/36.1
STATUS
NAME
lan0
CONNECTED_TO:
/dev/tty0p0
NODE
STATUS
ftsys10
down
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
Serial_Heartbeat:
DEVICE_FILE_NAME
/dev/tty0p0
unknown
STATE
running
PATH
28.1
STATUS
unknown
ftsys10
/dev/tty0p0
NAME
lan0
CONNECTED_TO:
ftsys9
/dev/tty0p0
.
CLUSTER
example
NODE
ftsys9
STATUS
up
STATUS
up
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
Serial_Heartbeat:
DEVICE_FILE_NAME
/dev/tty0p0
NODE
STATUS
ftsys10
up
Network_Parameters:
INTERFACE
STATUS
PRIMARY
up
Serial_Heartbeat:
DEVICE_FILE_NAME
/dev/tty0p0
STATE
running
PATH
56/36.1
STATUS
down
STATE
running
PATH
28.1
STATUS
down
NAME
lan0
CONNECTED_TO:
ftsys10 /dev/tty0p0
NAME
lan0
CONNECTED_TO:
ftsys9
/dev/tty0p0
(Unowned Package),
.
.
.
UNOWNED_PACKAGES
PACKAGE
PKG3
STATUS
down
STATE
halted
AUTO_RUN
disabled
NODE
unowned
327
Policy_Parameters:
POLICY_NAME
CONFIGURED_VALUE
Failover
min_package_node
Failback
automatic
Script_Parameters:
ITEM
STATUS
Resource
up
Subnet
up
Resource
up
Subnet
up
Resource
up
Subnet
up
Resource
up
Subnet
up
NODE_NAME
manx
manx
burmese
burmese
tabby
tabby
persian
persian
NAME
/resource/random
192.8.15.0
/resource/random
192.8.15.0
/resource/random
192.8.15.0
/resource/random
192.8.15.0
Node_Switching_Parameters:
NODE_TYPE
STATUS
SWITCHING
Primary
up
enabled
Alternate
up
enabled
Alternate
up
enabled
Alternate
up
enabled
NAME
manx
burmese
tabby
persian
Serviceguard
.
.
CLUSTER
cats
STATUS
up
NODE
manx
STATUS
up
PACKAGE
pkg1
NODE
tabby
PACKAGE
pkg2
328
STATUS
up
STATUS
up
STATUS
up
STATE
running
STATE
running
AUTO_RUN
enabled
NODE
manx
AUTO_RUN
enabled
NODE
tabby
STATE
running
STATE
running
SYSTEM_MULTI_NODE_PACKAGES:
PACKAGE
VxVM-CVM-pkg
STATUS
up
STATE
running
cfscluster
.
#cfscluster status
Node : ftsys9
Cluster Manager : up
CVM state : up (MASTER)
MOUNT POINT
TYPE
SHARED VOLUME
DISK GROUP
STATUS
/var/opt/sgtest/
tmp/mnt/dev/vx/dsk/
vg_for_cvm1_dd5/1vol1
regular lvol1
vg_for_cvm_dd5
MOUNTED
/var/opt/sgtest/
tmp/mnt/dev/vx/dsk/
vg_for_cvm1_dd5/lvol4
regular lvol4
vg_for_cvm_dd5
MOUNTED
Node : ftsys8
Cluster Manager : up
CVM state : up
MOUNT POINT
TYPE
SHARED VOLUME
DISK GROUP
STATUS
/var/opt/sgtest/
tmp/mnt/dev/vx/dsk/
vg_for_cvm1_dd5/lvol1
regular lvol1
vg_for_cvm_veggie_dd5
MOUNTED
/var/opt/sgtest/
tmp/mnt/dev/vx/dsk/
vg_for_cvm1_dd5/lvol4
regular lvol4
vg_for_cvm_dd5
MOUNTED
cmviewcl
.
329
#cmviewcl -v -p SG-CFS-pkg
MULTI_NODE_PACKAGES
PACKAGE STATUS STATE AUTO_RUN SYSTEM
SG-CFS-pkg up running enabled yes
NODE_NAME STATUS SWITCHING
soy up enabled
Script_Parameters:
ITEM
STATUS
MAX_RESTARTS
Service up 0 0 SG-CFS-vxconfigd
Service up 5 0 SG-CFS-sgcvmd
Service up 5 0 SG-CFS-vxfsckd
Service up 0 0 SG-CFS-cmvxd
Service up 0 0 SG-CFS-cmvxpingd
RESTARTS
NAME
RESTARTS
NAME
330
cfsdgadm show_package
. logdata .
# cfsdgadm show_package logdata
SG-CFS-DG-1
331
Serviceguard A.11.16
.
192 .
Serviceguard Manager Serviceguard
.
.
(, )
Serviceguard
.
.
.
.
.
Serviceguard Manager Serviceguard
.
332
Serviceguard Manager
. " <clustername> " .
.
. .
Serviceguard
cmruncl .
.
.
# cmruncl
cmruncl
. .
-w none
.
-v(verbose) .
-n .
. ftsys9 ftsys10
.
.)
# cmruncl -v -n ftsys9 -n ftsys10
cmruncl -n
.
cmruncl -n
.
.
333
Serviceguard Manager Serviceguard
.
Serviceguard Manager
.
" <hostname> " .
. .
.
Serviceguard
cmrunnode
. .
ftsys9 ftsys10 ftsys8
. -v(verbose) .
# cmrunnode -v ftsys8
cmruncl
. .
-w none
.
.
.
.
Serviceguard Manager HP-UX
.
.
. .
334
Serviceguard Manager
.
" <nodename> " .
.
. .
Serviceguard
cmhaltnode .
.
-f .
. , ftsys9
Serviceguard ftsys9
. -v(verbose) .
# cmhaltnode -f -v
ftsys9
ftsys9
. ftsys9
.
cmhaltnode
.
. " " .
cmrunnode .
HP-UX shutdown cmhaltnode
.
335
Serviceguard Manager Serviceguard
.
Serviceguard Manager
.
" <clustername> " .
. .
.
Serviceguard
cmhaltcl .
Serviceguard . -f
.
. .
# cmhaltcl -f -v
.
/etc/rc.config.d/cmcluster AUTOSTART_CMCLD 1 .
336
( )
Serviceguard A.11.16
.
192 .
Serviceguard Manager Serviceguard
.
.
. Serviceguard Manager Serviceguard
.
Serviceguard
.
Serviceguard Manager
. Serviceguard
, .
. Serviceguard
.
"
<pkgname> " " <pkgname> ..." .
337
.
.
.
Serviceguard
cmrunpkg
cmmodpkg .
:
# cmrunpkg -n ftsys9 pkg1
# cmmodpkg -e pkg1
ftsys9 .
.
A cfs CVM CFS
. , (SG-CFS-DG-id#)
cfsdgadm .
(SG-CFS-MP-id#) cfsmntadm
. .
.
Serviceguard
. Serviceguard Manager Serviceguard
.
.
( )
.
.
.
.
.
338
.
Serviceguard .
.
Serviceguard . cmviewcl
.
Serviceguard Manager
.
. . "
<pkgname> " . .
.
.
.
Serviceguard
.
Serviceguard
cmhaltpkg .
# cmhaltpkg
pkg1
pkg1 . pkg1
.
cmviewcl
. .
Serviceguard
.
.
Serviceguard Manager Serviceguard
.
339
Serviceguard Manager
.
.
.
. " " ,
-> .
.
.
.
.
Serviceguard
cmviewcl -v -l package
.
.
cmhaltpkg
.
.
cmrunpkg .
.
-n cmmodpkg
.
.
.
# cmhaltpkg pkg1
# cmrunpkg -n ftsys10 pkg1
# cmmodpkg -e pkg1
340
(YES) (NO)
(YES) (NO)
NO
. NO .
NO
. NO
.
.
AUTO_RUN .
. AUTO_RUN YES
.
.
Serviceguard Manager
Serviceguard Manager
.
.
. .
.
AUTO-RUN .
Serviceguard A.11.16 .
( )
.
.
341
Serviceguard
Serviceguard
.
cmmodpkg . , pkg1
.
# cmmodpkg -d pkg1
.
cmmodpkg -n
. pkg1 lptest3 .
# cmmodpkg -d -n lptest3 pkg1
AUTO_RUN .
.
" "
.
342
.
. 7-1
.
7-1
.
.
.
.
IP
(Serviceguard
A.11.16 )
343
7-1
()
Faster Failover
.
, ,
.
.
1. Serviceguard Manager
cmhaltcl .
2. "HA "
. Serviceguard Manager (Serviceguard A.11.16
), cmquerycl ASCII
.
3.
. Serviceguard
Manager cmapplyconf .
.
4. . Serviceguard Manager
cmruncl .
Serviceguard Manager MAX_CONFIGURED_PACKAGES
. .
MAX_CONFIGURED _PACKAGES .
344
Serviceguard A.11.17
MAX_CONFIGURED_PACKAGES . A.11.17
MAX_CONFIGURED_PACKAGES .
Serviceguard MAX_CONFIGURED_PACKAGES
Serviceguard A.11.17
MAX_CONFIGURED_PACKAGES . A.11.17
MAX_CONFIGURED_PACKAGES .
cmgetconf .
.
# cmgetconf -c cluster_name clconfig.ascii
MAX_CONFIGURED_PACKAGES clconfig.ascii
. cmcheckconf .
cmcheckconf -k -K
.
cmapplyconf
. cmcheckconf -k -K
.
. .
. .
.
.
345
( , )
.
. (cmapplyconf )
.
.
Serviceguard Manager Serviceguard
.
Serviceguard Manager
. .
.
.
.
Serviceguard
HP-UX .
ftsys8 ftsys9 cluster1
ftsys10 .
1.
.
# cmgetconf -c cluster1 temp.ascii
2. .
(31 ) . ,
ftsys8.cup.hp.com ftsys8 .
# cmquerycl -C clconfig.ascii -c cluster1 \
-n ftsys8 -n ftsys9 -n ftsys10
3. clconfig.ascii .
4. .
# cmcheckconf -C clconfig.ascii
346
5.
.
# cmapplyconf -C clconfig.ascii
cmrunnode ,
/etc/rc.config.d/cmcluster AUTOSTART_CMCLD 1
.
CVM
.
CVM .
Serviceguard Manager
.
.
. .
.
. .
.
.
( , LAN )
.
Serviceguard .
Serviceguard
HP-UX .
ftsys8, ftsys9 ftsys10 cluster1
ftsys10 .
347
cmapplyconf
. .
1.
.
# cmgetconf -c cluster1 temp.ascii
2. (ftsys10 ) .
# cmquerycl -C clconfig.ascii -c cluster1 -n ftsys8 -n ftsys9
3. clconfig.ascii
.
4. .
# cmcheckconf -C clconfig.ascii
5. ftsys8 ftsys9
.
# cmapplyconf -C clconfig.ascii
,
EMS
.
The configuration change is too large to process while the
cluster is running.
Split the configuration change into multiple requests or halt
the cluster.
, .
348
.
LVM vgexport
.
Serviceguard LVM
LVM .
1. cmgetconf
. . cmgetconf clconfig.ascii
2. clconfig.ascii .
3. cmcheckconf .
4. cmapplyconf
.
.
.
349
VxVM CVM
VxVM
. CVM .
CVM CVM :
VxVM
CVM .
. CFS CVM
ASCII
STORAGE_GROUP . CFS CVM
DEPENDENCY .
350
6 .
6 .
.
.
cmapplyconf
. .
.
cmapplyconf .
cmhaltpkg .
.
.
.
. Serviceguard
Manager ASCII
.
Serviceguard
. Serviceguard Manager
.
.
351
.
Serviceguard Manager .
Serviceguard Manager
cmruncl .
.
,
.
.
Serviceguard Manager
. 6
. HP-UX (pkg1 ).
1. , .
# cmhaltpkg
pkg1
7-2 .
2. , cmgetconf
ASCII .
# cmgetconf -p pkg1 pkg1.ascii
3. ASCII .
4. .
# cmcheckconf -v -P pkg1.ascii
5. .
# cmapplyconf -v -P pkg1.ascii
6. .
352
.
Maximum Configured Packages .
271
. Serviceguard HP-UX
ASCII . ,
HP-UX pkg1
.
# cmcheckconf -P /etc/cmcluster/pkg1/pkg1conf.ascii
HP-UX
.
# cmapplyconf -P /etc/cmcluster/pkg1/pkg1conf.ascii
/etc/cmcluster/pkg1
.
CFS 245
258 .
Serviceguard .
cmviewcl -v -l package .
.
Serviceguard Manager .
<> .
. Serviceguard -> .
Serviceguard cmdeleteconf
.
cfscluster, cfsdgadm cfsmntadm .
( ) .
.
353
mypkg
.
# cmhaltpkg mypkg
# cmdeleteconf -p mypkg
-f
. /etc/cmcluster/mypkg .
A cfs
. .
CFS .
1. . ACII
DEPENDENCY .
# cmapplyconf -v -P app1.config
2. .
# cfsumount <mount point>
3. .
# cfsmntadm delete <mount point>
. VG
.
4. .
.
# cfsdgadm delete <disk group>
354
.
.
. cmmodpkg -R -s
,
SERVICE_RESTART
. .
# cmmodpkg -R -s myservice pkg1
cmviewcl -v .
355
7-2 .
.
7-2
.
.
.
.
.
.
.
.
356
7-2
()
LAN
.
.
357
7-2
()
CFS
SG-CFS-DG-id# SGCFS-pkg
.
SG-MP-id#
SG-DG-id#
.
358
Serviceguard .
.
.
.
.
Event Monitoring Service HA , LAN
. Using HA Monitors
.
.
359
Serviceguard
Serviceguard
Serviceguard swremove
. swremove
.
Serviceguard
1. .
2. .
3. Serviceguard swremove
.
360
, ,
, .
.
361
Serviceguard
. ,
LAN .
.
.
Serviceguard Manager
.
. ->
.
.
1. PID .
# ps -ef | grep <service_cmd>
service_cmd SERVICE_CMD
. SERVICE_RESTART
.
2. service_cmd PID .
# kill PID
3. .
# cmviewcl -v
362
4. Serviceguard Manager .
. -> .
.
1. SPU .
2.
.
# cmviewcl -v
.
3. SPU .
4.
.
# cmviewcl -v
.
5. Serviceguard Manager .
->
.
6. .
.
1. LAN LAN .
# lanscan
.
# cmviewcl -v
363
2. LAN .
3. .
Serviceguard Manager .
cmviewcl -v .
4. LAN . Serviceguard
Manager . cmviewcl -v
.
364
.
.
CPU
LAN
(/var/adm/syslog/syslog.log)
HA .
.
.
. Fibre Channel
LVM Fibre Channel
.
.
.
365
Using HA Monitors .
monconfig
.
monconfig .
Serviceguard Manager Serviceguard
. psmmon
.
Serviceguard
. .
366
HP ISEE HP
. HP ISEE
. HP .
367
.
.
http://docs.hp.com When Good Disks Go Bad(59911236) .
RAID 1 RAID 5 HA
.
. LVM VxVM
. .
HA
Mirrordisk/UX
.
1.
. /dev/vg_sg01
/dev/dsk/c2t3d0.
.
2.
.
3.
.
# lvreduce -m 0 /dev/vg_sg01/lvolname /dev/dsk/c2t3d0
4. .
HP-UX .
368
5. lvreduce
.
# vgcfgrestore -n /dev/vg_sg01 /dev/dsk/c2t3d0
6. .
# lvextend -m 1 /dev/vg_sg01 /dev/dsk/c2t3d0
7.
lvsync .
.
# lvsync /dev/vg_sg01/lvolname
.
LVM .
# vgcfgrestore -n /dev/vg_lock /dev/dsk/c2t3d0
Serviceguard . vgcfgrestore
syslog .
.
SCSI
SCSI HP ILT( )
SCSI .
SCSI-2 Fast-Wide .
Ultra2 SCSI SC10
. SC10 SCSI
ILT . ILT
SCSI Ultra160
Ultra3 SCSI .
369
SCSI
SCSI Host Bus Adapter(HBA)
.
SCSI SCSI SCSI
I/O SCSI
. SCSI
SCSI
.
SCSI Y
SCSI (MSA30 MI ) SCSI
.
1. . Serviceguard Manager .
-> . Serviceguard
cmhaltnode .
.
2. SCSI .
3. SAM .
4. SCSI .
5. SCSI .
. SCSI ID
.
6. SAM SCSI .
7. . Serviceguard Manager
. -> . Serviceguard
cmrunnode .
370
LAN Fibre Channel
I/O .
HP-UX 11.0 11i .
1. cmhaltnode .
2. /usr/sbin/shutdown .
3. I/O .
4. I/O .
.
5. .
6. cmrunnode .
.
I/O HP-UX 11i(B.11.11
) I/O .
. Configuring
HP-UX for Peripherals "How to On-line Replace (OLR) a PCI Card Using
SAM" . OLR
.
Serviceguard LAN
.
371
LAN Fibre Channel
LAN Serviceguard
MAC (LLA)
MAC .
.
MAC
. .
1. cmgetconf ASCII .
# cmgetconf -c clustername config.ascii
2. cmapplyconf
.
# cmapplyconf -C config.ascii
372
Quorum
.
.
.
.
1. .
2. IP
.
3. .
QS (/etc/cmcluster/qs_authfile)
. QS qs(1)
.
4. .
/etc/inittab .
init q .
qs(1) .
5.
. cmviewcl -v
.
6.
.
Request for lock /sg/<ClusterName> succeeded. New lock
owners: N1, N2
7. ,
.
# cmquerycl -q <QSHostName> -n <Node1> -n <Node2> ...
373
cmquerycl -q, cmapplyconf -C, cmcheckconf -C
.
374
IP .
,
.
.
IP
cmquerycl cmcheckconf
cmscancl cmviewcl
LAN
Serviceguard
Manager . Serviceguard Manager
7 "Serviceguard Manager " .
IP
netstat -in LAN . ftsys10
ftsys9 IP LANIP
ftsys9 lan0 .
ftsys9>netstat -in
IPv4:
Name
ni0#
ni1*
lo0
lan0
lan0:1
lan0:2
lan1*
Mtu
0
0
4608
1500
1500
1500
1500
Network
none
none
127
15.13.168
15.13.168
15.13.168
none
Address
none
none
127.0.0.1
15.13.171.14
15.13.171.23
15.13.171.20
none
Ipkts
0
0
10114
959269
959269
959269
418623
Ierrs
0
0
0
0
0
0
0
Opkts
0
0
10
33069
33069
33069
55822
Oerrs
0
0
0
0
0
0
0
Coll
0
0
0
0
0
0
0
375
IPv6:
Name
lan1*
lo0
Mtu Address/Prefix
1500 none
4136 ::1/128
Ipkts
Opkts
0
10690
0
10690
. /var/adm/syslog/syslog.log.
.
. vi more
.
syslog.log
.
.
/var/adm/syslog/syslog.log pkg5_run
. pkg5_run.log .
Dec
Dec
Dec
Dec
376
.
Dec
Dec
Dec
Dec
Dec
Dec
Serviceguard Object Manager cmomd /var/opt/cmom/cmomd.log
. cmreadlog
.
# cmreadlog /var/opt/cmom/cmomd.log
cmomd
, , .
Serviceguard Manager .
377
Serviceguard Manager
Serviceguard Manager .
HP-UX /var/opt/sgmgr Windows
X:\Program Files\Hewlett-Packard\Serviceguard Manager\log
. X Serviceguard Manager .
HP-UX cmreadlog
.
# cmreadlog /var/opt/sgmgr/929917sgmgr.log
Serviceguard Manager ,
, .
VERITAS Cluster Volume Manager(CVM)
. CVM 3.5
VxVM-CVM-pkg.log. CVM 4.1 SG-CFS-pkg.log.
ASCII .
. .
.
378
. .
/etc/cmcluster/package_name/control_script.log
SCRIPT_LOG_FILE
. .
.
cmcheckconf
cmcheckconf
.
ftsys9 ftsys10
.
# cmquerycl -v -C /etc/cmcluster/verify.ascii -n ftsys9 -n
ftsys10
# cmcheckconf -v -C /etc/cmcluster/verify.ascii
cmcheckconf .
cmscancl
cmscancl IP , ,
. cmscancl
379
HP-UX
.
cmscancl
.rhosts .
.
cmscancl .
8-1
cmscancl
LAN
lanscan
netstat
mount
LVM
/etc/lvmtab
LVM
/etc/lvmpvg
linkloop
cmviewconf
cmviewconf
cmviewconf
.
.
LAN
.
380
lanscan LAN .
LAN MAC .
arp -a arp .
landiag LAN , .
.
Link Connectivity to LAN station: 0x08000993AB72
OK
381
Serviceguard .
.
Serviceguard
VxVM
Serviceguard .
Serviceguard
"" .
Serviceguard
Serviceguard , Serviceguard
.
/etc/cmcluster/rc(HP-UX)
${SGCONF}/rc(Linux)
cmviewcl Serviceguard
. (:
), Serviceguard
. nslookup
.
.
# nslookup ftsys9
Name Server: server1.cup.hp.com
Address: 15.13.168.63
382
Name:
ftsys9.cup.hp.com
Address: 15.13.172.229
IP
.
.
.
LAN NODE_TIMEOUT
. NODE_TIMEOUT LAN
.
LAN .
LAN LAN
.
(: )
Serviceguard
.
.
. .
( ).
.
383
bdf - .
vgdisplay -v - .
lvdisplay -v - .
strings /etc/lvmtab - .
diskinfo -v /dev/rdsk/cxtydz - .
lssf /dev/dsk/* - LV .
vxprint - VERITAS .
RUN_SCRIPT_TIMEOUT HALT_SCRIPT_TIMEOUT
Serviceguard
"" .
Serviceguard ""
. .
AUTO_RUN( ) .
,
. .
384
IP
Serviceguard
. .
.
1. .
.
.
2. IP .
cmmodnet(1m) . netstat -in
IP .
IP netstat "Address" (IPv4 )
"Address/Prefix" (IPv6 ) cmmodnet IP
.
# cmmodnet -r -i <ip-address> <subnet>
385
.
VG[] .
# vgchange -a n <volume-group>
4. .
# cmmodpkg -e <package-name>
.
# cmmodpkg -e -n <node-name> <package-name>
Serviceguard
.
,
Serviceguard
.
.
NODE_FAIL_FAST_ENABLED YES . Serviceguard Manager
.
Serviceguard TOC
.
. ,
.
VERITAS CFS SG-CFS-pkg
. SG-CFS-pkg.log
.
CVM Serviceguard
. gabconfig -a .
.
1. a - llt, gab
386
2. b - vxfen
3. v w - cvm
4. f - cfs
CFS HP Serviceguard Storage Management Suite cfsmount
cfsumount mount (mount -o cluster,
dbed_chkptmount, sfrac_chkptmount ) .
cfs Serviceguard
. mount
,
.
syslog .
VxVM
VxVM
. vxdg list
.
.
VxVM
.
vxdg: Error dg_01 may still be imported on ftsys9
ERROR: Function check_dg failed
.
.
. ftsys9
dg_01.
check_dg: Error dg_01 may still be imported on ftsys9
To correct this situation, logon to ftsys9 and
387
(-C)
.
. .
# vxdg -tfC import dg_01
# vxdg deport dg_01
.
388
.
.
.
.
set -x
.
Serviceguard .
Serviceguard
.
.
TOC
TOC
.
.
389
lanscan - LAN
.
arp -a - arp .
lanadmin - LAN .
.
.
Serviceguard syslog cmviewcl -v
.
Access denied to quorum server 192.6.7.4
.
/usr/lbin/qs -update
.
Serviceguard syslog
.
Unable to set client version at quorum server
192.6.7.2:reply timed out
Probe of quorum server 192.6.7.2 timed out
. QS_TIMEOUT_EXTENSION ,
.
Serviceguard syslog
.
qs qs .
390
Serviceguard
. .
.
Oct 008 16:10:05:0: There is no connection to the applicant
2 for lock /sg/lockTest1
Oct 08 16:10:05:0:Request for lock /sg/lockTest1 from
applicant 1 failed: not connected to all applicants.
. .
.
Oct 008 16:10:06:0: Request for lock /sg/lockTest1
succeeded. New lock owners: 1,2.
391
392
Serviceguard
Serviceguard
Serviceguard
. .
A-1
Serviceguard
cfscluster
CFS CVM .
SG-CFS-pkg .
CFS .
393
Serviceguard
A-1
Serviceguard ()
cfsmntadm
cfsmount
cfsumount
.
cmgetpkgenv .
HP Serviceguard Storage Management Suite
.
394
Serviceguard
A-1
Serviceguard ()
cmapplyconf
Serviceguard
.
cmapplyconf cluster_ascii_file
pkg_ascii_file
, cmclconfig
.
.
/etc/cmcluster .
ASCII ( )
cmcheckconf
cmapplyconf
.
.
ASCII
.
ASCII
.
395
Serviceguard
A-1
Serviceguard ()
cmapplyconf
cmgetconf
()
ASCII ASCII
.
cmapplyconf
.
. ,
.
.
cmcheckconf
/
.
cmcheckconf cluster_ascii_file
pkg_ascii_file
.
cmcheckconf
cluster_ascii_file
. pkg_ascii_file
. cmcheckconf
.
396
Serviceguard
A-1
Serviceguard ()
cmdeleteconf
.
cmdeleteconf
.
cluster_name package_name
cmdeleteconf
. package_name
package_name . cluster_name
package_name cluster_name
package_name .
cmdeleteconf
.
cmgetconf
.
cmgetconf ( )
output_filename
stdout .
. cluster_name
package_name cmgetconf
. cluster_name
package_name cluster_name
package_name
output_filename stdout .
cmgetpkgenv
397
Serviceguard
A-1
Serviceguard ()
cmhaltcl
.
cmhaltcl
.
. cmhaltnode
.
cmhaltnode
.
cmhaltnode
.
cmhaltnode
.
node_name
.
cmhaltpkg
.
cmhaltpkg Serviceguard
.
.
398
Serviceguard
A-1
Serviceguard ()
cmhaltserv
.
.
cmhaltserv
.
.
PID
SIGTERM .
.
cmmakepkg
.
cmmakepkg ASCII
.
output_file_name
. cmcheckconf
. output_file_name
stdout .
399
Serviceguard
A-1
Serviceguard ()
cmmodnet
.
cmmodnet
subnet_name
IP_address .
.
"" IP
.
.
cmmodpkg
.
cmmodpkg
,
.
. ,
,
.
400
Serviceguard
A-1
Serviceguard ()
cmquerycl
.
cmquerycl Logical
Volume Manager(LVM) .
LAN , IP ,
. LVM (VG)
.
.
.
cmreadlog
.
MOF(Managed Object File)
.
.
cmruncl
.
cmruncl
.
.
cmrunnode
.
401
Serviceguard
A-1
Serviceguard ()
cmrunnode
.
cmrunnode
.
.
.
cmrunpkg
.
cmrunpkg .
.
.
.
.
402
Serviceguard
A-1
Serviceguard ()
cmrunserv
.
.
cmrunserv
.
cmrunserv .
.
.
service_command cmhaltserv
SIGTERM .
SIGTERM
. SIGTERM
SIGKILL . SIGKILL
.
403
Serviceguard
A-1
Serviceguard ()
cmscancl
Serviceguard
.
cmscancl
. LAN
, , , LVM
,
.
.
output _file /tmp/scancl.out
. .
Serviceguard
404
LAN (lanscan )
(netstat )
(mount )
LVM (/etc/lvmtab )
LVM (/etc/lvmpvg )
(linkloop )
(cmviewconf )
Serviceguard
A-1
Serviceguard ()
cmstartres
.
Serviceguard EMS
.
cmstartres EMS
. package_name
.
cmstopres
.
cmstopres EMS
. package_name
.
cmversion
Serviceguard
.
cmviewcl
.
cmviewcl .
.
,
.
cmviewconf
Serviceguard .
cmviewconf
ASCII .
.
.
405
Serviceguard
406
HP Apache
HP Tomcat
HP CIFS/9000
ECMT .
Oracle 9i
Oracle10g
Informix(11iv 1 )
Sybase(11iv 1 )
DB2(11iv 1 )
Progress(11iv 1 )
NFS .
Managing Highly Available NFS(HP B5140-90017) .
HP .
407
408
. , ,
,
. , OS
.
.
1.
.
.
()
.
.
2.
.
uname() gethostname() .
SPU ID .
MAC ( ) .
409
?
?
.
. , GUI
.
.
.
,
.
.
,
.
. .
410
.
. HA ,
.
. Serviceguard
. HA
. ,
.
HA HA
.
.
(
) .
HA
.
. ,
.
HA
.
ps -ef | grep xxx
.
,
.
.
411
?
( )
. .
JFS
.
.
.
(fsck) .
.
. ,
. ,
.
412
. fsck
.
JFS
HFS
JFS . JFS
.
.
.
.
.
( ) .
.
.
. ?
,
?
.
.
.
.
413
. , .
.
. ,
.
. 3 /
. ,
. " "
, .
( 1) ( 3)
.
. ,
.
.
.
. .
3
,
, ,
.
.
414
.
,
.
.
.
.
.
, PI .
1000
. 1000
.
.
.
.
.
.
.
415
.
.
.
,
.
.
.
.
.
/ .
.
(,
) .
.
. ,
.
.
.
.
. , .
. ,
.
.
.
416
?
.
. .
Uname(2)
IP
SNA
IP
. IP IP .
IP . IP
. Serviceguard IP
. Serviceguard
.
.
417
IP
.
. ,
. IP
.
.
. IP
.
DNS(Domain Name System) - .
IP
. IP
. IP .
IP .
IP
IP IP
. IP
IP .
IP .
IP .
IP
.
IP
.
.
.
418
SPU ID MAC
SPU ID MAC ( )
. SPU ID ID
. MAC (LANIC ID ) LAN
. .
ID
.
. SPU ID
.
.
HA
MAC IP . Serviceguard
.
MAC .
MAC
IP .
MAC IP .
20 . HA
IP ARP MAC
.
.
gethostbyname() DNS .
DNS
DNS IP API .
telnet BSD
. IP .
.
419
IP .
IP LAN IP
. IP
ID
.
gethostname(2)
. HA
gethostname() . gethostname()
gethostbyname(2)
. , gethostbyaddr() IP
.
IP
IP .
gethostbyname(2) .
gethostbyname(2) IP . IP
.
DNS gethostbyname(2)
IP . HA
.
IP
. DNS IP
.
uname(2)
uname(2) .
LAN . uname
hostname .
uname(2)
. HA
. HA
420
uname hostname .
. ,
.
.
.
.
.
.
/etc/services
.
IP
IP .
IP
.
INADDR_ANY .
IP , IP INADDR_ANY
. IP
IP
. IP
.
INADDR_ANY
. IP IP
. ,
IP IP .
421
TCP TCP
TCP . TCP
IP
IP .
UDP .
IP IP
. IP
IP IP . UDP
INADDR_ANY IP
bind(2) .
LAN IP
IP .
.
LAN .
IP
LAN .
connect() bind()
bind(2) connect(2)
IP .
IP LAN
IP . accept(2) IP
,
.
.
.
( ) .
(,
) .
422
.
.
,
.
.
.
HA
. .
SNA
SNA . ,
. SNA
(Single Point of Failure)
. SNA
.
.
NFS NFS
.
.
. .
.
. NFS NFS
.
423
?
.
.
.
. , 5
. 2
28 5
30 . ,
.
.
. 5 5
. .
.
.
. .
(
)
.
.
424
Tuxedo DCE/Encina
. TPM( )
.
.
TPM
. TPM . ,
TPM .
.
TPM
.
.
.
(, ).
425
?
. .
,
(/ ) .
.
.
.
.
.
.
.
.
. SQL
.
.
.
. SQL .
.
426
427
( ) , OS
, .
.
/
? ?
?
.
2 .
.
/
.
.
.
428
/ " " .
.
.
.
. , 15
.
. .
.
Serviceguard
http://docs.hp.com/hpux/ha Serviceguard
.
. 5.0
4.0 .
.
,
. ,
.
.
.
.
.
429
.
.
.
.
.
, ,
.
.
.
.
.
.
430
HA Serviceguard
HA Serviceguard
Serviceguard
.
1. "
" .
2. .
?
?
? , ?
3. .
Serviceguard
?
4. .
uname()
gethostname(), SPU_ID MAC
?
431
HA Serviceguard
( )
?
.
432
HA Serviceguard
HA
HA
HA
.
.
1. ,
. Serviceguard .
JFS/VxFS .
2.
. Serviceguard .
.
3.
. .
? .
rc ?
4.
. .
5. .
.
HA
1. .
a.
LVM .
b.
433
HA Serviceguard
HA
c.
d.
.
. ?
?
e.
2. Serviceguard .
a.
b.
c.
d.
3. .
4. :
a.
4 CVM VxVM
, , .
b.
c.
d.
e.
SG-CFS-DG-ID# SG-CFS-MP-ID#
, SG-CFS-MP-ID#
.
434
HA Serviceguard
HA
1. .
.
# cmhaltpkg pkg1
# cmrunpkg -n node2 pkg1
# cmmodpkg -e pkg1
.
# cmhaltpkg pkg1
# cmrunpkg -n node1 pkg1
# cmmodpkg -e pkg1
. , 1
2 .
2 1 .
2. .
,
.
3. . ,
45, fsck 15,
30, 3 .
435
HA Serviceguard
HA
436
HP-UX Serviceguard
.
.
Serviceguard .
Serviceguard .
. ,
HP-UX 10.10 Serviceguard A.10.05 HP-UX 11.11 A.11.15
.
.
437
.
1. .
. Serviceguard Manager
. Serviceguard
cmhaltnode .
2. /etc/rc.config.d/cmcluster .
AUTOSTART_CMCLD = 0
3. HP-UX Serviceguard .
SCSI
(: VERITAS Volume Manager
). " "
.
4. /etc/rc.config.d/cmcluster .
AUTOSTART_CMCLD = 1
5. . Serviceguard Manager
.
Serviceguard cmrunnode .
6. .
cmruncl
.
438
.
cmclnodelist A.11.16 A.11.17
Serviceguard A.11.16 A.11.17 cmclnodelist
.
.
cmclnodelist <hostnode> <username>
.
.
A.11.16 A.11.17
cmclnodelist .
192 .
439
. .
( E-1 ). Serviceguard
10.10 HP-UX 10.20 Serviceguard 11.13 HP-UX 11.00
.
.
E-1
1
.
# cmhaltnode -f node1
PKG1 2 . E-2
1 Serviceguard .
440
E-2
2
E-3 1 ( HP-UX 11.00)
Serviceguard(11.13) .
E-3
1 HP-UX 11.00
3
1 1
.
# cmrunnode -n node1
441
E-4
4
2 . .
# cmhaltnode -f node2
1 . 2 HP-UX
11.00 Serviceguard 11.13 .
E-5
5
PKG2 . .
# cmhaltpkg pkg2
# cmrunpkg -n node2 pkg2
# cmmodpkg -e pkg2
442
cmmodpkg cmhaltpkg
. E-6 .
E-6
443
Serviceguard (cmrunnode cmhaltnode ) .
.
.
. ,
.
Serviceguard
.
Serviceguard
. .
Serviceguard
Serviceguard .
Serviceguard HP-UX
.
.
swremove
Serviceguard .
444
"HA "
.
.
445
HARDWARE WORKSHEET
Page ___ of ____
===============================================================================
Node Information:
Host Name _____________________
Series No _____________________
Name of
IP
Interface __________ Addr_____________
Traffic
Type
___________
Name of
Subnet _________
Name of
IP
Traffic
Interface __________ Addr______________ Type
___________
Name of
Subnet _________
Name of
IP
Traffic
Interface __________ Addr______________ Type
___________
===============================================================================
Serial Heartbeat Interface Information:
Node Name ______________________
===============================================================================
Disk I/O Information:
446
Hardware
Device
Path
______________ File Name
______________
Hardware
Device
Path
______________ File Name
______________
Hardware
Device
Path
______________ File Name
______________
447
POWER SUPPLY WORKSHEET
Page ___ of ____
===============================================================================
SPU Power:
Host Name _____________________
===============================================================================
Disk Power:
Disk Unit __________________________
===============================================================================
Tape Backup Power:
Tape Unit __________________________
===============================================================================
Other Power:
448
Quorum Server Data:
==============================================================================
QS Hostname: _________________IP Address: ______________________
==============================================================================
Quorum Services are Provided for:
449
LVM
LVM
PHYSICAL VOLUME WORKSHEET
Page ___ of ____
===============================================================================
Volume Group Name: ______________________________________________________
PV Link 1
PV Link2
Physical Volume Name: ____________________________________________________
Physical Volume Name: ____________________________________________________
Physical Volume Name: ____________________________________________________
Physical Volume Name: ____________________________________________________
Physical Volume Name: ____________________________________________________
Physical Volume Name: ____________________________________________________
Physical Volume Name: ____________________________________________________
Physical Volume Name: ____________________________________________________
Volume Group Name: _______________________________________________________
PV Link 1
PV Link2
450
LVM
451
VxVM
VxVM
DISK GROUP WORKSHEET
Page ___ of ____
===========================================================================
Disk Group Name: __________________________________________________________
Physical Volume Name:______________________________________________________
Physical Volume Name:______________________________________________________
Physical Volume Name:______________________________________________________
Physical Volume Name: _____________________________________________________
Physical Volume Name: _____________________________________________________
Physical Volume Name: _____________________________________________________
Physical Volume Name: _____________________________________________________
Physical Volume Name: _____________________________________________________
452
===============================================================================
Name and Nodes:
===============================================================================
Cluster Name: __________________________ RAC Version: _______________
Node Names: _________________________________________________________
Volume Groups (for packages):________________________________________
===========================================================================
Subnets:
===============================================================================
Heartbeat Subnet: _________________________________
Monitored Non-heartbeat Subnet: ___________________
Monitored Non-heartbeat Subnet: ___________________
=====================================----======================================
Cluster Lock: Volume Groups or Quorum Server
===============================================================================
Quorum Server:
QS_HOST____________________________________________
QS_POLLING_INTERVAL________________________________
QS_TIMEOUT_EXTENSION_______________________________
===============================================================================
Volume Groups and Volumes:
First Lock Volume Group:
|
Physical Volume:
|
________________
|
Name on Node 1: ___________________
|
Name on Node 2: ___________________
|
Disk Unit No: _________
|
Power Supply No: _________
===============================================================================
Timing Parameters:
===============================================================================
Heartbeat Interval: ________
===============================================================================
Node Timeout: _______
===============================================================================
Network Polling Interval: ________
===============================================================================
453
.
Autostart Delay: ___________
===============================================================================
Access Policies:
User name:
Host node:
Role:
===============================================================================
454
=============================================================================
Package Configuration File Data:
=============================================================================
Package Name: ____________________________
Failover Policy:___________________________
Failback Policy: ____________________________
Primary Node: ______________________________
First Failover Node:_________________________
Additional Failover Nodes:____________________________
Package Run Script: ________________________Timeout: ___________________
Package Halt Script: _______________________Timeout: ___________________
Package AutoRun Enabled?
Node Failfast Enabled?
_________
_________
455
LVM Volume Groups:
VG[0]_______________VG[1]________________VG[2]________________
VGCHANGE: ______________________________________________
CVM Disk Groups:
CVM_DG[0]______________CVM_DG[1]_____________CVM_DG[2]_______________
CVM_ACTIVATION_CMD: ______________________________________________
VxVM Disk Groups:
VXVM_DG[0]_____________VXVM_DG[1]____________VXVM_DG[2]_____________
================================================================================
Logical Volumes and File Systems:
LV[0]_____________FS[0]_____________________________FS_MOUNT_OPT[0]_________
LV[1]______________________FS[1]____________________FS_MOUNT_OPT[1]_________
LV[2]______________________FS[2]____________________FS_MOUNT_OPT[2]_________
FS Umount Count: ____________FS Mount Retry Count:_________________________
===============================================================================
Network Information:
IP[0] ____________________ SUBNET ________________________
IP[1] ____________________ SUBNET ________________________
================================================================================
Services:
Service Name: _________
456
Deferred Resources:
Deferred Resource Name __________________
457
458
LVM VxVM
LVM VxVM
VxVM
VxVM
LVM
. VxVM
http://docs.hp.com/ VERITAS Volume Manager Administrators Guide
VERITAS Volume Manager Migration Guide .
5 .
. Cluster Volume
Manager(CVM) .
459
LVM VxVM
VxVM
VxVM
VxVM
VERITAS Volume Manager .
. E
.
VxVM http://www.docs.hp.com VERITAS Volume
Manager Release Notes .
460
LVM VxVM
.
.
VxVM HP-UX Serviceguard
.
" " rootdg
.
1. VxVM .
# cmhaltpkg PackageName
2. LVM .
# vgchange -a r VolumeGroupName
3.
. , Omniback /
dd HP-UX .
4. .
# vgcfgbackup
5. VxVM . VxVM LVM
. LVM
VxVM . , LVM
SCSI
. LVM
. VxVM plex
. plex .
461
LVM VxVM
VxVM
vxvmconvert(1M) LVM VxVM
.
http://www.docs.hp.com VERITAS Volume Manager
Release Notes . vxconvert(1M)
.
LVM .
VxVM
LVM vxvmconvert
.
6. VxVM . 3
.
462
LVM VxVM
VxVM
VxVM
VxVM Serviceguard
. VERITAS Volume Manager(VxVM)
. Cluster Volume Manager(CVM)
.
1. .
# mv Package.ctl Package.ctl.bak
2. .
# cmmakepkg -s Package.ctl
3. VxVM
.
VxVM .
VXVM_DG[] VxVM
. VxVM_DG[] 0
1 .
VXVM_DG[0]="dg01"
VXVM_DG[1]="dg02"
463
LVM VxVM
VxVM
LV[0]="/dev/vx/dsk/dg01/lvol101"
LV[1]="/dev/vx/dsk/dg01/lvol102"
LV[2]="/dev/vx/dsk/dg02/lvol201"
LV[3]="/dev/vx/dsk/dg02/lvol202"
FS[0]="/mnt_dg0101"
FS[1]="/mnt_dg0102"
FS[2]="/mnt_dg0201"
FS[3]="/mnt_dg0202"
FS_MOUNT_OPT[0]="-o
FS_MOUNT_OPT[1]="-o
FS_MOUNT_OPT[2]="-o
FS_MOUNT_OPT[3]="-o
ro"
rw"
ro"
rw"
4. .
.
5. .
6. .
7. .
# vxdg deport DiskGroupName
8.
.
# vxdctl enable
9. .
464
LVM VxVM
CVM 3.5 4.1
CVM_DG[] CVM
. CVM_DG[] 0
1 .
CVM_DG[0]="dg01"
CVM_DG[1]="dg02"
465
LVM VxVM
CVM 3.5 4.1
LV[0]="/dev/vx/dsk/dg01/lvol101"
LV[1]="/dev/vx/dsk/dg01/lvol102"
LV[2]="/dev/vx/dsk/dg02/lvol201"
LV[3]="/dev/vx/dsk/dg02/lvol202"
FS[0]="/mnt_dg0101"
FS[1]="/mnt_dg0102"
FS[2]="/mnt_dg0201"
FS[3]="/mnt_dg0202"
FS_MOUNT_OPT[0]="-o
FS_MOUNT_OPT[1]="-o
FS_MOUNT_OPT[2]="-o
FS_MOUNT_OPT[3]="-o
ro"
rw"
ro"
rw"
4. .
.
5.
CVM_ACTIVATION_CMD .
6. .
7. ASCII HALT_SCRIPT_TIMEOUT
. STORAGE_GROUP
.
.
STORAGE_GROUP dg01
STORAGE_GROUP dg02
.
# cmapplyconf -P PackageName.ascii
8. .
9. .
# vxdg deport DiskGroupName
10. .
# cmruncl
CVM .
466
LVM VxVM
CVM 3.5 4.1
11. CVM .
.
.
# vxdctl -c mode
.
12.
.
# vxdg -s import DiskGroupName
13. .
467
LVM VxVM
LVM
LVM
VxVM LVM lvremove, pvremove
vgremove LVM
. ASCII
LVM VOLUME_GROUP .
.
468
IPv6
IPv6
IPv6 .
IPv6
/ LAN
IPv6
469
IPv6
IPv6
IPv6
IPv6 RFC 2373(IPv6 )
. IPv6 128
. RFC 2373 IPv6 . IPv6
.
IPv6 , , ,
.
H-1
IPv6
.
.
.
.
. HP-UX
.
.
.
IPv4 IPv6
.
IPv6
IPv6
.
IPv6 0 .
. "::"
470
IPv6
IPv6
0 16 .
"::" , 16
0 . .
fec0:1:0:0:0:0:0:1234 fec0:1::1234 .
::10.11.3.123
IPv6
IPv6 IPv4 CIDR CIDR . IPv6
.
IPv6 /
"IPv6 " IPv6 " "
. .
fec0:0:0:1::1234/64.
64 "fec0:0:0:1" .
IPv6 .
471
IPv6
IPv6
IPv6 .
, .
.
H-2
n
128-n
ID
IPv6
. .
.
0 . "::"
.
"::1" "0:0:0:0:0:0:0:1" .
.
IPv4 IPv6
IPv6 IPv4 .
IPv4 IPv6
IPv6 IPv4 IPv6
. IPv6 32 IPv4
IPv6 . IPv4 IPv6
, .
H-3
80
0
16
0000
32
IPv4
.
::192.168.0.1
472
IPv6
IPv6
IPv4 IPv6
IPv4 IPv6 . IPv6
IPv4 . IPv6
IPv4 . IPv4 IPv6
, .
H-4
80
16
32
FFFF
IPv4
.
::ffff:192.168.0.1
IPv6 . RFC
2374(IPv6 )
. .
H-5
3
FP
13
TLA ID
8
RES
24
16
NLA ID
SLA ID
64
ID
FP(Format Prefix) = .
"001".
TLA ID(Top-level Aggregation Identifier) =
RES =
NLA ID(Next-Level Aggregation Identifier) =
SLA ID(Site-Level Aggregation Identifier) =
ID =
473
IPv6
IPv6
.
H-6
10
1111111010
54
0
64
ID
.
.
.
H-7
10
1111111011
38
0
16
ID
64
ID
.
.
.
H-8
8
11111111
474
112
ID
IPv6
IPv6
"FF" .
"" "000T". 3
0 . "T" .
0 , 0 .
"" 4 .
, "1" . "2"
. "5" .
" ID" .
.
= FF02:0:0:0:0:0:0:1( )
= FF02:0:0:0:0:0:0:2( )
= FF05:0:0:0:0:0:0:2( )
475
IPv6
Serviceguard IPv6 . IP
IPv4 IP IPv4 IPv6 .
IPv6 IPv6 (IPv6NCF11i B.11.11.0109.5C)
.
" " .
Serviceguard IPv6 .
IP IP STATIONARY_IP .
IP .
Serviceguard ( )
( ) IPv6 .
NETWORK_INTERFACE ASCII IPv6
STATIONARY_IPS .
IPv6 , IPv6 .
IPv4 .
IPv6 . IPv4 IPv6
Serviceguard IPv6
.
476
IPv6
IP Serviceguard
Serviceguard
. .
(IPv4/IPv6) IP
, Serviceguard
IP .
477
IPv6
IPv6
IPv6
IPv6 IPv4 DAD( )
. DAD
. DAD ,
1 .
IPv6 .
RFC 2462 .
Serviceguard IPv6
IPv4 1 .
IPv6 .
ip6_nd_dad_solicity_count 0
DAD .
DAD
. DAD
IPv6 .
DAD ndd -get
.
# ndd -get /dev/ip6 ip6_nd_dad_solicit_count
1 0 .
DAD ndd -set
.
# ndd -set /dev/ip6 ip6_nd_dad_solicit_count n
n . 1 0 .
DAD
/etc/rc/config.d/nddconf .
478
IPv6
IPv6
# TRANSPORT_NAME[index]=ip6
# NDD_NAME[index]=ip6_nd_dad_solicit_count
# NDD_VALUE[index]=n
index nddconf , n
. 1 0 .
479
IPv6
/ LAN
/ LAN
IPv6 LAN
. IPv4/IPv6 LAN IP
. LAN
.
(IPv4 IPv6) IP
.
IPv4 IPv6
.
IP IPv4 IPv6
.
IPv4 IPv6
IP .
, IPv4 IPv6
.
Serviceguard
IP
. Serviceguard IP(IPv4 IPv6),
IP(IPv4 IPv6) .
480
IPv6
IPv4 IPv6 LAN .
H-1
1: IPv4 IPv6
1: IPv4 IPv6
481
IPv6
H-3
2: IPv4 IPv6
LAN .
.
H-4
482
2: IPv4 IPv6
8 /
, 57
, 137
, 410
, 415
, 133
, 135
, 154
, 143
, 450
, 151
, 144
, 146
, 149
, 158
, 156
, 157
, 166
, 137
, 171
LAN , 138
SCSI , 142
SPU , 138
, 445
, 428
, 445
, 24
, 135
HA , 38
, 51, 52
, 50
IP , 103
, 143
, 52
, , 377, 378
, 332
, 375
, 334
, 334
, 336
, 332
, 359
, 344
, 352
, 351
, 315
, 337
, 337
, 339
, 338
, 35
, 271
, 66
, 156
, 166
ASCII , 227
ASCII , 276
package, 271
, 260
, 157
, 233
, 377, 378
, 66
, 68
8 / , 57
, 137
, 51, 52
, 50
1
, 442
1 HP-UX 10.01 , 441
1 , 442
2
, 441
483
, 53
, 54
, 440
, 443
FDDI , 43
, 23
, 26
FDDI , 42
LAN, 41
(RS232) , 44
EMC 8
, 58
, 106
, 107
, 110
, 107
, 40, 44
, 40
IP , 103
IP , 104
, 421
HA , 411
IP , 421
IP , 419
IP , 417
IP , 104
, 103
, 363
IP , 104
LAN , 105
, 103
Serviceguard, 40
, 40
INONLY_OR_INOUT, 105
INOUT, 105
, 105
, 131
, 139
484
, 139, 149
, 38
IP , 103
Serviceguard , 24
, 25
, 25
, 151
, 452
, 152, 155
, 214, 222, 257
, 211, 220
, 53
, 54
, 294
, 428
, 75
, 274
, 274
, 417
,
417
, 24
, 267
, 71
, 40
LAN
, 40
, 130
, 359
, 25
, 215
, 115
, 46
, 25
, 67
, 407
, 68
, 368
, 49, 51
, 46
, 47
, 46
choosing for volume groups, 213
root, 46
Serviceguard, 46
, 115
, 368
, 49, 51
, 154
, 154
, 143
(EMS), 86
, 48
, 47
, , 47
, 151
PV , 215
, 368
, 48
/
, 143
, 25
CFS , 242
CVM , 253
, 261
, 106
, 174
, 437
, 438
, 440
, 444
LVM , 202
, 46
, 419
, 183
, 87
AUTO_RUN, 291
NODE_FAILFAST_ENABLED, 291
Serviceguard , 135
, 138
, , 262
Serviceguard
, 38
Serviceguard , 38
, 382
, 368
, 375
, 376
, 378
IP , 375
, 365
cmquerycl cmcheckconf , 379
, 151
, 450
, 152, 155
, 70
, 159
485
, 213
, 47
, 421
, 47
, 368
, 143
IP , 103
, 103
Serviceguard, 103
, RS232 , 326
, 186, 187
, 304
486
, 314
, 376
, 315
IP , 375
cmviewcl, 314
, 178
, 139, 149
, 337
, 271
, 130
, 130
, 294
Serviceguard , 24
CVM VxVM, 154
LVM, 151
, 208
Serviceguard , 38
Serviceguard , 38
, 68
, 75
, 273
CVM , 255
, 273
, 376
, 267
Serviceguard , 360
, 289
, 345
, 334
, 353
, 334
, 353
, 163
, 163, 180, 195
, 184
, 48
SCSI , 369
, 133
, 450
, 152, 155
, 147
, 150
, 164
, 180
, 187
, 144
, 110
, 413
IP , 103
, 103
Serviceguard, 103
HA , 411
, 410
, 426
Serviceguard ,
431
, 410
, 412
, 426
, 411
, 424
, 40
, 200
, 48
, 365, 366
FDDI , 43
FDDI
, 43
, 72
, 369
, 407
, 135
, 23
/
, 143
/
, 138, 143
, 82
, 110
, 336
4 , 71
, 344
, , 344
, 131
, , 130
, 128
, 426
, 130
, 129
, 105
, 128
, 40, 44
, 82
, 172
, 412
, 25
, 87
, 79
487
, 172
, 75
, 275
, 275
, 26
, 184
, 414
of cluster, 68
, 157
, 115
, 57
, 147
, 146
, 448
, 55
HP-UX OPS UPS, 55
, 447
, 344
, 336
, 106
, 110
, 110
, 290
, 378
, 304
, 305
, 290
pathname , 175
SAM , 290
, 180
, 40
, 25
LAN
, 40
, SCSI, 142
, 25
, 40
488
FDDI
, 42
FDDI , 42
LAN
, 41
, 40, 44
, 38
, 141
, 236
(RS232) , 44
, 44
, 38
, 85
, 178, 179
, 196, 197, 205
, 149
, 449
, 319
, 208
, 150
, 158
, 72
, 56
, 424
, 38
, 38
, 56
, 23
/ , 56
configuring with commands, 227
Serviceguard, 24
, 332
, 382
, 453
, 158
, 66
, 68
, 66
, 158
, 158
, 158
, 68
, 66
, 363
cluster node , 158, 159
cluster volume group , 163
heartbeat interval , 161
heartbeat subnet , 159
maximum configured packages , 163
monitored non-heartbeat subnet, 160
network polling interval , 162
node timeout , 161
physical lock volume , 159
serial device file , 161
, 66
, 66
, 137
, 156
, 164
, 66
, 237
, 235
, 233
SAM , 226
cmdeleteconf , 268
, 228
Autostart Delay
(AUTO_START_TIMEOUT), 162
, 158, 159
OPS , 291
, 207
, 211
, 234
, 226
, 237
, 233
, 235
ASCII , 227
CFS , 242
CVM , 253
VxVM , 220
, 66
, 262
, 361
, 332
, 306, 307
, 306, 307
, 311
, 213
, 163
, 68
, 332
, 68
, 347, 350
, 346
, 349
, 235
, 68, 336
, 362
, 69
4 , 73
, 240
, 233, 234
, 71
, 70
, 72
, 204
, 73
, 55
, 157
, 70
, 70, 72
, 73
, 204
489
, 157
, 336
, 66
, 207
, 135
, 135
, 356
,
343
, 351
, 266
, 363
, 363
, 362
ASCII , 227
ASCII , 276
, , 261
, 407
LAN , 139
, 151
, 183
, 214, 223, 258
, 423
/ , 77
OPS , 291
, 337
, 382
, 180
, 455, 456
, 362
490
, 166
, 306, 307
, 306, 307
, 274
, 271
, 173
, 273
, 178, 179
Local Switching , 174
, 178
, 290
Automatic Switching , 173
failback policy , 172
failover policy , 172
Package Fail Fast , 174
Package Name , 172
Resource Polling Interval , 179
Resource Up , 179
run halt script timeout , 175
SAM, 272
Service Fail Fast , 177
Service Halt , 177
Service Name , 176, 177
Serviceguard , 273
Subnet , 178
, 272
cmdeleteconf , 353
, 276
, 271
, 311
, 337
/ , 77
, 178
, 339
, 130
, 87
, 352
, 341, 342
, , 289
, 290
, 184, 185
, 187
IP , 184, 185
service command, 186
service name, 185
service restart , 186
, 184, 185
, 24
, 24
, 24
, 24
, 338
, , 289
, 66
IP , 103
, 375
, 103
, 112
, 446
, 365
/ , 143
, 137
/ , 143
, 138
, 139, 149
, 144
/ , 143
/ , 143
/ , 138
, 138
IP , 139, 149, 150
LAN , 139, 149
LAN , 138
LAN , 139
RS232 , 141
S800 , 138
SPU , 138
, 365
, 129
, 129
, 237
, 171
, 25
, 80
, 80
A
APA
, 110
ARP
, 110
ASCII , 227
ASCII , 276
AUTO_RUN
ASCII , 276
, 173
AUTO_RUN , 291
AUTO_START_TIMEOUT
, 228
, 162
automatic switching
, 173
autostart delay
, 162
491
C
CFS
, 242
CLUSTER_NAME ( )
, 228
cmapplyconf, 239, 307
cmassistd , 61
cmcheckconf, 238, 306
, 379
cmclconfd , 60, 61
cmcld , 60, 61
cmclnodelist , 195
cmdeleteconf
, 268
, 353
cmfileassistd , 60, 62
cmlogd , 61, 62
cmlvmd , 61, 62
cmmodnet
IP , 103
cmnetassist , 64
cmnetassistd , 61
cmomd , 61, 62
cmquerycl
, 379
cmsnmpd , 61, 63
cmsrvassistd , 63
cmvxd , 61
cmvxpingd , 61
CONCURRENT_FSCK_OPERATIONS
, 184
CONCURRENT_MOUNT_OPERATIONS
, 185
CONCURRENT_VGCHANGE_OPERATIONS
, 184
CVM, 119, 121
, 154
, 253
VxVM-CVM-pkg , 255
CVM
3.5, 168
CFS 4.1, 168
CFS 4.1, 168
CVM CFS cmvxd, 65
CVM CFS cmvxping, 65
492
, 58
EMS
, 48
, 365, 366
, 85
EMS HA , 86
Event Monitoring Service
, 85
F
FAILBACK_POLICY
, 82
, 172
FAILOVER_POLICY
, 79
, 172
Filesystem mount retry count, 184
Filesystem unmount count, 184
FIRST_CLUSTER_LOCK_PV
, 228
, 159, 160
FIRST_CLUSTER_LOCK_VG
, 228
FS
, 293
FS_MOUNT_OPT
, 293
G
gethostbyname
IP , 103
gethostbyname(), 419
HA
, 48
HA (EMS), 86
HA Serviceguard , 431
HA , 133
HALT_SCRIPT
ASCII , 276
, 175
HALT_SCRIPT_TIMEOUT(
)
ASCII , 276
, 175
heartbeat interval
, 161
HEARTBEAT_INTERVAL
, 228
HEARTBEAT_INTERVAL( )
, 161
HEARTBEAT_IP
, 228
, 159
HP, 119
HP Predictive
, 366
HP-UX OPS
, 55
LAN
, 138
, 139, 149
, 66
LAN
, 139
IP , 139, 149, 150
LAN
, 105
, 40
LAN
, 105
LAN
Serviceguard , 38
LAN Serviceguard , 38
LOCAL_LAN_FAILOVER_ALLOWED
ASCII , 276
, 174
lock
, 72
, 70
, 55
lssf
, 213
LV
, 293
lvextend
, 203
LVM, 119, 120
, 151
, 217
, 46
, 202
I
IP
, 293
IP , 185
IP
, 103
JFS, 413
493
, 211
VxVM , 459
LVM
, 152, 155
LVM_ACTIVATION_CMD, 182
M
MAC , 419
MAX_CONFIGURED_PACKAGES
, 163
MirrorDisk/UX, 47
mkboot
, 203
monitored non-heartbeat subnet
, 160
N
network polling interval
(NETWORK_POLLING_INTERVAL)
, 162
NETWORK_INTERFACE
, 228
NETWORK_POLLING_INTERVAL (network
polling interval)
, 228
NODE_FAIL_FAST_ENABLED
ASCII , 276
, 174
NODE_FAIL_FAST_ENABLED , 291
NODE_NAME
ASCII , 276
, 158, 159
NODE_TIMEOUT( )
, 228
, 161
NTP
, 205
NTP( )
, 205
O
OPS
, 291
494
P
package
, 38
, 407
, 106
, 337
, 110
, 339
, , 352
, 338
,
356
, 351
IP , 104
Package Fail Fast
, 174
package name
, 172
PACKAGE_NAME
ASCII , 276
ASCII , 172
PACKAGE_TYPE
ASCII , 178
PATH, 181
Predictive , 366
PV
, 215
pvcreate
, 202
PVG
, 213
Q
qs , 61, 63
QS_HOST
, 158
QS_POLLING_INTERVAL
, 158
QS_TIMEOUT_EXTENSION
, 158
R
RAID
, 47
README
, 407
Resource Name
, 178, 179
resource polling interval
, 179
Resource Up Interval
, 179
RESOURCE_NAME
ASCII , 276
, 178, 179
RESOURCE_POLLING_INTERVAL
ASCII , 276
, 179
RESOURCE_UP_VALUE
ASCII , 276
, 179
restart
, 130
, 68
SERVICE_RESTART
, 186
rhosts
, 192
RS232 , , 326
RS232
, 141
RS232 , 44
RS232 , , 141
RUN_SCRIPT
ASCII , 276
, 175
RUN_SCRIPT_TIMEOUT
ASCII , 276
RUN_SCRIPT_TIMEOUT (run script timeout)
, 175
S
SAM
, 272
SCSI , 142, 157
SECOND_CLUSTER_LOCK_PV
, 159, 160
SERIAL_DEVICE_FILE(RS232)
, 161
service command
, 186, 187
Service Fail Fast
, 177
Service Halt
, 177
service name, 185
, 176, 177
, 185
Service Restart
, 186
SERVICE_CMD
, 293
, 186, 187
SERVICE_FAIL_FAST_ENABLED
ASCII , 276
, 177
SERVICE_HALT_TIMEOUT
ASCII , 276
, 177
SERVICE_NAME
, 293
ASCII , 276
, 176, 177
, 185
SERVICE_RESTART
, 293
, 186
Serviceguard
, 210
, 24
Serviceguard , 35
Serviceguard
, 273
Serviceguard , 263
Serviceguard ,
227
Serviceguard , 210
Serviceguard , 23
ServiceGuard Manager
, 28
Serviceguard Manager, 32
Serviceguard Manager ,
226
Serviceguard Manager
, 263
Serviceguard , 46
495
Serviceguard , 46
Serviceguard , 24
SG-CFS-DG-id# , 168
SG-CFS-MP-id# , 168
SG-CFS-pkg , 168
SGCONF, 191
SMN , 75
SNA , 423
SPU
, 138
state
, 315
STATIONARY_IP
, 160
SUBNET
, 293
ASCII , 276
, 178
, 184, 185
T
TOC
, 128
U
uname(2), 420
UPS
, 146
HP-UX OPS , 55
USER_HOST, 163
USER_NAME, 163
USER_ROLE, 163
V
VERITAS
, 245
VERITAS
, 246
VERITAS , 243
VERITAS CFS , 64
VG
, 293
vgcfgbackup
, 240
496
VGCHANGE
, 293
vgextend
, 203
vgimport
, 218
VOLUME_GROUP
, 228
, 163
VxM-CVM-pkg , 168
VxVM, 119, 120
, 154
, 220
LVM VxVM , 459
VXVM_DG
, 293
VxVM-CVM , 75
VxVM-CVM-pkg, 255