You are on page 1of 2

Calriion NaviSecCLI Cheat Sheet

Security File Configure security file for a local user account (global scope):
naviseccli -addusersecurity -scope 0 -password <password> -user <user_name>

Configure security file for a LDAP user account:

naviseccli -addusersecurity -scope 2 -password <password> -user <user_name>

Remove user security information about the current user from the security file:
naviseccli -removeusersecurity

The security file is stored in the user's default home directory. You can specify an alternative file path using the optional -secfilep However, if you specify an alternative location for the security file, you must specify the file path in every subsequent CLI comman ensure that naviseccli locates the security file. Raid Groups Display raid group configuration:
naviseccli -h <SP_IP> getrg -type -disks -drivetype -lunlist -tcap -ucap

Create RAID10 raid group across 2 FC loops/shelves: The first two disks you list in the command form a pair of mirrored images, and the next two disks form another pair of mirrored im on. Disk IDs must be provided in the following format bus-number_enclosure-number_disk-number. All elements are numbere 0. For example, in the following naviseccli createrg command that creates 2+2 RAID10 raid group disk 0_5_0 indicates the first sixth enclosure, and first disk, and disk 1_5_0 indicates the second bus or loop, sixth enclosure, and first disk, and so on.
naviseccli -h <SP_IP> createrg <rg_ID> 0_5_0 1_5_0 0_5_1 1_5_1 -rm no -raidtype r1_0

Storage Groups Display storage group configuration:

naviseccli -h <SP_IP> storagegroup -list -gname <storage_group_name>

List all storage groups with host names:

naviseccli -h <SP_IP> storagegroup -list -host

Add LUN to a storage group:

naviseccli -h <SP_IP> storagegroup -addhlu -gname <storage_group_name> -hlu <host_lun_SCSIID> -alu <CX_lun

LUNs Display information for all LUNs:

naviseccli -h <SP_IP> getlun -uid -rg -type -drivetype -capacity

Display information for a particular LUN:

naviseccli -h <SP_IP> getlun <CX_lun_ID> -uid -rg -type -drivetype -capacity

Create LUN: where: raid_type specifies the RAID type for the LUN: r0 = RAID 0 r1 = RAID 1

naviseccli -h <SP_IP> bind <raid_type> <CX_lun_ID> -rg <rg_number> -sp <SP> -sq <size-qualifier> -cap <cap

r3 = RAID 3 r5 = RAID 5 r6 = RAID 6 r1_0 = RAID 10 size-qualifier specifies the qualifier as follows: mb = megabytes gb = gigabytes (the default) tb = terabytes sc = stripe count bc = block count Rename LUN:
naviseccli -h <SP_IP> chglun -l <CX_lun_ID> -name <LUN_name>

SP Collect Generate SP collect:

naviseccli -h <SP_IP> spcollect

List SP collect files stored on the array:

naviseccli -h <SP_IP> managefiles -list

Retrieve SP collect file and store it on the local computer:

naviseccli -h <SP_IP> managefiles -retrieve -path <local_path> -file <file_name> -o

Array Configuration Capture array's essential configuration data:

naviseccli -h <SP_IP> arrayconfig -capture -output <file_name.xml>