Sun Enterprise Server Alternate Pathing 2.0.1 User's Guide

Viewing Pathgroup Information

The AP database contains information about disk and network pathgroups. When a pathgroup is initially defined (as described in Chapter 3, Using Metadisks and Disk Pathgroups and Chapter 5, Using Metanetworks and Network Pathgroups), its pathgroup definition is an uncommitted database entry. The metadisk or metanetwork associated with an uncommitted entry is not available until the pathgroup definition is committed. Conversely, when a pathgroup definition is deleted, the deletion must be committed before it takes effect. The two states (uncommitted and committed) enable you to review the effects of an operation before allowing the operation to proceed. To commit the uncommitted database entries, use apdb -C. Note that uncommitted entries remain in the database indefinitely, until you either commit them or remove them.

To View Uncommitted Disk Entries
  1. Use apconfig(1M) with the -S and -u options as follows, where S stands for SCSI and u stands for uncommitted:


    # apconfig -S -u
    
    c1      sf0  P A
    c2      sf1  
            metadiskname(s):
                    mc1t5d0  U 
                    mc1t4d0  U 
                    mc1t3d0  U 
                    mc1t2d0  U 
                    mc1t1d0  U 
                    mc1t0d0  U 

    For more information see Chapter 3, Using Metadisks and Disk Pathgroups.

To View Committed Disk Entries
  1. Use apconfig(1M) with the -S option, as follows, where S stands for SCSI:


    # apconfig -S
    
    c1      pln0  P A
    c2      pln1  
            metadiskname(s):
                    mc1t5d0  R 
                    mc1t4d0   
                    mc1t3d0   
                    mc1t2d0   
                    mc1t1d0   
                    mc1t0d0   

For more information see Chapter 3, Using Metadisks and Disk Pathgroups.

To View Uncommitted Network Entries
  1. Use apconfig(1M) with the -N and -u options, as follows, where N stands for network and u stands for uncommitted:


    # apconfig -N -u
     
    metanetwork:    mle0  U
    physical devices:
                    le2 
                    le0  P A

For more information see Chapter 5, Using Metanetworks and Network Pathgroups.

To View Committed Network Entries
  1. Use apconfig(1M) with the -N option, as follows:


    # apconfig -N
     
    metanetwork:    mle3
    physical devices:
                    le4 
                    le3  P A

For more information see Chapter 5, Using Metanetworks and Network Pathgroups.