ETERNUS SF Manager requires the following resources:
Items | OS | ||
---|---|---|---|
Windows | Solaris | Linux | |
Transaction name | Required | Required | Required |
Logical IP address | Required | Required | Required |
Shared disk for shared data | Required | Required | Required |
Disk resource of shared disk for shared data | Required | Required | Required |
Resource type | Unnecessary | Required | Required |
Cluster name | Required | Unnecessary | Unnecessary |
Network name | Required | Unnecessary | Unnecessary |
Network for external connections | Required | Unnecessary | Unnecessary |
IP address resource | Required | Unnecessary | Unnecessary |
Generic script | Required | Required | Required |
Each item is explained below.
Transaction name
Name of cluster transaction.
Logical IP address
IP address for data communication with the Web Console and Managed Servers.
We recommend that you use a new logical IP address created only for ETERNUS SF Manager.
When allocating a new one, make sure that existing transactions use the IP address as a failover resource and that adding the IP address resource has no adverse effects on transactions.
If you use an existing logical IP address, share it with ETERNUS SF Manager in order to make sure that no trouble occurs with any other product already using this logical IP address.
Shared disk for shared data
Volume for storing shared data of ETERNUS SF Manager.
With regard to such factors as reliability and update performance, we recommend that you use a new volume created only for ETERNUS SF Manager.
Note
When you specify a shared disk for shared data, be careful about the following points:
Define the shared disk for shared data as a shared disk of a cluster.
Allocate a disk that does not use AdvancedCopy Manager to carry out backup and replication.
Allocate a disk that is not used by AdvancedCopy Manager CCM as a copy source, copy destination or access volume.
On the shared disk for shared data, create a file system.
In order to be used by the file system, make the shared disk mountable.
Use a disk that is not used as a Quorum disk.
Refer to "Dynamic Disk Space" in "Operating Environment for ETERNUS SF Manager" in the ETERNUS SF Installation and Setup Guide for information on the disk space required for ETERNUS SF Manager.
Disk resource of shared disk for shared data
Disk resource name of shared disk for shared data.
Resource type
Procedure resource and command line resource.
Cluster name
Cluster name specified in WSFC.
Network name
Dedicated network name for ETERNUS SF Manager that is specified when using a new logical IP address.
ETERNUS SF Manager creates a network resource under this network name.
Network for external connections
Network name for external communication specified in WSFC, to be specified when using a new logical IP address.
IP address resource
IP address resource name in which logical IP address is set up, to be specified when using an already existing logical IP address.
Generic script
Script for starting or stopping services/daemon.
Create generic script files for starting and stopping the following services:
ETERNUS SF Manager Apache Service
ETERNUS SF Manager Tomcat Service
Create the following script file separately for each service.
You can freely specify any file name, but the file extension must be ".vbs".
Function Online() Dim objWmiProvider Dim objService Dim strServiceState ' Check to see if the service is running set objWmiProvider = GetObject("winmgmts:/root/cimv2") set objService = objWmiProvider.get("win32_service='serviceName'") strServiceState = objService.state If ucase(strServiceState) = "RUNNING" Then Online = True Else ' If the service is not running, try to start it. response = objService.StartService() ' response = 0 or 10 indicates that the request to start was accepted If ( response <> 0 ) and ( response <> 10 ) Then Online = False Else Online = True End If End If End Function Function Offline() Dim objWmiProvider Dim objService Dim strServiceState ' Check to see if the service is running set objWmiProvider = GetObject("winmgmts:/root/cimv2") set objService = objWmiProvider.get("win32_service='serviceName'") strServiceState = objService.state If ucase(strServiceState) = "RUNNING" Then response = objService.StopService() If ( response <> 0 ) and ( response <> 10 ) Then Offline = False Else Offline = True End If Else Offline = True End If End Function Function LooksAlive() Dim objWmiProvider Dim objService Dim strServiceState set objWmiProvider = GetObject("winmgmts:/root/cimv2") set objService = objWmiProvider.get("win32_service='serviceName'") strServiceState = objService.state if ucase(strServiceState) = "RUNNING" Then LooksAlive = True Else LooksAlive = False End If End Function Function IsAlive() Dim objWmiProvider Dim objService Dim strServiceState set objWmiProvider = GetObject("winmgmts:/root/cimv2") set objService = objWmiProvider.get("win32_service='serviceName'") strServiceState = objService.state if ucase(strServiceState) = "RUNNING" Then IsAlive= True Else IsAlive = False End If End Function |
Instead of serviceName in the script, enter the corresponding service name (one of the following):
esfmanagerweb
esfmanagertomcat
Create generic scripts (Start/Stop/Check) for the following daemons.
ETERNUS SF Manager Apache daemon
ETERNUS SF Manager Tomcat daemon
ETERNUS SF Manager Postgres daemon
Create the generic scripts according to the following settings. Specify the unique names to the files.
Type | Owner | Group | Access permission |
---|---|---|---|
Start script | root | root | 544 |
Stop script | root | root | 544 |
Check script | root | root | 544 |
[Start script]
#!/bin/sh # # ETERNUS SF Manager daemon start for PRIMECLUSTER # /etc/init.d/startSFmanager start if [ $? -ne 0 ]; then exit 1 fi exit 0 |
[Stop script]
#!/bin/sh # # ETERNUS SF Manager daemon stop for PRIMECLUSTER # /etc/init.d/startSFmanager stop if [ $? -ne 0 ]; then exit 1 fi |
[Check script]
For Solaris version
#!/bin/sh # # ETERNUS SF Manager Check script for PRIMECLUSTER # PATH=/bin:/usr/bin:/sbin:/usr/sbin export PATH check_postgres() { ps -ef | grep '/opt/FJSVesfcm/postgres/bin/postgres' | grep -v grep > /dev/null 2>&1 if [ $? -ne 0 ]; then return 1 fi return 0 } check_apache() { ps -ef | grep '/opt/FJSVesfcm/apache/bin/httpd' | grep -v grep > /dev/null 2>&1 if [ $? -ne 0 ]; then return 1 fi; return 0 } check_tomcat() { ps -ef | grep '/opt/FJSVesfcm/JRE/bin/java' | grep 'FJSVesfcm' | grep -v grep > /dev/null 2>&1 if [ $? -ne 0 ]; then return 1 fi; return 0 } for EXEC in check_postgres check_apache check_tomcat do eval $EXEC if [ $? -ne 0 ]; then exit 1 fi done exit 0 |
For Linux version
#!/bin/sh # # ETERNUS SF Manager Check script for PRIMECLUSTER # PATH=/bin:/usr/bin:/sbin:/usr/sbin export PATH check_postgres() { ps -ef --cols 90 | grep '/opt/FJSVesfcm/postgres/bin/postgres' | grep -v grep > /dev/null 2>&1 if [ $? -ne 0 ]; then return 1 fi return 0 } check_apache() { ps -ef --cols 90 | grep '/opt/FJSVesfcm/apache/bin/httpd' | grep -v grep > /dev/null 2>&1 if [ $? -ne 0 ]; then return 1 fi; return 0 } check_tomcat() { ps -ef --cols 90 | grep '/opt/FJSVesfcm/JRE/bin/java' | grep 'FJSVesfcm' | grep -v grep > /dev/null 2>&1 if [ $? -ne 0 ]; then return 1 fi; return 0 } for EXEC in check_postgres check_apache check_tomcat do eval $EXEC if [ $? -ne 0 ]; then exit 1 fi done exit 0 |