You can install Business Continuity Clustering for Linux core software and Identity Manager management utilities without taking the Business Continuity Clustering software CD or ISO file to different nodes in your cluster. To do this, you must perform the following tasks:
In a text editor, create a YaST auto-configuration profile XML file named bccprofile.xml.
Auto-configuration files are typically stored in the /var/lib/autoinstall/repository/ directory, but you can use any directory.
The file should appear similar to the example below.
<?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <configure> <bcc> <config-type>New</config-type> <start-now>Yes</start-now> <cluster-dn>cn=my_cluster.o=novell</cluster-dn> <ldap-server>10.1.1.0</ldap-server> <ldap-port>389</ldap-port> <ldap-secure-port>636</ldap-secure-port> <admin-dn>cn=admin.o=novell</admin-dn> <admin-password>password</admin-password> </bcc> </configure> </profile>
Edit the above example to apply to your own specific system settings.
Copy the XML file you created in Step 1 to each node in the cluster.
Use the same path on each node. You can use the scp command to copy the file securely. See the scp man page for information on using scp.
Prepare a directory for an NFS share from within a shell.
To do this, you can either copy the contents of the CD you created to a local directory, or you can mount the ISO image as a loopback device.
To copy the contents of the CD to a local directory, you could enter commands similar to the following:
mkdir /tmp/bcc_install cp -r /media/dvdrecorder /tmp/bcc_install
To mount the ISO image as a loopback device, enter commands similar to the following:
mkdir /mnt/iso mkdir /tmp/bcc_install mount path_to_BCC_ISO /tmp/bcc_install -o loop
Replace path_to_BCC_ISO with the location of the Business Continuity Clustering software ISO image.
Create an NFS share by opening a shell and running yast2 nfs_server. Then continue with Step 3 below.
Select
, then click .Click
and enter the following:/tmp/bcc_install
Enter a host wildcard if desired, click
, then click .You must install BCC 1.2 software on each cluster node in every cluster that you want to be in the business continuity cluster.
Create a new YaST software installation source by opening a shell and running yast2 inst_source.
Add
as the source type.Specify the server and directory you entered in Step 4, click , then .
Install Business Continuity Clustering software by opening a shell and running the following commands in the order indicated:
yast2 sw_single -i \ novell-business-continuity-cluster \ novell-cluster-services-cli \ yast2-bcc
Autoconfigure the Business Continuity Clustering software by running the following command from a shell:
yast2 bcc_autoconfig path_to_XML_profile
Replace path_to_XML_profile with the path to the file you created in Step 1.
Remove the installation source you created in Step 1 above by completing the following steps:
Open a shell and run yast2 inst_source.
Select the Business Continuity Clustering installation source, click
, then click .You can optionally remove the Business Continuity Clustering installation directory as an NFS share. After a successful install, it is needed only if you re-install or uninstall BCC.
Open a shell and run yast2 nfs_server
Select
, then click .Select the Business Continuity Clustering installation directory, click
, then click .Clean up the Business Continuity Clustering installation source by opening a terminal console and running one of the commands below, depending on which method you chose in Step 1.
rm -rf /tmp/bcc_install
or
umount /mnt/iso