No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

HUAWEI CLOUD Stack 6.5.0 Troubleshooting Guide 02

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Combined API Troubleshooting

Combined API Troubleshooting

Symptom

Combined API and Image Convert are deployed on the CPT-SRV01 and CPT-SRV02 nodes. If Combined API is unavailable, the VM where Combined API is located may be faulty or Combined API process may be abnormal. The VPC, Combined API, Task Center, SDR, API Gateway, and CCS services use the same GaussdbHA database. The GaussdbHA is deployed on PUB-DB01 and PUB-DB02 nodes. If the database service is unavailable, the VM where the database is located may be faulty or the database service process may be abnormal.

Possible Causes

  • The file system on the service VM is corrupted.
  • The combined API process is abnormal.

Troubleshooting Process

Figure 10-1 shows the troubleshooting method of this fault.

Figure 10-1 Fault diagnosis

Procedure

  1. Check whether you can log in to the CPT-SRV01 or CPT-SRV02 where Combined API is deployed.

    • If yes, go to 4.
    • If no, go to 2.

  2. Restore the VM. For details, see Cloud Platform Troubleshooting.
  3. Contact technical support for assistance to reinstall Combined API. The task is complete.
  4. Use PuTTY to log in to the Combined API node CPT-SRV01 or CPT-SRV02.

    • Login address: management IP address of the node
    • Username: apicom
    • Default password: Huawei12#$

  5. Run the following command to disable logout on timeout:

    TMOUT=0

  6. Run the following command to check whether the Tomcat process is running:

    ps -ef | grep tomcat

    • If yes, go to 7.
    • If no, go to 8.

  7. Run the following command to stop the Tomcat process:

    kill -9 $pid

  8. Run the following command to restart the Tomcat process:

    sh /opt/apicom/tomcat/bin/startup.sh

  9. Check whether the alarm is cleared after the Tomcat process is restarted.

    • If yes, no further action is required.
    • If no, contact technical support for assistance.

  10. If multiple VMs are faulty, perform 1 to 9 for all the other VMs.
Translation
Download
Updated: 2019-06-01

Document ID: EDOC1100062375

Views: 4172

Downloads: 22

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next