HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011)

mkconf
The mkconf command is a RAID Manager command tool used to make a configuration file from
a special file (raw device file) provided via STDIN.
Syntax
/HORCM/usr/bin/mkconf.sh (UNIX systems)
\HORCM\Tool\mkconf.exe (Windows and OpenVMS systems)
mkconf.sh [ -g[g] <group> [-m <mu#>] [-i <inst#>] [-s <service>]
[-a] ]
mkconf.exe [ -g[g] <group> [-m <mu#>] [-i <inst#>] [-s <service>]
[-a] [-c <drive#>] ]
Options and parameters
DescriptionOption
No option displays Help/Usage.No argument
Specifies the dev_group name for a configuration file. If not specified, ‘VG’ is used as default.-g <group>
Shows a LUN on the host view by finding a host group (XP1024/XP128 Disk Array and later).-gg
Specifies the mirror descriptor for Business Copy volume. Continuous Access Synchronous volume
does not specify the mirror descriptor.
-m <mu#>
Specifies the instance number for HORCM.-i <inst#>
Specifies the service name for a configuration file. If not specified, ‘52323’ is used as default.-s <service>
Specifies an addition of the group to a configuration file.-a
Windows systems only.-c <drive#>
Specifies the range of drive numbers that should be examined in order to discover the command
devices. If not specified, ‘$PhysicalDrive is used as default.
OpenVMS systems only.-c <DKA#-#>
Specifies the range of drive numbers that should be examined to discover the command devices.
If not specified, ‘$1$DGA0-10000 DKA0-10000 DGA0-10000’ is used as default.
Example
The following shows an example of the mkconf command. The configuration file is created as
“horcm*.conf” in the current directory. The log directory of HORCM is specified as “log*” in the
current directory. You must modify the “ip_address & service of an existing configuration file as
needed.
mkconf command tool example 1 (HP-UX)
# cd /tmp/test
# cat /etc/horcmperm.conf | /HORCM/usr/bin/mkconf.sh -g ORA -i 9 -m 0
starting HORCM inst 9
HORCM inst 9 starts successfully.
HORCM Shutdown inst 9 !!!
A CONFIG file was successfully completed.
starting HORCM inst 9
HORCM inst 9 starts successfully.
DEVICE_FILE Group PairVol PORT TARG LUN M SERIAL LDEV
/dev/rdsk/c23t0d0 ORA ORA_000 CL2-J 0 0 0 61456 192
/dev/rdsk/c23t0d1 ORA ORA_001 CL2-J 0 1 0 61456 193
/dev/rdsk/c23t0d2 ORA ORA_002 CL2-J 0 2 0 61456 194
/dev/rdsk/c23t0d3 ORA ORA_003 CL2-J 0 3 0 61456 195
/dev/rdsk/c23t0d4 ORA ORA_004 CL2-J 0 4 0 61456 256
/dev/rdsk/c23t0d5 ORA ORA_005 CL2-J 0 5 0 61456 257
/dev/rdsk/c23t0d6 ORA ORA_006 CL2-J 0 6 0 61456 258
/dev/rdsk/c23t0d7 - - - - - 0 61456 259
HORCM Shutdown inst 9 !!!
Please check '/tmp/test/horcm9.conf','/tmp/test/log9/curlog/horcm_*.log', and modify 'ip_address & service'.
# ls <=Verify configuration and log files.
mkconf 115