beautypg.com

Mkconf, Mkconf 135 – HP XP RAID Manager Software User Manual

Page 135

background image

135

mkconf

Make a configuration file

Description

The mkconf command is used to make a configuration file from a special
file (raw device file) provided via STDIN. It executes the following steps:

1. Make a configuration file containing only the HORCM_CMD section

by executing inqraid –sort –CM –CLI.

2. Start an RM instance without a HORCM_DEV and HORCM_INST

section, which is just enough to execute the raidscan command for the
next step.

3. Make a configuration file including the HORCM_DEV and

HORCM_INST sections by executing raidscan –find conf using a
special file (raw device file) provided via STDIN. For STDIN file
specification information, see Appendix D,

“STDIN file formats”

.

4. Start an RM instance using the newly created configuration file.

5. Execute raidscan –find verify to verify the correspondence between

host device files and the newly created configuration file.

The configuration file is created with the name horcm*.conf within the
current directory. An RM log directory is created with the name log* within
the current directory.

You may have to modify the ip_address and service parameters within the
newly created configuration file as the need arises.

Syntax

mkconf.sh

{ –a | –g group | –i inst# | –m MU# | –s service }

Windows NT/2000/2003 or OpenVMS only:

mkconf.exe

{ –a | –c drive#/DKA# # | –g group | –i inst# ] | –m MU# |

–s

service }

Arguments

(none)

Using the mkconf command without any arguments
displays help/usage information.

–a

Used to add a new volume group within the newly
created configuration file.