advertisement
HPE IMC
Deployment Migration to New Master Server and New Subordinate Server Configuration
Examples
Part number: 5200-1336
Software version: IMC PLAT 7.2 (E0403)
The information in this document is subject to change without notice.
© Copyright 2016 Hewlett Packard Enterprise Development LP
Contents
Introduction ·····················································································1
Configuration restrictions and guidelines ···············································1
Example: Configuring IMC deployment migration ····································1
Appendix A UAM/EAD deployment migration ······································· 29
Appendix B NTA/UBA deployment migration ········································ 32
Appendix C Turning off IE ESC ························································· 39
i
Introduction
This document provides an example for migrating IMC to a new master server and a new subordinate server from a master server.
Configuration restrictions and guidelines
When you configure IMC deployment migration, follow these restrictions and guidelines:
To ensure the success of restoring the database, you must install the same versions of IMC platform and components on server B as on server A.
To avoid the report function failure, you must start IMC after it is installed on the master server and subordinate server before restoring the database.
Example: Configuring IMC deployment migration
This example is applicable to deployment migration of all IMC components except UAM/EAD and
NTA/UBA. Perform UAM/EAD or NTA/UBA deployment migration separately after you complete deployment migration for other IMC components.
Network requirements
As shown in Figure 1 , the operation system installed on all servers is Windows Server 2012 R2 with
the SQL Server 2012 database. The administrator user name is sa and the password is iMC123 .
Move IMC to server B (master server) and server C (subordinate server) from server A as follows:
Move the BIMS component and VLANM component to the new subordinate server.
Move the other components to the new master server.
Figure 1 Network diagram
Master Server Master Server
Subordinate
Server
IMC Server A with
VLANM and BIMS
IMC Server B
IMC Server C with
VLANM and BIMS
Configuring the new master server
To ensure the success of restoring the database, you must install the same versions of IMC platform and components on server B as on server A.
1
To configure the master server:
1. On server B, go to the IMC installation directory, and then open the Install folder. Right-click the install.bat
file, and then select Run as Administrator on the shortcut menu.
The Select Locale page appears.
Figure 2 Selecting locale
2. Select Custom-Customize components or deploys iMC in distributed mode for
Installation Type , and leave all other fields as defaults. Click OK .
After the installation environment checking is complete, the Checking Database
Connectivity page appears.
Figure 3 Checking database connectivity
3. In the password field, enter iMC123 . Click OK .
2
After database connectivity checking is complete, the Welcome to HPE iMC Installation
Wizard page appears.
Figure 4 iMC installation wizard
4. Click Next .
The Agreement page appears.
3
Figure 5 Agreement
5. Select Accept . Click Next .
The Choose Target Folder page appears.
4
Figure 6 Choosing the target folder
6. Click Browse to select the IMC installation target folder. Click OK to return to the Choose
Target Folder page.
As a best practice, install IMC in non-system partitions.
7. Click Next .
The Deployment and Upgrade Options page appears.
5
Figure 7 Deployment and upgrade options
8. Click Next .
The Installation Summary page appears.
6
Figure 8 Installation summary
9. Click Install .
After the installation is complete, the Deployment Monitoring Agent (DMA) starts and the
Batch Deploy page appears.
7
Figure 9 Batch deploy
10. Clear IMC Platform – VLAN Management . Click OK .
The Database Configuration page appears.
Figure 10 Database configuration
8
11. Click Next .
The Configure Web Service Port page appears.
Figure 11 Configuring the Web service port
12. Click Deploy .
After the deployment is complete, the Batch deploy succeeded page appears.
Figure 12 Batch deploy succeeded
13. Clear Start iMC server now . Click OK .
14. In the Monitor tab of the DMA, click Install .
The Choose Folder dialog box appears.
9
Figure 13 Installing new components
15. Click Browse to select the BIMS component installation target folder. Click OK to return to the
Choose Folder dialog box.
Figure 14 Choosing the target folder
16. Click OK .
The Welcome to HPE iMC Deployment Wizard page appears.
10
Figure 15 Installation wizard
17. Click Next .
The Agreement page appears.
11
Figure 16 Agreement
18. Select Accept . Click Next .
The Choose Target Folder page appears.
12
Figure 17 Choosing the target folder
19. Click Next .
The Deployment and Upgrade Options page appears.
13
Figure 18 Deployment and upgrade options
20. Select Deploy and upgrade later . Click Next .
The Installation Summary page appears.
14
Figure 19 Installation summary
21. Click Install .
After the installation is complete, the Installation Completed page appears.
15
Figure 20 Installation completed
22. Clear Open deployment monitoring agent . Click Finish .
23. In the Monitor tab of the DMA, click Start iMC .
Configuring the new subordinate server
You can configure the subordinate server through two ways.
Configuring the subordinate server through the IMC webpage
1. Use the following address to log in to IMC on server B: http://192.168.40.253:8080/imc .
If you cannot access the IMC webpage after logging in, turn off the IE ESC. You can turn on it
after IMC is installed. For more information about turning off the IE ESC, see " Appendix C
2. Click the System tab.
3. From the navigation tree, select System Configuration > Deploy Component .
The Deploy Component page appears.
16
Figure 21 Deploying components
4. Click Download and install JRE if you cannot install the Intelligent Deployment
Monitoring Agent , and then save jre.exe
locally.
5. Run jre.exe
.
Figure 22 Java setup program
6. Click Install . After the Java installation is complete, click Close to close the Java setup program.
7. On the Deploy Component page, Click Deploy .
The Message from webpage dialog box appears.
17
Figure 23 Message from webpage
8. Click OK .
The Warning – Security dialog box appears.
Figure 24 Security warning
9. Click Run .
The Checking Database Connectivity page appears.
18
Figure 25 Checking database connectivity
10. In the password field, enter iMC123 . Click OK .
The Choosing Target Folder for Deployment page appears.
Figure 26 Choosing target folder for deployment
11. Click Install .
The remote installation wizard begins to download files. After the download is complete, the
Installation Completed page appears.
19
Figure 27 Downloading files
Figure 28 Installation completed
12. Click Finish .
The DMA automatically starts.
Configuring the new subordinate server through the IMC installation program
1. On server B, go to the IMC installation directory, open the Install folder, right-click the installsubordinate.bat
file, and then select Run as Administrator on the shortcut menu.
The Address of Master page appears.
20
Figure 29 Entering the address of the master server
2. Enter the address of server B: 192.168.40.253
. Click OK .
The Checking Database Connectivity page appears.
Figure 30 Checking database connectivity
3. In the password field, enter iMC123 . Click OK .
4. On the Choosing Target Folder for Deployment page, select the IMC installation target folder.
As a best practice, install IMC in non-system partitions.
21
Figure 31 Choosing target folder for deployment
5. Click Install .
The remote installation wizard begins to download files. After the download is complete, the
Installation Completed page appears.
Figure 32 Downloading files
22
Figure 33 Installation completed
6. Click Finish .
The DMA automatically starts.
Deploying components on the new subordinate server
1. On server C, click the Deploy tab of the DMA. Right-click the iMC Platform - VLAN
Management , and then select Deploy the Component on the shortcut menu.
A confirmation dialog box appears.
23
Figure 34 Deploying components
Figure 35 Confirmation
2. Click Yes .
The Welcome to HPE iMC Deployment Wizard appears.
24
Figure 36 IMC deployment wizard
3. Click Next .
After the deployment is complete, the Deployment Completed page appears.
25
Figure 37 Deployment completed
4. Click Finish .
5. Deploy BIMS - Branch Intelligent Management Server and BIMS Auto-Configuration
Server in the same way iMC Platform - VLAN Management is deployed.
Restoring databases
In the Intelligent Deployment Monitoring Agent, restore the database for the master server and subordinate server, respectively. The following information uses the master server as an example.
To avoid the report function failure, you must start and stop IMC installed on the master server and the subordinate server before restoring databases.
To start and stop IMC installed on the master server:
1. Click Start iMC in the Monitor tab of the DMA on server B.
26
Figure 38 Starting IMC on server B
2. After IMC on server B is started, click Stop iMC in the Monitor tab of the DMA on server B.
To restore the database on the master server:
1. Copy the database backup files to server B.
2. In the Environment tab of the DMA on server B, click Restore .
The Restoration Type page appears.
Figure 39 Selecting the restoration type
3. Click Locally Restore .
A confirmation dialog box appears.
Figure 40 Confirmation
4. Click Yes .
The Select the data file to be restored page appears.
27
Figure 41 Selecting the data file to be restored
5. Select all database backup files of all components except BIMS and VLANM. Click OK .
A confirmation dialog box appears.
Figure 42 Confirmation
6. Click No .
The database restoration begins.
Figure 43 Database restoration
28
Appendix A UAM/EAD deployment migration
To perform UAM/EAD deployment migration, complete the following tasks:
1.
Configuring the new master server
2.
Configuring the new subordinate server
3.
Deploying components on the new subordinate server
4.
5.
Configuring the SQL Server database
Configuring the SQL Server database
After performing database backup and restoration for UAM and EAD in the Intelligent Deployment
Monitoring Agent, you must manually create a database link from UAM/EAD to the IMC platform.
To create a database link from UAM/EAD to the IMC platform:
1. Open the SQL Server on server C.
The Connect to Server dialog box appears.
2. Configure the following parameters: a. Select Database Engine from the Server type list. b. Select 12STD-SQL12-X64\IMCDB from the Server name list. c. Select SQL Server Authentication from the Authentication list. d. Select sa as the login username. e. Enter iMC123 as the login password.
Figure 44 Connecting to the SQL Server
3. Click Connect to log in to the database.
4. From the left navigation tree, select 12STD-SQL12-X64\IMCDB > Databases .
29
5. Right-click ead and select New Query
from the shortcut menu, as shown in Figure 45 .
A database query area appears on the right pane, as shown in Figure 46 .
Figure 45 Selecting New Query from the right-click menu
Figure 46 Displaying the SQL query area
6. In the database query area, enter the following commands: if exists (select * from master.dbo.sysservers where srvname = N'uam2platdblink')
30
EXEC sp_dropserver N'uam2platdblink', N'droplogins'
GO
EXEC sp_addlinkedserver
@server=N'uam2platdblink',
@srvproduct='',
@provider='SQLOLEDB',
@datasrc=N'192.168.40.253'
GO
EXEC sp_addlinkedsrvlogin N'uam2platdblink', N'false', null, N'sa', N'iMC123'
GO
In the commands, 192.168.40.253
is the IP address of the master IMC server, and iMC123 is the login password of the database user sa .
7. In the toolbar, click Execute .
The SQL Server executes the commands, and then displays a success message in the
Messages area.
Figure 47 Completing command execution
31
Appendix B NTA/UBA deployment migration
To perform NTA/UBA deployment migration, complete the following tasks:
1.
Configuring the new master server
2.
Configuring the new subordinate server
3.
Deploying components on the new subordinate server
4.
Backing up the unba_slave database on the master server
5.
Restoring the unba_slave database on the subordinate server
Backing up the unba_slave database on the master server
You cannot back up the unba_slave database of the NTA/UBA component in the Intelligent
Deployment Monitoring Agent.
To manually backup the database on the master server:
1. Open the SQL Server on server A.
The Connect to Server dialog box appears.
2. Configure the following parameters: a. Select Database Engine from the Server type list. b. Select 12STD-SQL12-X64\IMCDB from the Server name list. c. Select SQL Server Authentication from the Authentication list. d. Select sa as the login username. e. Enter iMC123 as the login password.
Figure 48 Connecting to the SQL Server
32
3. Click Connect to log in to the database.
4. From the left navigation tree, select 12STD-SQL12-X64\IMCDB > Databases .
5. Right-click unba_slave and select Tasks > Back Up from the shortcut menu, as shown in
The Back UP Database – unba_slave
page appears, as shown in Figure 50 .
Figure 49 Selecting Back Up from the right-click menu
33
Figure 50 Backing up the unba_slave database
6. Use the default setting on the page, and then click OK .
The SQL server starts to back up the unba_slave database.
Restoring the unba_slave database on the subordinate server
You cannot restore the unba_slave database of the NTA/UBA component in the Intelligent
Deployment Monitoring Agent.
To manually restore the database on the subordinate server:
1. Copy the backup unba_slave database file from server A to server C.
2. Open SQL Server on server C.
The Connect to Server dialog box appears.
3. Configure the following parameters: a. Select Database Engine from the Server type list. b. Select 12STD-SQL12-X64\IMCDB from the Server name list. c. Select SQL Server Authentication from the Authentication list. d. Select sa as the login user name. e. Enter iMC123 as the login password.
34
Figure 51 Connecting to the SQL Server
4. Click Connect to log in to the database.
5. From the left navigation tree, right-click Databases , and then select Restore Database from
the shortcut menu, as shown in Figure 52 .
The Restore Database
appears, as shown in Figure 53 .
Figure 52 Selecting Restore Database from the right-click menu
35
Figure 53 Restoring the unba_slave database
6. Do the following: a. In the Source area, select the Device option click the Browse icon to select the unba_slave database backup file. The Database field is automatically populated with unba_slave . b. In the Destination area, select unba_slave from the Database list. c. Click OK .
7. From the left navigation tree, select 12STD-SQL12-X64\IMCDB > Databases , right-click unba_slave , and then select New Query
from the shortcut menu, as shown in Figure 54 .
A database query area appears on the right pane, as shown in Figure 55 .
36
Figure 54 Selecting New Query from the right-click menu
Figure 55 SQL query area
8. In the database query area, enter the following commands: exec sp_change_users_login 'update_one','unba_slave','unba_slave' exec sp_change_users_login 'update_one','unba_data','unba_data' exec sp_change_users_login 'update_one','report','report' exec sp_change_users_login 'update_one','rviewer','rviewer'
9. In the toolbar, click Execute .
The SQL Server executes the commands and displays a success message in the Messages area.
37
Figure 56 Completing command execution
10. On the subordinate IMC server, open the server-addr.xml
file in the \common\conf directory of the IMC installation path.
11. Change the value of db-config address to the IP address of the master server, and then save the file.
Figure 57 Modifying the server-addr.xml file
38
Appendix C Turning off IE ESC
1. On the target server, click Start > Control Panel .
2. Click Turn Windows features on or off .
The Server Manager page appears.
Figure 58 Server Manager
3. From the navigation tree, select Local Server .
The server manager displays the local server information.
Figure 59 Local server information
4. Click On for the IE Enhanced Security Configuration field.
The Internet Explorer Enhanced Security Configuration page appears.
39
Figure 60 Disabling IE ESC for administrators and users
5. Select Off for both Administrators and Users , and then click OK .
40
advertisement
Related manuals
advertisement
Table of contents
- 3 Introduction
- 3 Configuration restrictions and guidelines
- 3 Example: Configuring IMC deployment migration
- 3 Network requirements
- 3 Configuring the new master server
- 4 1. On server B, go to the IMC installation directory, and then open the Install folder. Right-click the install.bat file, and then select Run as Administrator on the shortcut menu.
- 4 2. Select Custom-Customize components or deploys iMC in distributed mode for Installation Type, and leave all other fields as defaults. Click OK.
- 4 3. In the password field, enter iMC123. Click OK.
- 5 4. Click Next.
- 6 5. Select Accept. Click Next.
- 7 6. Click Browse to select the IMC installation target folder. Click OK to return to the Choose Target Folder page.
- 7 7. Click Next.
- 8 8. Click Next.
- 9 9. Click Install.
- 10 10. Clear IMC Platform – VLAN Management. Click OK.
- 11 11. Click Next.
- 11 12. Click Deploy.
- 11 13. Clear Start iMC server now. Click OK.
- 11 14. In the Monitor tab of the DMA, click Install.
- 12 15. Click Browse to select the BIMS component installation target folder. Click OK to return to the Choose Folder dialog box.
- 12 16. Click OK.
- 13 17. Click Next.
- 14 18. Select Accept. Click Next.
- 15 19. Click Next.
- 16 20. Select Deploy and upgrade later. Click Next.
- 17 21. Click Install.
- 18 22. Clear Open deployment monitoring agent. Click Finish.
- 18 23. In the Monitor tab of the DMA, click Start iMC.
- 18 Configuring the new subordinate server
- 18 Configuring the subordinate server through the IMC webpage
- 18 1. Use the following address to log in to IMC on server B: http://192.168.40.253:8080/imc.
- 18 2. Click the System tab.
- 18 3. From the navigation tree, select System Configuration > Deploy Component.
- 19 4. Click Download and install JRE if you cannot install the Intelligent Deployment Monitoring Agent, and then save jre.exe locally.
- 19 5. Run jre.exe.
- 19 6. Click Install. After the Java installation is complete, click Close to close the Java setup program.
- 19 7. On the Deploy Component page, Click Deploy.
- 20 8. Click OK.
- 20 9. Click Run.
- 21 10. In the password field, enter iMC123. Click OK.
- 21 11. Click Install.
- 22 12. Click Finish.
- 22 Configuring the new subordinate server through the IMC installation program
- 22 1. On server B, go to the IMC installation directory, open the Install folder, right-click the installsubordinate.bat file, and then select Run as Administrator on the shortcut menu.
- 23 2. Enter the address of server B: 192.168.40.253. Click OK.
- 23 3. In the password field, enter iMC123. Click OK.
- 23 4. On the Choosing Target Folder for Deployment page, select the IMC installation target folder.
- 24 5. Click Install.
- 25 6. Click Finish.
- 25 Deploying components on the new subordinate server
- 25 1. On server C, click the Deploy tab of the DMA. Right-click the iMC Platform - VLAN Management, and then select Deploy the Component on the shortcut menu.
- 26 2. Click Yes.
- 27 3. Click Next.
- 28 4. Click Finish.
- 28 5. Deploy BIMS - Branch Intelligent Management Server and BIMS Auto-Configuration Server in the same way iMC Platform - VLAN Management is deployed.
- 28 Restoring databases
- 28 1. Click Start iMC in the Monitor tab of the DMA on server B.
- 29 2. After IMC on server B is started, click Stop iMC in the Monitor tab of the DMA on server B.
- 29 1. Copy the database backup files to server B.
- 29 2. In the Environment tab of the DMA on server B, click Restore.
- 29 3. Click Locally Restore.
- 29 4. Click Yes.
- 30 5. Select all database backup files of all components except BIMS and VLANM. Click OK.
- 30 6. Click No.
- 31 Appendix A UAM/EAD deployment migration
- 31 1. Configuring the new master server
- 31 2. Configuring the new subordinate server
- 31 3. Deploying components on the new subordinate server
- 31 4. Restoring database
- 31 5. Configuring the SQL Server database
- 31 Configuring the SQL Server database
- 31 1. Open the SQL Server on server C.
- 31 2. Configure the following parameters:
- 31 a. Select Database Engine from the Server type list.
- 31 b. Select 12STD-SQL12-X64\IMCDB from the Server name list.
- 31 c. Select SQL Server Authentication from the Authentication list.
- 31 d. Select sa as the login username.
- 31 e. Enter iMC123 as the login password.
- 31 3. Click Connect to log in to the database.
- 31 4. From the left navigation tree, select 12STD-SQL12-X64\IMCDB > Databases.
- 32 5. Right-click ead and select New Query from the shortcut menu, as shown in Figure 45.
- 32 6. In the database query area, enter the following commands:
- 33 7. In the toolbar, click Execute.
- 34 Appendix B NTA/UBA deployment migration
- 34 2. Configuring the new subordinate server
- 34 3. Deploying components on the new subordinate server
- 34 4. Backing up the unba_slave database on the master server
- 34 5. Restoring the unba_slave database on the subordinate server
- 34 Backing up the unba_slave database on the master server
- 34 1. Open the SQL Server on server A.
- 34 2. Configure the following parameters:
- 34 a. Select Database Engine from the Server type list.
- 34 b. Select 12STD-SQL12-X64\IMCDB from the Server name list.
- 34 c. Select SQL Server Authentication from the Authentication list.
- 34 d. Select sa as the login username.
- 34 e. Enter iMC123 as the login password.
- 35 3. Click Connect to log in to the database.
- 35 4. From the left navigation tree, select 12STD-SQL12-X64\IMCDB > Databases.
- 35 5. Right-click unba_slave and select Tasks > Back Up from the shortcut menu, as shown in Figure 49.
- 36 6. Use the default setting on the page, and then click OK.
- 36 Restoring the unba_slave database on the subordinate server
- 36 1. Copy the backup unba_slave database file from server A to server C.
- 36 2. Open SQL Server on server C.
- 36 3. Configure the following parameters:
- 36 a. Select Database Engine from the Server type list.
- 36 b. Select 12STD-SQL12-X64\IMCDB from the Server name list.
- 36 c. Select SQL Server Authentication from the Authentication list.
- 36 d. Select sa as the login user name.
- 36 e. Enter iMC123 as the login password.
- 37 4. Click Connect to log in to the database.
- 37 5. From the left navigation tree, right-click Databases, and then select Restore Database from the shortcut menu, as shown in Figure 52.
- 38 6. Do the following:
- 38 a. In the Source area, select the Device option click the Browse icon to select the unba_slave database backup file. The Database field is automatically populated with unba_slave.
- 38 b. In the Destination area, select unba_slave from the Database list.
- 38 c. Click OK.
- 38 7. From the left navigation tree, select 12STD-SQL12-X64\IMCDB > Databases, right-click unba_slave, and then select New Query from the shortcut menu, as shown in Figure 54.
- 39 8. In the database query area, enter the following commands:
- 39 9. In the toolbar, click Execute.
- 40 10. On the subordinate IMC server, open the server-addr.xml file in the \common\conf directory of the IMC installation path.
- 40 11. Change the value of db-config address to the IP address of the master server, and then save the file.
- 41 Appendix C Turning off IE ESC
- 41 1. On the target server, click Start > Control Panel.
- 41 2. Click Turn Windows features on or off.
- 41 3. From the navigation tree, select Local Server.
- 41 4. Click On for the IE Enhanced Security Configuration field.
- 42 5. Select Off for both Administrators and Users, and then click OK.