Академический Документы
Профессиональный Документы
Культура Документы
Security File Configure security file for a local user account (global scope):
naviseccli -addusersecurity -scope 0 -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
naviseccli -h <SP_IP> storagegroup -addhlu -gname <storage_group_name> -hlu <host_lun_SCSIID> -alu <CX_lun
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>