10.4 Adding Storage Management Configuration Information

You can create BCC load and unload scripts for each BCC-enabled resource in each peer cluster. You can add commands that are specific to your storage hardware. These scripts and commands might be needed to promote mirrored LUNs to primary on the cluster where the pool resource is being migrated to, or demote mirrored LUNs to secondary on the cluster where the pool resource is being migrated from.

You can also add commands and Perl scripts to resource scripts to call other scripts. Any command that can be run at the Linux terminal console can be used. The scripts or commands you add are stored in eDirectory. If you add commands to call outside scripts, those scripts must exist in the file system in the same location on every server in the cluster.

IMPORTANT:Scripts are not synchronized by Identity Manager.

Consider the following guidelines when creating and using scripts:

To add storage management configuration information:

  1. Start your Internet browser and enter the URL for iManager.

    The URL is http://server_ip_address/nps/iManager.html. Replace server_ip_address with the IP address or DNS name of the server that has iManager and the Identity Manager preconfigured templates for iManager installed.

  2. Specify your username and password, specify the tree where you want to log in, then click Login.

  3. In Roles and Tasks, click Clusters, then click the Cluster Options link.

  4. Specify a cluster name, or browse and select one.

  5. Under Cluster Objects, select a cluster resource that is enabled for business continuity, then click Details.

    Cluster resources that are enabled for business continuity have the BCC label on the resource type icon.

  6. Click the Business Continuity tab, then click BCC Scripts.

  7. Create BCC storage management load and unload scripts:

    1. Under BCC Load Scripts, click New to bring up a page that lets you create a script to promote mirrored LUNs on a cluster.

      You can also delete a script, edit a script by clicking Details, or change the order in which load scripts execute by clicking the Move Up and Move Down links.

    2. Specify values for the following parameters on the Storage Management Script Details page:

      Parameter

      Description

      Name

      Specify a name for the script you are creating.

      Description

      If desired, specify a description of the script you are creating.

      CIMOM IP or DNS

      If you selected the CIM Client check box on the previous page and you are not using a template, specify the IP address or DNS name for your storage system. This is the IP address or DNS name that is used for storage management.

      Namespace

      If you selected the CIM Client check box on the previous page, accept the default namespace, or specify a different namespace for your storage system.

      Namespace determines which models and classes are used with your storage system. Consult the vendor documentation to determine which namespace is required for your storage system.

      Username and password

      If you selected the CIM Client check box on the previous page, accept the default namespace, or specify a different namespace for your storage system.

      Port

      If you selected the CIM Client check box on the previous page, accept the default port number or specify a different port number. This is the port number that CIMOM (your storage system manager) uses. Consult your storage system documentation to determine which port number you should use.

      Secure

      If you selected the CIM Client check box on the previous page, select the Secure check box if you want storage management communication to be secure (HTTPS). Deselect the Secure check box to use non-secure communications (HTTP) for storage management communications.

      Script parameters

      If desired, specify variables and values for the variables that are used in the storage management script.

      To specify a variable, click New, then provide the variable name and value in the fields provided. Click OK to save your entries. You can specify additional variables by clicking New again and providing variable names and values. You can also edit and delete existing script parameters by clicking the applicable link.

      Script parameters text box

      Use this text box to add script commands to the script you are creating.

      These script commands are specific to your storage hardware. You can add a Perl script, or any commands that can be run on Linux.

      IMPORTANT:If you add commands to call outside scripts, those scripts must exist with the same name and path on every server in the cluster.

      CIM enabled

      Select this check box if your storage system supports SMI-S and you did not select the CIM Client check box on the previous page. This causes the CIM-specific fields to become active on this page.

      Synchronous

      Select this check box to run scripts sequentially (that is, one at a time). Deselect this check box to allow multiple scripts to run concurrently. Most storage system vendors do not support running multiple scripts concurrently.

      Edit flags

      This is an advanced feature, and should not be used except under the direction of Novell Support.

    3. Click Apply and OK on the Script Details page, then click OK on the Resource Properties page to save your script changes.

      IMPORTANT:After clicking Apply and OK on the Script Details page, you are returned to the Resource Properties page (with the Business Continuity tab selected). If you do not click OK on the Resource Properties page, your script changes are not saved.

IMPORTANT:The CIMOM daemons on all nodes in the business continuity cluster should be configured to bind to all IP addresses on the server. For information, see Section 10.5, Configuring CIMOM Daemons to Bind to IP Addresses.