5.7 Using a YaST Auto-Configuration File to Install and Configure Business Continuity Clustering Software

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:

5.7.1 Creating a YaST Auto-Configuration Profile

  1. 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.

  2. 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.

  3. Continue with Section 5.7.2, Setting Up an NFS Server to Host the Business Continuity Clustering Installation Media.

5.7.2 Setting Up an NFS Server to Host the Business Continuity Clustering Installation Media

  1. Prepare a directory for an NFS share from within a shell.

    To do this, you can either copy the contents of the CD 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, enter commands similar to the following:

                  mkdir /tmp/bcc_install
                  
    
    cp -r /media/<cd-drive> /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.

  2. Create an NFS share by opening a shell and running yast2 nfs_server. Wait until it is open to continue.

  3. Select Start NFS Server, then click Next.

  4. Click Add Directory and enter the following:

    /tmp/bcc_install

  5. Enter a host wildcard if desired.

  6. Click OK, then click Finish.

  7. Continue with Section 5.7.3, Installing and Configuring Business Continuity Clustering on Each Cluster Node.

5.7.3 Installing and Configuring Business Continuity Clustering on Each Cluster Node

You must install BCC software on each cluster node in every cluster that you want to be in the business continuity cluster.

  1. Create a new YaST software installation source by opening a shell and running yast2 inst_source.

  2. Add NFS as the source type.

  3. Specify the server and directory you entered in Step 4, click OK, then click Finish.

  4. 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
  5. 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.

  6. Remove the installation source you created in Step 1 above by completing the following steps:

    1. Open a shell and run yast2 inst_source.

    2. Select the Business Continuity Clustering installation source, click Delete, then click Finish.

  7. Continue with Section 5.7.4, Removing the NFS Share from Your Server.

5.7.4 Removing the NFS Share from Your Server

You can remove the Business Continuity Clustering installation directory as an NFS share. After a successful install, it is needed only if you reinstall or uninstall BCC.

  1. Open a shell and run yast2 nfs_server.

  2. Select Start Server, then click Next.

  3. Select the Business Continuity Clustering installation directory, click Delete, then click Finish.

  4. Continue with Section 5.7.5, Cleaning Up the Business Continuity Clustering Installation Source.

5.7.5 Cleaning Up the Business Continuity Clustering Installation Source

  1. In a terminal console, run one of the commands below, depending on which method you chose in Step 1 of the procedure in Section 5.7.2, Setting Up an NFS Server to Host the Business Continuity Clustering Installation Media.

    rm -rf /tmp/bcc_install

    or

    umount /mnt/iso
  2. Continue with Section 5.6, Configuring the Device Rescan for BCC Migration of Resources.