31.3 Sentinel Installation

There are two options to install Sentinel: install every part of Sentinel onto the shared storage using the --location option to redirect the Sentinel installation to the location where you have mounted the shared storage or install only the variable application data on the shared storage.

NetIQ recommends installing Sentinel to each cluster node that can host it. After you install Sentinel the first time, you must perform a complete installation including the application binaries, configuration, and all the data stores. For subsequent installations on the other cluster nodes, you will only install the application. The Sentinel data will be available once you have mounted the shared storage.

31.3.1 First Node Installation

Traditional HA Installation

  1. Connect to one of the cluster nodes (node01) and open a console window.

  2. Download the Sentinel installer (a tar.gz file) and store it in /tmp on the cluster node.

  3. Perform the following steps to start the installation:

    1. Execute the following commands:

      mount /dev/<SHARED1> /var/opt/novell

      cd /tmp

      tar -xvzf sentinel_server*.tar.gz

      cd sentinel_server*

      ./install-sentinel --record-unattended=/tmp/install.props

    2. Specify 2 to select Custom Configuration when prompted to select the configuration method.

  4. Run through the installation, configuring the product as appropriate.

  5. Start Sentinel and test the basic functions. You can use the standard external cluster node IP address to access the product.

  6. Shut down Sentinel and dismount the shared storage using the following commands:

    rcsentinel stop
    
    umount /var/opt/novell
    

    This step removes the autostart scripts so that the cluster can manage the product.

    cd /
    
    insserv -r sentinel
    

Sentinel HA Appliance Installation

The Sentinel HA appliance includes the Sentinel software that is already installed and configured. To configure the Sentinel software for HA, perform the following steps:

  1. Connect to one of the cluster nodes (node01) and open a console window.

  2. Navigate to the following directory:

    cd /opt/novell/sentinel/setup
    
  3. Record the configuration:

    1. Execute the following command:

      ./configure.sh --record-unattended=/tmp/install.props --no-start
      

      This step records the configuration in the file install.props,which is required to configure the cluster resources using the install-resources.sh script.

    2. Specify 2 to select Custom Configuration when prompted to select the configuration method.

    3. When prompted for password, specify 2 to enter a new password.

      If you specify 1, the install.props file does not store the password.

  4. Shut down Sentinel using the following command:

    rcsentinel stop
    

    This step removes the autostart scripts so that the cluster can manage the product.

    insserv -r sentinel
    
  5. Move the Sentinel data folder to the shared storage using the following commands. This movement allows the nodes to utilize the Sentinel data folder through shared storage.

    mkdir -p /tmp/new
    
    mount /dev/<SHARED1> /tmp/new
    
    mv /var/opt/novell/sentinel /tmp/new
    
    umount /tmp/new/
    
  6. Verify the movement of the Sentinel data folder to the shared storage using the following commands:

    mount /dev/<SHARED1>  /var/opt/novell/
    
    umount /var/opt/novell/
    

31.3.2 Subsequent Node Installation

Repeat the installation on other nodes:

The initial Sentinel installer creates a user account for use by the product, which uses the next available user ID at the time of the install. Subsequent installs in unattended mode will attempt to use the same user ID for account creation, but the possibility for conflicts (if the cluster nodes are not identical at the time of the install) does exist. It is highly recommended that you do one of the following:

  • Synchronize the user account database across cluster nodes (manually through LDAP or similar), making sure that the sync happens before subsequent installs. In this case the installer will detect the presence of the user account and use the existing one.

  • Watch the output of the subsequent unattended installs - a warning will be issued if the user account could not be created with the same user ID.

Traditional HA Installation

  1. Connect to each additional cluster node (node02) and open a console window.

  2. Execute the following commands:

    cd /tmp
    
    scp root@node01:/tmp/sentinel_server*.tar.gz .
    
    scp root@node01:/tmp/install.props .
    
    tar -xvzf sentinel_server*.tar.gz
    
    ./install-sentinel --no-start --cluster-node --unattended=/tmp/install.props
    
    insserv -r sentinel
    

Sentinel HA Appliance Installation

  1. Connect to each additional cluster node (node02) and open a console window.

  2. Execute the following command:

    insserv -r sentinel
    
  3. Stop Sentinel services.

    rcsentinel stop
    
  4. Remove Sentinel directory.

    rm -rf /var/opt/novell/sentinel
    

At the end of this process, Sentinel should be installed on all nodes, but it will likely not work correctly on any but the first node until various keys are synchronized, which will happen when we configure the cluster resources.