To convert profile data to XML:
mkprofdata -r sys -o createxml
{-m managed-system | -b binary-file}
-x XML-file [--help]
mkprofdata can also be used to convert the profile data for a managed system to XML format and save it to a file.
| -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. |
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
| None | |
| None | |
| Linux | MKPROFDATA (1) | November 2013 |