This topic describes how to view information about a feature switch, such as the switch type, the number of affected nodes, the instance IDs in use, and IP addresses.
Prerequisites
You have created a feature switch. For more information, see Create a feature switch.
Procedure
- Log on to the AHAS console and select a region in the upper-left corner of the page.
- In the navigation pane on the left, choose Feature Switch. On the Application List page, click the resource card for your target application. On the Switch List page, you can view information about the switch, such as its description, the number of affected nodes, the instance IDs in use, and IP addresses.
On the Application List page, you can display the list in Group Mode or All Switches mode.
- Group Mode: All switches are grouped by
NameSpace. - All Switches mode: All switches are displayed in a list.
- Group Mode: All switches are grouped by
- In the Operation column, click Value Distribution to view the switch information and distribution details. These details include the value ID and switch value.
Parameter Description Switch Name The custom name of the switch. For more information, see Create a feature switch. Description The remarks about the switch that record its purpose. This is the content within the quotation marks in the annotation. For example, @AppSwitch(des = "String type switch").Effective node count The number of nodes where the switch is in effect. Instance ID The ID of the instance node where the switch is referenced. Running Status The running status of the node. Valid values include Running and Stopped. Current Value The value that was entered when the configuration was pushed. - In the Operation column for an instance, click View Value to view the value of the switch on that node.
该文章对您有帮助吗?