SEARCH DOCS
info central: your site for Collage technical info
  CASSATT.COM   INFO CENTRAL
ACTIVE RESPONSE 5.1 TOPICS BLUEPRINTS TROUBLESHOOTING DOC INDEX


 

TOC

arrow Overview
arrow Prerequisites
arrow Setting up /etc/fstab entries
arrow Verify mounts
know how:

Control Node: Configuring Storage Access

Intended for use with Cassatt Active Response Standard Edition, Premium Edition and Data Center Edition V5.1.

Configuring storage access is accomplished within the larger procedure to set up control node(s) for Cassatt Active Response:

Overview

After you have installed the operating system on the control node(s), and before you install the Cassatt Active Response software, you need to configure access to the storage subsystem, which stores Cassatt Active Response system data, the system database, and software images. A NAS device is the recommended storage solution when using dual control nodes; either SAN or NAS is works with a single control node.

Prerequisites

  • Based on the applications you intend to run and the number of nodes they will use, you have determined the disk space required for Cassatt Active Response storage (see Storage Space: Calculating Requirements).
  • The SAN or the NAS is configured and has at least two partitions; one for the Cassatt Active Response base file system and one for the Cassatt Active Response database file system.

For dual control nodes: do not use an LVM file system as it does not work with the underlying failover software.

About Configuring NAS Devices

  • Set up the NAS device such that all application networks in the Cassatt Active Response environment have root access.
  • Select Unix Style security.

    For example, use the following NAS configuration entry as a guideline:

    Path: /vol/vol2/car/cassatt_db

Options:

Read-Write Access (All Hosts)
Root Access (application-network1, application-network2, application-network3, ...)
Security (sys)

where application-networkn is a network address in CIDR format.

top

Setting up /etc/fstab entries

The Cassatt Active Response installation creates the symbolic links /cassatt and /cassatt/database, so do not use these names as mount points in the /etc/fstab file. (This is a change from previous releases of Cassatt Active Response.)

  1. On the control node, edit the /etc/fstab file as specified in the next table. Add mount points for the two partitions that will host the Cassatt Active Response base and Cassatt Active Response database file systems. The examples in the table use mount points /mnt/cassatt-base and /mnt/cassatt-db. This fstab setup ensures that Cassatt Active Response manages the mounting and unmounting of the Cassatt Active Response base and database file systems and guarantees that both control nodes don’t simultaneously attempt to mount them, which would corrupt a SAN file system.
  2. NAS: Use these mount options in the /etc/fstab entries... SAN: Use these mount options in the /etc/fstab entries... (single control node only)

    nfs rw,intr,hard,bg,tcp 0 0

    For example,
    NAS-name:/vol/a/vol1 /mnt/cassatt-base nfs rw,intr,hard,bg,tcp 0 0

    NAS-name:/vol/a/vol2 /mnt/cassatt-db nfs rw,intr,hard,bg,tcp 0

    ext3 rw,suid,dev,exec,nouser,async 1 0

    For example,
    /dev/sda4 /mnt/cassatt-base ext3 rw,suid,dev,exec,nouser,async 1 0

    /dev/sda5 /mnt/cassatt-db ext3 rw,suid,dev,exec,nouser,async 1 0


  3. Next, if you have configured more than the required two partitions, add mount points to those partitions in the /etc/fstab file. You should give these meaningful names. For example, if you’ve created a partition to host specific application images, you might name the mount point /mnt/application-name. In this way, a Cassatt Active Response user can easily identify which file system to use for various allocation activities within the Cassatt Active Response environment. Use mount options as specified in the next table:

  4. NAS: Use these mount options in the /etc/fstab entries... SAN: Use these mount options in the /etc/fstab entries... (Premium Edition only)

    nfs noauto,rw,intr,hard,bg,tcp 0 0

    For example,
    NAS-name:/vol/a/vol3
    /mnt/cassatt-other nfs noauto,rw,intr,hard,bg,tcp 0 0

    ext3 rw,suid,dev,exec,noauto,nouser,async 1 0

    For example,
    /dev/sda4 /mnt/cassatt-other ext3 rw,suid,dev,exec,noauto,nouser,async 1 0

Be sure to include the noauto option only where directed in the sample fstab entries. Using the noauto option prevents the operating system from automatically mounting the file system on a reboot.

top

Verify mounts

Verify that you can mount the storage. For example, on the control node:

  1. mkdir /mnt/cassatt-base
    mkdir /mnt/cassatt-db
  2. mount /mnt/cassatt-base
    mount /mnt/cassatt-db

    If the mount command fails, verify that the storage device has a file system. If necessary, use the following command to make a file system:

    mkfs -t ext /dev/device

  3. umount /mnt/cassatt-base
    umount /mnt/cassatt-db

If using Data Center Edition, repeat this procedure on the second control node.

This completes the storage configuration procedure.

Return to:

Installing Cassatt Active Response and Control Node Setup: Single Control Node
Installing Cassatt Active Response and Control Node Setup: Dual Control Nodes

top