Changing the VPC Subnet of an MRS Cluster
If the current subnet does not have sufficient IP addresses, you can change to another subnet in the same VPC of the current cluster to obtain more available subnet IP addresses. Changing a subnet does not affect the IP addresses or subnets of existing nodes.
For details about how to configure network ACL outbound rules, see How Do I Configure a Network ACL Outbound Rule?
Changing a Subnet When No Network ACL Is Associated
- Log in to the MRS console.
- On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
- In the Network Information area, click Change Subnet on the right of Default Subnet.
- Select the target subnet and click OK.
If no subnet is available, click Create Subnet to create a subnet first.
Changing a Subnet When a Network ACL Is Associated
- Log in to the MRS console.
- On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
- In the Network Information area, view VPC.
- Log in to the VPC console. In the navigation pane on the left, choose Virtual Private Cloud and obtain the IPv4 CIDR block corresponding to the VPC obtained in 3.
Figure 1 Obtaining the IPv4 CIDR block
- Choose Access Control > Network ACLs and click the name of the network ACL that is associated with the default and new subnets.
- On the Inbound Rules page, choose More > Insert Rule Above in the Operation column.
- Add a network ACL rule. Set Action to Allow, Source to the VPC IPv4 CIDR block obtained in 4, and retain the default values for other parameters.
- Click OK.
- Log in to the MRS console.
- On the Active Clusters page, select a running cluster and click its name to switch to the cluster details page.
- In the Network Information area, click Change Subnet on the right of Default Subnet.
- Obtain the IPv4 CIDR blocks of the default and new subnets.
In this case, you do not need to click OK displayed in the Change Subnet dialog box. Otherwise, the default subnet will be updated to the new subnet, thereby making it difficult to query the IPv4 CIDR block of the default subnet. Exercise caution when performing this operation.
- Add the default subnet and the new subnet to the inbound rules of the network ACL by referring to 5 to 8.
- Log in to the MRS console.
- Click the cluster name to go to its details page.
- In the Network Information area, click Change Subnet on the right of Default Subnet.
- Select the target subnet and click OK.
Figure 2 Selecting the target subnet
How Do I Configure a Network ACL Outbound Rule?
- Method 1
Allow all outbound traffic. This method ensures that clusters can be created and used properly.
Figure 3 Allowing all outbound traffic
- Method 2
Allow the mandatory outbound rules that can ensure the successful creation of clusters. You are not advised to use this method because created clusters may not run properly due to absent outbound rules. If the preceding problem occurs, contact O&M personnel.
Similar to the example provided in method 1, set Action to Allow and add the outbound rules whose destinations are the address with Secure Communications enabled, NTP server address, OBS server address, OpenStack address, and DNS server address, respectively.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot