Nannapaneni1

updated

19 years ago

0

4724

September 28th, 2007 12:00

NaviCLI command for connectivity status

Hi i had to administer clariion remotely and my java console is pretty slow to load connectivity status to know whether the host has been registered and logged in woth all paths or not after zoning. So is there any navicli command for display the information shown in connectivity status?
  • Shanavaz2

    14 Posts

    1925

    0

    Posted September 30th, 2007 20:00

    navicli -h port -list -all

    navicli -h port -list -hba (Specific to HBA)

    The above commands are specific to info about the connectivity status which provides you logged in and registered status
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1925

    1

    Posted September 29th, 2007 15:00

    you could dump everything from the array using navisecli:

    naviseccli -h 10.1.1.1 getall >output.out

    (10.1.1.1 is ip address of my storage processor)

    and then with either bash or perl script..filter required fields from output.out. I think this is the section you are interested in, you will need to run it against SPA and SPB to get host settings for hosts that are attached to both storage processors.

    
    HBA Information
    ---------------
     
     
    Total number of initiators: 66
     
    Information about each HBA:
     
    HBA UID:                 20:00:00:00:C9:38:9C:2F:10:00:00:00:C9:38:9C:2F
    Server Name:             WinHost_A
    Server IP Address:       10.140.57.20
    HBA Model Description:   
    HBA Vendor Description:  
    HBA Device Driver Name:   
    Information about each port of this HBA:
     
        SP Name:               SP A
        SP Port ID:            1
        HBA Devicename:        
        Trusted:               NO
        Logged In:             YES
        Source ID:             6424339
        Defined:               YES
        Initiator Type:           0
        StorageGroup Name:     WindowsHost_A
        ArrayCommPath:         1
        Unit serial number:    Array
        Failover mode:         1
     
        SP Name:               SP B
        SP Port ID:            1
        HBA Devicename:        
        Trusted:               NO
        Logged In:             YES
        Source ID:             6424339
        Defined:               YES
        Initiator Type:           0
        StorageGroup Name:     WindowsHost_A
        ArrayCommPath:         1
        Unit serial number:    Array
        Failover mode:         1
    


    or if you know each host exact name you could query like this:

    navicli -h server1 register -list