La commande 'lscluster -i' permet d'afficher les informations de communication d'un cluster PowerHA.
La syntaxe est la suivante :
Usage: lscluster { -i | -d | -c [ -n clustername ] } | { -m [ nodename ] | -s | -i <interface name> | -d <disk name>}
Un exemple ci-dessous :
# lscluster -i
Network/Storage Interface Query
Cluster Name: HOOL_CLUSTER
Cluster UUID: 35eab96a-fded-11e2-a857-f6f58ff53902
Number of nodes reporting = 2
Number of nodes stale = 0
Number of nodes expected = 2
Node ahomol1
Node UUID = 35f2c092-fded-11e2-a857-f6f58ff53902
Number of interfaces discovered = 3
Interface number 1, en0
IFNET type = 6 (IFT_ETHER)
NDD type = 7 (NDD_ISO88023)
MAC address length = 6
MAC address = F6:F5:00:00:39:02
Smoothed RTT across interface = 7
Mean deviation in network RTT across interface = 3
Probe interval for interface = 100 ms
IFNET flags for interface = 0x1E084863
NDD flags for interface = 0x0021081B
Interface state = UP
Number of regular addresses configured on interface = 1
IPv4 ADDRESS: 10.76.7.14 broadcast 10.76.7.255 netmask 255.255.255.0
Number of cluster multicast addresses configured on interface = 1
IPv4 MULTICAST ADDRESS: 228.76.11.11
Interface number 2, en1
IFNET type = 6 (IFT_ETHER)
NDD type = 7 (NDD_ISO88023)
MAC address length = 6
MAC address = F6:F5:...:39:03
Smoothed RTT across interface = 7
...
Ci-dessous un extrait de la documentation officielle IBM :
lscluster Command
Purpose
Lists the cluster configuration information.
Syntax
lscluster { -i | -d | -c [ -n clustername ] } | { -m [ nodename ] | -s | -i interfacename | -d
diskname }
Description
The lscluster command displays the attributes associated with the cluster and the cluster
configuration.
Flags
Item
Description
-c
Lists the cluster configuration.
-d
Lists the cluster storage interfaces.
-i
Lists the cluster configuration interfaces on the local node.
-m
Lists the cluster node configuration information.
-n
Allows the cluster names to be queried for all interfaces, storage, or cluster configurations
(applicable only with -i, -d, or -c flags).
-s
Lists the cluster network statistics on the local node.
Examples
1 To list the cluster configuration for all nodes, enter:
lscluster m
2 To list the cluster configuration for the node node1, enter:
lscluster -m node1
3 To list the cluster statistics for the local node, enter:
lscluster s
4 To list the interface information for the local node, enter:
lscluster i
5 To list the interface information for the cluster, enter:
lscluster i n mycluster
6 To list the interface information for the interface en0, enter:
lscluster -i en0
7 To list the storage interface information for the cluster, enter:
lscluster -d
8 To list the cluster configuration, enter:
lscluster -c
xxxxxxxxxxxxxxxxxxxx