HP XP P9000 RAID Manager Reference Guide (T1610-96061, January 2014)

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/Snapshot 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 [port 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.
Examples
Example 1: mkconf command tool (HP-XP shown)
In this example, 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
and service' of an existing configuration file as needed.
# 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
mkconf 123