Top
PRIMECLUSTER  Installation and Administration Guide4.3

4.2.3 Initial Setup of Web-Based Admin View

Note

Set a single cluster system node to be monitored in a single management server of Web-Based Admin View.

Do not set multiple cluster system nodes to be monitored in a single management server.

4.2.3.1 Initial setup of the operation management server

When using Web-Based Admin View for the first time, you need to initialize the management server on each node. Take the following steps in the order listed below.

Operation Procedure:

  1. Stop Web-Based Admin View on all the management servers and nodes.

    # /etc/init.d/fjsvwvcnf stop
    # /etc/init.d/fjsvwvbs stop
  2. Set the IP addresses or host names of the primary management server and secondary management server.
    Execute the following command on all the management servers and nodes, referring to the example.

    # /etc/opt/FJSVwvbs/etc/bin/wvSetparam primary-server <primary management server IP address or Host name>
    # /etc/opt/FJSVwvbs/etc/bin/wvSetparam secondary-server <secondary management server IP address or Host name>

    Example: See "Web-Based Admin View" on the Cluster Configuration Worksheet and set [Server] - [Primary] - [IP address] and [Server] - [Secondary] - [IP address].

    # /etc/opt/FJSVwvbs/etc/bin/wvSetparam primary-server 10.34.214.181
    # /etc/opt/FJSVwvbs/etc/bin/wvSetparam secondary-server 10.34.214.182
  3. Restart Web-Based Admin View on all the management servers and nodes.

    # /etc/opt/FJSVwvbs/etc/bin/wvCntl restart
    # /etc/init.d/fjsvwvcnf start

See

Web-Based Admin View has some different operation management modes. For further details, see "1.2.2 System topology" and "Chapter 7 Web-Based Admin View setup modification" in the "PRIMECLUSTER Web-Based Admin View Operation Guide."

4.2.3.2 Confirming Web-Based Admin View Startup

This section describes the procedure for confirming whether Web-Based Admin View has been started.

Confirmation Procedure

Check that all node information is output by executing the "wvstat(1M)" command on the connected management server.

Example:

In a two-node configuration consisting of node1(10.20.30.40) and node2(10.20.30.41), node1 is the primary management server and node2 is the secondary management server.

# /etc/opt/FJSVwvbs/etc/bin/wvstat
primaryServer  10.20.30.40 node1  http=10.20.30.40   Run  1d+7h36m
primaryServer   Sessions: 0
primaryServer   Nodes: 2
        10.20.30.40 node1   SunOS-5.11       1d+7h36m
        10.20.30.41 node2   SunOS-5.11       1d+7h36m
secondaryServer 10.20.30.41 node2  http=10.20.30.41   Run  1d+7h36m
secondaryServer Sessions: 0
secondaryServer Nodes: 2
        10.20.30.41 node2   SunOS-5.11       1d+7h36m
        10.20.30.40 node1   SunOS-5.11       1d+7h36m
#

If the information is not properly displayed, Web-Based Admin View has not been started or there may be an error in the Web-Based Admin View settings. Restart Web-Based Admin View and execute the operation again. If node information is still not displayed, refer to the "PRIMECLUSTER Web-Based Admin View Operation Guide" and check the parameter settings.

For details on the wvstat(1M) command, see the manual page.

4.2.3.3 Setting the Web-Based Admin View Language

The language environment in which Web-Based Admin View operates is set to English as default. Even though the client has a Japanese environment, the text of cluster resource management facility messages that are sent from the cluster node is displayed in English.

If you want to display the messages in Japanese, take the following steps to set up environment variables of Web-Based Admin View. You need to set up the variables using a system administrator access privilege on all nodes and the cluster management servers that construct a cluster system.

This operation must be executed with the system administrator authority for all cluster nodes and the cluster management server that make up the cluster system.

Table 4.3 Environment variable for the operation language of Web-Based Admin View

Attribute

Variable

Possible values

Meaning

sys

Lang

C, ja

Language environment in which Web-Based Admin View operates.

C: Operates in English.

ja: Operates in Japanese.

If this variable is not set, Web-Based Admin View operates in the English environment.

Operation Procedure:

  1. Stop Web-Based Admin View on all the management servers and nodes.

    # /etc/init.d/fjsvwvcnf stop
    # /etc/init.d/fjsvwvbs stop
  2. Add the environment variable to the definition file (/etc/opt/FJSVwvbs/etc/webview.cnf) of Web-Based Admin View, and set the language.
    Execute the following command on all the management servers and nodes, referring to the example.

    # /etc/opt/FJSVwvbs/etc/bin/wvSetparam -add <attribute> <environment-variable> <set-value>

    Example: Add the environment variable and set the operation language to Japanese.

    # /etc/opt/FJSVwvbs/etc/bin/wvSetparam -add sys lang ja
  3. Restart Web-Based Admin View on all the management servers and nodes.

    # /etc/opt/FJSVwvbs/etc/bin/wvCntl restart
    # /etc/init.d/fjsvwvcnf start

Note

  • For Web-Based Admin View to display messages in Japanese, the language environment of the personal computers that are being used as clients must be set to Japanese. If a client has an English environment, the message contents turn into garbled characters by the above setting change.

  • To change the environment variable again after it is added by the above procedure, execute the following command:

    # /etc/opt/FJSVwvbs/etc/bin/wvSetparam lang <setting_value>

    For details on the command, see "4.5.3 Environment variable modification" in the "PRIMECLUSTER Web-Based Admin View Operation Guide."