HP XP7 Storage User Manual
Page 115
GROUP = grp1 , DEVICE = data1 , UnitID = 0 , LDEV = 17003(0x426B)[1] , PORT
= CL8-A , LUN = none :
raidcom: LUN 3(0x3) will be used for adding.
done
C:\HORCM\etc>>raidcom get lun -port CL8-A-0
PORT GID HMD LUN NUM LDEV CM Serial# HMO_BITs
CL8-A 0 LINUX/IRIX 0 1 17000 - 64577
CL8-A 0 LINUX/IRIX 1 1 17001 - 64577
CL8-A 0 LINUX/IRIX 2 1 17002 - 64577
CL8-A 0 LINUX/IRIX 3 1 17003 - 64577
The following shows the example for specifying device groups and creating journal.
C:\HORCM\etc>raidcom add device_grp -device_grp_name dg_jnl1 data1 -ldev_id 512 513 514 515
C:\HORCM\etc>raidcom get device_grp
LDEV_GROUP Serial#
dg_jnl1 64539
C:\HORCM\etc>raidcom get device_grp -device_grp_name dg_jnl1
LDEV_GROUP LDEV_NAME LDEV# Serial#
dg_jnl1 data1 512 64539
dg_jnl1 data1 513 64539
dg_jnl1 data1 514 64539
dg_jnl1 data1 515 64539
C:\HORCM\etc>raidcom add journal -journal_id 2 -grp_opt ldev -device_grp_name dg_jnl1
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 512(0x0200)[1] ,
PORT = none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 513(0x0201)[1] , PORT
= none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 514(0x0202)[1] , PORT
= none , LUN = none :done
GROUP = dg_jnl1 , DEVICE = data1 , UnitID = 0 , LDEV = 515(0x0203)[1] , PORT
= none , LUN = none :done
Common operations when executing provisioning operations
When executing each provisioning operation, log in, log out, lock resources, unlock resources,
and view resource group information using the following operational flow.
Command of Execution
Contents of operation
Summary
Step
raidcom -login
Specify your user name and password
to log in.
Logging in
1
raidcom lock resource -resource_name
Lock the resource group.
Locking resource
group
2
--
Execute provisioning operations.
Provisioning
operations
3
raidcom unlock resource -resource_name
Unlock the resource group.
Unlocking resource
group
4
raidcom get resource
Displays a resource group information,
and confirms a resource group
information and a lock information.
Displaying a resource
group information
5
raidcom -logout
Log out.
Logging out
6
Common operations when executing provisioning operations
115