This section explains the resources necessary before installation.
[Windows]
Client Access Point
An access point is necessary in order to enable communication between the RC console, managed servers, and managers. The IP addresses and network names used for access are allocated.
When the same access point will be used for access by the RC console and the admin LAN, prepare a single IP address and network name. When different access points will be used for access by the RC console and the admin LAN, prepare a pair of IP addresses and network names.
Shared Disk for Managers
Prepare at least one storage volume (LUN) to store data shared by the managers.
For the necessary disk space for the shared disk, total the values for "Installation_folder" and "Image_file_storage_folder" indicated for managers in "Table 1.10 Dynamic Disk Space" in "1.1.2.5 Dynamic Disk Space", and secure the necessary amount of disk space.
Generic Scripts for Manager Services
Create the generic script files for (starting and stopping) the following manager services:
Resource Coordinator Web Server(Apache)
Resource Coordinator Sub Web Server(Mongrel)
Resource Coordinator Sub Web Server(Mongrel2)
Create a script file with the following content for each of the services.
The name of the file is optional, 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='service_name'")
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='service_name'")
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='service_name'")
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='service_name'")
strServiceState = objService.state
if ucase(strServiceState) = "RUNNING" Then
IsAlive= True
Else
IsAlive = False
End If
End Function |
Specify the following three service names for four occurrences of "service_name" in the script.
ResourceCoordinatorWebServer(Apache)
Resource Coordinator Sub Web Server(Mongrel)
Resource Coordinator Sub Web Server(Mongrel2)
[Linux]
Takeover Logical IP Address for the Manager
When operating managers in cluster systems, allocate a new, unique IP address on the network to PRIMECLUSTER GLS.
If the IP address used for access from the RC console differs from the above IP address, prepare another logical IP address and allocate it to PRIMECLUSTER GLS.
When using an IP address that is already being used for an existing operation (cluster application), there is no need to allocate a new IP address for the manager.
Shared Disk for Managers
Prepare a PRIMECLUSTER GDS volume to store shared data for managers.
For the amount of space for the shared disk, secure more than the total amount of space given in "Manager [Linux]" in "Table 1.10 Dynamic Disk Space" of "1.1.2.5 Dynamic Disk Space".