Escolar Documentos
Profissional Documentos
Cultura Documentos
Contents
About This Course . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xix
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
12
12
13
13
14
14
15
16
16
16
17
17
19
19
110
111
111
111
112
112
114
114
115
115
116
116
116
116
117
117
118
118
118
118
119
119
120
.....
120
iii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
120
120
120
121
121
121
121
122
122
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
22
22
22
22
23
23
23
24
25
25
25
27
29
29
29
210
211
211
212
213
213
214
215
215
215
217
218
218
219
220
220
220
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
221
222
222
222
222
222
223
223
iv
32
32
32
32
33
33
33
35
310
310
310
310
311
314
315
315
320
323
325
325
325
326
326
327
331
335
338
341
341
344
350
356
361
367
368
370
373
373
373
374
376
v
....
376
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
377
377
378
379
379
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
42
42
42
42
43
43
43
43
44
45
46
46
46
48
49
413
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
416
417
417
417
422
422
422
423
424
424
424
425
426
427
427
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
52
52
52
52
53
53
53
54
vi
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
55
55
55
56
57
58
58
59
514
515
515
517
517
517
517
517
518
519
520
522
524
524
524
524
525
525
525
525
525
526
526
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
62
62
62
62
63
63
63
64
64
64
65
67
69
69
69
610
610
611
612
613
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
vii
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Test First . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Debugging Scripts in ASE . . . . . . . . . . . . . . . . .
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introducing Action Scripts . . . . . . . . . . . . . . . . .
Creating Action Scripts . . . . . . . . . . . . . . . . . . .
Testing and Debugging Action Scripts . . . . . . . .
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introducing Action Scripts: Exercise . . . . . . . . .
Introducing Action Scripts: Solution . . . . . . . . .
Creating Action Scripts: Exercise . . . . . . . . . . .
Creating Action Scripts: Solution . . . . . . . . . . .
Testing and Debugging Action Scripts: Exercise
Testing and Debugging Action Scripts: Solution
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
613
613
613
614
614
614
614
615
615
615
616
618
620
620
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
72
72
72
72
73
73
73
73
74
75
75
75
75
76
76
76
76
77
77
78
78
711
711
711
711
712
717
718
719
719
719
719
720
721
727
727
727
viii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
727
731
732
732
732
733
735
736
741
741
741
741
741
741
742
743
743
743
743
743
744
744
744
744
744
744
745
745
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
.......
Monitor
.......
.......
.......
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
82
82
82
82
83
83
83
84
84
85
85
86
86
87
811
815
815
815
815
816
816
816
816
ix
Services View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
What to Do when You See an Error . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Up the Cluster Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Cluster Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Launching Other Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Available Server Congurations with the Cluster
Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Up the Cluster Monitor: Exercise . . . . . . . . . . . . . . . . . . . . . .
Setting Up the Cluster Monitor: Solution . . . . . . . . . . . . . . . . . . . . . .
Using the Cluster Monitor: Exercise . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the Cluster Monitor: Solution . . . . . . . . . . . . . . . . . . . . . . . . . .
Launching Other Tools: Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Launching Other Tools: Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Available Server Congurations with the Cluster Monitor:
Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Available Server Congurations with the Cluster Monitor:
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
817
817
819
819
819
819
820
821
821
821
822
822
823
823
823
824
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
92
92
92
92
93
93
93
93
94
95
95
96
97
97
99
99
99
99
910
911
912
912
912
912
913
913
913
914
915
915
915
916
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
916
916
917
918
918
918
918
919
919
919
919
919
920
920
920
921
102
102
102
102
103
103
103
104
105
105
105
106
107
108
108
1010
1012
1012
1013
1015
1015
1016
1016
1017
1018
1019
1019
1019
1021
1021
1021
1022
1023
1024
1024
xi
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1024
1024
1024
1025
1025
1025
1025
1026
1026
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
112
112
112
112
113
113
115
116
117
118
119
1110
1112
1113
1114
1115
1116
1117
1118
1119
1119
1120
1121
1122
1123
1123
1124
1125
1125
1126
1126
1127
1127
1127
1128
1129
1130
1131
1132
1133
1134
1135
xii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Recognizing Common Problems . . . . . . . . . . . . . . . . . . . .
Applying TruCluster Conguration Guidelines . . . . . . . .
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TruCluster Message Interpretation: Exercise . . . . . . . . .
TruCluster Message Interpretation: Solution . . . . . . . . .
Problem Relocating Service: Exercise . . . . . . . . . . . . . . .
Problem Relocating Service: Solution . . . . . . . . . . . . . . .
SCSI ID Limits: Exercise . . . . . . . . . . . . . . . . . . . . . . . .
SCSI ID Limits: Solution . . . . . . . . . . . . . . . . . . . . . . . .
Applying TruCluster Conguration Guidelines: Exercise
Applying TruCluster Conguration Guidelines: Solution
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1136
1136
1136
1137
1137
1137
1137
1137
1137
1137
1138
1138
Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
122
1213
12 Test
Index
Examples
31
32
33
34
35
36
37
38
39
310
311
41
51
52
53
54
55
56
57
58
61
62
63
64
65
66
67
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
342
342
343
343
344
357
358
359
360
366
368
417
57
518
519
520
520
521
521
522
65
66
67
68
610
610
611
xiii
71
72
73
74
75
76
77
78
79
710
711
91
92
93
94
95
96
97
98
101
102
103
104
105
106
107
108
109
1010
111
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
79
710
712
718
720
721
727
733
733
735
737
95
95
96
96
97
98
910
911
1014
1015
1015
1016
1017
1017
1018
1019
1019
1020
1112
.
.
.
.
.
.
.
.
.
.
.
.
xxiii
17
110
114
27
210
212
216
35
36
36
37
Figures
1
11
12
13
21
22
23
24
31
32
33
34
xiv
35
36
37
38
39
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
41
71
38
39
39
312
313
314
317
318
319
320
330
330
333
337
340
341
346
347
348
349
353
354
356
363
365
365
370
372
47
74
xv
81
82
83
84
85
86
87
101
102
103
104
105
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
87
88
89
810
811
812
814
104
106
107
109
1011
xxvi
34
310
311
311
314
315
316
321
323
324
327
Tables
1
31
32
33
34
35
36
37
38
39
310
311
312
313
314
315
316
317
318
319
320
xvi
328
331
331
334
335
337
339
340
345
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
41
61
81
82
83
84
101
102
103
111
112
113
347
348
349
350
351
354
362
363
368
370
371
372
380
380
381
48
64
813
816
817
817
1012
1013
1014
114
1111
1119
xvii
xix
Course
Description
Target
Audience
xx
Prerequisites
To get the most from this course, students should be able to:
Course Goals
xxi
Nongoals
Course
Organization
xxii
Course Map
Understanding TruCluster
Software Interactions
Using the
Cluster Monitor
Configuring TruCluster
Available Server
Hardware
Testing, Recovering,
and Maintaining TruCluster
Configurations
Installing
TruCluster
Software
Troubleshooting
TruCluster
Configurations
Setting Up and
Managing ASE
Members
Resolving Common
TruCluster Problems
Writing and
Debugging Action
Scripts
ZKOX548112RGS
xxiii
Chapter
Descriptions
xxiv
Time Schedule
Day
Course Chapter
Lecture Hours
Lab Hours
0.5
1.5
.5
.5
.5
.5
.5
.5
xxv
Course
Conventions
Meaning
keyword
examples
command(x)
bold
key
[]
variable
...
xxvi
Resources
xxvii
1
Introducing TruCluster Available Server
Conguration and Management
Objectives
Resources
Reference Pages
Concurrently
active servers
All the systems and disks in the ASE are connected to at least one
shared SCSI bus. The services you set up in the ASE can use the
disks, but a service must have exclusive access to a disk. A service
runs on one system at a time, but any system can run a service.
Master/Standby
conguration
Transparent
NFS failover
Fast le system
recovery
Increased data
integrity
Global event
logging
You can log messages about events that occur in the ASE to one or
more systems. You can also receive notication of critical problems
through electronic mail.
Network
failover and
network
monitoring
Cluster Monitor
Product
Position
Hardware
Requirements
Software
Requirements
Sample
Available
Server
Conguration
Client
Client
Client
Server 1
Server 2
nfs_service
mail_service
dbase_service
Shared disks
on shared buses
login_service
SCSI
Controller
SCSI
Controller
SCSI
Controller
SCSI
Controller
Availability manager driver driver that supports serverto-server messages on the SCSI bus; reports I/O subsystem
failures to the Agent daemon
Director daemon
Logger
daemon
Client
Manager utility
Action
script
Action
script
Host status
monitor
daemon
Client
Host status
monitor
daemon
Agent
daemon
Agent
daemon
Action
script
Host status
monitor
daemon
Agent
daemon
Availability manager
driver
Availability manager
driver
Availability manager
driver
Member system
Member system
Member system
ZKOX381681RGS
ASE Services
NFS service
Disk service
User-dened service
You can use the asemgr utility to manually relocate a service from
one member system to another.
Storage conguration
Network
Conguration
Network conguration
Service Availability conguration
Storage
Conguration
Service
Availability
Conguration
Troubleshooting
Planning the
Configuration
Configuring
ASE
Services
Installing and
Configuring the
Hardware
Testing
ASE
Failover
Installing the
Base OS
Installing
TruCluster
Software
Monitoring and
Managing
an ASE
Troublishooting
TruCluster
Implementations
ZKOX548120RGS
Planning the
Available
Server
Conguration
Conguring
ASE Hardware
When conguring the hardware for the ASE, you must ask:
Is UPS required?
Installing and
Setting Up the
Base Operating
System
When setting up the base operating system, you must answer the
following questions:
Are there any licensing issues?
Installing the
TruCluster
Software
Conguring
ASE Services
Testing the
TruCluster
Software
Failover
Sequences
Monitoring
and Managing
Available
Server
Congurations
After your system has been running for awhile, you will be
performing maintenance tasks. The questions you may be asking
are:
How will I get status on services and members?
Troubleshooting
an Existing
Available
Server
Conguration
Summary
Summary
Introduction to
the Available
Server
Software
Conguring
the Available
Server
Software
Presenting
the TruCluster
Software
Availability manager driver driver that supports serverto-server messages on the SCSI bus; reports I/O subsystem
failures to the Agent daemon
Summary
Planning
Available
Server
Congurations
There are three main areas you need to consider when you plan a
TruCluster Software conguration:
Network conguration
Storage conguration
Determining
Conguration
and
Maintenance
Phases
Exercises
Exercises
Describing
the TruCluster
Available
Server
Software
Product:
Exercise
Describing
the TruCluster
Available
Server
Software
Product:
Solution
Software product.
2. Identify the TruCluster Software features.
3. Describe the TruCluster Softwares position in the Digital
Conguring
the TruCluster
Software:
Exercise
Conguring
the TruCluster
Software:
Solution
Exercises
Presenting
the TruCluster
Software:
Exercise
Presenting
the TruCluster
Software:
Solution
Planning
Available
Server
Congurations:
Exercise
Planning
Available
Server
Congurations:
Solution
Exercises
Determining
Conguration
and
Maintenance
Phases:
Exercise
Determining
Conguration
and
Maintenance
Phases:
Solution
2
Understanding TruCluster Software
Interactions
Objectives
Resources
Reference Pages
Independence
of Services
from Servers
Action Scripts
TruCluster
Software
Components
/usr/sbin/asedirector
The Director daemon has a global view of the state of the
services provided by the servers in the ASE domain. Only
one instance of the Director can run within a given domain;
the Agents collaborate to start a new instance if the member
running the Director goes down. The Director assigns
services to servers according to the state of the domain,
honoring preferences and constraints imposed by the system
administrator.
/usr/sbin/aseagent
The Agent daemon oversees a single ASE member server.
Each member runs an instance of the Agent, which maintains
a near real-time view of the status of its host, communicating
this information to the Director.
The Agent deduces the status of service availability from
information reported by the Host Status Monitor and the
Availability Manager. It starts and stops services on the local
member under the Directors direction. The Agent daemon
uses the Availability Manager driver interfaces to reserve
disks and to receive notication of lost reservations.
The Agents on each member system are responsible for
electing a Director. If an Agent exits, the rest of the ASE
members consider the affected server to be "down."
/usr/sbin/asehsm
The Host Status Monitor (HSM) daemon monitors the
up/down status of the other member nodes and the state
of the local network interfaces, reporting any changes to the
Agent. On the member where the Director is running, the
HSM reports to the Director as well. Each member node runs
a single instance of the HSM.
/usr/sbin/aselogger
The aselogger (Logger) daemon writes messages to the system
log les under /var/adm/syslog.dated. One instance of the
Logger can run on each server within the ASE, but the Logger
is not required to run on any member. However, running an
instance of the Logger on each ASE member is recommended.
ASE Driver
The ASE driver is a pseudodriver needed to support UFS le
systems exported from LSM volumes. If no UFS le systems
have LSM volumes assigned to them, the ASE driver is not
used.
/usr/sbin/asemgr
The asemgr is the user interface to the Director. The system
administrator can run the asemgr from any member node to
control the operation of the TruCluster Software. If more than
one instance of the asemgr is running within an ASE domain,
the state of the database is protected by locks.
Unlike the TruCluster Software daemons, the asemgr is
not run continuously. It can be accessed through a textbased interactive interface, and it can also be invoked
noninteractively, as from a script.
/usr/var/ase/config/asecdb
The asecdb is the binary database that describes all member
nodes and services known to the ASE. It is maintained using
the asemgr.
Action Scripts
Action Scripts act as the interface between the TruCluster
Software and the ASE services. To make an application ready
for use within an ASE, you rst write scripts to start and stop
the application. You can then use the asemgr to create the
service, assign the applications resources to the service, and
copy the Action Scripts to the ASE database. The TruCluster
Software invokes the script to restart the application in the
event of a failure. Since Action Scripts are copied into the ASE
database, editing the original does not alter the TruCluster
Softwares copy. Action Script templates are provided in the
/var/opt/ASE*/ase/lib directory.
TruCluster
Software
Component
Interaction
Cluster Monitor
The Cluster Monitor, contained in an optional software subset,
provides graphical assistance for the TruCluster Software
administration based on event reports from the TruCluster
Software.
ASE Member 1
ASE Member 2
ICMP
Network Pings
ICMP
AM/CAM
Kernel
SCSI Pings
AM/CAM
aseagent
asemgr
commands
Kernel
asecdb
asecdb
action
scripts
asehsm
asedirector
action
scripts
aseagent
aselogger
asehsm
aselogger
ZKOX548122RGS
Failure Events
that Trigger a
Response
The TruCluster Software uses the ICMP term ping to describe this
interaction.
Member Node
Failure
I/O Bus
Local
Host
Remote
Host
Network
ZKOX3927102RGS
When a system crashes, the failed node does not run any of the
stop scripts for the services that it was running. Consequently,
when the member becomes available again, the ASE Agent will
run all of the stop scripts for each service in the ASE database to
be sure that any necessary "clean-up" has been performed.
SCSI Bus
Failures
The TruCluster Software uses the SCSI buses for two purposes:
carrying I/O to devices, and communicating state information
between servers. A failure of a SCSI bus is not necessarily a
reason to invoke a failover. If another working bus is available,
the server state information can pass over it just as well. If there
are no storage devices in active use on a failed bus, there is no
reason to fail over services associated with those devices (the bus
may become available before a disk I/O arrives). Furthermore,
an unresponding disk may belong to an LSM mirrored volume,
in which case LSM may be able to eld the failure, avoiding a
failover. This line of reasoning leads to the establishment of the
following conditions as being necessary and sufcient to initiate a
failover on a SCSI bus:
Device failure
Critical SCSI
Path Failure
I/O Bus
Local
Host
Remote
Host
Network
ZKOX3927103RGS
Device Failure
ASE_PARTIAL
_MIRRORING
Parameter
Network
Failures
A network ping has timed out because the network ping has
failed
Network
Interface
Failure
Response
Network
Partition
Response
Monitored
Network
Failures
Service
Failover
ASE Domain
/usr/users
/sources
/spool/mail
SCSI
ASE Member 1
ASE Member 2
ASE Member 3
NFS Service
mail
NFS Service
sources
NFS Service
users
Network
NFS Client
NFS Client
ZKOX3927105RGS
Note
Reserving
Devices
complete.
If the call to open or the attempt to rereserve the device failed, the
Agent sends an ASE_RESERVATION_FAILURE message to the Director,
and the Director simply writes a log message in the daemon.log
le. No action is taken until a service actually tries to write to a
device only at that time does the TruCluster Software decide
what, if anything, to do.
Choosing a
New Director
Director on each.
2. If no Director is found, it walks down the list a second time
Action Script
Errors
LSM and
TruCluster
Failover
Summary
Summary
Introducing
Highly
Available
Services
Introducing
the TruCluster
Software
Components
Summary
Understanding
TruCluster
Software
Failure
Detection and
Response
Exercises
Exercises
Introducing
Highly
Available
Services:
Exercise
Introducing
Highly
Available
Services:
Solution
Introducing
the TruCluster
Software
Components:
Exercise
Introducing
the TruCluster
Software
Components:
Solution
Exercises
TruCluster
Software
Failure
Detection and
Response:
Exercise
TruCluster
Software
Failure
Detection and
Response:
Solution
3
Conguring TruCluster Available Server
Hardware
Objectives
Resources
Examining TruCluster Available Server General Hardware Conguration Rules and Restrictions
Rules and
Restrictions
Examining TruCluster Available Server General Hardware Conguration Rules and Restrictions
The bus length includes the bus length within the system
and host adapter and any storage box. Table 31 provides
some SCSI bus lengths you must consider for Available Server
congurations.
Table 31 SCSI Bus Lengths in Some Devices and Systems
Device
BA350
0.9 meter
BA353
0.9 meter
BA356
1.0 meter
DEC 7000
0.8 meter
DEC 10000
0.8 meter
Examining TruCluster Available Server General Hardware Conguration Rules and Restrictions
SCSI Bus
Overview
SingleEnded
Host Adapter
SingleEnded Bus
DWZZA
Differential Bus
Differential
Device
ZKOX441853RGS
Examining TruCluster Available Server General Hardware Conguration Rules and Restrictions
A SCSI bus can consist of multiple SCSI buses, but each SCSI
bus must be terminated on each end of the bus.
Note
SingleEnded
Host Adapter
Differential
Host Adapter
Singleended Bus
Bus length = 6 meters (slow)
3 meters (fast)
Differential Bus
SingleEnded
Device
Differential
Device
Host adapters and devices may be added to the SCSI bus as long
as the bus is only terminated at the bus ends. In Figure 34, a
host adapter has been added to the middle of the bus. Note that
the host adapter termination has been removed from the host
adapter in the middle of the bus.
Examining TruCluster Available Server General Hardware Conguration Rules and Restrictions
SingleEnded
Host Adapter
SingleEnded Bus
SingleEnded
Device
Differential
Device
T
SingleEnded
Host Adpater
Differential
Host Adapter
Differential Bus
T
Differential
Host Adapter
ZKOX392704RGS
Examining TruCluster Available Server General Hardware Conguration Rules and Restrictions
SingleEnded
Host Adapter
Differential
Host Adapter
Differential
Host Adapter
SingleEnded
Host Adapter
SingleEnded Bus
DWZZA
SingleEnded
Bus
DWZZA
DWZZA
DWZZB
T
Differential
Bus
Differential Bus
DWZZA
Differential
Device
SingleEnded
Device
SingleEnded
Device
SingleEnded
Device
SingleEnded
Bus
ZKOX441825RGS
Examining TruCluster Available Server General Hardware Conguration Rules and Restrictions
In Figure 36, "Y" cables are used to terminate the SCSI bus
external to the host adapter and device. Either host adapter
can be removed from the SCSI bus without disrupting SCSI bus
operation by removing the "Y" cable from the host adapter. Notice
that host adapter and device internal termination is removed
when external termination is used.
Figure 36 Using External Termination on the SCSI Bus
"Y" Cable
Differential
Host Adapter
"Y" Cable
T
Differential
Bus
Differential
Device
Differential
Bus
"Y" Cable
T
Differential
Host Adapter
ZKOX392706RGS
"Y" Cable
T
Differential
Bus
Differential
Device
Differential
Bus
"Y" Cable
T
Differential
Host Adapter
ZKOX392708RGS
TruCluster
Available
Server
Supported
Systems
System Type
Minimum
Firmware
Revision
4.5-0
I/O Bus
SCSI
Controller
PCI
KZPSA-BB
PCI
KZPSA-BB
4.5-69
4.5-72
PCI
KZPSA-BB
4.5-51
PCI
KZPSA-BB
4.5-51
PCI
KZPSA-BB
4.5-60
PCI
KZPSA-BB
4.5-64
PCI
KZPSA-BB
6.7
TURBOchannel
PMAZC
KZTSA
2.0
PCI
KZPSA-BB
2.0
PCI
KZPSA-BB
4.4
XMI
KZMSA
3.1
PCI
KSPSA
4.4
XMI
KZMSA
1 Firmware
2 Firmware
DECsafe
Supported
SCSI
Controllers
Controller
Minimum
Firmware
Revision
Minimum
Hardware
Revision
Number of
SCSI Ports
/Channels
Applicable System
Data Path
KZMSA
5.6
F03
Two
KZPSA2
AlphaServers
Fast, Wide,
Differential
A10
F01
One
KZTSA
Fast, Wide,
Differential
A09
F01
One
PMAZC1
1.8
N/A
Two
1 If
you have a DECsafe conguration that includes a KZMSA XMI to SCSI adapter or a PMAZC TURBOchannel SCSI
controller, you can have only three systems in the conguration.
2 You
3 If
must have the Version 1.1 Firmware Update utility and the Version 1.0 Conguration Diagnostics utility.
you change the PMAZC rmware revision, the SCSI ID and bus speed may be reset to the default of 7 and slow.
BA350, BA353,
and BA356
Storage
Expansion
Units
Data Path
BA350
Single-ended,
narrow
.9 meter
BA353
Single-ended,
narrow
.9 meter
BA356
Single-ended,
wide
1.0 meter
BA350
JA1
0
T
1
4
J
5
POWER (7)
ZKOX392701RGS
BA353
on
3
Left
off
on
SCSI Output
.........................
.........................
3
Center
off
on
SCSI Input
.........................
.........................
3
Right
off
ZKOX392710RGS
The BA353 has an internal SCSI bus and internal SCSI bus
termination on the output end of the bus. If a cable (BN21H) is
connected to the output connector to connect two BA353 boxes
together, the termination is disabled. There are circumstances
that require the installation of a terminator on the BA353 SCSI
input connector.
BA356
Figure 310 shows the relative locations of the BA356 SCSI bus
jumper and the position for storing the SCSI bus jumper if you
do install the terminator. For Available Server operations, the
jumper, J, should always be installed.
Figure 310 BA356 Storage Shelf SCSI Bus
JB1
JA1
J/T
5
J
6
POWER (7)
ZKOX441811RGS
Note that JA1 and JB1 are located on the personality module
(in the top of the box when it is standing vertically). JB1, on
the front of the module, is visible. JA1 is on the left side of the
personality module as you face the front of the BA356, and is
hidden from the normal view.
Supported
Controllers
for DEC RAID
Subsystems
HSZ10
Data Path
N/A
Controller
Wide
HSZ40-Ax
Wide
HSZ40-Bx
2.5
Wide
HSZ40-Cx
2.5
Wide
1 The
HSZ10 must be used in a TruCluster Available Server environment that uses only
PMAZC SCSI controllers.
2 TruCluster Available Server Software supports dual-redundant HSZ40 congurations.
Both HSZ40 controllers must be on the same shared SCSI bus.
Supported Disk
Devices
Table 36 lists supported disk devices. The RZ series of singleended disks can be housed in the BA350, BA353, or BA356
storage expansion units or HSZ40 DEC RAID controllers.
Table 36 TruCluster Available Server Supported Disk Devices
Disk
Data Path
RZ26
Narrow
RZ26L
442D
Narrow
RZ26L
442E
Wide
RZ26N
0466 or later
Narrow
RZ26N
0568 or later
Wide
RZ28
442C
Narrow
RZ28
442E
Wide
RZ28B
0006 or later
Narrow
RZ28D
0008 or later
RZ28M
0466 or later
Narrow
RZ28M
0568 or later
Wide
RZ29B
Signal
Converters
Firmware Revision
Supported
0011 or later
Narrow
Hardware
Converter
Connectors
Revision
Single-ended
Differential
Comments
DWZZA-AA
E01 or later
68-pin high
density
DWZZA-VA1
F01 or later
StorageWorks
compatible
96-pin DIN
connector; plugs
into BA350 or
BA353 backplane
connector
68-pin high
density
DWZZB-AA3
A01 or later
68-pin high
density
68-pin high
density
DWZZB-VW3
A01 or later
StorageWorks
compatible 96-pin
DIN connector;
plugs into
BA356 backplane
connector
68-pin high
density
1 DWZZA-AAs
and DWZZA-VAs with serial numbers in the range of CX444xxxxx to CX449xxxxx must be upgraded. See
FCO DWZZA-AA-F002 or DWZZA-VA-F001.
2 If you plug a DWZZA-VA into any BA350 slot other than slot 0, you must install external terminator P/N 12-37004-04
into the JA1 connector and remove the DWZZA-VAs internal, single-ended termination.
3 The
DWZZB-series SCSI bus converters are SCSI-2 and draft SCSI-3 compliant single-ended SCSI to differential 16-bit
converters capable of data transfer rates of up to 20M bytes/s.
4 If
you plug a DWZZB-VW into any BA356 slot other than slot 0, you must install external terminator P/N 12-41768-02
(FR-PCXAR-WJ) into the JA1 connector and remove the DWZZA-VAs internal, single-ended termination.
DWZZA-AA
Differential
Terminator
Resistor SIPs
J2
50Pin
LowDensity
SingleEnded
Connector
68Pin
HighDensity
Differential
Connector
ZKOX441819RGS
DWZZA-VA
Note
Differential
Terminator
Resistor SIPs
J2
96Pin
SingleEnded
Connector
68Pin
HighDensity
Differential
Connector
ZKOX441820RGS
DWZZB-AA
68Pin
SingleEnded
Connector
Differential
Terminator
Resistor SIPs
68Pin
Differential
Connector
W1
W2
SingleEnded
SCSI2 Termination
ZKOX441821RGS
DWZZB-VW
Differential
Terminator
Resistor SIPs
96Pin
SingleEnded
Connector
W1
W2
SingleEnded
SCSI2 Termination
68Pin
Differential
Connector
ZKOX441822RGS
SCSI
Cables and
Terminators
for Available
Server
Congurations
You must know the proper cable to use for a particular connection.
Always check the part number on the cable before you make the
connection.
One of the most critical aspects of cabling an Available Server
conguration is providing proper termination for each segment of
the SCSI bus.
There are congurations that require the use of a special
connector that provides for the connection of both a cable and a
terminator.
Table 38 describes cables supported for use in an Available
Server conguration.
Cable Connectors
Use
BC06P
50Pin
Low Density
BC06P Series
50Pin
Low Density
ZKOX392722RGS
BN21H/BN21J
50Pin
High Density
BN21H Series
50Pin
High Density
ZKOX392712RGS
BN21K,
BN21L
ZKOX392723RGS
BN21R
/BN23G
ZKOX392724RGS
Cable Connectors
Use
BN21V-0B "Y"
Cable
ZKOX392725RGS
BN21W-0B
"Y" Cable
ZKOX392726RGS
Number of
Pins
Density
Use
H8574-A or
H8860-AA
50
Low
H879-AA
68
High
12-37004-04
50
High
Three
connectors,
each with 68
pins
High
Rear View
Front View
ZKOX392727RGS
Note
Network
Options
Network Type
DEFEA
EISA
FDDI
DE422
EISA
Lance Ethernet
DE425
EISA
Ethernet
DEFPA
PCI
FDDI
DE4351
PCI
Ethernet
DE500-XB
PCI
Fast Ethernet
DEMFA
XMI
FDDI
DEMNA
XMI
Ethernet
PMAD
TURBOchannel
Ethernet
DEFTA
TURBOchannel
FDDI
DEFZA
TURBOchannel
FDDI
1 Occasional
What are the constraints for the placement of the systems and
storage devices? In other words, how long is the shared SCSI
bus? If you are using PMAZCs, do you have to run slow SCSI?
Installing
the Network
Interfaces
Firmware
Update
Log in as root.
# cp "/mnt/cdrom/doc/alpha_2100_v45_relnote.txt" alpha_2100_v45_relnote.txt
Starting Your
TruCluster
Available
Server
Conguration
Refer to:
Setting Up a
Single-Ended
Available
Server
Conguration
for Use with
PMAZCs and
a BA350 or
BA353
Note
Action
Refer to:
For each system using a PMAZC on the shared bus, shut down the
system and install the PMAZC.
Turn on system power and set the PMAZC SCSI ID and speed if
necessary.
Turn off system power and remove jumper W1. Store it on an empty
jumper rest.
Figure 320
For any system containing a PMAZC on either end of the shared bus,
attach an H8574-A terminator to one leg of the "Y" cable.
Table 312 (Cont.) PMAZC SCSI Controllers and a BA350 or BA353 with Single-Ended
Available Server Conguration
Step
8
Action
Refer to:
Figure 38 (BA350)
Figure 39 (BA353)
Figure 38 (BA350)
Figure 39 (BA353)
Figure 315 Available Server Conguration with Two DEC 3000 Model
500 Systems and a Single-Ended Shared Bus with a
BA350
Network Interface
DEC 3000 Model 500
T
3
0
1
2
PMAZC
PMAZC
BA350
H8574A BN21V0B
Terminator "Y" Cable
BN21R or
BN23G
Cable
BN21V0B
"Y" Cable
H8574A
Terminator
ZKOX392711RGS
Figure 316 Available Server Conguration with Two DEC 3000 Model
500 Systems and Two Single-Ended Shared Buses Each
with a BA350
Network Interface
H8574A
Terminator
BN21R or
BN23G
Cable
BN21R or
BN23G
Cable
BN21V0B
"Y" Cable
PMAZC
4
1
BA350
BN21V0B
"Y" Cable
PMAZC
BA350
H8574A
Terminator
Table 313 Hardware Needed for a Single-Ended Available Server Conguration with PMAZC
SCSI Controllers and a BA350 or BA353 (No DWZZAs)
BN21R or BN23G
SCSI Cable
H8574-A Terminator
2
BA350 or
BA353 in
Middle of
Bus
BA350 or
BA353 on
Bus End
BA350 or
BA353 in
Middle of
Bus
BA350 or
BA353 on
Bus End
BA3502 or
BA353 in
Middle of
Bus
Number of
Systems 1
BN21V-0B
"Y" Cables
BA350 or
BA353 on
Bus End
1 You
can have only three systems in an Available Server conguration that include a PMAZC SCSI controller.
2 BA350
Setting Up a
Differential
Available
Server
Conguration
for Use with
PMAZCs and
a BA350 or
BA353
Note
Table 314 Setting Up an Available Server Conguration with PMAZC SCSI Controllers and a
BA350 or BA353 in a Differential Available Server Conguration
Step
Action
Refer to:
For each system using a PMAZC on the shared bus, shut down the
system and install the PMAZC.
Figure 320
Turn on system power and set the SCSI ID and speed as necessary.
Example 31,
Example 32, and
Example 34
Table 314 (Cont.) Setting Up an Available Server Conguration with PMAZC SCSI Controllers
and a BA350 or BA353 in a Differential Available Server Conguration
Step
Action
Refer to:
Turn off system power and remove jumper W1. Store it on an empty
jumper rest.
Figure 320
You will need one DWZZA-AA for each system with a PMAZC SCSI
controller and one DWZZA for the BA350 or BA353. You can use a
DWZZA-VA for the BA350 or BA353.
For each DWZZA, remove the ve differential terminator resistor SIPs.
Figure 311
Figure 311
Figure 39
Connect a BN21R or BN23G cable between each PMAZC and the singleended connector of a DWZZA-AA.
Figure 38
Figure 39
You will need one less BN21R (or BN23G) cable if you are using a
DWZZA-VA.
(continued on next page)
Table 314 (Cont.) Setting Up an Available Server Conguration with PMAZC SCSI Controllers
and a BA350 or BA353 in a Differential Available Server Conguration
Step
Action
Refer to:
10
Connect a BN21K or BN21L cable between the BN21W-0B "Y" (or H885AA tri-link connector) of all the DWZZAs. Start at the "Y" connector
or H885-AA tri-link on one end of the differential bus (one with a
terminator) and daisy-chain until you reach the "Y" connector or trilink with the other terminator. The number of these cables will be
the same as the number of PMAZC controllers in the Available Server
conguration.
11
Ensure that the BA350 terminator and SCSI jumper are both installed.
Figure 38
PMAZC
PMAZC
PMAZC
BN21R
or BN23G
Cable
2
3
4
BN21R
or BN23G
Cable
BA350
BN21K or BN21L
SCSI Differential
Cable
H885AA Trilink Connector
with H879AA Terminator
ZKOX392713RGS
Table 315 Hardware Needed for a Differential Available Server Conguration with PMAZC or
KZMSA SCSI Controllers and a BA350 or BA353
BN21R or BN23G
SCSI Cables
Number of
Systems 1
DWZZA-AA
or
DWZZA-VA 2
BN21W-0B "Y"
Cables or
H855-AA Tri-link
Connectors
H789-AA
Terminators
BN21K
or
BN21L
Cables
Using a
DWZZA-VA3
No
DWZZA-VA
1 You
can have only three systems in an Available Server conguration that include a PMAZC SCSI controller or KZMSA
XMI to SCSI adapter.
2 One
3 If
Setting Up a
Differential
Available
Server
Conguration
for Use with
PMAZCs and a
BA356
Note
Table 316 Setting Up an Available Server Conguration with PMAZC SCSI Controllers and a
BA356 in a Differential Available Server Conguration
Step
Action
Refer to:
For each system using a PMAZC on the shared bus, shut down the
system and install the PMAZC.
Figure 320
Turn on system power and set the SCSI ID and speed as necessary.
Example 31,
Example 32, and
Example 34
Turn off system power and remove jumper W1. Store it on an empty
jumper rest.
Figure 320
You will need one DWZZA-AA for each PMAZC on the shared SCSI bus
and a DWZZB for the BA356. You can use a DWZZB-AA, or DWZZB-VW
on the BA356 end of the shared SCSI bus.
(continued on next page)
Table 316 (Cont.) Setting Up an Available Server Conguration with PMAZC SCSI Controllers
and a BA356 in a Differential Available Server Conguration
Step
Action
Refer to:
Figure 313 or
Figure 314
Figure 311
Figure 313
Figure 314
Connect a BN21R or BN23G cable between each PMAZC and the singleended connector of a DWZZA-AA.
10
Connect a BN21K or BN21L cable between the BN21W-0B "Y" (or H885AA tri-link connector) of all the DWZZ*s. Start at the "Y" connector
or H885-AA tri-link on one end of the differential bus (one with a
terminator) and daisy-chain until you reach the "Y" connector or trilink with the other terminator. The number of these cables will be
the same as the number of PMAZC controllers in the Available Server
conguration.
11
Figure 310
PMAZC
PMAZC
PMAZC
BN21R
or BN23G
Cable
2
3
4
BN21R
or BN23G
Cable
BA356
BN21K or BN21L
SCSI Differential
Cable
DWZZAAA
T
DWZZAAA
DWZZAAA
ZKOX548102RGS
H789-AA
Terminators
BN21R
or
BN23G
SCSI
Cables
Using a
DWZZB-AA
No
DWZZB-AA
Number of
Systems 1
DWZZ*
1 You
can have only three systems in an Available Server conguration that include a PMAZC SCSI controller or KZMSA
XMI to SCSI adapter.
2 There
must be one DWZZA-AA for each system in the Available Server conguration. The other DWZZ* may be a
DWZZB-AA or DWZZB-VW.
3 If you do not use a DWZZB-AA, install the DWZZB-VW in BA356 slot 0.
Setting Up
an Available
Server
Conguration
for Use with
PMAZCs and
an HSZ40
Note
Table 318 Setting Up a Available Server Conguration with PMAZC SCSI Controllers and an
HSZ10 or HSZ40
Step
Action
Refer to:
For each system using a PMAZC on the shared bus, shut down the
system and install the PMAZC.
Figure 320
Turn on system power and set the SCSI ID and speed as necessary.
Turn off system power and remove jumper W1. Store it on an empty
jumper rest.
Figure 320
You will need one DWZZA-AA for each PMAZC SCSI controller.
Figure 311
Figure 319 Available Server Conguration with Two DEC 3000 Model
500 Systems with PMAZC SCSI Controllers and an
HSZ40
Network Interface
DEC 3000 Model 500
PMAZC
4
PMAZC
4
BN21R or
BN23G
Cable
H885AA
Trilink
Connector
with
H879AA
Terminator
T
T
DWZZAAA
DWZZAAA
H885AA Trilink Connector
with H879AA Terminator
BN21K or
BN21L
Cable
BN21K or
BN21L
Cable
ZKOX392714RGS
Number of
Systems 1
DWZZA-AA
BN21W-0B
"Y" Cables or
H855-AA Tri-link
Connectors
H789-AA
Terminators
BN21K or
BN21L Cables
BN21R or BN23G
Cables
1 You
can have only three systems in an Available Server conguration that include a PMAZC SCSI controller or a
KZMSA XMI to SCSI adapter.
PMAZC Dual
SCSI Module
Jumpers
MLO-009707
Verifying and
Setting PMAZC
and KZTSA
SCSI ID and
Bus Speed
DEVNAM
-------CPU
OSC
ASIC
MEM
DEVSTAT
------OK KN15-AA -V5.1-5748-t19D-sV;.?-DECchip 21064 P2.1
150 MHZ
OK
OK
8
CXT
OK
NVR
SCC
NI
ISDN
OK
OK
OK
OK
SCSI
TC1
TC0
TC3
OK
6
1-PMAZC-AA
0-PMAZC-AA
3-KZTSA-AA
>>>
(SCSI = 7, Slow)
-------------------------------------------------DEV
PID
VID
REV
SCSI DEV
======= ================ ======== ======= ========
dka0000 HSZ40-Bx (C) DEC DEC
V21Z
DIR
dka0100 RZ28
(C) DEC DEC
442D
DIR
dka0300 RZ28B
(C) DEC DEC
0006
DIR
>>>
To set the SCSI ID or bus speed for both PMAZC ports, use the t
command with the following format:
t tc# setid x y
The number sign (#) is the TURBOchannel slot, x is the SCSI ID
or speed (s = slow and f = fast) for port A and y is the SCSI ID or
speed for port B.
Example 34 shows commands for setting the SCSI ID to 6
for both ports and setting the speed to fast for the PMAZC in
TURBOchannel slot 1, then verifying the changes.
Example 34 Setting PMAZC SCSI ID and Bus Speed
Use the same command to set the SCSI ID or bus speed for the
KZTSA, except that the KZTSA has only one port. Example 35
shows how to set the SCSI ID to 5 and set bus speed to fast for
the KZTSA in TURBOchannel slot 1.
Note in Example 35, that after you change the KZTSA SCSI ID,
you must reset the SCSI bus to effect the ID change. The SCSI
bus reset is not needed to change the speed.
Example 35 Setting KZTSA SCSI ID and Bus Speed
>>>
>>>
>>>
DEC
t tc3 setid 5
t tc3 setid f
t tc3 cnfg
KZTSA-AA A09
(SCSI = 7, Fast)
-------------------------------------------------DEV
PID
VID
REV
SCSI DEV
======= ================ ======== ======= ========
dka0000 HSZ40-Bx (C) DEC DEC
V21Z
DIR
dka0100 RZ28
(C) DEC DEC
D41C
DIR
dka0300 RZ28B
(C) DEC DEC
0006
DIR
>>>INIT
>>> t tc3 cnfg
DEC KZTSA-AA A09
(SCSI = 5, Fast)
-------------------------------------------------DEV
PID
VID
REV
SCSI DEV
======= ================ ======== ======= ========
dka0000 HSZ40-Bx (C) DEC DEC
V21Z
DIR
dka0100 RZ28
(C) DEC DEC
D41C
DIR
dka0300 RZ28B
(C) DEC DEC
0006
DIR
>>>
Setting Up
an Available
Server
Conguration
Using a KZTSA
TURBOchannel
to SCSI
Adapter
Action
Refer to:
For each DEC 3000 system that will have a KZTSA on the shared
SCSI bus, shut down the system and install the KZTSA.
Disable the KZTSA internal SCSI termination by removing the J1, J2,
J3, J6, and J7 terminator packs.
Figure 324
The default SCSI ID for a KZTSA is 7. Turn on the system power and
set the KZTSA SCSI ID if necessary.
Connect an H879-AA terminator to one leg of each "Y" cable or trilink connector of the two controllers or the device (KZTSA, BA350, or
BA353) that will be on the end of the shared bus.
Table 320 (Cont.) Setting Up an Available Server Conguration with KZTSA TURBOchannel to
SCSI Adapters and a BA350, BA353, or BA356
Step
Action
Refer to:
Ensure that the BA350 terminator and SCSI jumper are both
installed.
Figure 38
Figure 310
Figure 39
1
2
BN21K or
BN21L
Cable
H885AA
Trilink
Connector
With H879AA
Terminator
3
4
T
T
KZTSA
H885AA
Trilink
Connector
With H879AA
Terminator
KZTSA
BA350
Ethernet Interface
DWZZBVW
With H885AA
Trilink Connector
BN21K or
BN21L
Cable
BN21K or
BN21L
Cable
1
2
H885AA
Trilink
Connector
With H879AA
Terminator
3
4
T
T
KZTSA
H885AA
Trilink
Connector
With H879AA
Terminator
KZTSA
BA356
Table 321 Hardware Needed for a KZPSA or KZTSA and BA350, BA353, or BA356 Available
Server Conguration
Number of
Systems
BN21W-0B
"Y" Cables or
H885-AA Tri-link
Connectors
H789-AA
Terminators
BN21K or
BN21L SCSI
Cables
DWZZA-AA
and BN21R
or BN23G
Cable 1;2
DWZZA-VA 1;3 or
DWZZB-VW 1
1 Use
2 The
3 If
either a DWZZA-AA or DWZZA-VA with a BA350 or BA353. Use a DWZZB-VW with a BA356.
BN21R (BN23G) cable is not needed if you use a DWZZA-VA or DWZZB-VW.
you use a DWZZA-VA with a BA353, you need a 12-37004-04 terminator installed on the BA353 SCSI input connector.
Table 322 Setting Up an Available Server Conguration with KZTSA TURBOchannel to SCSI
Adapters and an HSZ40
Step
Action
Refer to:
For each DEC 3000 system that will have a KZTSA on the shared
SCSI bus, shut down the system and install the KZTSA.
Disable the KZTSA internal SCSI termination by removing the J1, J2,
J3, J6, and J7 terminator packs.
Figure 324
The default SCSI ID for a KZTSA is 7. Turn on the system power and
set the KZTSA SCSI ID if necessary.
Figure 323 Two DEC 3000 Model 500 Systems with KZTSA
TURBOchannel SCSI Adapters in an Available Server
Conguration with an HSZ40
H885AA
Trilink
Connector
Network Interface
H879AA
Terminator
BN21K
or
BN21L
Cable
BN21K
or
BN21L
Cable
H885AA Trilink
Connector with
H879AA
Terminator
T
KZTSA
KZTSA
H885AA Trilink
Connector with
H879AA
Terminator
H879-AA
Terminator
BN21K or
BN21L SCSI
Cable
2
2
J1
J2
J6
J3
J7
1
6
NUO_010_000581_09_RGS
7
8
Setting Up
an Available
Server
Conguration
with KZMSA
SCSI
Controllers
Revision
23-368E9-01
F01
23-386E9-01
F02
23-419E9-01
F03
Table 325 Setting Up an Available Server Conguration with KZMSA XMI to SCSI Adapters
and a BA350, BA353, or BA356
Step
Action
Refer to:
For each DEC 7000 or DEC 10000 system using a KZMSA on the
shared bus, shut down the system and install the KZMSA in an XMI
slot, keeping in mind that all SCSI controllers on the shared SCSI bus
in an Available Server conguration must be on the same logical SCSI
bus.
KZMSA Adapter
Installation Guide
Example 36
Example 37,
Example 38
Example 37,
Example 39
Enable the Disable Reset conguration option for any KZMSA channel
that will be used for a shared SCSI bus and disable the option for any
channel not used on a shared SCSI bus.
Example 37,
Example 39
Example 37,
Example 39
You will need one DWZZA-AA for each KZMSA on the shared SCSI
bus and a DWZZ* for the BA350, BA353, or BA356.
For each DWZZ*, remove the ve differential terminator resistor SIPs.
For each DWZZA-AA, ensure that the single-ended SCSI termination
jumper, J2, is installed to provide termination for the single-ended
SCSI bus segment.
Figure 311
Figure 312
Figure 314
Figure 313
Table 325 (Cont.) Setting Up an Available Server Conguration with KZMSA XMI to SCSI
Adapters and a BA350, BA353, or BA356
Step
Action
Refer to:
Ensure that the BA350 terminator and SCSI jumper are both
installed. Ensure that the BA356 SCSI jumper is installed.
Figure 38 and
Figure 310
Figure 39
Figure 325 Available Server Conguration with Two DEC 7000 with
KZMSA XMI SCSI Adapters and a BA350
Network Interface
T
0
1
2
BN21R
or
BN23G
Cable
3
4
5
KZMSA
DWZZAAA
DWZZAAA
DEC 7000
BN21R
or
BN23G
Cable
KZMSA
BA350
H885AA Trilink
Connector
T
BN21K
or
BN21L
Cable
H885AA Trilink
Connector With
H879AA Terminator
DEC 7000
DWZZAAA
BN21R
or
BN23G
Cable
ZKOX392717RGS
Figure 326 Available Server Conguration with Two DEC 7000 with
KZMSA XMI SCSI Adapters and a BA356
Network Interface
1
2
3
4
KZMSA
KZMSA
BA356
DEC 7000
BN21R
or
BN23G
Cable
DWZZAAA
BN21K
or
BN21L
Cable
DEC 7000
DWZZAAA
BN21R
or
BN23G
Cable
ZKOX548107RGS
Action
Refer to:
For each DEC 7000 or DEC 10000 system using a KZMSA on the
shared bus, shut down the system and install the KZMSA in an XMI
slot, keeping in mind that all SCSI controllers on the shared SCSI bus
in a Available Server conguration must be on the same logical SCSI
bus.
KZMSA Adapter
Installation Guide
Table 326 (Cont.) Setting Up an Available Server Conguration with KZMSA XMI to SCSI
Adapters and an HSZ40
Step
Refer to:
Example 36
Example 37, 38
Example 37, 39
Enable the Disable Reset conguration option for any KZMSA channel
that will be used for a shared SCSI bus and disable the option for any
channel not used on a shared SCSI bus.
Example 37, 39
Action
Example 37, 39
You will need a DWZZA-AA for each KZMSA XMI to SCSI adapter in
the Available Server conguration.
Figure 311
Install an H879-AA differential terminator on one leg of the BN21W0B "Y" cables or H885-AA tri-link connectors for the two adapters or
the device that will be on the ends of the shared SCSI bus.
H885AA
Trilink
Connector
With
H879AA
Terminator
KZMSA
KZMSA
DEC 7000
BN21R
or
BN23G
Cable
DEC 7000
BN21K or BN21L
Cable
DWZZAAA
H885AA Trilink
Connector With
H879AA Terminator
DWZZAAA
BN21R
or
BN23G
Cable
H885AA Trilink
Connector
ZKOX392718RGS
Preparing a
KZMSA for Use
in an Available
Server
Environment
If you are using a DEC 7000 or DEC 10000 system with a KZMSA
in your Available Server conguration, you may have to update
the KZMSA rmware, change the SCSI ID or bus speed, or enable
or disable the Disable Reset option.
For the DEC 7000 and DEC 10000 systems, use the Loadable
Firmware Update (LFU) utility to perform these hardware
tasks. Shut down the system then load the LFU, as shown in
Example 36.
1
1
>>> show device kzmsa0
polling for units on kzmsa0, slot2, xmi0...
dka100.1.0.2.0 dka100 RRD42
>>> boot DKA100 -flag 0,80 2
Booting...
****** Loadable Firmware Update Utility ******
-------------------------------------------------------------Function
Description
-------------------------------------------------------------Display
Exit
List
Function? display 1
Name
Type
LSB
0+ KN7AA
(8001)
5+ MS7AA
(4000)
7+ MS7AA
(4000)
8+ IOP
(2000)
C0
8+
B+
C+
E+
Rev
Mnemonic FW Rev
HW Rev
0000
0000
0000
0001
kn7aa0
ms7aa0
ms7aa1
iop0
1.0
N/A
N/A
N/A
E04
A01
A01
A
XMI
DWLMA
KZMSA
KZMSA
DEMNA
(102A)
(0C36)
(0C36)
(0C03)
xmi0
A5A6
5143
5143
060B
dwlma0 N/A
kzmsa02 4.3
kzmsa12 4.3
demna0 6.8
A
F01
F01
C1 XMI
1+ KZMSA
2+ KZMSA
8+ DWLMA
Function?
(0C36)
(0C36)
(102A)
5343
5343
A5A6
kzmsa23 4.3
kzmsa33 4.3
dwlma1 N/A
F03
F03
A
kzmsa0 and kzmsa1 have the revision 4.3 rmware and the
revision F01 hardware.
kzmsa2 and kzmsa3 have the revision 4.3 rmware and the
revision F03 hardware.
Return
WARNING: updates may take several minutes to complete for each device.
DO NOT ABORT!
kzmsa2 Updating to 5.6... Reading Device... Verifying 5.6... PASSED.
Function? display 2
Name
Type
LSB
0+ KN7AA
(8001)
5+ MS7AA
(4000)
7+ MS7AA
(4000)
8+ IOP
(2000)
C0
8+
B+
C+
E+
Rev
Mnemonic FW Rev
HW Rev
0000
0000
0000
0001
kn7aa0
ms7aa0
ms7aa1
iop0
E04
A01
A01
A
1.0
N/A
N/A
N/A
XMI
DWLMA
KZMSA
KZMSA
DEMNA
(102A)
(0C36)
(0C36)
(0C03)
xmi0
A5A6
5143
5143
060B
dwlma0 N/A
kzmsa03 4.3
kzmsa13 4.3
demna0 6.8
A
F01
F01
C1 XMI
1+ KZMSA
2+ KZMSA
8+ DWLMA
Function?
(0C36)
(0C36)
(102A)
5356
5343
A5A6
kzmsa24 5.6
kzmsa35 4.3
dwlma1 N/A
F03
F03
A
Return
.
.
.
Disable Reset Channel 0: DISABLED Change? [y/(n)] y 5
Disable Reset Channel 1: DISABLED Change? [y/(n)] y 5
Chnl 0 Fast SCSI: DISABLED Change? [y/(n)] y 6
Chnl 1 Fast SCSI: DISABLED Change? [y/(n)] y 6
Channel_0 ID: 07 Change? [y/(n)] y 7
Valid ID is a value from 0 to 7.
Enter new Channel ID: 6 7
Channel_1 ID: 07 Change? [y/(n)] y 7
Valid ID is a value from 0 to 7.
Enter new Channel ID: 6 7
Module Serial Numbers: *SG90XXX455* Change? [y/(n)] n
Local Console: ENABLED
Log Selftest Errors: ENABLED
Log NRC 53C710 RBD Errors: ENABLED
Log XMI RBD Errors: ENABLED
Log XZA RBD Errors: ENABLED
RBD Error Logging: DISABLED
RBD Error Frame Overflow: DISABLED Read Only
Hard Error Frame Overflow: DISABLED Read Only
Soft Error Frame Overflow: DISABLED Read Only
FW Update Error Frame Overflow: DISABLED Read Only
Disable Reset Channel 0: ENABLED 8
Disable Reset Channel 1: ENABLED 8
Chnl 0 Fast SCSI: ENABLED 9
(continued on next page)
11
10
The LFU utility is set up to set the SCSI ID for both channels
to 6.
11
Setting Up
an Available
Server
Conguration
Using KZPSA
PCI to SCSI
Adapters
Table 327 Setting Up an Available Server Conguration Using KZPSA Adapters and a BA350,
BA353, or BA356
Step
Action
Refer to:
Install a KZPSA PCI to SCSI bus adapter in the PCI slot corresponding
to the logical bus to be used for the shared SCSI bus.
Remove the KZPSA internal termination resistors, Z1, Z2, Z3, Z4, and
Z5.
Figure 330
Use the show config, show device, and show pk#* console commands
to display the installed devices and information about the KZPSAs on
the AlphaServer 1000, 2000, or 2100 systems.
Example 310
Set the KZPSA SCSI bus ID and bus speed as necessary for this
conguration.
Example 311
Figure 311
If you are using a BA350, ensure that the BA350 terminator and jumper
are both installed.
Figure 38
Table 327 (Cont.) Setting Up an Available Server Conguration Using KZPSA Adapters and a
BA350, BA353, or BA356
Step
Refer to:
Figure 39
Action
Figure 310
AlphaServer 2100
T
1
2
3
4
5
T
BA350
H879AA
Terminator
BN21W0B
"Y" Cable
BN21K or
BN21L
Cable
BN21W0B
"Y" Cable
BN21K or
BN21L
Cable
ZKOX548105RGS
Action
Refer to:
Install a KZPSA PCI to SCSI bus adapter in the PCI slot corresponding
to the logical bus to be used for the shared SCSI bus.
Table 328 (Cont.) Setting Up an Available Server Conguration Using KZPSA Adapters and
an HSZ40
Step
Refer to:
Remove the KZPSA internal termination resistors, Z1, Z2, Z3, Z4, and
Z5.
Figure 330
Use the show config, show device, and show pk#* console commands
to display the installed devices and information about the KZPSAs on
the AlphaServer 1000, 2000, or 2100 systems.
Example 310
Set the KZPSA SCSI bus ID and bus speed as necessary for this
conguration.
Action
Example 311
Connect the "Y" cables or tri-link connectors to each other with BN21K
or BN21L cables. You will need one cable for each KZPSA in the
conguration. Daisy-chain from one device to the next, making sure that
you keep the "Y" cables or tri-link connectors with installed terminators
at the end of the bus.
Network Interface
H885AA
Trilink
Connector
With
H879AA
Terminator
AlphaServer 2100
T
H879AA
Terminator
BN21W0B
"Y" Cable
BN21K or
BN21L
Cable
BN21W0B
"Y" Cable
BN21K or
BN21L
Cable
ZKOX548108RGS
ZKOX392709RGS
Use the show config and show device console commands shown
in Example 310 to display information about installed devices
on an AlphaServer 1000, 2000, or 2100 system. The show config
command shows you which slots the KZPSAs are installed in, and
their SCSI IDs, but does not indicate the hardware or rmware
revision. Although the show device output does not call out
the KZPSA by name, it provides the hardware and rmware
revisions.
Status
CPU 0
CPU 1
P
P
Memory 0
Memory 1
P
P
B2021-BA 64 MB
B2021-BA 64 MB
I/O
SLOT
0
1
B2110-AA
dva0.0.0.1000.0
Option
DECchip 21040-AA
NCR 53C810
DEC KZPSA
08-00-2B-E2-7C-81
SCSI Bus ID 7
RZ28
RZ28
RRD43
Intel 82375EB
RX26
8
DEC KZPSA
pkc0.7.0.8.0
>>> show device 4
dka0.0.0.1.0
DKA0
RZ28
dka100.1.0.1.0
DKA100
RZ28
dka600.6.0.1.0
DKA600
RRD43
dkb0.0.0.6.0
DKB0
HSZ40-Bx
dkb100.1.0.6.0
DKB100
RZ28
dkb300.3.0.6.0
DKB300
RZ28B
dva0.0.0.1000.0
DVA0
RX26
ewa0.0.0.0.0
EWA
08-00-2B-E2-7C-81
pka0.7.0.1.0
PKA0
SCSI Bus ID 7
pkb0.4.0.6.0
PKB0
SCSI Bus ID 4
pkc0.7.0.8.0
PKC0
SCSI Bus ID 7
>>> show pkb* 7
pkb0_fast
1 8
pkb0_host_id
4 9
pkb0_termpwr
1 10
>>>
SCSI Bus ID 4 2
HSZ40-Bx
RZ28
RZ28B
SCSI Bus ID 7 3
D41C
D41C
1084
V21Z
D41C
0006
C01 A04 5
C01 A04 6
KZPSA pkc0 also has hardware revision C01 and revision A04
rmware.
Use the show pkb* command to show all variables set for
KZPSA pkbo.
10
Setting KZPSA
SCSI ID and
Bus Speed
>>>
7
>>>
0
>>>
>>>
>>>
>>>
5
>>>
1
>>>
show pkc0_host_id
show pkc0_fast
set pkc0_host_id 53
set pkc0_fast 1 4
show pkc0_host_id 5
5
show pkc0_fast
1
2
Setting Up
an Available
Server
Conguration
with Mixed
Adapter Types
and a BA350,
BA353, or
BA356
Table 329 Setting Up an Available Server Conguration with Mixed Host Adapters and a
BA350, BA353, or BA356
Step
Action
Refer to:
Table 329 (Cont.) Setting Up an Available Server Conguration with Mixed Host Adapters and
a BA350, BA353, or BA356
Step
Refer to:
PMAZC
KZTSA
KZMSA
KZPSA
2
Action
You will need one DWZZA-AA for each system with a PMAZC
TURBOchannel SCSI controller or KZMSA SCSI adapter and a DWZZA
for the BA350 or BA353. You can use a DWZZA-VA for the BA350 or
BA353. Use a DWZZB-VW for a BA356.
For each DWZZ*, remove the ve differential terminator resistor SIPs.
Figure 311
Figure 311
Connect the other "Y" cables or tri-link connectors together with BN21K or
BN21L cables. You will need one cable for each system in the conguration.
Daisy-chain from one host adapter or device to the next, keeping the "Y"
cable or tri-link connectors with the installed terminators on the ends of the
bus.
If you are using a DWZZA-AA for the connection to the BA350 or BA353,
connect a BN21R or BN23G cable between the DWZZA-AA single-ended
connector and BA350 connector JA1 or the BA353 SCSI input connector.
If you are using a DWZZA-VA, install it in slot 0 of the BA350 or any BA353
slot.
Install a DWZZB-VW in slot 0 of a BA356.
Table 330 Hardware Needed for a Mixed Adapter Available Server Conguration with BA350
or BA353
Number of
Host Adapters1
BN21R or BN23G
SCSI Cables
DWZZA-AA
or
DWZZA-VA
or
DWZZB-VW
BN21W-0B
"Y" Cables
or
H885-AA
Tri-link
Connectors
H789-AA
Terminators
BN21K
or BN21L
Cables
Using a
DWZZAVA3 or
DWZZBVW
No
DWZZAVA or
DWZZBVW
Singleended
Differential
1 You
can have only three systems in an Available Server conguration that include a PMAZC TURBOchannel SCSI
controller or KZMSA XMI to SCSI adapter.
2 One
3 If
H885AA
Trilink
Connector
PMAZC
AlphaServer 2100
2
3
4
T
T
T
BN21R
or BN23G
Cable
KZTSA
BA350
BN21K or
BN21L
Cable
DWZZAAA
Setting Up
an Available
Server
Conguration
with Mixed
Adapter Types
and an HSZ40
BN21K or
BN21L
Cable
BN21W0B H879AA
"Y" Cable
Terminator
ZKOX548109RGS
Action
Refer to:
KZMSA
KZPSA
2
You will need one DWZZA-AA for each single-ended host adapter.
Figure 311
Connect a BN21K or BN21L cable between the BN21W-0B "Y" (or H885AA tri-link connector) of the DWZZA-AAs and HSZ40. The number of
these cables will be the same as the number of systems on this shared
bus in the Available Server conguration. Make sure that you create a
daisy-chain while keeping the terminators on both ends of the shared bus.
Table 332 Hardware Needed for a Mixed Adapter Available Server Conguration with an
HSZ40
Number of Host Adapters1
Single-ended
Differential
DWZZA-AA
BN21W-0B
"Y" Cables
or
H885-AA
Tri-link
Connectors
H789-AA
Terminators
BN21K
or BN21L
Cables
BN21R or
BN23G Cables
1 You
can have only three systems in an Available Server conguration that include a PMAZC SCSI controller or KZMSA
XMI to SCSI adapter.
Network Interface
DEC 3000 Model 500
AlphaServer 2100
PMAZC
4
PMAZC
4
H885AA
Trilink
Connector
BN21R or
BN23G
Cable
T
HSZ40 and DEC
RAID Subsystem
T
T
DWZZAAA
DWZZAAA
BN21K or
BN21L
BN21K or
BN21L
Cable
H879AA
Terminator
BN21K or
BN21L
Cable
BN21W0B
"Y" Cable
ZKOX548110RGS
Summary
Summary
Examining
TruCluster
Available
Server General
Hardware
Conguration
Rules and
Restrictions
Determining
Available
Server
Hardware
Components
When connecting the devices to form the shared SCSI bus, you
must use the correct cables and keep within the cable length
limits for your particular conguration.
Summary
Conguring
TruCluster
Available
Server
Hardware
Summary
Exercises
Exercises
Examining
TruCluster
Available
Server General
Hardware
Conguration
Rules and
Restrictions:
Exercise
1.
transmission
c.
25 meters
d. 31 meters
4.
d. 4
Exercises
Examining
TruCluster
Available
Server General
Hardware
Conguration
Rules and
Restrictions:
Solution
1.
transmission
c.
25 meters
d. 31 meters
4.
d. 4
Determining
Available
Server
Hardware
Components:
Exercise
1.
BN21V-0B
d. BN21W-0B
Exercises
2.
BN21V-0B
d. BN21W-0B
3.
DWZZB-VW
d. H885-AA
4.
H879-AA
d. H885-AA
Determining
Available
Server
Hardware
Components:
Solution
1.
BN21V-0B
d. BN21W-0B
2.
BN21V-0B
d. BN21W-0B
Exercises
3.
DWZZB-VW
d. H885-AA
4.
H879-AA
d. H885-AA
Conguring
TruCluster
Available
Server
Hardware:
Exercise
One shared bus will have a BA350 with two RZ26L disks
Conguring
TruCluster
Available
Server
Hardware:
Solution
4 H879-AA terminators
Note
Exercises
2. Install the remaining hardware for the shared SCSI bus with
the BA350.
3. Install the remaining hardware for the shared SCSI bus with
the HSZ40.
Table 333 outlines the steps necessary to install the KZPSA
SCSI adapters in the systems.
Table 333 Phase 1: Installing the KZPSA SCSI Adapters
Step
Action
Refer to:
Figure 330
Install two KZPSA PCI to SCSI bus adapters in the PCI slot
corresponding to the logical bus to be used for the shared SCSI
bus on each AlphaServer 2100.
Power up the systems and use the show config, show device,
and show pk#* console commands to display the installed
devices and information about the KZPSAs on the AlphaServer
2100.
Example 310
Example 311
Action
Refer to:
Figure 311
Figure 311
Figure 38
Figure 38
Exercises
Action
Refer to:
Action
4
Installing TruCluster Software
Objectives
Resources
Hardware
Subsets
Required for
TruCluster
Available
Server
Operation
If you want to use the Cluster Monitor, you will also need to
install the following subsets. Note that the C++ Class Shared
Libraries and CDE Minimum Runtime Environment subsets must
be installed before TruCluster Available Server Software Version
1.4 is installed.
NFS utilities
Before
Installing
TruCluster
Software
Network
Services
Choosing the
TruCluster
Software
Installation
Procedure
Setting up an ASE for the rst time: Use this procedure if you
are installing TruCluster Software on systems that are not
currently in an ASE. You will use this procedure if none of the
systems has TruCluster Software installed.
ASE
Version
Installed
?
DECsafe Available
Server V1.3
No
Must be
V3.2G
Digital UNIX
Version
3.2D or 3.2F
?
DECsafe Available
Server V1.2A or V1.2
DECsafe Available
Server Versions
Prior to V1.2
DECsafe Available
Server not
Installed
Simultaneous upgrade
to Digital UNIX V3.2G
and ASE V1.3.
Preserve the database.
Simultaneous upgrade
to Digital UNIX V3.2G
and ASE V1.3. You can
not reuse the database.
Yes
Rolling upgrade to
Digital UNIX V3.2G
and ASE V1.3
Rolling Upgrade
to Digital UNIX V4.0A
and ASE 1.4
Simultaneous Upgrade
to Digital UNIX V4.0A
and ASE V1.4
ZKOX548111RGS
Operating
System
Upgrade Procedure
V1.3
Digital UNIX
V3.2G
V1.3
Digital UNIX
V3.2D or V3.2F
Rolling upgrade to Digital UNIX Version 3.2G and DECsafe Available Server
V1.3, then rolling upgrade to Digital UNIX Version 4.0A and TruCluster
Available Server Software Version 1.4.
V1.2A
Digital UNIX
V3.2C
V1.2
DEC OSF/1
V3.2A
Note
V1.0A
V1.0
Setting Up an
ASE for the
First Time
system.
7. Ensure that the host name and IP address for each member
Performing
a Rolling
Upgrade
directory.
10. Reboot the system.
11. Ensure that the host name and IP address of each existing
ASE.
Rolling Upgrade from Digital UNIX Version 3.2D or 3.2F/ASE V1.3 to
Digital UNIX Version 4.0A/ASE V1.4
directory.
9. Reboot the system.
10. Ensure that the host name and IP address of each existing
setld -d command.
16. Upgrade install (setld -l) Digital UNIX Version 3.2G and
directory.
21. Reboot the system.
22. Run the asemgr utility on an existing ASE member (Node A in
setld -d command.
27. Install update (installupdate) Digital UNIX Version 4.0A and
directory.
31. Reboot the system.
32. Run the asemgr utility on an existing ASE member (Node B)
Simultaneous
Upgrade
If you are willing to shut down the ASE, you can perform a
simultaneous upgrade on all the member systems of an existing
ASE.
You can use the simultaneous upgrade and preserve the ASE
database if you are currently running DECsafe Available Server
Version 1.2 or 1.2A. For versions of DECsafe prior to 1.2, you
cannot preserve the ASE database.
For congurations previous to DECsafe Available Server
Version 1.2, it is recommended that, instead of doing multiple
simultaneous upgrades to get to Digital UNIX Version 4.0A and
TruCluster Available Server Software Version 1.4, just install
Digital UNIX Version 4.0A and TruCluster Available Server
Software Version 1.4. It will take much less time.
This section covers two simultaneous upgrades to get to Digital
UNIX Version 4.0A and TruCluster Available Server Software
Version 1.4:
software subsets.
8. Specify the appropriate information at the prompts.
9. Rebuild the kernel for each system.
10. Ensure that the host name and IP address of each existing
Note that the steps provided here only upgrade to Digital UNIX
Version 3.2G and DECsafe Available Server Version 1.3. After
completing these steps, you must complete the steps of the
simultaneous upgrade from Digital UNIX Version 3.2G/ASE V1.3
to Digital UNIX Version 4.0A and TruCluster Available Server
Software Version 1.4.
1. Use the asemgr to put all the services off line to preserve the
subsets.
9. When prompted, enter s to select "Performing a simultaneous
x) Quit installation
?) Help
database.
12. Rebuild the kernel for each system.
13. Reboot each system.
14. If you preserved an ASE database, run the asemgr utility and
If you did not preserve a database, use the asemgr to add the
member systems and set up the ASE services.
15. Perform the necessary steps for a simultaneous upgrade from
Adding a
Member
System to an
Existing ASE
with ASE V1.4
Operating
Software
appropriate licenses.
2. Register the TruCluster Available Server Software Version 1.4
prompts.
5. When the installation has completed, and the kernel has been
Installing
TruCluster
Available
Server
Software
Version 1.4
# setld -l /mnt/TCR140
Return
Return
An old ASE database file has been found. Do you want to use this (y/n): n
Removing the local disk copy of the ASE database (services and members) ...
Return
Name
scsi0
scsi1
scsi2
scsi3
scsi4
Controller
tcds0
tcds0
tcds1
tcds1
tza0
Slot
0
1
0
1
0
Bus
tc0
tc0
tc0
tc0
tc0
Slot
6
6
1
1
4
New Name
scsi2
scsi4
Controller
tcds1
tza0
Slot
0
0
Bus
tc0
tc0
Slot
1
4
f)
p)
v)
s)
r)
q)
x)
Summary
Summary
Performing
Preliminary
Setup Tasks
NFS, LSM and AdvFS subsets if you will use those services.
Preparing
to Install
TruCluster
Software
Summary
Installing
TruCluster
Software
installation.
6. Rebuild the kernel.
7. Reboot the system.
Exercises
Exercises
Performing
Preliminary
Setup Tasks:
Exercise
1.
c.
OSFCMPLRS405
c.
TCRCMS140
c.
Performing
Preliminary
Setup Tasks:
Solution
1.
OSFCMPLRS405
Exercises
3.
TCRCMS140
Preparing
to Install
TruCluster
Software:
Exercise
1.
3.
5.
Exercises
6.
c.
Preparing
to Install
TruCluster
Software:
Solution
1.
3.
5.
Exercises
b. False
6.
Installing
TruCluster
Software:
Exercise
Installing
TruCluster
Software:
Solution
5
Setting Up and Managing ASE Members
Objectives
Resources
Reference Pages
You use the asemgr utility to set up and administer the ASE.
Tasks you can perform with the asemgr include the following:
asemgr
Command
Syntax
-d [ -h ] [ member ] [ -v ] [ service ] [ -l ]
Displays the status of all the member systems (-h) and
services (-v), or specic member systems and services. Also
displays the member systems that are running the logger
daemon (-l).
-m service member
Relocates the specied service to the specied member system.
When you relocate a service, you stop the service on the
member system currently running the service and start the
service on another member system.
-r service . . .
Restarts a service.
-s service . . .
Starts the specied service and sets it on line, making it
available to clients.
-x service . . .
Stops the specied service and sets it off line, making it
unavailable to clients.
Running
Multiple
Instances of
the asemgr
Some ASE administrative tasks can lock the ASE. If you try
to run the asemgr utility and the ASE is locked, the following
message is displayed:
ASE is locked by hostname
This message indicates that the task cannot be performed because
another member system is running the asemgr utility.
Using asemgr
the First Time
The rst time you invoke the asemgr utility you will not see the
main menu. Instead you will be prompted for member system
names and asked to conrm the conguration, as shown in the
following example:
# /usr/sbin/asemgr
Enter a comma separated list of all the host names you want
as ASE servers.
Enter Members: tinker, tailor
Member List: tinker, tailor
Is this correct (y/n) [y]: y
Would you like to define any other network interfaces to tinker
for ASE use (y/n)? [n]: n
Would you like to define any other network interfaces to tailor
for ASE use (y/n)? [n]: n
ASE Network Configuration
Member Name
___________
Interface Name
______________
Member Net
__________
Monitor
_______
tinker
tailor
tinker
tailor
Primary
Primary
Yes
Yes
?) Help
Initializing
ASE Member
Systems
the ASE. This allows you to save any Logical Storage Manager
(LSM) or Advanced File System (AdvFS) congurations on a
specic system.
3. Delete the usr/var/ase/config/asecdb ASE database le from
Using asemgr
to Manage
Members
# /usr/sbin/asemgr
TruCluster Available Server (ASE)
ASE Main Menu
a) Managing the ASE
-->
m) Managing ASE Services -->
s) Obtaining ASE Status -->
x) Exit
?) Help
Add a member
Delete a member
Modify the network configuration
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
?) Help
Adding a
Member
Choose the Add a member item from the Managing the ASE
menu to add a member. The screen displays the current member
systems and prompts you to enter a new member name and to
conrm the new conguration, as shown in the following example:
Managing the ASE
a)
d)
n)
m)
l)
e)
t)
Add a member
Delete a member
Modify the network configuration
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
Interface Name
______________
Member Net
__________
Monitor
_______
tinker
tailor
weaver
tinker
tailor
weaver
Primary
Primary
Primary
Yes
Yes
Yes
Deleting a
Member
Choose the Delete a member item from the Managing the ASE
menu to remove a member system. The screen displays the
current member systems and prompts you to identify the system
to remove. The following example shows the screen display for
deleting a member:
Managing the ASE
a)
d)
n)
m)
l)
e)
t)
Add a member
Delete a member
Modify the network configuration
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
?) Help
Managing ASE
Networks
When you add a member system to the ASE, the asemgr utility
prompts you for additional network interface names. Before you
add an interface, you must use the netsetup utility to dene the
network interface on the system.
Primary and backup networks in an ASE must be subnets that
are common to all member systems. Network interface names
used in an ASE for common networks must be included in the
local /etc/hosts le on each member system.
The following example is part of an /etc/hosts le and shows
two member systems, tinker and tailor, and multiple network
interfaces for the systems.
# ASE member systems
#
16.140.64.121 tinker.abc.def.com tinker
16.140.64.122 tinker.abc.def.com tailor
#
#
# FDDI ring #1
#
16.140.64.121 tinker1.abc.def.com tinker1
16.140.64.122 tailor1.abc.def.com tailor1
#
#
# FDDI ring #2
#
16.140.64.121 tinker2.abc.def.com tinker2
16.140.64.122 tailor2.abc.def.com tailor2
You must specify the interface names for the primary and backup
networks in the local /etc/routes le on each member system.
For each member system, you must dene a host route to all
other member systems. This denition is needed to fail over IP
trafc between member systems when a network path fails.
tinker tinker
tinker tinker
tinker1 tinker1
tinker2 tinker2
tailor1 tailor1
tailor2 tailor2
Specify
Specify
Specify
Specify
16.140.64.121
16.142.112.121
16.142.96.122
Choose the Show the current conguration item from the ASE
Network Modify menu to display the member systems, their
interface names, whether an interface is designated as a primary
or a backup network, and whether monitoring is enabled. For
example:
ASE Network Configuration
Member Name
___________
Interface Name
______________
Member Net
__________
Monitor
_______
tinker
tinker1
tinker2
tinker
tinker1
tinker2
Primary
Backup
Backup
Yes
Yes
Yes
tailor
tailor1
tailor2
tailor
tailor1
tailor2
Primary
Backup
Backup
Yes
Yes
Yes
tinker
16.140.64.121
tinker1
16.142.112.121
tinker2
16.142.96.122
Quit to previous menu
Do not monitor any interfaces
(monitored)
(not monitored)
(monitored)
Displaying ASE
Member Status
Add a member
Delete a member
Modify the network configuration
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
Host Status:
UP
UP
Agent Status:
RUNNING
RUNNING
The Director daemon obtains system status from the Host Status
Monitor (HSM) daemons running on all the member systems. The
following table describes the information for the Host Status eld:
Host Status
Description
UP
DOWN
DISCONNECTED
NETPAR
Description
RUNNING
Agent Status
DOWN
INITIALIZING
UNKNOWN
INVALID
Resetting the
TruCluster
Software
Daemons
Description
TruCluster
Software
Daemon
Scheduling
Starting the
Logger
Stopping the
Logger
Setting System
Logging
kern.debug
daemon.debug
*.emerg
/var/adm/syslog.dated/kern.log
/var/adm/syslog.dated/daemon.log
*
Displaying
Logger
Location
Display
Display
Display
Display
the
the
the
the
?) Help
Setting Log
Level
You can use the asemgr utility to specify the level of the messages
you want logged by the Logger daemon. The Logger daemon uses
four logging levels, as described in the following table.
Logging Level
Description
Error
Warning
Notice
Informational
You can display your current logging level by choosing the Display
the level of logging item from the Obtaining ASE Status menu, as
shown in the following example.
Display
Display
Display
Display
the
the
the
the
?) Help
Add a member
Delete a member
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
Reset the ASE daemons
?) Help
Using an Alert
Script
Add a member
Delete a member
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
Reset the ASE daemons
?) Help
Add a member
Delete a member
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
Reset the ASE daemons
?) Help
Examining Log
Messages
The system event logs are ASCII text les that are placed under
the /var/adm/syslog.dated directroy. The les can be displayed
with commands such as cat, more, and tail.
The following example shows the messages logged to daemon.log
on system tinker when an NFS service running on system tinker
is relocated to system tailor.
Sep
Sep
Sep
Sep
Sep
10
10
10
10
10
09:24:07
09:24:12
09:24:12
09:24:22
09:24:22
tinker
tinker
tinker
tinker
tinker
ASE:
ASE:
ASE:
ASE:
ASE:
tinker
tailor
tailor
tailor
tailor
Time stamp
asemgr utility
Director
Director daemon
Agent
Agent daemon
HSM
HSM daemon
AseLogger
Logger daemon
AM
vmunix
AseUtility
Message text
Summary
Summary
Introducing the
asemgr Utility
You use the asemgr utility to set up and administer the ASE.
Tasks you can perform with the asemgr include the following:
Setting Up
and Managing
Members
Using
TruCluster
Software Event
Logging
Exercises
Exercises
Introducing the
asemgr Utility:
Exercise
Introducing the
asemgr Utility:
Solution
If you run more than one instance of the asemgr on different ASE
member systems, what may happen?
Some ASE administrative tasks can lock the ASE. If you try
to run the asemgr utility and the ASE is locked, the following
message is displayed:
ASE is locked by hostname
This message indicates that the task cannot be performed because
another member system is running the asemgr utility.
Using asemgr
to Manage
Members:
Exercise
After installing and rebooting all member systems, run the asemgr
utility on one member to do the following:
Using asemgr
to Manage
Members:
Solution
1. Sample solution. The rst time you run asemgr, you will be
Interface Name
______________
Member Net
__________
Monitor
_______
alpha
omega
omega
alpha
Primary
Primary
Yes
Yes
?) Help
Setting Up and Managing ASE Members 525
Exercises
Add a member
Delete a member
Modify the network configuration
Display the status of the members
Set the logging level
Edit the error alert script
Test the error alert script
?) Help
Member Status
Member:
tinker
tailor
Using
TruCluster
Software Event
Logging:
Exercise
Host Status:
UP
UP
Agent Status:
RUNNING
RUNNING
system.
3. Identify a member system running the Logger daemon.
4. Display the current TruCluster Software logging level and
and then test the script. (Create a user account if you do not
already have one.)
6. Shut down a member system to cause an alert.
7. Examine the daemon.log le and nd the alert messages you
caused in the previous steps. Also verify that root and your
user name received mail about the alert.
Using
TruCluster
Software Event
Logging:
Solution
1. Sample solution.
# ps ax | grep aselogger
262 ??
I <
0:00.19 /usr/sbin/aselogger
In this case, the logger is running.
2. By default, asemgr utility and ASE daemon messages are
Exercises
6
Writing and Debugging Action Scripts
Objectives
Resources
Action scripts contain the operations to set up, start and stop a
service in an Available Server Environment (ASE), so that it can
fail over from one member to another.
TruCluster Available Server denes several types of action scripts.
Some available services do not require scripts; some services
require only two. There are a number of conventions to follow
when writing scripts.
Types of Action
Scripts
All members run the add script, while only the member selected
to offer the service runs the start script.
All the stop scripts are run on reboot to make sure the services
are cleaned up. (TruCluster Available Server does not know if
this system was running a service before reboot.)
Available
Services and
Scripts
Script Exit
Codes
Exit Code
Meaning
Add
0 (zero)
Success
Delete
Start
Stop
6=0 (non-zero)
6=0
6=0
Failure
Success
Failure
Success
Failure
Failure
99
Between 100
and 200
Service is running
Script Output
Success
Check
All standard output and error output from a script goes to the
TruCluster Software Logger daemon, if one is running in the
environment. The Logger daemon passes messages to the syslog
daemon on the same system. If a Logger daemon is not running
in the environment, all messages are logged locally.
Skeleton
Scripts
addAction
checkAction
deleteAction
startAction
stopAction
#
# Any non zero exit will be considered a failure.
#
exit 0
#
# For check, exit with 100 to 200 if service is running on this member,
# else exit with < 100 if not running.
#
if [ -f ${ASETMPDIR}/${svcName}_IS_RUNNING ]; then
exit 100
else
exit 0
fi
#!/bin/sh
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
1
3
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
echo "ASE: Starting $svcName stop script" | tee /dev/console 5
echo "ASE: Killing polyserver processes ..." | tee /dev/console
/usr/local/bin/psvkill | tee /dev/console
echo "ASE: Stopping the database service ..." | tee /dev/console
. /usr/local/dbadm/oracle_version/def_ora_syslog
/bin/su oracle -c $DBSHUT | tee /dev/console
echo "ASE: Deleting the dbserver internet address ..." | tee /dev/console
/var/ase/sbin/nfs_ifconfig $svcName stop dbserver
#
# exit 0 = success
# exit 1 = failure
# exit 99 = failure because busy
#
exit 0
1
It would be more accurate to check the result of the userdened action and return the result of that, rather than
always returning success.
Methods to
Create Scripts
Specifying
Your Own
Script
Service Configuration
a) Add a new service
m) Modify a service
.
.
Modifying user-defined scripts for service1:
1) Start action
.
.
Modifying the start action script for service1:
f)
e)
g)
t)
r)
x)
Editing the
Default Script
#!/bin/sh
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
Pointing to an
External Script
The following example shows how to edit the default action script
to point to an external script. Be sure to copy the external script
to all member systems.
Additional
Script
Information
Test First
Test your action scripts before you include them in the service. A
bug in a script can cause the service to hang; neither start nor
stop cleanly. Restarting a service that is not stopped cleanly can
cause data corruption or panic the system.
Your scripts should run without error. Some general debugging
tips include:
Debugging
Scripts in ASE
You can set the Available Server Environment (ASE) logging level
to informational to log all messages, including script execution
success. Once you add the scripts, examime the syslog daemon
log for any problems. If you added any debugging echo commands
to the script, they will show up in the log.
Summary
Summary
Introducing
Action Scripts
Action scripts contain the operations to set up, start and stop
a service in an Available Server Environment (ASE), so that it
can fail over from one member to another. TruCluster Available
Server supports the following types of action scripts:
Delete service
Start service
Stop service
You need at least start and stop action scripts for application
services.
Creating Action
Scripts
When you add or modify a service, you can use the asemgr utility
to:
Testing and
Debugging
Action Scripts
Exercises
Exercises
Introducing
Action Scripts:
Exercise
Introducing
Action Scripts:
Solution
Exercises
#
# A skeleton example of an add action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1
# Service name to add
else
svcName=
fi
#
# Any non zero exit will be considered a failure.
#
exit 0
They dene a command path and a temporary directory,
determine the service name from the rst argument, and exit
with a success code.
The stopAction script runs when the service is stopped, and
also when the TruCluster Available Server is initializing on a
member as it boots.
#
# A skeleton example of a stop action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to stop
else
svcName=
fi
case "${MEMBER_STATE}" in
BOOTING) # Stopping ${svcName} as ASE member boots.
;;
RUNNING) # This is a true stop of ${svcName}.
;;
esac
#
# exit 0 = success - service stopped successfully
# exit 1 = failure - could not stop service
# exit 99 = failure - could not stop service (service busy)
#
exit 0
Creating
Action Scripts:
Exercise
Exercises
the command:
kill ps -e |grep "dxcalc" |grep -v grep |awk {print $1}
c.
them?
#
# calc start action script.4
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
dxcalc -d tinker &
exit 0
4. The following start script fails because of a timeout error. Can
Exercises
Creating
Action Scripts:
Solution
#!/bin/sh
# calc start action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
/usr/bin/X11/dxcalc -d tinker &
exit $?
b. Sample solution
#!/bin/sh
# calc stop action script.
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
kill ps -e |grep "dxcalc" |grep -v grep |awk {print $1}
exit $?
c.
#!/bin/sh
# calc start action script.2
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
/usr/bin/X11/dxcalc -d tinker &
pid=$!
echo $pid > /var/run/${svcName}.pid
exit $?
Exercises
#!/bin/sh
# calc action script.3
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1 # Service name to stop
else
echo "$0: Insufficient arguments"
echo "usage: service start|stop"
exit 1
fi
if [ $# -gt 1 ]; then
action=$2
else
echo "$0: Insufficient arguments"
echo "usage: $1 start|stop"
exit 1
fi
case "${action}" in
start)
/usr/bin/X11/dxcalc -d rdwngs:0 &
pid=$!
echo "Service name is " $svcName | tee /dev/console
echo "$svcName PID is " $pid | tee /dev/console
echo $pid > /var/run/${svcName}.pid
exit $?
;;
stop)
echo "Stopping " $svcName "service" | tee /dev/console
kill cat /var/run/${svcName}.pid
exit $?
;;
esac
exit 0
Exercises
Available Server (root) is not sh, the script may not run
correctly. The application path is not dened. Even if the
dxcalc command fails, the script returns a zero (success).
4. The application is invoked in foreground rather than
Testing and
Debugging
Action Scripts:
Exercise
1. The following start script fails. Can you identify the problem?
#!/bin/sh
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
if [ -f /usr/local/appstart ]; then
su - dbmaster -c /usr/local/appstart
exit 0
2. The following stop script stops the application and unmounts
Testing and
Debugging
Action Scripts:
Solution
7
Setting Up ASE Services
Objectives
Resources
Introducing
Supported
Services
Describing
Clients and
Services
nfs_service
Client
Client
mail_service
NFS
programs
NFS
programs
sendmail
dbase_service
login_service
Database
application
Member system
ifconfig
Member system
ZKOX381682RGS
Setting Up a
Service
Before adding a service, you must plan how to set up the service
and perform some preparatory tasks. For example, you may need
to set up NFS, AdvFS, or LSM. You must install any application
you want to make highly available before you set up the service.
You must assign each service a unique name and an automatic
service placement (ASP) policy.
You may also need to generate start and stop action scripts to
start and stop an application.
Documentation
Automatic
Service
Placement
Policy
In addition, you must specify how you want ASE to react when a
more highly favored member system becomes available. You can
choose to relocate the service to the more highly favored member
or keep it running on the current member.
Services and
Disks
NFS and disk services can use both applications and disks.
User-dened services use applications.
A disk cannot be used in more than one service because a service
must have exclusive access to the disk. When you use a disk in a
service, you use the entire disk. The availability manager driver
reserves a disk using the SCSI reserve command.
Once a disk is used in an ASE service, it must be managed within
the ASE.
To stop a disk-based service, ASE must be able to unmount the
le systems. This means ASE must be able to stop all processes
accessing the mounted le systems. You should ensure that all
processes invoked by the start action script are stopped by the
stop action script. Avoid users accessing the local mount point
(and preventing unmounting) by allowing access only to the
directory that is exported.
Using NFS
Using UFS
To use UFS with ASE, set up the disks in the usual way with
disklabel and newfs. Do not locally mount the le systems
because ASE mounts them for you when the service is started.
Using AdvFS
To use AdvFS with ASE, set up the domains and lesets on the
same member on which you will run asemgr to add the service.
A service can use more than one AdvFS domain, but a domain
cannot be used by more than one service. A service should control
all the lesets in the domain; do not put one leset in a service
and mount another locally. Do not locally mount the lesets
because ASE mounts them for you when the service is started.
All member systems should have AdvFS software installed.
Quotas
quota.user or quota.group.
3. After you start the service, use the edquota command to
Using LSM
You can use LSM logical volumes in NFS and disk services. You
can also use a UNIX le system or an AdvFS leset on top of an
LSM volume. Set up the disk groups, logical volumes and le
systems or lesets on the same member on which you will run
asemgr to add the service.
All member systems need LSM software so that any of them can
run the service. Each member system needs a rootdg disk group
set up on a local (nonshared) disk. The rootdg disk group must
be active (imported) whenever ASE is active, to provide an active
disk group for LSM. Set up other disk groups using the shared
disks.
See TruCluster Available Server Software Available Server
Environment Administration Chapter 2 for more information on
using LSM with ASE.
Installing the
Application
Conguration
Example
TYPE NAME
dg rootdg
ASSOC
rootdg
KSTATE
-
dm
rz1g
rz1g
LENGTH COMMENT
3584
Disk group: db
TYPE NAME
dg db
ASSOC
db
KSTATE
-
LENGTH COMMENT
-
dm
dm
dm
dm
dm
dm
dm
dm
dm
dm
dm
dm
pd-rz33
pd-rz34
pd-rz35
pd-rz41
pd-rz42
pd-rz43
pd-rz49
pd-rz50
pd-rz51
pd-rz57
pd-rz58
pd-rz59
rz33
rz34
rz35
rz41
rz42
rz43
rz49
rz50
rz51
rz57
rz58
rz59
vol
plex
sd
sd
sd
sd
sd
sd
sd
plex
sd
sd
sd
sd
sd
sd
sd
voldb
db-01
pd-rz33-log
pd-rz33-data
pd-rz41-data
pd-rz34-data
pd-rz42-data
pd-rz35-data
pd-rz43-data
db-02
pd-rz49-log
pd-rz49-data
pd-rz57-data
pd-rz50-data
pd-rz58-data
pd-rz51-data
pd-rz59-data
fsgen
voldb
db-01
db-01
db-01
db-01
db-01
db-01
db-01
voldb
db-02
db-02
db-02
db-02
db-02
db-02
db-02
2050347
2050347
2050347
2050347
2050347
2050347
2050347
2050347
2050347
2050347
2050347
2050347
# showfdmn -k db_dom
Id
Date Created LogPgs Domain Name
2e6b3030.000b9620 Mon Sep 5 16:50:24 1994
512 db_dom
Vol
1L
1K-Blks
Free % Used Cmode Rblks Wblks Vol Name
6150912 4851072
21%
on 128 128 /dev/vol/db/voldb
# showfsets db_dom
db_fs
Id
: 2e6b3030.000b9620.1.8001
Files
:
529, SLim= 0, HLim= 0
Blocks (512) : 2587658, SLim= 0, HLim= 0
Quota Status : user=on group=on
This topic describes how to use the asemgr to add a Network File
System (NFS) service to an available server environment (ASE).
Describing an
NFS Service
Discussing
the NFS
Service Setup
Procedure
Disks
UFS device special le names
AdvFS lesets
LSM volumes
3. Add the service name and export mount point to the clients
/etc/fstab les.
Setting Up an
NFS Service
for a Public
Directory
-->
-->
-->
x) Exit
Enter your choice: m
?) Help
2
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
Service Configuration
a)
m)
d)
s)
?) Help
Adding a service
Select the type of service:
1) NFS service
2) Disk service
3) User-defined service
x) Exit to Service Configuration
?) Help
(continued on next page)
To end entering disk information, press the Return key at the prompt.
Enter a device special file, an AdvFS fileset, or an LSM volume as storage
7
for this service (press Return to end): public-domain#public
ADVFS domain public-domain has the following volume(s):
/dev/vol/public-dg/public-vol
Is this correct (y/n) [y]: y
10
Enter a host name, NIS netgroup, or IP address for the NFS exports
list. (press Return for all hosts):
11
Directory pathname: Return
AdvFS Fileset Read-Write Access and Quota Management
Mount public-domain#public fileset with read-write or read-only access?
1) Read-write
2) Read-only
Enter your choice [1]: 1
12
You may enable user, and group and fileset quotas on this file system by
specifying the full pathnames for the quota files. Quota files must reside
within the fileset. Enter "none" to disable quotas.
(continued on next page)
13
Return
14
Start action
Stop action
Add action
Delete action
Return
16
?) Help
17
19
Adding service...
Starting service...
Service nfspublic successfully added...
Service Configuration
a)
m)
d)
s)
?) Help
20
Service Status
Select the service whose status you want to display:
1) nfsusers on tinker
2) nfspublic on tailor
x) Exit to previous menu
Enter your choice [x]: 2
?) Help
21
Favored Member(s):
None
Return
Service Status
Select the service whose status you want to display:
1) nfsusers on tinker
2) nfspublic on tailor
x) Exit to previous menu
Enter your choice [x]:
?) Help
Return
Service Configuration
a)
m)
d)
s)
?) Help
Return
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
Return
-->
-->
-->
?) Help
From the ASE Main menu, choose the Managing ASE Services
item.
From the Add a new service menu, choose the NFS service.
Enter the service name, the virtual host name already in the
/etc/hosts le with an Internet address.
10
11
12
13
Enter the path names for user and group quota les or use the
default. Enter "none" to disable quotas.
14
15
You can enter another UFS device special le, AdvFS leset,
or LSM volume for this service.
16
17
18
19
Conrm that you want to add the service. This updates the
ASE database. If there are errors, the service will not be
added. Check for errors in the /var/adm/syslog.dated daemon
log.
20
21
Discussing the
/etc/exports.ase
File
# more /etc/exports
.
.
.
.INCLUDE /etc/exports.ase
# more /etc/exports.ase
.INCLUDE /etc/exports.ase.nfsusers
.INCLUDE /etc/exports.ase.nfspublic
# more /etc/exports.ase.nfspublic
#
# ASE exports file for service nfspublic (ONLY EDIT THIS FILE WITH asemgr)
#
#public-domain#public exports (after this line) - DO NOT DELETE THIS LINE
/usr/nfspublic -m=/var/ase/mnt/nfspublic/usr/nfspublic
#
NFS Mail
Service
An NFS mail service fails over mail hubs (servers) so that mail
service is highly available. If a hardware or software error occurs,
ASE relocates the queued mail and reroutes any new mail to a
new hub.
To set up a highly available mail service with ASE, the le
systems containing the mailbox directory /var/spool/mail and the
mail queue area /var/spool/mqueue must be set up as an NFS
service, and the mail hubs sendmail.cf conguration le must be
modied to ensure that the service name is treated as a virtual
host. The mail hub member systems then NFS mount the mail
directories from the service.
This topic describes how to use the asemgr to add a disk service in
an Available Server Environment (ASE).
Describing a
Disk Service
Describing
the Set Up
Procedure for a
Disk Service
Client systems that will access the disk service must have the
disk service name and Internet address in their /etc/hosts
le.
Disks
UFS device special le names
AdvFS lesets
LSM logical volumes
Using a
Network Alias
#!/bin/sh
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
ASETMPDIR=/var/ase/tmp
if [ $# -gt 0 ]; then
svcName=$1
else
svcName=
fi
# This sets up the alias: ifconfig interface alias $svcName
/var/ase/sbin/nfs_ifconfig $svcName start aliasname
status=$?
if [ $status != 0 ]
then
echo "$0: Can not set alias; exit status of nfs_ifconfig = $status"
exit 1
fi
exit 0
Setting Up a
Disk Service
for a Database
Application
# asemgr
TruCluster Available Server (ASE)
ASE Main Menu
a) Managing the ASE
m) Managing ASE Services
s) Obtaining ASE Status
-->
-->
-->
x) Exit
Enter your choice: m
?) Help
1
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
Service Configuration
a)
m)
d)
s)
?) Help
Adding a service
Select the type of service:
1) NFS service
2) Disk service
3) User-defined service
x) Exit to Service Configuration
?) Help
(continued on next page)
/dev/rz3c
domain1#set1
/dev/vol/dg1/vol01
Return
/dev/rz19g
/dev/rz20g
/dev/rz35g
/dev/rz36g
Return
Mount Point
The mount point is the directory on which to mount dbase-domain#dbase.
If you do not want it mounted, enter "NONE".
Enter the mount point or NONE: /usr/dbase
10
You may enable user, and group and fileset quotas on this file system by
specifying the full pathnames for the quota files. Quota files must reside
within the fileset. Enter "none" to disable quotas.
User quota file path [/usr/dbase/quota.user]: Return
Group quota file path [/usr/dbase/quota.group]: Return
11
Return
12
Start action
Stop action
Add action
Delete action
14
15
Return
18
19
Return
Start action
Stop action
Add action
Delete action
20
20
Return
23
Return
Start action
Stop action
Add action
Delete action
Return
?) Help
24
25
26
After invoking asemgr, from the ASE main menu, choose the
Managing ASE Services item.
Verify that the LSM volume and list of disks being used is
correct.
10
11
Enter the pathnames for user and group quota les; use the
default, or enter "none" to disable quotas.
12
13
You can enter another UFS device special le, AdvFS leset,
or LSM volume for this service.
14
15
16
17
18
19
20
21
22
23
24
25
26
Conrm that you want to add the service. This updates the
ASE database.
User-Dened
Service Setup
Procedure
Adding a
User-Dened
Service
$ asemgr
.
.
.
Adding a service
Select the type of service:
1) NFS service
2) Disk service
3) User-defined service
x) Exit to Service Configuration
Enter your choice [1]: 3
?) Help
1)
2)
3)
4)
5)
x)
Start action
Stop action
Add action
Delete action
Check action
Exit - done with changes
Return
Start action
Stop action
Add action
Delete action
Check action
Exit - done with changes
10
11
12
Return
Start action
Stop action
Add action
Delete action
Check action
Exit - done with changes
Return
?) Help
(continued on next page)
Return
13
15
10
11
12
13
14
15
Conrm that you want to add the service. This adds the
service and modies the ASE database.
User-Dened
Login Service
Delete a service
Managing
Services Menu
# asemgr
TruCluster Available Server (ASE)
ASE Main Menu
a) Managing the ASE
m) Managing ASE Services
s) Obtaining ASE Status
-->
-->
-->
x) Exit
?) Help
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
Displaying
Service Status
# asemgr
TruCluster Available Server (ASE)
ASE Main Menu
a) Managing the ASE
m) Managing ASE Services
s) Obtaining ASE Status
x) Exit
-->
-->
-->
?) Help
c)
r)
on)
off)
res)
s)
a)
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
?) Help
Favored Member(s):
None
Return
Service Status
Select the service whose status you want to display:
1) nfsusers on tinker
2) nfspublic on tailor
3) dxcalc on tailor
x) Exit to previous menu
?) Help
(continued on next page)
Relocating a
Service
# asemgr
TruCluster Available Server (ASE)
ASE Main Menu
a) Managing the ASE
m) Managing ASE Services
s) Obtaining ASE Status
-->
-->
-->
x) Exit
?) Help
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
?) Help
?) Help
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
?) Help
Modifying a
Service
You can use the asemgr to modify any information that was
specied when a service was added to ASE.
Service information:
Service name
Automatic Service Placement (ASP) policy and favored
members
User-dened action scripts
Exports le for an NFS service
# asemgr
TruCluster Available Server (ASE)
ASE Main Menu
a) Managing the ASE
m) Managing ASE Services
s) Obtaining ASE Status
x) Exit
-->
-->
-->
?) Help
c)
r)
on)
off)
res)
s)
a)
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
?) Help
?) Help
?) Help
?) Help
?) Help
(continued on next page)
?) Help
Service Configuration
-->
Relocate a service
Set a service on line
Set a service off line
Restart a service
Display the status of a service
Advanced Utilities
-->
?) Help
?) Help
Status:
on tailor
.
.
.
Favored Member(s):
tailor
Summary
Summary
Understanding
Highly
Available
Services
Preparing
to Set Up
Services
Before adding a service, you must plan how to set up the service
and perform some preparatory tasks. For example, you may need
to set up NFS, AdvFS, or LSM, or install an application. You
must assign each service a unique name and a automatic service
placement policy.
Setting Up NFS
Services
To set up an NFS service, you must specify the service name and
its Internet address in all member and client systems /etc/hosts
les. Use the asemgr utility to specify the service, device, export
path, and mount options, and add the service name and export
mount point to the clients /etc/fstab les.
To set up a mail service with ASE, the le systems containing
the mailbox directory /var/spool/mail and the mail queue area
/var/spool/mqueue must be set up as an NFS service, and the mail
hubs sendmail.cf conguration le must be modied to ensure
that the service name is treated as a virtual host.
Setting Up a
Disk Service
Setting Up a
User-Dened
Service
Summary
Using asemgr
to Manage
Services
Delete a service
Exercises
Exercises
Understanding
Highly
Available
Services:
Exercise
Understanding
Highly
Available
Services:
Solution
2. The service name, which is what the client refers to, is distinct
from any system name. This means the service is not tied to
any system, and can be relocated if necessary.
Preparing
to Set Up
Services:
Exercise
Preparing
to Set Up
Services:
Solution
Exercises
Setting Up
NFS Services:
Exercise
/etc/fstab les.
6. Log in to a client system and create a le on this le system.
Setting Up
NFS Services:
Solution
Setting Up a
Disk Service:
Exercise
Use the asemgr utility to set up a disk service. You do not have
to include a disk-based application (therefore no start/stop action
script is necessary).
Setting Up a
Disk Service:
Solution
Setting Up a
User-Dened
Service:
Exercise
Setting Up a
User-Dened
Service:
Solution
Exercises
Using asemgr
to Manage
Services:
Exercise
Using asemgr
to Manage
Services:
Solution
8
Using the Cluster Monitor
Objectives
Resources
Reference Pages
Before you can run the Cluster Monitor, the hardware and
software must be installed, the ASE must be properly congured,
and all member systems and devices must be up and available.
On a new ASE conguration, or after you change the hardware
conguration, you must also create the cluster map.
The Cluster Monitor obtains the ASE hardware conguration
information from the cluster conguration map. The cluster map
is formed by gathering hardware conguration information from
each of the member systems in the ASE. This information is
is compiled into a text le, /etc/CCM. This le is copied to each
member system.
Setup
Procedure
installed:
clustername
-full
Sample Setup
Script
Updating the
Cluster Map
Starting the
Cluster Monitor
For more information on the Cluster Monitor, see cmon(8) and the
online help.
Top View
Options
Help
ASE0
tinker
tailor
ZKOX548121RGS
Device View
Device
Tools
Action
Help
Service
Pmgr
Device View
Dxlsm
Dxadvfs
Asemgr
Xterm
Status
08:44:57 Cluster Monitor
started
Net_199.155.0.0
Net_199.156.0.0
tinker
tailor
SCSI_3
SCSI_2
rz26
rz25
rz18
rz17
ZKOX548123RGS
Device
Tools
Help
Action
Service
Pmgr
Device View
Dxlsm
Dxadvfs
Asemgr
Xterm
Status
08:44:57 Cluster Monitor
started
Net_199.155.0.0
Net_199.156.0.0
tinker
tailor
SCSI_3
SCSI_2
rz26
rz25
rz18
rz17
ZKOX548124RGS
Device
Tools
Help
Action
Service
Pmgr
Device View
Dxlsm
Dxadvfs
Asemgr
Xterm
Status
08:44:57 Cluster Monitor
started
Net_199.155.0.0
Net_199.156.0.0
tinker
tailor
SCSI_3
SCSI_2
rz26
rz25
rz18
rz17
ZKOX548125RGS
Device
Tools
Help
Action
Service
Pmgr
Device View
Dxlsm
Dxadvfs
Asemgr
Xterm
Status
Status:
Private Devices view: tailor
Net_199.155.0.0
tailor
SCSI0_tailor
Net_199.156.0.0
tinker
tz5
tailor
Close
Cdrom6
rz1
rz0
Help
SCSI_3
SCSI_2
rz26
rz25
rz18
rz17
ZKOX548126RGS
Services View
The services view displays the services that are registered in the
ASE domain. It displays the member systems with the online
services that are running on them. It also displays the ofine and
unavailable services.
Device
Tools
Action
Help
Service
Pmgr
Services View
Dxlsm
Dxadvfs
Asemgr
Xterm
Status
08:44:57 Cluster Monitor
started
tinker
tailor
users
projectX
database
ZKOX441838RGS
Disk service
NFS service
User-dened service
Device
Tools
Action
Help
Service
Pmgr
Services View
Dxlsm
Dxadvfs
Asemgr
Xterm
Status
08:44:57 Cluster
Service Details View: users Monitor
started
tinker
tailor
users
/dev/rz17c
users
projectX
/dev/rz25c
Close
Help
database
ZKOX441839RGS
Restarting a service
Relocating a service
Included Tools
You can click a tool icon to activate the utility on a system in the
current ASE domain, or drag the tool icon to a member system
icon to run the utility on that system.
External Tools
You can drag icons from the CDE desktop or Application Manager
to the Cluster Monitor window to invoke the application on
that cluster member system. For example, dragging the System
Information icon to the Cluster Monitor window and dropping the
icon onto a member system would cause the Cluster Monitor to
run that command on the member system and display the results.
Top View
Meaning
Outline around
system graphic
Device View
Meaning
Services View
Meaning
What to Do
when You See
an Error
You can run the clu_ivp script to check the cluster setup. Run the
asemgr utility to check the ASE member and service setup. Check
the system event logs for cluster messages. Run other system
monitoring utilities, such as ifconfig, netstat, and ping.
You can run character-based utilities without leaving the Cluster
Monitor by selecting the Xterm option on the Tools menu, by
clicking the xterm icon on the toolbar, or by dragging the xterm
icon using MB2 to any member system.
Summary
Summary
Setting Up the
Cluster Monitor
installed.
3. On each member system, set up the /.rhosts le to allow root
access for the rsh command between any two member systems.
You must include all member systems, including the local
system, in the /.rhosts le.
4. Check that all member systems are up by running the asemgr
system.
/usr/sbin/cluster_map_create clustername -full
Using the
Cluster Monitor
Launching
Other Tools
Summary
In CDE, you can also drag application icons from the system
management applications window in the Application Manager to
the Cluster Monitor window.
Monitoring
Available
Server
Congurations
with the
Cluster Monitor
Exercises
Exercises
Setting Up
the Cluster
Monitor:
Exercise
system.
Setting Up
the Cluster
Monitor:
Solution
# /usr/sbin/asemgr
ASE Main Menu
a) Managing the ASE
-->
m) Managing ASE Services -->
s) Obtaining ASE Status -->
x) Exit
?) Help
Add a member
Delete a member
Modify the network configuration
Display the status of the members
Exercises
Member:
tinker
tailor
Host Status:
UP
UP
Agent Status:
RUNNING
RUNNING
4. Sample solution
Using the
Cluster
Monitor:
Exercise
d. Run /usr/bin/X11/cmon.
2. Click a member system to show the device view for that
member.
3. Click a SCSI bus to display the devices attached to that bus.
4. Press
Ctrl
devices.
8. Relocate an ASE service by dragging its icon to another
member system. Use the Action menu (from the menu bar or
by pressing MB3) to put a service off line.
Using the
Cluster
Monitor:
Solution
Ctrl
should be drawn.
5. When you double-click a member system, the host details
Exercises
Launching
Other Tools:
Exercise
1. Start the Cluster Monitor and check the online help for
the service. Drag the xterm icon to a member system icon and
use the hostname command to verify you are executing on that
member system.
4. In CDE, launch the Application Manager by clicking its icon
Launching
Other Tools:
Solution
1. Use the Help menu to access online help. The Tasks section
Monitoring
Available
Server
Congurations
with the
Cluster
Monitor:
Exercise
b. Service is unassigned
2. Run the Cluster Monitor and check the online help to see
Exercises
Monitoring
Available
Server
Congurations
with the
Cluster
Monitor:
Solution
1. Solution to matching
a. c.
b. e.
c.
d.
d. b.
e.
a.
9
Testing, Recovering, and Maintaining
TruCluster Congurations
This chapter describes how to verify that your ASE services will
behave as you expect when hardware failures occur. The chapter
also describes how to recover from hardware failures and how to
modify your ASE hardware conguration.
The following failures are discussed:
Failure of a DWZZA
Network partition
Knowing how ASE fails over services will help you understand
how to best congure your ASE services.
You must also know what steps are needed to perform ongoing
maintenance tasks.
Objectives
Resources
Reference Pages
System
Conguration
Assumptions
Observing
System
Response
You should use the Obtaining ASE Status submenu on the ASE
Managers Main menu to see where a service resides before and
after performing tests. This will verify that the services failed
over as you expect.
You can also observe what messages the TruCluster Software
produces by using the tail -f command on a member node
running the Logger daemon and specifying the current daemon.log
le in the /var/adm/syslog.dated/date directory, where date is a
date and time stamp directory name such as 11-Jan-10:00.
For example, to observe messages in the directory for January 11
at 10:00 a.m., you would enter the following on a member node
running the Logger daemon:
# tail -f /var/adm/syslog.dated/11-Jan-10:00/daemon.log
As you introduce system failures, the Logger daemon sends
messages to the daemon.log le and tail displays them. This gives
you immediate feedback as you perform each test. Be aware that
network failures can interfere with the sending of log messages.
Whenever a message of severity level alert occurs, messages
get logged and the Alert script gets invoked. This script sends
"Critical ASE error" message mail to users specied in the script.
The default user specied in the script is root.
Instructor Note
System Power
Off Test
This test consists of turning off the power on any member node
running a service to produce a Host Down condition. When you
power off a member node, The TruCluster Software relocates
services to surviving members based on the Automatic Service
Placement (ASP) policies in the Available Server Environment
conguration database. If the Director daemon was running on
the failed system, the Agent daemons on the remaining member
nodes elect a new node to start the Director daemon.
In a two-member environment, all services get relocated to the
surviving member node unless the service is restricted to a failed
member.
The daemon.log le will contain messages similar to those in the
following example. In the example, tailor is the member that
fails and tinker is a remaining member node. Note that the
Director daemon was running on tailor so that tinker starts a
new Director.
Sep
Sep
Sep
Sep
Sep
16
16
16
16
16
14:24:22
14:24:25
14:24:26
14:24:26
14:24:46
Sep 16 14:24:47
Sep 16 14:24:56
Sep 16 14:24:56
Sep 16 14:24:57
Sep 16 14:25:00
Sep 16 14:25:13
DWZZA-AA
Power Off
tinker ASE: local HSM Warning: Cant ping tailor over the SCSI bus
tinker ASE: local HSM Warning: Cant ping tailor over the network
tinker ASE: local HSM ***ALERT: HSM_PATH_STATUS:30.14.80.33:DOWN
tinker ASE: local HSM Warning: member tailor is DOWN
tinker ASE: tinker AseMgr Warning: timeout waiting on Reply
to ASE_INQ_SERVICES
tinker ASE: tinker AseMgr Notice: director request timed out,
retrying...
tinker ASE: tinker Agent Notice: agent on tailor should start
director, but isnt in RUN state
tinker ASE: tinker AseMgr Warning: timeout waiting on Reply
to ASE_INQ_SERVICES
tinker ASE: tinker Agent Notice: starting a new director
tinker ASE: tinker Agent Notice: starting service nfsusers
tinker ASE: tinker Director Notice: started service nfsusers
on tinker
This test consists of removing power from one of the DWZZAAA signal converters located on a shared bus connected to a
controller. The purpose of the test is to simulate a SCSI path
failure. This test can also be accomplished by disconnecting a
tri-link connector on the DWZZA-AA connected to a controller.
The results of this action are that the disks located on the
corresponding SCSI bus will be inaccessible to the affected
member.
The TruCluster Software logs an error message, but takes no
further action until I/O to the affected devices is attempted.
The following example shows the error messages produced when
a DWZZA is disconnected.
Removing a
Shared Disk
Sep 20 11:54:20 tailor ASE: tailor Agent ***ALERT: device access failure on
/dev/rz17g from tailor
Sep 20 11:54:25 tailor ASE: tailor Agent Warning: AM cant ping /dev/rz17g
Sep 20 11:54:25 tailor ASE: tailor Agent Warning: cant reach device
/dev/rz17g
Sep 20 11:54:35 tailor ASE: tailor Agent Notice: /var/ase/sbin/lsm_lv_action:
Using default setting of ASE_PARTIAL_MIRRORING=OFF
Sep 20 11:54:35 tailor ASE: tailor Agent Notice: /var/ase/sbin/lsm_lv_action:
LSM plex "users-01" is not enabled
Sep 20 11:54:35 tailor ASE: tailor Agent Notice: /var/ase/sbin/lsm_lv_action:
LSM plex "users-02" is OK, volume "users-vol" can continue to run
Sep 20 11:54:35 tailor ASE: tailor Agent Notice: /var/ase/sbin/lsm_lv_action:
Device "/dev/vol/users-dg/users-vol" passed the LSM volume query
Disk recovery procedures are discussed later in this chapter.
Removing
Power from
BA350
Removing One
Member from
the Network
Removing All
Members from
the Network
Overview
Instructor Note
Member node
SCSI path
Network interface
Network partition
LSM
Mirrored Disk
Replacement
group.
6. Recover the plex from the working plex.
7. Rereserve the corresponding service devices
Obtaining LSM
Disk Group
Information
NAME
rootdg
rz2g
dg
dm
dm
dm
dm
db
pd-rz33
pd-rz34
pd-rz35
pd-rz41
dm
dm
dm
pd-rz49
pd-rz50
pd-rz51
vol
plex
SD
SD
SD
SD
plex
vold
db-01
pd-rz33-data
pd-rz34-data
pd-rz35-data
pd-rz41-data
db-02
SD
SD
pd-rz49-log
pd-rz49-data
ASSOC
rootdg
rz2g
db
rz33
rz34
rz35
rz41
.
.
.
rz50
rz51
.
.
.
fsgen
vold
db-01
db-01
db-01
db-01
vold
db-02
db-02
.
.
.
KSTATE
-
LENGTH
4096
COMMENT
Disk group
Disk media
2050347
2050347
2050347
2050347
Disk group
Disk media
Disk media
Disk media
Disk media
2050347
2050347
2050347
Disk media
Disk media
Disk media
ENABLED 12301824
ENABLED 12301824
2050347
2050347
2050347
2050347
DISABLED 12301824
-
2050347
2050347
Volume
Plex nbr 1
Sub-disk
Sub-disk
Sub-disk
Sub-disk
Plex nbr 2
Sub-disk
Sub-disk
The listing also shows that because the disk failed during I/O, the
db-02 plex was automatically disabled as indicated in the KSTATE
column.
You can conrm the failed disk information using the voldisk
command, as shown in the following example.
Example 98 Conrming Failed Disk Information
# voldisk list
DEVICE
rz1g
rz33
rz34
rz35
rz36
rz41
rz42
rz43
rz49
TYPE
simple
sliced
sliced
sliced
sliced
sliced
sliced
sliced
sliced
rz50
rz51
sliced
sliced
DISK
rz1g
pd-rz33
pd-rz34
pd-rz35
pd-rz36
pd-rz41
pd-rz42
pd-rz43
pd-rz49
.
.
.
pd-rz50
pd-rz51
pd-rz49
GROUP
rootdg
db
db
db
db
db
db
db
db
STATUS
online
online
online
online
online
online
online
online
online
db
db
db
online
online
failed - was rz49
Note that the rz49 device is disassociated from the disk media
name, rz49-data along with the failed message in the STATUS
column.
Removing
Faulty Disk
from LSM
Database
You must remove the faulty disks disk media name from the disk
group and the disk access record from the LSM conguration
database so that you can use the disklabel command. The
following example shows how to remove rz49 from the LSM
conguration databases.
# voldg -g db rmdisk pd-rz49
# voldisk rm rz49
Restoring the
Partition Table
Once the disk is removed from the LSM database, you must
restore the partition table on the new disk. Use the disklabel
command on a rz26l with a device name of rz49 as follows:
# disklabel -r -R rz49 /usr/ASE_SERVICES/disklabel_rz49 rz26l
Initializing the
Disk for LSM
Associating the
New Disk
Next associate the new disk to a disk media name and to a disk
group. Here is an example of associating rz49 to the db disk group
with a disk name of pd-rz49.
# voldg -g db -k addisk pd-rz49=rz49
Recovering the
Plex
The last step is to recover the plex from the working plex. This
operation will not interfere with normal database service provided
by the TruCluster Available Server, except for a temporary system
performance degradation while the plex is restored. The recovery
process can take a number of hours to complete depending on the
size of the volume and the processing capability of the system.
The volrecover command restores the plex. For example, to
recover the db plex using volrecover in the background:
# volrecover -g db -sb
Note
Rereserving
the Service
You must nish incorporating the LSM disk into the ASE service
by rereserving the devices associated with the service.
1. Run the asemgr utility.
2. Choose the Advanced Utilities submenu item from the
rereserve.
Replacing a
Nonmirrored
Disk
Unassigned
Service
Resetting
TruCluster
Daemons
Changing
Hardware
Conguration
Stopping and
Restarting
TruCluster
Daemon
Activity
Adding and
Removing
Member Nodes
Adding and
Removing
Storage Boxes
Adding and
Removing
Disks
you must also perform the appropriate steps to add the disk to
the le system or volume.
If you are removing a disk from a storage box, ensure that a
running service is not using the disk, unless the disk is part of
an LSM mirrored volume or a mirrored RAID device. Use the
asemgr to stop any services using a disk that you want to remove
or replace.
Summary
Summary
Performing
TruCluster
Software
Testing
Procedures
Performing
Disk Recovery
Procedures
Performing
Ongoing
Maintenance
Tasks
Exercises
Exercises
Member
Node Failure:
Exercise
Member
Node Failure:
Solution
Favored Member(s):
tinker
Network
Interface Test:
Exercise
Network
Interface Test:
Solution
Exercises
c.
Favored Member(s):
tinker
Recovering
from Failures
in the ASE:
Exercise
Recovering
from Failures
in the ASE:
Solution
in the asemgr Managing ASE Services menu and add the new
disk to the service.
e.
Performing
Ongoing
Maintenance
Tasks:
Exercise
Exercises
Performing
Ongoing
Maintenance
Tasks:
Solution
10
Troubleshooting TruCluster Congurations
Objectives
Resources
Reference Pages
Troubleshooting
Topics
Troubleshooting
Sequence
cause.
3. Use system monitoring tools to diagnose the problem.
4. Formulate and apply a recovery plan.
Examine Error
Log and Alert
Messages
Follow
Troubleshooting
Procedures
Apply System
Monitoring
Tools
Formulate
and Apply
Recovery Plan
ZKOX3927100RGS
TruCluster
Logger
Daemon
Interpreting
Log Messages
Time stamp
asemgr utility
Director
Director daemon
Agent
Agent daemon
HSM
HSM daemon
AseLogger
Logger daemon
AM
vmunix
Kernel image
AseUtility
Message text
Sep 27 15:38:20 tailor ASE: tailor Agent Notice: AseMgr on tailor disconnected
Message Text
Event severity level
Daemon that generated
the message
Member node on which
the event originated
ASE identifier
Name of the local system
Date and Time stamp
ZKOX548127RGS
Alert Messages
Alert
Error
Condition
TruCluster
Logger
Daemon
Alert Script
Actions
Log Files in
/var/adm/sys.dated/date
ZKOX548128RGS
Reset Daemons If all else fails, you can reset the TruCluster
Software daemons. This stops the Director, Logger, and Host
Status Monitor (HSM) daemons and initializes the Agent
daemons. The Agent daemons then restart all the daemons to
make the TruCluster Software fully operational.
Examine
Error Log
Messages
asemgr for
ASE Member
and Service
Status
AdvFS and
LSM Utilities
to Monitor
Disk Services
Use System
Monitoring
Tools
file and
scu/show edt
to Check SCSI
Devices
uerf to
Examine
Errors on
the SCSI Bus
netstat to
Diagnose
Network
Problems
Reset
TruCluster
Daemons
ZKOX548129RGS
Diagnosing
Nonactive
Systems
Stop All
TruCluster
Activity
Shut Down
ASE Member
Systems
Use Console
Commandsto
Check Devices
If Necessary,
Reconfigure
the Kernel
Boot Member
Systems, and
Check Network
and SCSI Bus
Try Some
Data
Transfers
Follow
Procedures for
Diagnosing
Active Systems
ZKOX548130RGS
Function
asemgr
ps
rpcinfo
uerf
netstat
iostat
file
scu/show edt
showfdmn
showfsets
volprint
Using asemgr
to Monitor
Member Status
You can use the asemgr utility to display the host status and the
status of the Agents for each member system in the ASE domain.
Table 102 describes possible values displayed in the Host Status
eld.
Table 102 Host Status Values
Host Status
Description
UP
DOWN
DISCONNECTED
NETPAR
Description
RUNNING
DOWN
INITIALIZING
UNKNOWN
INVALID
Member:
tailor
tinker
Host Status:
DISCONNECTED
UP
Agent Status
UNKNOWN
RUNNING
Using asemgr
to Monitor
Service Status
You can also use the asemgr to display the status of existing ASE
services. The service status includes the following information:
Example 102 shows the asemgr status display for a disk service
named nfsusers.
Example 102 Service Status
Using asemgr
to Monitor
the Network
Conguration
You can choose the Show the current conguration item from the
asemgr ASE Network Conguration menu to show the current
network status, as shown in Example 103.
Interface Name
______________
Member Net
__________
Monitor
_______
tinker
tinker
Primary
Yes
tailor
tailor
Primary
Yes
Determining
Host Adapter
Settings
Using the
uerf Utility to
Monitor SCSI
Bus Errors
You can use the uerf utility to inspect information about CAM
errors on the SCSI bus. In addition, when a system reboots, uerf
displays useful information about the bus conguration. Note
that the information displayed by the uerf utility varies according
to the host adapter being used.
To generate uerf information, log in as superuser and enter the
following command string:
# uerf -o full | more
Example 104 shows uerf output indicating a bus reset.
Example 104 uerf CAM Error Display
ERROR EVENT
CAM SCSI
DEC OSF/1
Mon Apr 17 18:10:09 1995
tinker
CPU TYPE: DEC 3000
x0022
x0000
x0003
x00C8
DEC SIM
DISK
LUN x0
TARGET x1
ss_device_reset_done
Bus device reset has been performed
Monitoring
Daemons
Monitoring the
Network
# scu
scu> show edt bus 4 lun 0 full
Inquiry Information:
SCSI Bus ID: 4
SCSI Target ID: 1
SCSI Target LUN: 0
Peripheral Device Type: 0 (Direct Access)
Peripheral Qualifier: 0 (Peripheral Device
Connected)
Device Type Modifier: 0
Removable Media: No
ANSI Version: 2 (Complies to ANSI
X3.131-1994, SCSI-2)
ECMA Version: 0
ISO Version: 0
Response Data Format: 2 (SCSI-2)
Terminate I/O Process: 0
Asynchronous Notification: 0
Additional Length: 91
Soft Reset Support: No
Command Queuing Support: Yes
Target Transfer Disable: Yes
Linked Command Support: No
Synchronous Data Transfers: Yes
Support for 16 Bit Transfers: No
Support for 32 Bit Transfers: No
Relative Addressing Support: No
Vendor Identification: DEC
Product Identification: RZ28
(C) DEC
Firmware Revision Level: 442D
Monitoring
Disk I/O with
iostat
You can use iostat to determine if you are able to read and write
to a specic disk. The following output was generated by the
iostat rz24 command.
tailor.zko.dec.com> iostat rz24
tty
rz1
rz2
rz24
cpu
tin tout bps tps bps tps bps tps us ni sy id
0
5 1 0 0 0 0 0 23 0 3 74
For more information about iostat, see the iostat(1) man page.
Monitoring
LSM
Congurations
# /usr/sbin/volprint
TYPE NAME
ASSOC
KSTATE
dg rootdg rootdg dm rz3a
rz3a
-
LENGTH COMMENT
130544
You can also use the dxlsm utility to display the current status of
an LSM conguration. For more information, refer to the section
on LSM System Administration.
Monitoring
AdvFS
Congurations
Date Created
LogPgs
Domain
Name
dbfdmn1
: 2f620925.00038f30.2.8001
:
2, SLim= 0, HLim= 0
:
32, SLim= 0, HLim= 0
: user=on group=on
You can also use the dxadvfs command to display the current
status of an AdvFS conguration.
Summary
Summary
Introducing
ASE
Troubleshooting
Techniques
Interpreting
TruCluster
Software Error
Log Messages
Time stamp
asemgr utility
Director
Director daemon
Agent
Agent daemon
HSM
HSM daemon
AseLogger
Logger daemon
AM
vmunix
Kernel image
AseUtility
Message text
Summary
Learning
Troubleshooting
Procedures
Check Error Logs First, examine the error log les. Error
log messages can often identify a problem cause and suggest a
solution.
Reset Daemons If all else fails, you can reset the TruCluster
Software daemons. This stops the Director, Logger, and Host
Status Monitor (HSM) daemons and initializes the Agent
daemons. The Agent daemons then restart all the daemons to
make the TruCluster Software fully operational.
Summary
Using System
Monitoring
Tools
Exercises
Exercises
Introducing
ASE
Troubleshooting
Techniques:
Exercise
Introducing
ASE
Troubleshooting
Techniques:
Solution
cause.
3. Use system monitoring tools to diagnose the problem.
4. Formulate and apply a recovery plan.
Interpreting
TruCluster
Software Error
Log Messages:
Exercise
Interpreting
TruCluster
Software Error
Log Messages:
Solution
Time stamp
Message text
Exercises
Diagnosing
a Nonactive
System:
Exercise
Diagnosing
a Nonactive
System:
Solution
Generating
CAM Error
Information:
Exercise
Generating
CAM Error
Information:
Solution
Exercises
Monitoring
TruCluster
Daemons:
Exercise
Monitoring
TruCluster
Daemons:
Solution
You can use the ps utility and the rpcinfo utility to monitor
the TruCluster Software daemons. The command syntax for
determining the TruCluster daemon status with the ps utility is
as follows:
# ps -ax | grep ase
The command syntax for determining the TruCluster daemon
status with the rpcinfo utility is as follows:
# /usr/sbin/rpcinfo -p | grep ase
11
Resolving Common TruCluster Problems
Objectives
Resources
Reference Pages
Hardware problems
Hardware problems usually involve either faulty hardware
conguration or failure of a hardware component. Table 111
lists common hardware problems and their symptoms.
Software problems
Software problems usually involve faulty conguration or
failure to comply with TruCluster requirements. Table 112
lists common software problems and their symptoms.
Problem description
Symptoms
Message patterns
Possible solutions
Symptom
Improperly congured
SCSI bus
Faulty I/O
Cannot ping member over SCSI bus
Cannot reach devices
SCSI CAM errors in uerf
Member crash
Disk failure
Device unreachable
Improperly congured
storage device
Network partition
Improperly
Congured
SCSI Bus
Problem Description
SCSI bus difculties are among the most frequently
encountered problems in TruCluster Available Server
congurations. Common causes include:
Faulty bus connections
Improperly terminated bus segments
Cable lengths too long
Incorrect bus conguration
Note that an improperly congured bus may operate properly
for a period of time with no error conditions, but then cause
problems when under heavy load conditions.
Symptoms
Common symptoms of SCSI bus problems include:
TruCluster cannot ping devices over SCSI bus
I/O errors and device failures
Services taken off line or undened
Message Patterns
The following daemon.log excerpt contains TruCluster
messages sent during a SCSI bus failure.
Apr 17 18:54:16 tinker ASE: local HSM Warning: Cant ping tailor over the SCSI bus
Apr 17 18:54:17 tinker ASE: local HSM ***ALERT: network ping to host tailor
is working but SCSI ping is not
Possible Solutions
Review the SCSI bus conguration guidelines to ensure
that all requirements are met.
Check to see that the SCSI bus segments are properly
connected and terminated.
Determine that the cable lengths are within the prescribed
limitations.
Running from a member console, use system monitoring
tools to ensure that the bus setup is correct.
Note
Host Adapter
Failure
Problem Description
A host adapter failure isolates the affected ASE member from
the SCSI bus(es) to which the adapter is connected. However,
a host adapter failure does not cause the TruCluster network
to stop functioning.
Symptoms
Cannot ping affected member over SCSI bus
Services and/or TruCluster Director failover
If service is running on affected member under Restrict to
Favored Member policy, the service goes off line
Message Patterns
The following daemon.log message is generated when a host
adapter failure occurs.
Apr 17 14:05:44 tailor ASE: local HSM Warning:
Cant ping tinker over the SCSI bus
Possible Solutions
If you suspect that a host adapter has failed, rst check the
cable(s) connecting the adapter to the SCSI bus. If this does
not resolve the problem, disconnect the affected member from
the TruCluster conguration. If the TruCluster conguration
now functions properly, examine the suspect host adapter in
the following manner:
Ensure that the proper rmware is installed.
Conrm that the host adapter is recognized by the system.
If an adapter has been removed and reinstalled, make sure
it has been placed in the proper slot.
If the conguration is correct and the host adapter still
does not work properly, replace the host adapter.
Member Crash
Problem Description
A member system crash removes the affected member
from the TruCluster conguration, eliminating any failover
capability or performance enhancement provided by that
member. However, if the TruCluster system is properly
congured, a member system crash does not cause TruCluster
to fail.
Symptoms
Common symptoms of a member system crash include:
Cannot ping member over SCSI bus or network
Services and/or TruCluster Director fail over
If service is running on crashed member under restrict to
favored member policy, the service goes off line
uerf error reports indicate SCSI bus resets
Message Patterns
The following daemon.log excerpt shows the message pattern
that occurs when member tinker fails and the TruCluster
Director and service ds1 fail over to member tailor.
Apr 17 18:09:58 tailor ASE: local HSM Warning: Cant ping tinker
over the SCSI bus
Apr 17 18:10:05 tailor ASE: local HSM Warning: Cant ping tinker
over the network
Apr 17 18:10:05 tailor ASE: local HSM Warning: member tinker is DOWN
Apr 17 18:10:05 tailor ASE: tailor Agent Notice: starting a new
director
Apr 17 18:10:07 tailor ASE: local Director ***ALERT: Member tinker
is not available
Apr 17 18:10:08 tailor ASE: tailor Agent Notice: starting service
ds1
Apr 17 18:10:27 tailor ASE: tailor Agent Notice:
/var/ase/sbin/ase_filesystem: /dev/rvol/dbdg/vol1: 4 files, 23857 used, 24974 free
(14 frags, 3120 blocks, 0.0% fragmentation)
Apr 17 18:10:27 tailor ASE: tailor Agent Notice:
/var/ase/sbin/ase_filesystem: /sbin/ufs_fsck -P /dev/rvol/dbdg/vol1
Apr 17 18:10:27 tailor ASE: tailor Director Notice: started service
ds1 on tailor
Possible Solutions
Potential causes of member crashes are too numerous
to be discussed in this chapter. One TruCluster-specic
member crash, however, should be mentioned. This is
the phenomenon in which a reboot occurs when a service
relocation is attempted while a user is occupying a mount
point. This problem is discussed at greater length in the
Known TruCluster Limitations section.
Storage Device
Failure
Problem Description
In the case where a failing disk is not mirrored, the TruCluster
Software:
Logs an Alert message
Stops the affected service
Marks the service as unassigned and issues an Alert
message
If the service is mirrored on a device that has not failed,
storage device failures may not become immediately apparent.
However, a storage device failure or disk failure causes an
Alert message to be sent.
Symptoms
Disk or NFS service fails to start up
Device access failure messages
The following asemgr status display shows the status of a disk
service in which the storage device has failed.
Favored Member(s):
None
Apr 19 17:42:06
/dev/rz24g from
Apr 19 17:42:13
Apr 19 17:42:13
/dev/rz24g
Apr 19 17:42:19
/dev/rz25g
Apr 19 17:42:19
/dev/rz25g
mount options: rw
options: rw
options: rw
/dev/vol/dbdg/vol2 /dev/vol/dbdg/vol3
Message Patterns
The following daemon.log error message pattern indicates a
storage device failure.
Possible Solutions
Check the storage devices for proper connections and
conguration.
Determine the location of the failed disk and follow
procedures for replacing a disk described in the section on
TruCluster failure recovery.
Network
Interface
Failure
Problem Description
A network interface error occurs when an individual member
becomes isolated from the primary TruCluster network.
Although this problem may cause services to fail over from the
isolated member, the other members of a properly congured
TruCluster system should continue to function.
Symptoms
The following asemgr display occurs during a network interface
failure on member tinker.
Member Status
Member:
tinker
tailor
Host Status:
DISCONNECTED
UP
Agent Status:
UNKNOWN
RUNNING
Message Patterns
The following daemon.log error message pattern was recorded
when member tinker experienced a network interface failure.
Apr 17 19:02:54 tailor ASE: local HSM Warning: Cant ping tinker
over the network
Apr 17 19:02:56 tailor ASE: local HSM Warning: Cant ping tinker
over the network
Apr 17 19:04:39 tailor last message repeated 2 times
Apr 17 19:04:43 tailor ASE: local HSM Warning: member tinker is
disconnected from the network
Apr 17 19:04:44 tailor ASE: tailor Agent ***ALERT: member tinker
cut off from net
Apr 17 19:04:45 tailor ASE: tailor Director Notice: finished
processing agent state change from HSM: agent tinker state NIT_DOWN
Possible Solutions
Check the cable connections from the affected ASE member
system to the network.
Use netstat to diagnose the problem on the affected
system.
If necessary, replace the network controller or cable
connections.
Network
Partition
Problem Description
A network partition occurs when all ASE member systems
become isolated from the local subnet.
Symptoms
The following symptoms occur during a network partition:
Cannot ping member over network
Cannot access network services
If you try to examine the network status by choosing the Show
the current conguration item from the ASE Network Modify
menu, the TruCluster Software issues the message: Net
partition or disconnect - cannot nd a director.
Apr 17 19:23:15
Apr 17 19:23:15
down... exiting
Apr 17 19:23:16
Apr 17 19:23:20
network
Apr 17 19:23:26
network
Message Patterns
The following is an example of the daemon.log message pattern
recorded during a network partition on node tailor, the
member on which the TruCluster Director was running.
Possible Solutions
Use the following procedure to troubleshoot a network
partition:
Check to see that all network cable connections are
properly attached.
Use netstat to troubleshoot the problem.
Symptom
Script fails
asemgr locks
System crashes
Invalid Script
Format
Problem Description
An action script that contains an error will make it impossible
to start or stop the associated service.
Symptoms
The following output is generated by the asemgr when an
invalid script is added to a service.
?) Help
Message Patterns
The following log message pattern is generated when an
invalid script is added to a service.
Apr 20 10:38:03 tinker ASE: tailor Agent Notice: starting service ds1
Apr 20 10:38:12 tinker ASE: tailor Agent Notice: /var/ase/sbin/ase_filesyste
m: /dev/rvol/dbdg/vol1: File system unmounted cleanly - no fsck needed
Apr 20 10:38:12 tinker ASE: tailor Agent Notice: /var/ase/sbin/ase_filesyste
m: /sbin/ufs_fsck -P /dev/rvol/dbdg/vol1
Apr 20 10:38:12 tinker ASE: tailor Agent Error: user script: /tmp/ase_sh5164
[20]: B: not found
Apr 20 10:38:16 tinker ASE: tailor AseMgr Error: Start failed - Unable to st
art service.
Possible Solutions
To solve a problem with an invalid Action Script, x the
script and test it by executing it outside of the TruCluster
conguration. As a general rule, all scripts should be tested
this way before adding them to an ASE service.
Multiple
asemgr
Processes
Problem Description
If you run multiple asemgr processes, the TruCluster database
becomes locked, and you cannot perform any modications on
the system.
Symptoms
The asemgr exhibits the following display if you try to access
the database when multiple asemgr processes are running.
Message Patterns
The following message pattern is displayed in the daemon.log
le when you try to access the TruCluster database when
multiple asemgr processes are running.
Possible Solutions
To resolve this problem, stop the multiple asemgr processes
until only one is running.
Removing
Disk Without
Updating
asemgr
Problem Description
If you remove a disk from an ASE service and forget to update
the asemgr to redene the service, the service will fail.
Symptoms
If the service is running when you remove the disk, the system
running the service will crash when you try to access a mount
point. However, if the service is mirrored, it may fail over to
another member.
If the service is not running when you remove the disk, the
service becomes unreachable.
Message Patterns
The following daemon.log message pattern is generated when
you access a mount point on a disk that has been removed.
Possible Solutions
If possible, try to set a service off line before you replace a
disk used by the service. In any case, you must ensure that no
users are occupying the mount point or otherwise attempting
to access the disk while it is being replaced.
After you replace the disk and turn on the storage device,
rereserve the device (if necessary) and set the service back on
line.
NFS Service
and ASE
Member with
Same Name
Problem Description
NFS services require the conguration of a pseudo host that is
associated with an internet address so that the service can be
failed over. If the service name is the same as one of the ASE
members, the Agent daemon process for that host name will
become confused and fail to initialize properly.
Symptoms
If this problem arises, the asemgr host status for the affected
host will be UP, while the Agent status will be DOWN.
However, the Agent daemon will be running on the host.
Message Patterns
The following message is recorded when a system with ASE
member name tinker has an NFS service name tinker.
Apr 22 11:40:38 tinker ASE: tinker AseMgr Error:
AseMgr failed to initialize
Possible Solutions
Recongure the NFS service with a unique name.
Service
Alias not in
/etc/hosts on
All Members
Problem Description
ASE services require that you associate the service name with
an IP address by placing an entry in the /etc/hosts le on all
ASE member systems. If you do not do this, you will not be
able to congure the service.
Symptoms
If this problem arises, the attempt to add the service will fail.
Message Patterns
The following message pattern is recorded when the service
nfsusers is added, but the service and IP address are not
properly entered in the /etc/hosts les on all the member
systems:
Sep 20 16:24:25 tailor ASE: tinker Agent Notice: adding
service nfsusers
Sep 20 16:24:26 tailor ASE: tailor Agent Notice: adding
service nfsusers
Sep 20 16:24:28 tailor ASE: tinker Agent Error:
/var/ase/sbin/nfs_ifconfig: nfsusers not in hosts
database
Sep 20 16:24:29 tailor ASE: tailor Agent Error:
/var/ase/sbin/nfs_ifconfig: nfsusers not in hosts
database
Sep 20 16:24:30 tailor ASE: tinker Agent Error:
/var/ase/sbin/nfs_ifconfig: nfsusers not in hosts
database
Sep 20 16:24:31 tailor ASE: tailor Agent Error:
/var/ase/sbin/nfs_ifconfig: nfsusers not in hosts
database
Sep 20 16:24:31 tailor ASE: tinker Director Error:
cant add service
Sep 20 16:24:31 tailor ASE: tailor AseMgr Error:
Add failed - Unable to add service.
Possible Solutions
Add the proper service alias and IP address to the /etc/hosts
le on all member systems.
ASEROUTING
not Set in NFS
Service
Problem Description
As described in Available Server Environment Administration,
it is possible to congure an NFS service to broadcast host
names on networks that are not native to the ASE NFS
service name. If you set up this conguration but fail to
set the rc.config le to ASEROUTING=yes on all ASE member
systems, the NFS service cannot be added to the conguration
database.
Symptoms
The asemgr issues a message that the NFS service cannot be
added.
Message Patterns
The following message is recorded when ASEROUTING is not
set in an NFS service.
tailor ASE: tailor Agent Error:
Must be IP router and run gated to use
ASE routing; run netsetup.
Possible Solutions
Run netsetup again, following the instructions in the Available
Server Environment Administration for setting up TruCluster
routing. After you have completed the netsetup process, make
sure you run the following command on all ASE member
systems:
# rcmgr set ASEROUTING yes
ASE Member
not Added to
TruCluster
Database
Problem Description
If the TruCluster Software is installed on a member system,
but the member is not added to the TruCluster conguration
database on the original member system, the new system will
not be recognized as a legitimate member.
Symptoms
If the asemgr is run on one of the preexisting ASE members,
the new member will not be displayed in the member status
display. Since the new member is essentially a foreign system,
any requests by the new member to connect to ASE services
will fail.
Message Patterns
The following message pattern is recorded when system tinker
tries to access the TruCluster conguration without having
been added to the TruCluster database.
Possible Solutions
Run the asemgr on the original member and add the new
member to the TruCluster conguration database.
LSM not
Congured on
New Member
Problem Description
For a disk service to fail over to a new member, LSM must be
set up on the new system, with rootdg congured on a local
disk.
Symptoms
If LSM has not been congured on a new member, and a
service using LSM attempts to relocate to the new system, the
relocation will fail.
Message Patterns
The following daemon.log message patterns are displayed if
LSM has not been congured on a system and a service using
LSM attempts to relocate.
Known
TruCluster
Limitations
Error: /var/ase/sbin/lsm_dg_action:
Error: /var/ase/sbin/lsm_dg_action:
Error: /var/ase/sbin/lsm_dg_action:
Error: /var/ase/sbin/lsm_dg_action:
Error: /var/ase/sbin/lsm_dg_action:
Error: /var/ase/sbin/lsm_dg_action:
Possible Solutions
Use volsetup to congure the rootdg disk group on the new
system, then restart the vold daemon.
Table 113 Known Limitations of TruCluster Available Server Software Version 1.4
Problem
Symptom
Users
Occupying
Mount Points
Problem Description
To stop a disk-based service, the TruCluster Software must
be able to unmount the le systems. This means that the
TruCluster Software must be able to stop all processes
accessing the mounted le systems. You should ensure that all
processes invoked by the start action script are stopped by the
stop action script. Avoid users accessing the local mount point
(and preventing unmounting) by recommending that users
access only the directory that is exported.
Symptoms
The system shuts down when you try to relocate a service.
Message Patterns
Possible Solutions
Avoid accessing the mount point on systems running ASE
services.
Non-TruCluster
Processes with
Higher Priority
Problem Description
If there are non-TruCluster processes with a scheduling
priority higher than the priority of the TruCluster daemons,
the daemons could time out while waiting to run. If this
occurs, a TruCluster timeout error appears in the daemon.log
le.
Symptoms
If the TruCluster Software daemons do not start even though
the TruCluster Software is properly congured, you may have
a timeout problem.
Message Patterns
The following message pattern indicates a timeout error due
to a scheduling priority problem.
Mar 8 13:09:28 surry ASE: surry AseMgr error:
ASE timeout - Unable to stop service.
Possible Solutions
If necessary, you can raise the scheduling priority of the
TruCluster daemons by changing the lines in the /sbin
/init.d/asemember le that start the asedirector, aseagent,
and aselogger daemons, or xing a higher priority with the
aseagent -p command. For more information about scheduling
priorities, see Available Server Environment Administration
priorities.
Using BC09
Cables with
KZTSA
Controller
Problem Description
BC09D narrow cables are built to an earlier SCSI specication,
and they are conditionally supported in TruCluster
congurations; the newer BN family of cables is preferred. If
BC09D cables are used in an ASE conguration, they should
be limited to slow speed operation, with a maximum length of
3 meters.
If you use BC09D cables with a KZTSA controller, you may
get errors on the SCSI bus.
Symptoms
If you have a problem with a BC09D cable, common symptoms
include irregular I/O and reports of CAM errors.
Message Patterns
Possible daemon.log message patterns associated with
problems with a BC09D cable include errors accessing devices
on the shared SCSI bus, such as the following:
May 02 12:42:06 tailor ASE:
tinker Agent ***ALERT: device access failure on
/dev/rz24g from tinker.zko.dec.com
Possible Solutions
Replace the BC09D cable(s) with equivalent cables from the
BNxx family of cables.
SCSI Bus
Termination
Host Adapters
Signal Converters
Tri-link Connectors
Network Connections
TruCluster Conguration
Service Conguration
Disk Services
LSM Conguration
AdvFS Conguration
Action Scripts
General
Hardware
Conguration
These checklists assume that your conguration uses only hardware and
software supported for TruCluster Available Server Software.
SCSI Bus
Termination
Host Adapters
SCSI IDs and mode settings must be correct for each host
adapter.
Disk Storage
Enclosures
Check to see that all systems on a given shared SCSI bus see
the disks at the same device.
To take a disk that is on the shared bus off line, you must
ensure that no service is using the disk, unless the disk is part
of an LSM-mirrored logical volume or a mirrored RAID device.
When an ofine disk goes on line again, you must use the
asemgr utility to manually restart the service. You should do
this even if the disk was part of a mirrored volume because it
may not be reserved.
Signal
Converters
Tri-link
Connectors
Network
Connections
TruCluster
Software
Installation
General
Software
Conguration
If you intend to use NFS services, you should set up NFS and
start the daemons (see nfssetup(8)).
TruCluster
Software
Conguration
When you use the asemgr utility to add the member systems
to the ASE, add all the member systems at the same time
and from the same system. Do not run the asemgr utility on
one system and add one member system, then run the asemgr
utility on another system and add a different member system.
Service
Conguration
You cannot use an NFS service name that is the same as the
name of a member system. You cannot use a service name
that has a slash (/) in it.
Disk Services
LSM
Conguration
AdvFS
Conguration
If you create a disk service that uses AdvFS and choose not
to have the TruCluster Software automatically mount the
lesets, a member system may panic unless the following
conditions are met:
Before you add the disk service, make sure that the leset
is not already mounted.
If you mount a leset in your own user-dened action
scripts, make sure that the user-dened stop action script
unmounts the le system and returns an error if the
unmount fails.
A service can use more than one AdvFS domain, but a domain
cannot be used by more than one service.
Action Scripts
When you add a disk service, you are not prompted for action
scripts. To fail over an application, modify the service and
specify the action scripts.
Summary
Summary
Recognizing
Common
Problems
Applying
TruCluster
Conguration
Guidelines
SCSI Bus
Termination
Host Adapters
Signal Converters
Tri-Link Connectors
Network Connections
ASE Conguration
Service Conguration
Disk Services
LSM Conguration
AdvFS Conguration
Action Scripts
Exercises
Exercises
TruCluster
Message
Interpretation:
Exercise
TruCluster
Message
Interpretation:
Solution
Problem
Relocating
Service:
Exercise
If you try to relocate a disk service and get a device busy message,
what is the likely cause?
Problem
Relocating
Service:
Solution
A process that the start action script did not start and that
is unrelated to TruCluster is accessing the disk. This could
occur if a user logs in to the system on which the le system is
locally mounted and changes directory to the mount point.
SCSI ID Limits:
Exercise
SCSI ID Limits:
Solution
Exercises
Applying
TruCluster
Conguration
Guidelines:
Exercise
Applying
TruCluster
Conguration
Guidelines:
Solution
You cannot use an NFS service name that is the same as the
name of a member system. You cannot use a service name
that has a slash (/) in it.
12
Test
Test 121
Questions
Questions
In the space provided, write the letter corresponding with the best
answer to each multiple-choice, matching, or true/false question.
1.
asehsm
d. asemgr
4.
asehsm
d. asemgr
5.
system
c.
122 Test
Questions
6.
8.
a. asedirector
b. asemgr
c.
Cluster Monitor
Device Failure
d. Network Partition
10.
transmission
c.
length
b. The PMAZC is a dual-ported SCSI host adapter
c.
Questions
25 meters
d. 31 meters
13.
BN21V-0B
d. BN21W-0B
14.
15.
a. H8574-A
b. H8660-AA
c.
H879-AA
d. H885-AA
16.
W3
d. W4
124 Test
Questions
17.
t tc speed
d. t tc id
19.
20.
KZTSA
d. PMAZC
21.
KZTSA
d. PMAZC
Test 125
Questions
22.
23.
OSFCMPLRS405
TCRCMS140
27.
126 Test
Questions
30.
31.
Start
d. Stop
e.
Check
Test 127
Questions
33.
Start
d. Stop
e.
34.
Check
name
b. Specify default, then add the commands to the skeleton
script
c.
number of services
b. ASE relocates service A on another favored member
c.
128 Test
Questions
38.
number of services
b. ASE relocates service A on another favored member
c.
39.
41.
43.
Test 129
Questions
44.
45.
a. /etc/CCM
b. cluster_map_create
c.
cmon
d. tractd
46.
a. asemgr
b. cluster_map_create
c.
cmon
d. monitor
47.
Services view
1210 Test
Questions
50.
running
c.
51.
a. voldisk init
b. voldg init
c.
voldg -g db
d. volrecover -g db -sb
52.
kern.log
d. asemgr.log
54.
55.
a. uerf
b. showfdmn
c.
ps
d. asemgr
Test 1211
Questions
56.
bus:
a. Improperly terminated bus segments
b. Cable lengths too long
c.
/etc/hosts
d. /etc/fstab
1212 Test
Answers
Answers
1.
asehsm
d. asemgr
4.
asehsm
d. asemgr
5.
system
c.
Answers
c.
8.
a. asedirector
b. asemgr
c.
Cluster Monitor
Device Failure
d. Network Partition
10.
transmission
c.
length
b. The PMAZC is a dual-ported SCSI host adapter
c.
1214 Test
Answers
12.
25 meters
d. 31 meters
13.
BN21V-0B
d. BN21W-0B
14.
15.
a. H8574-A
b. H8660-AA
c.
H879-AA
d. H885-AA
16.
W3
d. W4
17.
Answers
t tc speed
d. t tc id
19.
20.
KZTSA
d. PMAZC
21.
KZTSA
d. PMAZC
22.
1216 Test
Answers
e.
23.
OSFCMPLRS405
TCRCMS140
27.
Test 1217
Answers
29.
30.
31.
Start
d. Stop
e.
33.
Check
Start
d. Stop
e.
1218 Test
Check
Answers
34.
name
b. Specify default, then add the commands to the skeleton
script
c.
number of services
b. ASE relocates service A on another favored member
c.
number of services
b. ASE relocates service A on another favored member
c.
Test 1219
Answers
39.
41.
43.
44.
a. /etc/CCM
b. cluster_map_create
1220 Test
Answers
c.
cmon
d. tractd
46.
a. asemgr
b. cluster_map_create
c.
cmon
d. monitor
47.
Services view
running
c.
a. voldisk init
b. voldg init
Test 1221
Answers
c.
voldg -g db
d. volrecover -g db -sb
52.
kern.log
d. asemgr.log
54.
55.
a. uerf
b. showfdmn
c.
ps
d. asemgr
56.
d
bus:
/etc/hosts
d. /etc/fstab
1222 Test
Index
A
action scripts, 26, 69, 720
add, 63
check, 63
delete, 63
start, 63
stop, 63
Address Resolution Protocol
See ARP
AdvFS, 12, 721
Use with ASE, 73, 76, 711, 737
Use with Available Server, 17
Use with the TruCluster Available Server,
14
Alert messages, 107
arc, 367
ARC console, 367
ARP, 711
ASE database
/usr/var/ase/config/asecdb, 414
ase driver, 26
ASE Logger daemon, 420
aseagent daemon, 25, 515
asecdb, 47
asedirector daemon, 25, 28
asehsm daemon, 25
aselogger daemon, 26, 515, 517, 64
asemgr, 72
asemgr utility, 410, 414, 416, 55, 64,
69, 612, 74, 75, 711, 712, 717,
719, 721, 727, 732, 735, 736, 1013
aseprod, 15
ase_fix_config, 44, 49
ase_fix_config script, 420
ASP, 75, 720
Automatic Service Placement policy
See ASP
automount, 76
Availability Manager driver, 26
Available Server, 12
troubleshooting, 117
Available Server conguration
differential with PMAZC, 331, 335
Single-ended with PMAZC, 328
B
BA350, 311
jumper, 312
termination, 312
BA353, 311
BA356, 311
jumper, 313
termination, 313
Base operating system setup, 116
BC06P, 321
bindsetup, 45
BN21H, 321
BN21K, 321
BN21L, 321
BN21R, 321
BN21V-0B, 321
BN21W-0B, 321
BN23G, 321
Bus speed
setting for KZPSA, 367
C
Cables, 320
BC06P, 321
BC09, 1122
BN21H, 321
BN21K, 321
BN21L, 321
BN21R, 321
BN21V-0B, 321
BN21W-0B, 321
BN23G, 321
CDFS, 326
cluster, 15
cluster conguration map
See /etc/CCM
cluster map, 83
Index1
Cluster Monitor, 86
setup, 83
cluster_map_create command, 83
cmon utility, 86
Commands
arc, 367
iostat, 1019
netstat, 1018
ps, 1017
rpcinfo, 1017
scu, 1018
set, 367
set pkn, 367
show config, 364, 366
show device, 364, 366
show pk#*, 364, 366
t, 342
t Test TURBOchannel command, 342
uerf, 1016
Compact Disk File System
See CDFS
Conguration
starting, 326
Conguring ASE hardware, 115
Conguring ASE Services, 116
Conguring Available Server
with KZMSA and BA350, 351
with KZMSA and HSZ40, 354
with PMAZC and an HSZ10 or HSZ40,
338
with PMAZC, differential bus, and BA350,
331
with PMAZC, differential bus, and BA356,
335
Conguring TruCluster Available Server
with PMAZC, single-ended bus, and
BA350, 327
Console Utility
t Test TURBOchannel command, 342
D
daemon.log le, 105
Database format change, 47
director daemon, 25
Disk devices, 315
disk service, 64, 73, 719, 721
disklabel, 76
Displaying devices on an AlphaServer 1000,
2000 or 2100, 366
doconfig, 44, 49
DWZZA, 315
in BA350 slot 0, 332
termination, 317, 332, 335, 339, 351,
371
Index2
DWZZA-AA, 336
DWZZA-VA
in BA356 slot 0, 336
DWZZB, 315
termination, 319, 351
DWZZB-VW
in BA356 slot 0, 336
E
edquota, 77
/etc/CCM, 83, 84
/etc/exports, 717
/etc/exports.ase, 717
/etc/exports.ase.servicename, 717
/etc/fstab, 74, 76, 77, 711, 720
/etc/host, 325
/etc/hosts, 45, 49, 410, 411, 74, 711
/etc/ntp.conf, 44
/etc/syslog.conf, 517
event logging, 105
F
failover, 29
Fast SCSI, 33
rmware update
KZPSA, 367
Firmware Update utility, 326
fwupdate.exe, 367
G
Global Event Logging, 14
H
H6660-AA, 321, 322
H8574-A, 321
H879-AA, 321, 322
H885-AA, 321, 322
Hardware components, 310
disk devices, 315
SCSI cables, 320
SCSI controllers, 310
signal converters, 315
storage expansion units, 311
systems, 310
terminators, 320
tri-link connector, 320
Host Status Monitor, 25
HSM daemon, 25
netsetup, 325, 45
Network adapters, 325
Network Time Protocol
See xntpd
newfs, 76
NFS, 15, 74, 76, 77, 711
NFS service, 64, 73, 711
nfssetup, 45
NTP
See xntpd
K
kern.log le, 105
Kernel build, 420
KZMSA, 350
Available Server conguration with BA350,
351
Available Server conguration with HSZ40,
354
boot ROM part numbers, 350
Disable Reset conguration option, 351,
355
hardware revision, 350
NCR chips, 350
setting SCSI ID, 351, 355
setting SCSI speed, 351, 355
updating rmware, 351, 355
KZMSA and DWZZA, 34
KZPSA
bus speed, 367
SCSI bus ID, 367
setting bus speed, 367
setting SCSI ID, 367
KZTSA
displaying and changing SCSI ID, 341
setting up an Available Server
conguration, 344, 347
t command, 342
L
LFU, 356
LFU utility, 350, 358
Loadable Firmware Update utility
See LFU
login service, 731
LSM, 12, 721
Use with ASE, 73, 77, 711, 737
Use with the TruCluster Available Server,
219
M
mailsetup, 45
member systems, 16
mirrored stripe set, 721
mirroring, 721
mkfset, 77
mount command, 417, 423
P
PMAZC
Available Server conguration with an
HSZ10 or HSZ40, 338
Available Server differential conguration
with BA350, 331
Available Server differential conguration
with BA356, 335
Available Server single-ended conguration
with BA350, 327
conguring for a differential conguration,
331, 335, 338
displaying and changing SCSI ID, 341
displaying and changing speed, 341
in single-ended conguration, 327
install, 328, 331, 335, 339
internal jumpers, 341
jumpers, 328, 331, 335, 339, 341
setting SCSI bus speed, 328
setting SCSI ID, 328
t command, 342
termination, 328, 331, 335, 339
used with DWZZA, 332, 339
used with DWZZA-AA, 335
/proc, 77
pseudo host name, 731
Q
quota, 77, 1134
quota.group, 77
quota.user, 77
quotacheck, 77
R
Replacing an LSM Shared Disk, 99
Required subsets, 43
/.rhosts, 83
Index3
S
/sbin/init.d/asemember script, 515
/sbin/init.d/asemember stop, 410, 411
SCSI Bus ID
setting for KZPSA, 367
SCSI bus length, 33
SCSI bus termination, 320
SCSI cables, 320
SCSI controllers, 310
sendmail.cf, 718
service
highly available, 73
set, 367
setid, 328, 331, 335, 339
setld -d, 410, 411
setld -i, 410, 411
setld utility, 48, 410, 414, 416, 417,
423, 59
Setting bus speed
KZPSA, 367
Setting SCSI ID
KZPSA, 367
Shared SCSI bus selection, 420
show config, 364, 366
show device, 364, 366
show pk#*, 364, 366
showfdmn command, 1019
showfsets command, 1019
Signal converters, 315
sizer, 44
Slow SCSI, 33
Software subsets, 43
Starting an Available Server conguration,
326
Storage expansion units, 311
stripe set, 721
Supported hardware
cables, 320
disk devices, 315
signal converters, 315
storage expansion units, 311
terminators, 320
tri-link connector, 320
Supported systems, 310
syslog, 517, 64, 105
T
t, 342
Terminators, 320
H6660-AA, 321, 322
H8574-A, 321, 322
H879-AA, 321, 322
tri-connector
H885-AA, 321
Index4
U
user-dened service, 64, 73, 727, 731
/usr/bin/X11/cmon, 86
/usr/sbin/asemgr, 26
/usr/var/ase/config/asecdb, 55
/usr/var/ase/config/asecdb, 26
Utilities
rmware update utility, 367
LFU, 356
LFU, 350
setid, 328, 331, 335, 339
V
/var/adm/syslog.dated, 712
/var/adm/syslog.dated/date/daemon.log,
515, 517, 522
/var/adm/syslog.dated/date/kern.log,
517
/var/spool/mail, 718
/var/spool/mqueue, 718
vedquota, 77
volprint, 1019
X
X Window System, 86
xntpd, 44
Y
Y cable
BN21V-0B, 321
BN21W-0B, 321
ypsetup, 45
Index5