Installing and upgrading to HP Insight Software 6.0 on Windows Server 2003 R2 MSCS for high availability

35
3. Modify the CMS-HA_defines.vbs file so that resources are created only for those Insight
software components that have been installed.
4. To verify that all prerequisite conditions to create the cluster resources are satisfied, execute the
prerequisites check job step in the Windows Command line Window as follows:
cscript CMS-HA_script.wsf //job:check
5. Ensure that the output of the prerequisites check job step reports all conditions are "OK" before
proceeding to the next step.
6. If all prerequisite conditions are met, execute the cluster resources definition job step as follows:
cscript CMS-HA_script.wsf //job:define
7. The results of the cluster resources creation script may be validated using the
Cluster Administrator.
Notes:
If copying across page breaks, extraneous characters may be included in the text. Remove any
such extraneous characters to avoid syntax errors. For example, extraneous characters could
result in a syntax error such as the following:
CMS-HA_script.wsf(81, 2) Windows Script Host: Invalid character
A line wrap in the document will appear as two lines in the source file. Remove extraneous new
lines to avoid syntax errors. For example, extraneous new lines could result in a syntax error
such as the following:
CMS-HA_script.wsf(104, 76) Microsoft VBScript compilation error:
Unterminated string constant
Examine the lines (in this example, line 104), and edit to join together, removing extraneous
new lines.
CMS-HA_defines.vbs
The CMS-HA_defines.vbs script file contains global definitions used by the cluster resources creation
script. The values in the file must be customized for your environment before executing the cluster
resources creation script, CMS-HA_script.wsf.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
' CMS-HA_defines.vbs
'
' Contains global definitions.
' Change the values here for local implementation.
'
' © Copyright 2010 Hewlett-Packard Development Company, L.P.
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Public Const grpName = "CMS-HA Group"
Public Const simDisk = "CMS-HA Disk"
Public Const simNetname = "CMS-HA Network Name"
Public Const simIP = "CMS-HA IP Address"
Public Const simIPNW = "Public"
Public Const simIPAddr = "140.110.240.64"
Public Const simIPNetmask = "255.255.255.0"
Public Const simNWname = "cms-hpsim"
Public Const simDiskDrive = "V:"
' Multidimension Array of service name/resource name/resource dependencies
' Note: The resources for simIP and simNetname (above) are created automatically
' by the scripts in CMS-HA_script.wsf. arrSvcName defines
"generic
services"
only.
' "Comment out" the generic service resources that should not be created.
Dim arrSvcName
arrSvcName = Array(_
Array("WMI Mapper", "CMS-HA WMI
Service",
"CMS-HA
Disk"), _
Array("HP Systems Insight Manager", "CMS-HA SIM Service", _
"CMS-HA Disk", "CMS-HA Network Name", "CMS-HA WMI Service"), _
Array("OpenSSHd", "CMS-HA OpenSSH Service", "CMS-HA Disk"), _