Overview
Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu to go to the configuration management page. As shown in the figure:
• Supports viewing configurations of different cluster services.
• Supports adding new configuration groups for different cluster services, viewing configuration group details and deleting configuration groups.
• Supports adding new configuration files, previewing and downloading configuration files, viewing configuration file details, as well as deleting configuration files.
• Supports configuration synchronization and provides a view of configuration status from the host perspective.
Add Configuration Group
Scenario
Users can classify hosts within a cluster service based on different grouping criteria. All hosts within a configuration group share a common set of configurations.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click the Configuration Management tab.
7. Click on Add Configuration Group to go to the add configuration group page.
8. Choose the grouping method as needed, select the host, and click the Save button at the bottom right corner.
As shown in the figure:
² Note:
• When the grouping method is "All", "By Component Role", "By Instance Group", or "By Host Configuration", the configuration group name is predefined and cannot be changed.
• When the grouping method is "Single Host", you need to select the host to be grouped. The configuration group name is the name of the selected host and cannot be changed.
• When the grouping method is "Custom", you need to select the host to be grouped. The configuration group name can be customized but must not be the same as other configuration group names.
Configuration Management - View Configuration Group Details
Scenario
Users can view details of different configuration groups to learn about the host information contained within them.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Choose the configuration group you want to view. Hover over the configuration group name, and click on the Details icon on the right to access the configuration group details page. As shown in the figure:
Delete Configuration Group
Scenario
Users can remove configuration groups no longer needed.
Before You Begin
The number of configuration files in the configuration group must be 0 to proceed with the deletion.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Choose the configuration group you want to delete. Hover over the configuration group name, and click on the Delete icon on the right. A deletion confirmation pop-up will appear.
7. Click OK to delete the configuration group.
Add Configuration
Scenario
Users can classify hosts within a cluster service based on different grouping criteria. All hosts within a configuration group share a common set of configurations.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click Add to go to the add configuration group page.
7. Choose the grouping method as needed, select the host, and click the Save button at the bottom right corner. As shown in the figure:
² Note:
• When the grouping method is "All", "By Component Role", "By Instance Group", or "By Host Configuration", the configuration group name is predefined and cannot be changed.
• When the grouping method is "Single Host", you need to select the host to be grouped. The configuration group name is the name of the selected host and cannot be changed.
• When the grouping method is "Custom", you need to select the host to be grouped. The configuration group name can be customized but must not be the same as other configuration group names.
View Configuration Details
Scenario
Users can view details of different configuration groups to learn about the host information contained within them.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Choose the configuration group you want to view. Hover over the configuration group name, and click on the Details icon on the right to access the configuration group details page. As shown in the figure:
Edit Configuration
Scenario
Users can modify configuration files.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click on the configuration group, and then on the name of the configuration you want to modify. Details of this configuration will be displayed on the right side of the page. As shown in the figure:
7. You can modify the configuration file directly. After completing the modifications, click Save.
Cautions
1. Display level: File level.
• Direct editing or modification is allowed in the text box.
• After modifications, if the current configuration file has not been synchronized, the number 1 will appear before the configuration name. As shown in the figure:
• Display level: Configuration item level.
• Configuration items need to be modified individually.
• After modifications, if the current configuration file has not been synchronized, the number of modified configuration items will be displayed before the configuration name, and a modification mark will appear before the name of the modified configuration item. As shown in the figure:
Configuration File Preview
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click on the configuration group, and then on the name of the configuration file. Details of this configuration will be displayed on the right side of the page.
7. Click File Preview and a configuration file preview dialog box will appear. As shown in the figure:
Download Configuration Files
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click on the configuration group, and then on the name of the configuration file. Details of this configuration will be displayed on the right side of the page.
7. Click Download Files, and wait for the download to complete. As shown in the figure:
Configuration File History Comparison
Scenario
This feature allows users to compare the current configuration file with historical versions.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click on the configuration group, and then on the name of the configuration file. Details of this configuration will be displayed on the right side of the page.
7. Click on More > History Comparison, and a history comparison dialog box will appear. As shown in the figure:
View Configuration History Versions
Scenario
This feature allows users to view the history versions of a specific configuration file, along with their contents and changes between different versions.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click on the configuration group, and then on the name of the configuration file. Details of this configuration will be displayed on the right side of the page.
7. Click More > View History Versions. As shown in the figure:
8. You will enter the configuration history page, which displays all history versions of the current configuration. As shown in the figure:
Delete Configuration
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click on the configuration group, and then on the name of the configuration file. Details of this configuration will be displayed on the right side of the page.
7. Click on Delete Configuration. As shown in the figure:
8. A confirmation pop-up for deletion will appear. Click OK. As shown in the figure:
Configuration Sync
Scenario
This feature supports the synchronization of new or modified configuration files to the respective hosts.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click the Sync button. As shown in the figure:
7. Enter the page of the configuration to be synced. As shown in the figure:
8. Click the Configure Sync button to go to the configuration sync menu page. As shown in the figure:
9. Click Synchronizing to go to the configuration sync details page, view the synchronization progress, and wait for the sync to complete. As shown in the figure:
View Configuration Status
Scenario
This feature enables users to view the synchronization status of all configuration files for a chosen cluster service.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click More > View Configuration Status. As shown in the figure:
7. A dialog box displaying the synchronization status of all configuration files will appear. As shown in the figure:
Resynchronization
Scenario
This feature supports resynchronization of configurations that have failed to sync or have inconsistent sync statuses.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click More > View Configuration Status. A configuration synchronization status dialog box will appear.
7. Check the box in front of the host that requires operation.
8. Click Operate on Selected > Re-sync to perform the configuration synchronization. As shown in the figure:
Configuration Rollback
Scenario
This feature supports the rollback of a specified configuration file to a specific historical version.
Procedure
1. Log in to the YI-MapReduce management console.
2. Click on My Cluster and choose a running cluster to enter the cluster information page.
3. Click the YI-MapReduce Manager tab, and then select Go to YI-MapReduce Manager.
4. Once in the YI-MapReduce Manager, click O&M and Configuration> Configuration Management on the menu.
5. Select the required cluster service for query conditions.
6. Click on the configuration group, and then on the name of the configuration file. Details of this configuration will be displayed on the right side of the page.
7. Click on More > History Comparison, and a history comparison dialog box will appear. As shown in the figure:
8. Click the Restore to Version X button. A confirmation dialog box will appear. As shown in the figure:
9. Click OK.
10. Click the Close button to close the configuration comparison dialog box.
11. Check the configuration file. The content of the configuration file should now match the restored version.
12. Click Sync to synchronize the configuration file.