Help Center/ ServiceStage/ User Guide (ME-Abu Dhabi Region)/ FAQs/ What Should I Do If the Agent Is Offline?
Updated on 2022-12-05 GMT+08:00

What Should I Do If the Agent Is Offline?

Obtain a new AK/SK pair, update the AK/SK pair configured for the VM agent, and restart the VM agent.

Perform the following steps:

  1. Log in to the ECS node using VNC on the ECS console, or using the SSH client after binding an EIP to the ECS node.
  2. Run the cd /opt/servicestage-agent/ command, and edit the servicestage-agent.conf file to change the AK/SK pair in the file, and save and exit the file.
  3. Run the following commands to restart the agent. Replace x.x.x with the latest version of servicestage-agent in the actual environment.

    cd /opt/servicestage-agent/servicestage-agent-x.x.x
    su agent
    ./servicestage-agent.sh restart