WintelGuy.com |
||
|
|
|
|
Calriion NaviSecCLI Cheat SheetSecurity 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 -secfilepath
switch. However, if you specify an alternative location for the security file, you must specify the file path in every subsequent CLI command you issue to 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 images, and so on. Disk IDs must be provided in the following format bus-number_enclosure-number_disk-number. All elements are numbered starting from 0. For example, in the following naviseccli createrg command that creates 2+2 RAID10 raid group disk 0_5_0 indicates the first bus or loop, 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_ID>
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:
naviseccli -h <SP_IP> bind <raid_type> <CX_lun_ID> -rg <rg_number> -sp <SP> -sq <size-qualifier> -cap <capacity>
where:
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>
|
| ©2010-2010 All rights reserved. | Comments, questions, problems? |