Modifying RabbitMQ Instance Specifications
After creating a RabbitMQ instance, you can increase or decrease its specifications. For details, see Table 1.
Instance Type |
Modified Object |
Increase |
Decrease |
---|---|---|---|
Cluster |
Brokers |
√ |
× |
Storage space |
√ |
× |
|
Broker flavor |
√ |
√ |
|
Single-node |
Brokers |
× |
× |
Storage space |
√ |
× |
|
Broker flavor |
√ |
√ |
Impact
Modified Object |
Impact |
---|---|
Brokers |
|
Storage space |
|
Broker flavor |
|
The following example shows how to configure message retry on a Java client.
ConnectionFactory connectionFactory = new ConnectionFactory(); //Set a service address. connectionFactory.setHost("localhost"); //Set a port. connectionFactory.setPort(5672); //Auto retry: connectionFactory.setAutomaticRecoveryEnabled(true); connectionFactory.setNetworkRecoveryInterval(5); connectionFactory.setTopologyRecoveryEnabled(true);
Notes and Constraints
- To ensure that the instance runs properly, do not perform other operations on the instance during the modification.
- The price may change after the modification.
Prerequisites
A RabbitMQ instance has been created and is in the Running state.
Increasing the Storage Space (for 3.x.x)
- Log in to the console.
- In the upper left corner, click
and select a region.
- Click
in the upper left corner and choose Application > Distributed Message Service for RabbitMQ to open the RabbitMQ instance list.
- Modify the instance specifications using either of the following methods:
- In the row containing the desired instance, click Modify Specifications.
- Click the desired RabbitMQ instance to view its details. In the upper right corner, click Modify Specifications.
- Specify the required storage space.
- For Change By, select Storage. For Storage Space per Broker, specify a new storage space. The storage space varies by instance specifications. For details, see Specifications. Click Next.
- Confirm the configurations and click Submit.
- Return to the instance list and check whether the change succeeded.
- If the instance status has changed from Changing to Running, the change succeeded. View the new storage space (Storage space per broker × Number of brokers) in the Used/Available Storage Space (GB) column in the instance list.
- If the instance status has changed from Changing to Change failed, the change failed. Move the cursor over Change failed to check the failure cause.
Instances in the Change failed state cannot be modified, or deleted. After the instance status automatically changes from Change failed to Running, you can continue to perform operations. If the status does not change to Running, contact customer service.
Increasing the Broker Quantity (V3.x.x)
- Log in to the console.
- In the upper left corner, click
and select a region.
- Click
in the upper left corner and choose Application > Distributed Message Service for RabbitMQ to open the RabbitMQ instance list.
- Modify the instance specifications using either of the following methods:
- In the row containing the desired instance, click Modify Specifications.
- Click the desired RabbitMQ instance to view its details. In the upper right corner, click Modify Specifications.
- Specify the required number of brokers.
- For Modify By, select Brokers. Then, enter the number of brokers. The broker quantity range varies by instance specifications. For details, see Specifications. If public access has been enabled, configure EIPs for the new brokers. Then click Next.
- Confirm the configurations and click Submit.
- Return to the instance list and check whether the change succeeded.
- If the instance status has changed from Changing to Running, the change succeeded. You can check the new broker quantity in the Flavor column.
- If the instance status has changed from Changing to Change failed, the change failed. Move the cursor over Change failed to check the failure cause.
Instances in the Change failed state cannot be modified, or deleted. After the instance status automatically changes from Change failed to Running, you can continue to perform operations. If the status does not change to Running, contact customer service.
Increasing/Decreasing a Broker Flavor (V3.x.x)
- Log in to the console.
- In the upper left corner, click
and select a region.
- Click
in the upper left corner and choose Application > Distributed Message Service for RabbitMQ to open the RabbitMQ instance list.
- Modify the instance specifications in either of the following ways:
- In the row containing the desired instance, click Modify Specifications.
- Click the desired RabbitMQ instance to view its details. In the upper right corner, click Modify Specifications.
- Specify the required broker flavor.
- For Modify By, select Broker Flavor. Then, select a new flavor and click Next.
- Confirm the configurations and click Submit.
- Return to the instance list and check whether the change succeeded.
- If the instance status has changed from Changing to Running, the change succeeded. You can check the new broker flavor in the Flavor column.
- If the instance status has changed from Changing to Change failed, the change failed. Move the cursor over Change failed to check the failure cause.
Instances in the Change failed state cannot be modified, or deleted. After the instance status automatically changes from Change failed to Running, you can continue to perform operations. If the status does not change to Running, contact customer service.
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