The lsclusterip command returns a list of the cluster management IP addresses configured for each port.
>>- svcinfo -- -- lsclusterip -- --+----------+-- -- -----------> '- -nohdr -' >--+-----------------------+-- ---------------------------------> '- -delim -- delimiter -' >--+-----------------------------------+-- ---------------------> '- -filtervalue -- attribute=value -' >--+-----------------+-- --+-cluster_id---+-------------------->< '- -filtervalue? -' '-cluster_name-'
svcinfo lsclusterip -filtervalue "cluster_name=md*"
This command displays a list of the cluster management IP addresses configured for each port.
A concise invocation example
svcinfo lsclusterip -delim ,
The concise resulting output
cluster_id,cluster_name,location,port_id,IP_address,service_IP_address,subnet_mask, gateway,IP_address_6,service_IP_address_6,gateway_6,prefix_6 000002006CC0B71A,cl1,local,1,192.168.1.2,DHCP,255.255.255.0,192.168.1.1, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,64 000002006CC0B71A,cl1,local,2,192.168.1.2,DHCP,255.255.255.0,192.168.1.1, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,64 000002006CC0B7110,cl2,remote,1,192.168.1.2,DHCP,255.255.255.0,192.168.1.1, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,64 000002006CC0B7110,cl2,remote,2,192.168.1.2,DHCP,255.255.255.0,192.168.1.1, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,2001:0db8:85a3:0000:0000:8a2e:0370:7334, 2001:0db8:85a3:0000:0000:8a2e:0370:7334,64
A detailed invocation example
svcinfo lsclusterip 000002006CC0B71A
The detailed resulting output
cluster_id 000002006CC0B71A cluster_name cl1 location local port_id 1 IP_address 192.168.1.2 service_IP_address DHCP subnet_mask 255.255.255.0 gateway 192.168.1.1 IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334 service_IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334 gateway_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334 prefix_6 64 cluster_id 000002006CC0B71A cluster_name cl1 location local port_id 2 IP_address 192.168.1.2 service_IP_address DHCP subnet_mask 255.255.255.0 gateway 192.168.1.1 IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334 service_IP_address_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334 gateway_6 2001:0db8:85a3:0000:0000:8a2e:0370:7334 prefix_6 64