Tag Archives: naviseccli

VNX CLI commands

This is a collection of useful naviseccli commands. It is expanded continuously…

Add Host to Storagegroup:

naviseccli -h <SPA IP> -user <username> -password <password> -scope 0 storagegroup -connecthost -host <host name> -gname <group name>

Add LUN to Storagegroup:

naviseccli -h <SPA IP> -user <username> -password <password> -scope 0 storagegroup -addhlu -gname <group name> -hlu <host lun id> -alu <array lun id>

Register Host initiator:

naviseccli -h <SPA IP> -user <username> -password <password> -scope 0  storagegroup -setpath -gname <group name> -hbauid <hba uid>  -host <host name -sp <a or b> -spport <sp port number> -ip <host ip> -failovermode <4 for clariion/vnx> -o

Change LUN name:

naviseccli -h <SPA IP> -user <username> -password <password> -scope 0 chglun -l <lun id> -name <new lun name>

Deregister hosts

naviseccli -h <SPA IP> -user <username> -password <password> -scope 0 port -o -removehba -hbauid <hba uid>
TwitterLinkedInXINGStumbleUpon