Home > Articles > Networking > Storage

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Sample Output From the cfgadm(1M) and showboards Commands

This section contains several DR scenarios and the outcome of different DR or Sun Fire SSC actions.

State and Condition of Attachment Points

The following is a sample of the state and condition of attachment points.

# cfgadm -s "select=class(sbd)"
Ap ID   Type         Receptacle    Occupant      Condition
N0.SB0  CPU_Board    disconnected  unconfigured  unknown
N0.SB2  CPU_Board    connected     configured    ok
N0.IB6  CPCI_I/O_bo  connected     configured    ok
N0.IB8  CPCI_I/O_bo  disconnected  unconfigured  unknown

> showboards
Slot     Pwr  Component Type  State      Status      Domain
----     ---  --------------  -----      ------      ------
SB0      Off  CPU Board       Available  Not tested  Isolated
/N0/SB2  On   CPU Board       Active     Passed      A
/N0/IB6  On   CPCI I/O board  Active     Passed      A
IB8      Off  CPCI I/O board  Available  Not tested  Isolated

CODE EXAMPLE 1 State and Condition of Attachment Points

Powering on a System Board

This sample shows the results from powering on SB0. On the Sun Fire SSC, you must use the showboards command to view the state or condition changes.

# cfgadm -x poweron N0.SB0
# cfgadm -s "select=class(sbd)"
Ap ID   Type         Receptacle    Occupant      Condition
N0.SB0  CPU_Board    disconnected  unconfigured  unknown
N0.SB2  CPU_Board    connected     configured    ok
N0.IB6  CPCI_I/O_bo  connected     configured    ok
IB8     CPCI_I/O_bo  disconnected  unconfigured  unknown

> showboards
Slot     Pwr  Component Type  State      Status      Domain
----     ---  --------------  -----      ------      ------
SB0      On   CPU Board       Available  Not tested  Isolated
/N0/SB2  On   CPU Board       Active     Passed      A
/N0/IB6  On   CPCI I/O board  Active     Passed      A
IB8      Off  CPCI I/O board  Available  Not tested  Isolated

CODE EXAMPLE 2 Results From Powering on a System Board

Configuring a System Board

This sample shows the results from configuring SB0. The board is now connected, configured, and in the OK state-condition. The POST level is specified by using the -o option. The POST output is displayed on the domain console on the Sun Fire SSC. After the POST operation completes successfully, the status of the attachment point changes.

# cfgadm -o platform=dag=default -c configure N0.SB0
# cfgadm -s "select=class(sbd)"
Ap ID   Type         Receptacle    Occupant      Condition
N0.SB0  CPU_Board    connected     configured    ok
N0.SB2  CPU_Board    connected     configured    ok
N0.IB6  CPCI_I/O_bo  connected     configured    ok
IB8     CPCI_I/O_bo  disconnected  unconfigured  unknown

> showboards
Slot     Pwr  Component Type  State      Status      Domain
----     ---  --------------  -----      ------      ------
/N0/SB0  On   CPU Board       Active     Passed      A
/N0/SB2  On   CPU Board       Active     Passed      A
/N0/IB6  On   CPCI I/O board  Active     Passed      A
IB8      Off  CPCI I/O board  Available  Not tested  Isolated

CODE EXAMPLE 3 Results From Configuring a System Board

Disconnecting a System Board

This sample shows the results from disconnecting SB2. The board is automatically powered off after the DR operation, and it is ready to be removed. You can also connect or configure it to another domain.

# cfgadm -o unassign -c disconnect N0.SB2
# cfgadm -s "select=class(sbd)"
Ap ID   Type         Receptacle    Occupant      Condition
N0.SB0  CPU_Board    connected     configured    ok
N0.SB2  CPU_Board    disconnected  unconfigured  unknown
N0.IB6  CPCI_I/O_bo  connected     configured    ok
IB8     CPCI_I/O_bo  disconnected  unconfigured  unknown

> showboards
Slot     Pwr  Component Type  State      Status      Domain
----     ---  --------------  -----      ------      ------
/N0/SB0  On   CPU Board       Active     Passed      A
SB2      Off  CPU Board       Available  Not tested  Isolated
/N0/IB6  On   CPCI I/O board  Active     Passed      A
IB8      Off  CPCI I/O board  Available  Not tested  Isolated

CODE EXAMPLE 4 Results From Disconnecting a System Board

Updating the ACLs

This sample shows the results from updating the ACLs on the Sun Fire SSC. The output of the cfgadm(1M) command reflects the removal of SB2 from the ACL for domain A.

# cfgadm -s "select=class(sbd)"
Ap ID   Type         Receptacle    Occupant      Condition
N0.SB0  CPU_Board    connected     configured    ok
N0.IB6  CPCI_I/O_bo  connected     configured    ok
N0.IB8  CPCI_I/O_bo  disconnected  unconfigured  unknown

> setupplatform -p acl
ACL for domain A [SB0 SB2 IB6 IB8]:-d sb2
ACL for domain B [SB0 SB2 IB6 IB8]:
ACL for domain C [SB0 SB2 IB6 IB8]:

> showplatform -p acl
ACL for domain A [SB0 IB6 IB8]:
ACL for domain B [SB0 SB2 IB6 IB8]:
ACL for domain C [SB0 SB2 IB6 IB8]:

CODE EXAMPLE 5 Results From Updating the ACLs

  • + Share This
  • 🔖 Save To Your Account