Sun Cluster's scconf

Using scconf you can view some useful information about Sun Cluster configuration such as information about cluster transport, disksets, etc. Using multiple v’s you can increase output verbosity. It’s pretty useful especially if you inherited the cluster. I added this command to my Useful Sun Cluster commands, as well.

root@node1 # scconf -p -v
Cluster name:                                      cluster
Cluster ID:                                        0x4538908A
Cluster install mode:                              disabled
Cluster private net:                               172.16.0.0
Cluster private netmask:                           255.255.0.0
Cluster new node authentication:                   unix
Cluster new node list:                             <. - Exclude all nodes>
Cluster transport heart beat timeout:              10000
Cluster transport heart beat quantum:              1000
Cluster nodes:                                     node1 node2

Cluster node name:                                 node1
(node1) Node ID:                                   1
(node1) Node enabled:                              yes
(node1) Node private hostname:                     clusternode1-priv
(node1) Node quorum vote count:                    1
(node1) Node reservation key:                      0x4538908A00000001
(node1) Node transport adapters:                   ce2 ce0

(node1) Node transport adapter:                    ce2
(node1:ce2) Adapter enabled:                       yes
(node1:ce2) Adapter transport type:                dlpi
(node1:ce2) Adapter property:                      device_name=ce
(node1:ce2) Adapter property:                      device_instance=2
(node1:ce2) Adapter property:                      lazy_free=1
(node1:ce2) Adapter property:                      dlpi_heartbeat_timeout=10000
(node1:ce2) Adapter property:                      dlpi_heartbeat_quantum=1000
(node1:ce2) Adapter property:                      nw_bandwidth=80
(node1:ce2) Adapter property:                      bandwidth=70
(node1:ce2) Adapter property:                      netmask=255.255.255.128
(node1:ce2) Adapter property:                      ip_address=172.16.0.129
(node1:ce2) Adapter port names:                    0

(node1:ce2) Adapter port:                          0
(node1:ce2@0) Port enabled:                        yes

(node1) Node transport adapter:                    ce0
(node1:ce0) Adapter enabled:                       yes
(node1:ce0) Adapter transport type:                dlpi
(node1:ce0) Adapter property:                      device_name=ce
(node1:ce0) Adapter property:                      device_instance=0
(node1:ce0) Adapter property:                      lazy_free=1
(node1:ce0) Adapter property:                      dlpi_heartbeat_timeout=10000
(node1:ce0) Adapter property:                      dlpi_heartbeat_quantum=1000
(node1:ce0) Adapter property:                      nw_bandwidth=80
(node1:ce0) Adapter property:                      bandwidth=70
(node1:ce0) Adapter property:                      netmask=255.255.255.128
(node1:ce0) Adapter property:                      ip_address=172.16.1.1
(node1:ce0) Adapter port names:                    0

(node1:ce0) Adapter port:                          0
(node1:ce0@0) Port enabled:                        yes

Cluster node name:                                 node2
(node2) Node ID:                                   2
(node2) Node enabled:                              yes
(node2) Node private hostname:                     clusternode2-priv
(node2) Node quorum vote count:                    1
(node2) Node reservation key:                      0x4538908A00000002
(node2) Node transport adapters:                   ce2 ce0

(node2) Node transport adapter:                    ce2
(node2:ce2) Adapter enabled:                       yes
(node2:ce2) Adapter transport type:                dlpi
(node2:ce2) Adapter property:                      device_name=ce
(node2:ce2) Adapter property:                      device_instance=2
(node2:ce2) Adapter property:                      lazy_free=1
(node2:ce2) Adapter property:                      dlpi_heartbeat_timeout=10000
(node2:ce2) Adapter property:                      dlpi_heartbeat_quantum=1000
(node2:ce2) Adapter property:                      nw_bandwidth=80
(node2:ce2) Adapter property:                      bandwidth=70
(node2:ce2) Adapter property:                      netmask=255.255.255.128
(node2:ce2) Adapter property:                      ip_address=172.16.0.130
(node2:ce2) Adapter port names:                    0

(node2:ce2) Adapter port:                          0
(node2:ce2@0) Port enabled:                        yes

(node2) Node transport adapter:                    ce0
(node2:ce0) Adapter enabled:                       yes
(node2:ce0) Adapter transport type:                dlpi
(node2:ce0) Adapter property:                      device_name=ce
(node2:ce0) Adapter property:                      device_instance=0
(node2:ce0) Adapter property:                      lazy_free=1
(node2:ce0) Adapter property:                      dlpi_heartbeat_timeout=10000
(node2:ce0) Adapter property:                      dlpi_heartbeat_quantum=1000
(node2:ce0) Adapter property:                      nw_bandwidth=80
(node2:ce0) Adapter property:                      bandwidth=70
(node2:ce0) Adapter property:                      netmask=255.255.255.128
(node2:ce0) Adapter property:                      ip_address=172.16.1.2
(node2:ce0) Adapter port names:                    0

(node2:ce0) Adapter port:                          0
(node2:ce0@0) Port enabled:                        yes

Cluster transport junctions:                       switch1 switch2

Cluster transport junction:                        switch1
(switch1) Junction enabled:                        yes
(switch1) Junction type:                           switch
(switch1) Junction port names:                     1 2

(switch1) Junction port:                           1
(switch1@1) Port enabled:                          yes

(switch1) Junction port:                           2
(switch1@2) Port enabled:                          yes

Cluster transport junction:                        switch2
(switch2) Junction enabled:                        yes
(switch2) Junction type:                           switch
(switch2) Junction port names:                     1 2

(switch2) Junction port:                           1
(switch2@1) Port enabled:                          yes

(switch2) Junction port:                           2
(switch2@2) Port enabled:                          yes

Cluster transport cables

 Endpoint            Endpoint            State
--------            --------            -----
Transport cable:   node1:ce2@0         switch1@1           Enabled
Transport cable:   node1:ce0@0         switch2@1           Enabled
Transport cable:   node2:ce2@0         switch1@2           Enabled
Transport cable:   node2:ce0@0         switch2@2           Enabled

Quorum devices:                                    d9

Quorum device name:                                d9
(d9) Quorum device votes:                          1
(d9) Quorum device enabled:                        yes
(d9) Quorum device name:                           /dev/did/rdsk/d9s2
(d9) Quorum device hosts (enabled):                node1 node2
(d9) Quorum device hosts (disabled):
(d9) Quorum device access mode:                    scsi2

Device group name:                                 dskset1-dg
(appset1-dg) Device group type:                    SVM
(appset1-dg) Device group failback enabled:        no
(appset1-dg) Device group node list:               node1, node2
(appset1-dg) Device group ordered node list:       yes
(appset1-dg) Device group desired number of secondaries: 1
(appset1-dg) Device group diskset name:            dskset1-dg