What Should I Do If "ERR unknown command sentinel" Is Displayed?
Scenarios
When SENTINEL commands are executed on a GeminiDB Redis instance, the error message "ERR unknown command sentinel" may be displayed.
Error Cause
If the value of CompatibleMode of cluster GeminiDB Redis instances is not 3 or the value of CompatibleMode of primary/standby GeminiDB Redis instances is not 2, SENTINEL commands are not allowed.
Solution
- Log in to the Huawei Cloud console.
- In the service list, choose Databases > GeminiDB.
- On the Instances page, click the target instance. The Basic Information page is displayed.
- In the navigation pane on the left, choose Parameters.
- Change the value of CompatibleMode and click Save.
- For a cluster instance, set CompatibleMode to 3.
- For a primary/standby instance, set CompatibleMode to 2.
Figure 1 Changing parameters
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