Run the commands listed below to extract the existing cluster configuration information created in step 1 above. Save this information into a file (note the export command outputs information to stdout). Ensure all resources are In Service on the node before running the export script.
#/opt/LifeKeeper/lkadm/bin/lkexportxml
Note that if the LifeKeeper hierarchy contains resource types not listed as supported in section 2-3 of this document will result in an error when running lkexportxml.
Usage examples:
Assuming that the output file is resource.xml, and its directory is under ~/Chef.
# /opt/LifeKeeper/lkadm/bin/lkexportxml>~/Chef/resource.xml
Examples of output result
The file created here is copied to the Chef workstation (The Linux node where the attribute conversion script “exp2chef.pl” was copied in section ‘Environment Preparation’).
このトピックへフィードバック