Sun Cluster 3.1 Data Service for BroadVision One-To-One Enterprise

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

This section contains the procedures you need to configure Sun Cluster HA for BroadVision One-To-One Enterprise.

Sun Cluster HA for BroadVision One-To-One Enterprise Extension Properties

Use the extension properties in Table 1–4 to create your resources. Use the command line scrgadm -x parameter=value to configure extension properties when you create your resource. Use the procedure in Chapter 13 of the Sun Cluster 3.1 Data Service for BroadVision One-To-One Enterprise to configure the extension properties if you have already created your resources. You can update some extension properties dynamically. You can update others, however, only when you create or disable a resource. The Tunable entries indicate when you can update each property. See Appendix A of the Sun Cluster 3.1 Data Service for BroadVision One-To-One Enterprise for details on all Sun Cluster properties.

Table 1–4 Sun Cluster HA for BroadVision One-To-One Enterprise Extension Properties

Property Category 

Property Name 

Description 

BroadVision One-To-One Enterprise configuration 

 

 

BVUSER

The BroadVision user UNIX ID. Replace bvuser with your preferred username.

 

Default: None

Tunable: At creation

BV1TO1_VAR

The environment variable that is set as bvuser.

 

Default: None

Tunable: At creation

Probe 

 

Monitor_retry_interval

The time (in minutes) over which the Resource Group Manager (RGM) counts fault monitor failures. The number of times that the fault monitor fails can exceed the value that the extension property Monitor_retry_count specifies. If the number of failures exceeds the value of Monitor_retry_count within the time period that Monitor_retry_interval specifies, the Process Monitor Facility (PMF) does not restart the fault monitor.

 

Default: 2

Tunable: Any time

Monitor_retry_count

The number of PMF restarts that the Sun Cluster software allows for the fault monitor. 

 

Default: 4

Tunable: Any time

Probe_timeout

The time-out value in seconds for the probes. 

 

Default: 180

Tunable: Any time

Daemons 

START_ORB_SERVERS

Type Boolean. By default, the data service starts the orbix daemon and all of the BroadVision daemons in the resource. The orbix daemon starts the orbix servers whenever needed. If you want the data service to start the orbix servers, set this property to TRUE.

 

Default: FALSE

Tunable: Any time

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

Use this procedure to register and configure Sun Cluster HA for BroadVision One-To-One Enterprise.


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 Software, 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 and Configuration

Use this procedure to verify that you installed and configured Sun Cluster HA for BroadVision One-To-One Enterprise correctly.

  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.

How to Connect the Command Center to BroadVision One-To-One Enterprise Servers

Use this procedure to connect the Command Center to BroadVision One-To-One Enterprise servers that are configured on a cluster. This procedure provides you two options to connect the Command Center to BroadVision One-To-One Enterprise servers.

  1. Which option do you prefer?

    • Force the Dynamic Control Center (DCC) to use POOP instead of IIOP

      If yes, proceed to Step 2

    • Set the IT_LOCAL_ADDR_LIST property to include the IP addresses of all of the cluster nodes and logical hostnames

      If no, skip to Step 3

  2. Force the Dynamic Control Center (DCC) to use POOP instead of IIOP. To do so, set the value of the My Computer/HKEY_CURRENT_USER/Software/BroadVision/Dynamic Control Center/4.2/Options/Use IIOP Windows registry entry to 0.

  3. Set the IT_LOCAL_ADDR_LIST property to include the IP addresses of all of the cluster nodes and logical hostnames that will run the orbix daemon.

Example - Connecting Command Center to Sun Cluster HA for BroadVision One-To-One Enterprise

This example uses the following sample IP addresses to add to the bv1to1.conf file.

root host

10.10.102.225

back-end host

10.10.102.226

Interaction Manager host

10.10.102.222

Interaction Manager host

10.10.102.223

Based on these sample IP addresses, add the following line to the bv1to1.conf file, under the global export section, before the IT_DAEMON_PORT property.


IT_LOCAL_ADDR_LIST = “127.0.0.1”
               + “10.10.102.222”           
               + “10.10.102.223”           
               + “10.10.102.225”           
               + “10.10.102.226”
               ;           

Note –

DCC cannot recover from a failover. Contact BroadVision One-To-One Enterprise support for more information.