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:
Stop Web-Based Admin View on all the management servers and nodes.
# /etc/init.d/fjsvwvcnf stop # /etc/init.d/fjsvwvbs stop |
Set the IP addresses or host names of the primary management server and secondary management server.
# /etc/opt/FJSVwvbs/etc/bin/wvSetparam primary-server <primary-management-server-IP-address or primary-management-server-host-name>
# /etc/opt/FJSVwvbs/etc/bin/wvSetparam secondary-server <secondary-management-server-IP-address or secondary-management-server-host-name>
In the case of multiple-node cluster operation
Execute the commands on all the management servers and nodes, referring to the example.
Example: when the primary management server IP is 10.20.30.40 and the secondary management server IP is 10.20.30.41
# /etc/opt/FJSVwvbs/etc/bin/wvSetparam primary-server 10.20.30.40 # /etc/opt/FJSVwvbs/etc/bin/wvSetparam secondary-server 10.20.30.41
In the case of the single-node cluster operation
For each IP address or host name of the primary management server and secondary management server, specify the node's own IP address or host name.
Example: when the node's own IP address is 10.20.30.40
# /etc/opt/FJSVwvbs/etc/bin/wvSetparam primary-server 10.20.30.40
# /etc/opt/FJSVwvbs/etc/bin/wvSetparam secondary-server 10.20.30.40
In this case, no value is displayed in secondary management server information field on the Web-Based Admin View screen.
Restart Web-Based Admin View on all the management servers and nodes.
# /etc/opt/FJSVwvbs/etc/bin/wvCntl restart |
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 "PRIMECLUSTER Web-Based Admin View Operation Guide."
Note
Only the IP addresses (IPv4 or IPv6) can be set to the primary management server and secondary management server.
Sometimes after restarting Web-Based Admin View, it cannot be started and the message below is displayed.
wvcheckconf Error: [sys:group-addr] invalid IpAddress[Host name] wvcheckconf: 'webview.cnf' has not been modified by some Errors. FJSVwvbs: 'webview.cnf' abnormal
This message is displayed when group-addr, which is the environment variable of Web-Based Admin View, is not correctly specified.
Refer to the group address setting in "7.4 Secondary management server automatic migration" in "PRIMECLUSTER Web-Based Admin View Operation Guide" and set the group-addr value correctly.
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 "PRIMECLUSTER Web-Based Admin View Operation Guide" and check the parameter settings.
For details on the wvstat(1M) command, see the manual page.
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.
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:
Stop Web-Based Admin View on all the management servers and nodes.
# /etc/init.d/fjsvwvcnf stop |
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 |
Restart Web-Based Admin View on all the management servers and nodes.
# /etc/opt/FJSVwvbs/etc/bin/wvCntl restart |
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.
If the locales in the table below and the system locale set to the cluster node are not the same in the environment where "ja" is set to <setting_value> of the language setting for Web-Based Admin View in Step 2, the messages output to the syslog (/var/adm/messages) and the console might be garbled. If it appears, change the system locale to a value in the table below to display the messages in Japanese, or set "C" to <setting_value> of the language setting for Web-Based Admin View to display the messages in English.
OS | Locale |
---|---|
Solaris10 | ja (EUC) |
Solaris11 | ja_JP.UTF-8 |
When changing the environment variable again after it is added by the above procedure, execute the following command:
Example when changing the setting of the environment variable "lang":
# /etc/opt/FJSVwvbs/etc/bin/wvSetparam lang <setting_value> |
For details on the command, see "4.5.3 Environment variable modification" in "PRIMECLUSTER Web-Based Admin View Operation Guide."