Example of mmpmon nlist s request
This topic is an example of the nlist s request to show the contents of the current node list and the output that displays.
Assume that commandFile contains
this line:
nlist s
and this command is issued: mmpmon -p -i commandFile
The
output is similar to this:
_nlist_ _n_ 199.18.1.2 _nn_ node1 _req_ s _rc_ 0 _t_ 1121956950 _tu_ 863292 _c_ 2
_nlist_ _n_ 199.18.1.2 _nn_ node1 _req_ s _rc_ 0 _t_ 1121956950 _tu_ 863292 _mbr_ node1
_ip_ 199.18.1.2
_nlist_ _n_ 199.18.1.2 _nn_ node1 _req_ s _rc_ 0 _t_ 1121956950 _tu_ 863292 _mbr_
node2 _ip_ 199.18.1.5
If the -p flag
is not specified, the output is similar to:
mmpmon node 199.18.1.2 name node1 nlist s
status 0
name count 2
timestamp 1121957505/165931
node name node1, IP address 199.18.1.2
node name node2, IP address 199.18.1.5
If there is no node list, the response looks like:
_nlist_ _n_ 199.18.1.2 _nn_ node1 _req_ s _rc_ 0 _t_ 1121957395 _tu_ 910440 _c_ 0
If the -p flag is not
specified, the output is similar to:
mmpmon node 199.18.1.2 name node1 nlist s
status 0
name count 0
timestamp 1121957436/353352
the node list is empty
The nlist s request
is rejected if issued while quorum has been lost. Only one response
line is presented.
_failed_ _n_ 199.18.1.8 _nn_ node2 _rc_ 668 _t_ 1121957395 _tu_ 910440
If
the -p flag is not specified, the output
is similar to:
mmpmon node 199.18.1.8 name node2: failure status 668 timestamp 1121957395/910440
lost quorum