Configuring Service Monitoring in the DR Center
This section describes how to configure service monitoring in the DR center after the DR switchover.
Prerequisites
- Service Monitoring has been deployed and runs properly.
- You have logged in to ManageOne Maintenance Portal.
- The current administrator account has obtained the Service Monitor Manage Service permission.
Procedure
- Perform the following substeps to clear the Redis database for Service Monitoring:
- Use a browser to log in to the ManageOne deployment plane in the DR center.
- URL: https://Floating IP address of the ManageOne deployment plane in the DR center:31943, for example, https://192.168.0.5:31943
- Default account: admin; default password: Huawei12#$
- Choose Deployment > Database > Redis from the main menu.
- Enter mosmrdb in the search box on the right and click
.
Query and record the IP address and port number corresponding to the database instance whose role is Master.
- Use PuTTY to log in to the node with the IP address recorded in 1.c as the sopuser user.
The default password of the sopuser user is D4I$awOD7k.
- Run the following command to switch to the root user:
su root
Enter the password of the root user as prompted.
The default password of the root user is Changeme_123.
- Run the following commands to log in to the Redis database and clear the Redis database:
cd /opt/redis/bin
./redis-cli -h IP address of the node where the database instance is deployed -p Port number of the node where the database instance is deployed -cipherdir /opt/oss/manager/etc/cipher -a mosmrdb@Username@Password
flushdb
Replace IP address of the node where the database instance is deployed and Port number of the node where the database instance is deployed with the actual values obtained in 1.c.
The default username of the database is ossdbuser, and the default password is Changeme_123.
- Use a browser to log in to the ManageOne deployment plane in the DR center.
- Choose System > Platform Configuration > Service Monitoring from the main menu.
- In the navigation pane, choose .
On the displayed page, you can view the created service monitoring tasks, as shown in Figure A-1.
Click
to filter the created service monitoring cards by region and service type.
- Click
in the upper right corner of a created monitoring card to edit basic information about Cloud Service System Monitoring.
- View configuration parameters of the services to be monitored.
- View basic information about Cloud Service System Monitoring.
- Click Next. On the displayed 2.Node Information tab page, select the nodes whose cloud services need to be monitored in the Optional node column.
The selected nodes are displayed in the Selected nodes area.
Select the nodes in the DR center.
- Click Next. On the displayed 3.Monitoring Template tab page, select the monitoring template of the nodes and associate the nodes with the template.You need to associate the nodes with the following templates:
- cloud_sop_service_template: can be associated with the nodes where the ManageOne services in the DR center are deployed.
- cloud_sop_mysql_template: can be associated with the ManageOne database nodes in the DR center.
- os_template: can be associated with all ManageOne nodes in the DR center.