Installation guide
8.3.2 Update initrd
In a sharedroot cluster, the cluster configuration file /etc/cluster/cluster.conf must be copied
into the initrd. Therefore the process of updating the cluster configuration is combined with
updating the initrd.
1. Copy the file /opt/atix/comoonics-cs/xsl/updateinitrd.xml to
/etc/comonics/enterprisecopy/updateinitrd.xml
2. Adjust the settings of /etc/comonics/enterprisecopy/updateinitrd.xml to fit your needs,
e.g., define the correct boot device:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE enterprisecopy SYSTEM "/opt/atix/comoonics-cs/xml/comoonics-
enterprise-copy.dtd">
<enterprisecopy>
<modificationset type="filesystem">
<device name="/dev/mapper/DGC_010p1">
[...]
3. Use the comoonics enterprise copy tool com-ec to begin the update process. Do not
forget to increment the cluster_version value in advance.
# com-ec /etc/comonics/enterprisecopy/updateinitrd.xml
8.3.3 Cluster Clone
The comoonics enterprise copy software solution can be used to create a bootable or
archived clone of the diskless sharedroot cluster. To create a bootable clone, the following
steps must be performed:
1. Copy the file /opt/atix/comoonics-cs/xsl/localclone.xsl to
/etc/comoonics/enterprisecopy/localclone.xml
2. Adjust the settings of /etc/comoonics/enterprisecopy/localclone.xml to fit your needs.
Ensure that the source disks and destination disks are correct. Be aware that all data
on the target destination disk will be deleted during a cloning process.:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE localclone SYSTEM "/opt/atix/comoonics-cs/xml/comoonics-
enterprise-clone.dtd">
<localclone name="localclone2disk" source="disk" destination="disk">
<cluster name="lsrhc5" sourcesuffix="" destsuffix="C"/>
<sourcedisks>
<bootdisk name="/dev/mapper/DGC_010"/>
<rootdisk name="/dev/mapper/DGC_000"/>
</sourcedisks>
<destdisks>
<bootdisk name="/dev/mapper/DGC_009"/>
<rootdisk name="/dev/mapper/DGC_004"/>
</destdisks>
<kernel version="2.6.18-128.el5"/>
</localclone>
3. Execute the cloning process with the following command:
# com-ec -x /opt/atix/comoonics-cs/xsl/localclone.xsl /etc/comoonics/
www.redhat.com | 57