Sun Cluster 3.0 12/01 Data Services Installation and Configuration Guide

Registering and Configuring Sun Cluster HA for BroadVision One-To-One Enterprise

Use the procedures in this section to perform the following tasks.

How to Register and Configure Sun Cluster HA for BroadVision One-To-One Enterprise

To register and configure Sun Cluster HA for BroadVision One-To-One Enterprise, perform the following steps.


Note -

Before you start Sun Cluster HA for BroadVision One-To-One Enterprise, check that your database is accessible.


  1. Shut down all of the BroadVision One-To-One Enterprise servers, including the root host, back-end, and Interaction Manager servers.


    Note -

    Perform this step after you test the BroadVision One-To-One Enterprise installation.


  2. Run the ps(1) command to check that all of the BroadVision One-To-One Enterprise processes and the orbix daemon (orbixd) are stopped on all of the cluster nodes.

  3. Become superuser on one cluster node.

  4. Run the scrgadm command to register the resource type for Sun Cluster HA for BroadVision One-To-One Enterprise.


    # scrgadm -a -t SUNW.bv
    
    -a

    Adds the resource type for the data service.

    -t SUNW.bv

    Specifies the resource type name that is predefined for your data service.

  5. Run the scrgadm command to create the root host, back-end, and Interaction Manager resources.

    1. Create root host and back-end resources in the failover resource groups that you created in Step 2 of "How to Configure and Verify the BroadVision One-To-One Enterprise, Database, and HTTP Server Installation".


      Note -

      The bvuser and BV1TO1_VAR should be the same for all of the resources.



      # scrgadm -a -j root-host-resource -g root-host-resource-group -t SUNW.bv -x BVUSER=bvuser
       -x BV1TO1_VAR=path-to-bv1to1_var-directory
      # scrgadm -a -j back-end-resource-1 -g back-end-resource-group-1 -t SUNW.bv -x BVUSER=bvuser
       -x BV1TO1_VAR=path-to-bv1to1_var-directory
      # scrgadm -a -j back-end-resource-2 -g back-end-resource-group-2 -t SUNW.bv -x BVUSER=bvuser
       -x BV1TO1_VAR=path-to-bv1to1_var-directory
      ...
      # scrgadm -a -j back-end-resource-n -g back-end-resource-group-n -t SUNW.bv -x BVUSER=bvuser
       -x BV1TO1_VAR=path-to-bv1to1_var-directory
      
      -j root-host-resource

      Specifies the name of the root host resource.

      -x BVUSER=bvuser

      Specifies your BroadVision username.

      -x BV1TO1_VAR=path-to-bv1to1_var-directory

      Specifies the path to the $BV1TO1_VAR directory.

      -j back-end-resource-n

      Specifies the name of the back-end resource.

    2. Create the Interaction Manager resource in the scalable resource group.


      Note -

      The bvuser and BV1TO1_VAR should be the same for all of the resources.



      # scrgadm -a -j im-resource -g im-resource-group -t SUNW.bv -x BVUSER=bvuser /
      -x BV1TO1_VAR=path-to-bv1to1_var-directory
      
      -j im-resource

      Specifies the name of the Interaction Manager resource.

  6. Run the scswitch command to enable and bring online the resource groups that now include the BroadVision One-To-One Enterprise resources.


    # scswitch -Z -g root-host-resource-group
    # scswitch -Z -g back-end-resource-group-1
    # scswitch -Z -g back-end-resource-group-2
    ...
    # scswitch -Z -g back-end-resource-group-n
    # scswitch -Z -g im-resource-group
    

How to Verify the Sun Cluster HA for BroadVision One-To-One Enterprise Installation

Perform the following steps to verify the Sun Cluster HA for BroadVision One-To-One Enterprise installation.

  1. From a web browser, log in to an application that you have configured with the BroadVision One-To-One Enterprise software.

  2. Log in to the node that hosts the root host resource group.

  3. Become the BroadVision user.

  4. Shut down the root host processes.

    1. Set the BV_LOCAL_HOST environment variable as root-host-logical-hostname.

    2. Source the bv1to1.conf.sh file or the bv1to1.conf.csh file, depending on the shell that you use.

    3. Run the following BroadVision command.


      # bvconf shutdown -local
      

    Note -

    The Sun Cluster HA for BroadVision One-To-One Enterprise fault monitors will restart the root host.


  5. Ensure that your web browser connection to BroadVision One-To-One Enterprise is still active.

  6. Run the scswitch command to switch the root host resource group to another cluster node, such as node2.


    # scswitch -z -g root-host-resource-group -h node2
    
  7. Ensure that your web browser connection to BroadVision One-To-One Enterprise is still active.

  8. Repeat Step 2 through Step 7 for each back-end resource group.

Where to Go From Here

You have completed your Sun Cluster HA for BroadVision One-To-One Enterprise installation and configuration. See the following sections for supplemental information.