HMC Manual Reference Pages  - MKPROFDATA (1)

NAME

mkprofdata - create profile data

CONTENTS

Synopsis
Description
Options
Examples
Environment
Bugs
Author

SYNOPSIS

To recreate profile data:
mkprofdata -r sys -o recreate -m managed-system -s sys [-v]
[--help]

To convert profile data to XML:
mkprofdata -r sys -o createxml
{-m managed-system | -b binary-file}
-x XML-file [--help]

DESCRIPTION

mkprofdata recreates the profile data for managed-system based on the current configuration of managed-system. This operation will overwrite the current profile data for the managed system so it should only be performed if the profile data for the managed system is corrupted. This operation will create a single profile for each partition in the managed system. This profile will match the current configuration of the partition on the managed system. Any profile attributes not stored on the managed system, including the profile name, will be set to default values. Since no existing partition profiles can be recovered, when this operation completes only the newly created profile will exist for each partition along with the last valid configuration profile that the HMC automatically creates for every partition.

mkprofdata can also be used to convert the profile data for a managed system to XML format and save it to a file.

OPTIONS

-r The type of resource for which to recreate or convert profile data. The only valid value is sys for managed system.
-o The operation to perform. Valid values are recreate to recreate the profile data for a managed system based on the current configuration of the managed system, and createxml to convert the profile data for a managed system to XML format and save it to a file.
-m The name of the managed system for which to perform the profile data operation. The name may either be the user-defined name for the managed system, or be in the form tttt-mmm*ssssssss, where tttt is the machine type, mmm is the model, and ssssssss is the serial number of the managed system. The tttt-mmm*ssssssss form must be used if there are multiple managed systems with the same user-defined name.

If this option is specified when converting profile data to XML format, the current profile data on the managed system will be used. The -m and the -b options are mutually exclusive.

-s The source for the profile data recreate operation. The only valid value is sys for managed system. The profile data for the managed system will be recreated based on the current configuration of the managed system.
-b The name of the files containing the binary profile data to be converted to XML format. binary-file must be a fully qualified file name (it must include the directory name). Both files containing the binary profile data, binary-file and binary-file.dir, must be present for the operation to be performed.

If the files are on removable media, the media must be present in the removable media device and the device must be mounted with the mount command before this command is issued. The lsmediadev command can be used to display all of the removable media devices on the management console.

The -b and the -m options are mutually exclusive.

-x The name of the files to which the profile data is to be written in XML format. If XML-file is not fully qualified, XML-file will be written to the user’s home directory. Two files will be written: XML-file.xml and XML-file_dir.xml.

If the files are to be written to removable media, the media must be present in the removable media device and the device must be mounted with the mount command before this command is issued. The lsmediadev command can be used to display all of the removable media devices on the management console.

-v Specify this option to enable verbose mode for the profile data recreate operation. When verbose mode is enabled, progress messages are displayed.
--help Display the help text for this command and exit.

EXAMPLES

Recreate the profile data for the managed system mySys:

mkprofdata -r sys -o recreate -m mySys -s sys -v

Convert the current profile data on managed system mySys to XML format and save it in the files mySysXML.xml and mySysXML_dir.xml in the user’s home directory:

mkprofdata -r sys -o createxml -m mySys -x mySysXML

Convert the profile data in the files /home/hscpe/sysA and /home/hscpe/sysA.dir to XML format and save it in the files sysAXML.xml and sysAXML_dir.xml in the user’s home directory:

mkprofdata -r sys -o createxml -b /home/hscpe/sysA -x sysAXML

ENVIRONMENT

None

BUGS

None

AUTHOR

IBM Austin


Linux MKPROFDATA (1) November 2013
Generated by manServer 1.07 from mkprofdata.1 using man macros.