OVH - Account in Rescue Mode
OVH - Account in Rescue Mode
OVH - Account in Rescue Mode
OVH : RescueMode
English
Rescue Mode
Description
This system enables you to handover in ssh on the machine and also
to check the hardware.
The advantage is that it is not necessary to contact support to
schedule an intervention, because with rescue-mode you can run tests
when it's best for you, and when it doesn't disturb the use of your
server.
Software & Administration
launch a fsck / e2fsck
consult and analyse
logs
correct problems on
softs
rebuild / check the
RAID
backup the data
Hardware
memtest: to check the
memory ( RAM )
cpuburn: to check your
processor ( CPU )
fsck to check the file
system
state to check the disk
explorer for your files
If one of the tests fails or shows errors, just log into the manager:
Support section and then submit an incident. Simply send the result of
your test, for example: server crashed during the cpu test.We will
immediately intervene to replace your hardware.
Attention: You must not use the web interface and ssh at the same
time. You must not launch a disk check on the web interface and
mount the partitions in ssh, this may cause the loss of your data!!
Hardware Check
Once the server is in pro rescue mode you will receive an email
containing a link and a password in order you to connect to hardware
tests. Here is a overview of this interface:
http://help.ovh.com/RescueMode
1/5
10/9/2014
OVH : RescueMode
Check lists
Rescue in SSH
To get connected
Get connected in ssh to your machine as usual. The only thing that
http://help.ovh.com/RescueMode
2/5
10/9/2014
OVH : RescueMode
change is the password. You must use the temporary root pass that is
sent to you by email after the rescue mode.
angie@amazone:~$ ssh [email protected]
The authenticity of host '213.186.xx.yy (213.186.xx.yy)' can't be established.
RSA key fingerprint is 02:11:f2:db:ad:42:86:de:f3:10:9a:fa:41:2d:09:77.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '213.186.xx.yy' (RSA) to the list of known hosts.
Password:
rescue:~#
Now you are connected but your files are not accessible. You must
"mount" the file system.
Disk mount
fdisk -l
3/5
10/9/2014
OVH : RescueMode
1.
/dev/hda1 / ext3 errors=remount-ro 0 1
RPS
For the RPS that are in nfs, you must type in rescue : mount -a.
The nfs will mount itself.
Chroot
We can now edit files by using the path /mnt/var/.... for example or
also /mnt/etc/lilo.conf , but to be able to do certain things you must be
in root on the system that it is installed on the disk and that can not be
done in the rescue-mode root.
For these operations you must use the command chroot:
rescue:~#
chroot /mnt/
rescue:/#
We can see above that after chrooting the command response puts me
in the / of the server.
Now I can execute the commands on my system.
Examples
http://help.ovh.com/RescueMode
4/5