cltopinfo command
Purpose
Displays complete topology information: The cluster name, total number of networks, total number of missed heartbeats and nodes configured in the cluster. Displays all the configured networks for each node. Displays all the configured interfaces for each network. Also displays all the resource groups defined.Syntax
cltopinfo [-c] [-i] [-n] [-w]
Flags
- -c
- Shows the cluster name and the security mode (Standard or Enhanced)
- -i
- Shows all interfaces configured in the cluster. The information includes the interface label, the network it's attached to (if appropriate), the IP address, netmask, nodename and the device name.
- -n
- Shows all the nodes configured in the cluster. For each node, lists all the networks defined. For each network, lists all the interfaces defined and the distribution preference for service IP label aliases (if defined).
- -w
- Shows all the networks configured in the cluster. For each network, lists all the nodes attached to that network. For each node, lists all the interfaces defined and the distribution preference for service IP label aliases (if defined).
Example 1
To show all of the nodes and networks defined in the cluster (nodes coffey1 and lee1), use the cltopinfo command. The following cluster is configured with IPv4 addresses and IPv6 addresses. The output looks similar to the following:
Cluster Name: hacmp_full_ipv6
Cluster Connection Authentication Mode: Standard
Cluster Message Authentication Mode: None
Cluster Message Encryption: None
Use Persistent Labels for Communication: No
There are 2 node(s) and 2 network(s) defined
NODE coffey1:
Network net_ether_01
service_ipv4_2 1.8.4.2
service_ipv6_1 fe80::c862:67ff:fe58:5646
coffey1_boot3 1.4.6.4
coffey1_boot1 1.2.4.4
Network net_ether_02
service_ipv4_32 1.8.4.4
service_ipv6_31 fe80::c862:67ff:fe58:5846
coffey1_boot_v6 fe80::c872:67ff:fe59:8647
coffey1_boot_v6 fe80::c872:678f:fe95:8683
NODE lee1:
Network net_ether_01
service_ipv4_2 1.8.4.2
service_ipv6_1 fe80::c862:67ff:fe58:5646
lee1_boot1 1.2.4.3
lee1_boot3 1.4.6.3
Network net_ether_02
service_ipv4_32 1.8.4.4
service_ipv6_31 fe80::c862:67ff:fe58:5846
lee1_boot_v6 fe80::c672:fe56:fe82:2345
lee1_boot_v6 fe80::fe34:3456:f873:f345
Resource Group RG1
Startup Policy Online On Home Node Only
Fallover Policy Fallover To Next Priority Node In The List
Fallback Policy Fallback To Higher Priority Node In The List
Participating Nodes coffey1 lee1
Service IP Label service_ipv4_1
Service IP Label service_ipv4_31
Resource Group RG2
Startup Policy Online On Home Node Only
Fallover Policy Fallover To Next Priority Node In The List
Fallback Policy Fallback To Higher Priority Node In The List
Participating Nodes lee1 coffey1
Service IP Label service_ipv4_2
Service IP Label service_ipv4_32
Example 2
To show the cluster name and current security mode, use the cltopinfo command. The output looks similar to the following:
# cltopinfo -c
Cluster Name: c10
Cluster Connection Authentication Mode: Standard
Cluster Message Authentication Mode: None
Cluster Message Encryption: None
Use Persistent Labels for Communication: No
Example 3
To show all of the nodes defined in the cluster, use the cltopinfo command. The following cluster is configured with IPv4 addresses and IPv6 addresses. The output looks similar to the following:
# cltopinfo -n
NODE abby:
Network net_ether_01
abby_en1stby 192.168.121.7
abby_en0boot 192.168.120.7
Network net_ether_02
abby_boot1_v6 fe80::c872:67ff:fe59:8647
abby_boot2_v6 fe80::c872:678f:fe95:8683
Network net_rs232_01
Network net_rs232_02
abby_tty0_01 /dev/tty0
NODE polly:
Network net_ether_01
polly_en0boot 192.168.120.9
polly_en1stby 192.168.121.9
polly_en2boot 192.168.122.9
Network net_ether_02
polly_boot1_v6 fe80::c672:fe56:fe82:2345
polly_boot2_v6 fe80::fe34:3456:f873:f345
Network net_rs232_01
Network net_rs232_02
polly_tty0_01 /dev/tty0
Example 4
To show all of the networks defined in the cluster, use the cltopinfo command. The following cluster is configured with IPv4 addresses and IPv6 addresses. The output looks similar to the following:
# cltopinfo -w
Network net_ether_01
NODE abby:
abby_en1stby 192.168.121.7
abby_en0boot 192.168.120.7
NODE polly:
polly_en0boot 192.168.120.9
polly_en1stby 192.168.121.9
polly_en2boot 192.168.122.9
Network net_ether_02
NODE abby:
abby_boot1_v6 fe80::c872:67ff:fe59:8647
abby_boot2_v6 fe80::c872:678f:fe95:8683
NODE polly:
polly_boot1_v6 fe80::c672:fe56:fe82:2345
polly_boot2_v6 fe80::fe34:3456:f873:f345
Network net_rs232_01
NODE abby:
NODE polly:
Network net_rs232_02
NODE abby:
abby_tty0_01 /dev/tty0
NODE polly:
polly_tty0_01 /dev/tty0
Example 5
To show all of the interfaces defined in the cluster, use the cltopinfo command. The output looks similar to the following:
# cltopinfo -i
IP Label NetworkType Node Address If Netmask Pefixlenth
==================== ==== ======= ==== ======= ==========
abby_en1stby net_ether_01 ether abby 192.168.121.7 en2 255.255.255.0
abby_en0boot net_ether_01 ether abby 192.168.120.7 en1 255.255.255.0
abby_boot1_v6 net_ether_02 ether abby fe80::c872 en3 64
abby_boot2_v6 net_ether_02 ether abby fe80::c672 en4 64
abby_tty0_01 net_rs232_02 rs232 abby /dev/tty0 tty0
polly_en0boot net_ether_01 ether polly 192.168.120.9 en1 255.255.255.0
polly_en1stby net_ether_01 ether polly 192.168.121.9 en2 255.255.255.0
polly_en2boot net_ether_01 ether polly 192.168.122.9 en3 255.255.255.0
polly_boot1_v6 net_ether_02 ether polly fe80::c072 en4 64
polly_boot2_v6 net_ether_02 ether polly fe80::c172 en5 64
polly_tty0_01 net_rs232_02 rs232 polly /dev/tty0 tty0