7.12.2 Creating a cluster environment for using Asset Console's failover function
This subsection describes how to create a cluster environment in which to use Asset Console's failover function.
-
On the executing server, install Asset Console.
The table below describes the settings. Specify them in the order they are listed in the table.
For items that are not included in the table, set them as you would normally.
For details about the installation procedure, see 7.2.2 Installing Asset Console. For details about the setup procedure, see 7.3 Setting up the asset management server.
Table 7‒15: Asset Console settings Program
Setup item
Setting
Asset Console installation wizard
Selection of the installation destination
Specify a local disk.
Asset management server's virtual directory (the default is Asset-Console-installation-folder\wwwroot)
Specify a shared disk.
Asset Console's Setup dialog box
Service name
Specify the ODBC data source name.
Login ID and password
Specify the same login ID and password for the executing and standby servers.
Create the database in the Database Manager dialog box
--
Execute on both the executing and standby servers.
Basic Database Settings dialog box
Port number
Specify the same port number for the executing and standby servers.
Detailed Database Settings dialog box
Storage folder name
Specify a shared disk.
Use the same path for the executing and standby servers.
Detailed Database Settings dialog box
Size, automatic increase size
Specify the same size and the same automatic increase size for both executing and standby servers.
Create Data Source dialog box
Creation of data source
The data source is automatically created according to the settings when a new database is created. On the executing server, change the connection target of the data source to a logical host name (network name) after database creation is completed. (Immediately after a new database has been created, the connection target of the data source is set to localhost).
On the standby server, create a database after installation, and then change the connection target of the data source to the same logical host name (network name) as for the executing server.
- Legend:
-
--: Not applicable
-
Check the operation at the executing server.
The database service might reference a file on the shared disk. Therefore, execute the following tasks when the operation completion is confirmed.
-
Stop World Wide Web Publishing Service or World Wide Web Publishing.
-
As a user with administrator permissions, execute jamemb_dbstop.bat and stop the asset management database.
jamemb_dbstop.bat is stored in the following folder:
Asset-Console-installation-folder\exe
-
-
Use Cluster Administrator to move the group.
This makes the standby server the owner.
-
At the standby server, execute environment creation step 1.
Each setting is the same. However, there is no need to create an asset management database.
-
Use Cluster Administrator to create the Microsoft Internet Information Services resource.
The tables below show the settings detail.
Table 7‒16: Resource settings for Microsoft Internet Information Services Resource type
Input into the script file path
Dependence relationship
General-purpose script
%systemroot%\System32\Inetsrv\Clusweb.vbs
Sets up shared disk and client access point resources.
- Note
-
The script file (Clusweb.vbs) for setting up resources in a cluster environment under Windows Server 2019, Windows Server 2016, or Windows Server 2012 is not installed as a standard component. If IIS 6 Management Compatibility of IIS Scripting Tools is installed when adding the role services of Microsoft Internet Information Services 7.0, the script file is stored in the designated path (%systemroot%\System32\Inetsrv).
Therefore, when setting up resources in a cluster environment, install IIS Scripting Tools beforehand. For details about the installation method, see the documentation for Microsoft Internet Information Services.
If Microsoft Internet Information Services 7.5, 8.0, or 8.5 is used, Clusweb.vbs is not created even if IIS 6 Management Compatibility of IIS Scripting Tools is installed when adding the role services. Refer to the technical information (KB970759) released by Microsoft, and download and use the sample general-purpose script.
When IIS Server Instance is placed online by the Cluster Administrator, the service starts. To subsequently stop or start the World Wide Web Publishing Service or World Wide Web Publishing, use the Cluster Administrator to change the status to offline or online, as appropriate.
-
Create the DBMS service's resources using the Cluster Administrator.
Create the resources with the settings shown in the table below. When the status is set to online, the asset management database starts.
The tables below show the settings details.
Table 7‒17: Resource settings details of the database service Resource type
Service name to be specified
Dependence relationship
General-purpose service
HiRDBClusterService_AM1
Sets up shared disk and client access point resources.