Rescue Mode

This page details how to activate and use the rescue mode on a GandiCloud VPS.

What is the rescue mode and what it can be used for?

The rescue mode allows you to recover from kernel mismatches or to perform repairs on corrupted file systems.

Note

Rescue mode will boot the server on a dedicated image and attach the disks from the failed instance as additional volume. The usual boot disk of the instance in rescue mode will be attached as secondary.

In order to access the data of your disks, you will need to mount them.

Activate the rescue mode

The simple way to activate the rescue mode is to do it from your Gandi user interface. From your GandiCloud Server overview page, select “activate the rescue” mode. Your server will restart in rescue mode. This operation can take up to two minutes.

If you are an advanced user, you can also use the Openstack CLI to activate the Rescue mode on your server :

openstack server rescue --image "Rescue (Debian)" <server_name>

Access a server in rescue mode

You have two possibilities to access a server in rescue mode :

  • With your SSH credentials

You can simply connect via SSH to your server with your SSH keypair

  • With the emergency console

Contrary to normal mode, in rescue mode the emergency console will not ask you a password to connect to your server. You can simply activate it and access to your server with the emergency console.

Deactivate the rescue mode

From your Gandi dashboard, on your VPS configuration page, just select deactivate. It will restart your server in normal mode.