shane_emc

updated

18 years ago

S

shane_emc

59 Posts

0

1268

May 8th, 2009 08:00

How to register a new host WWN via navicli from a central box

Anybody know the command to register a host via navicli? I have 56 hosts to register that are all behind a firewall so I want to register them from a server that has access to the Clariion SP's.

navishere agent is not an option because of the firewall issue. I want to put a script togather to register the hosts and there WWN's any ideas???

For example of what i am trying to do. In navishpere you would go to connectivity status, group edit, then pick the WWN and fill in the host name and IP, then register it.

Thanks.
  • bernd3

    42 Posts

    322

    0

    Posted May 11th, 2009 01:00

    Hi not,

    the command you're looking for is navicli storagegroup -setpath
    navicli -h  storagegroup -setpath [-gname StorageGroupName| -uid StorageGroupUID]
    [-arraycommpath 0|1] [-failovermode 0|1|2 |3|4]
    [-hbauid hbauid] [-host hostname] [ -ip ip-address]
    [-sp a|b] [-spport 0|1] [-unitserialnumber array|lun] [-o]
    

    hbauid is WWNN:WWPN

    rgds,bernd
  • shane_emc

    59 Posts

    322

    0

    Posted May 11th, 2009 10:00

    That did the trick. Thanks a ton. thought I was going to have to register all them hosts via Java :).