Linux救援模式启动ssh服务,Linux服务器的紧急救援模式RescueLayer是什么?

在某些情况下, 系统无法启动或系统崩溃,我们只能通过重装系统来处理. 但极少数高端机房, 能提供Linux服务器的紧急救援模式RescueLayer, 让你可以ssh进入服务器去尝试修复. 这里我们只是给出机房对RescueLayer的介绍, 便于参考. 我们并不提供RescueLayer的任何技术支持. 进入RescueLayer后的任何操作都需要您自己完成.

The RescueLayer Kernel is designed to provide our customers with the ability to bring a server online in order to troubleshoot system problems that would normally only be resolved by an OS Reload. The correct RescueLayer Kernel will be selected based upon the currently installed operating system. When the rescue kernel process is initiated, the server will shutdown and reboot on to the public network with the same IP's assigned to the server to allow for remote connections. The root/administrator password will be the same as what is listed in the portal for the server.

Usage:

The correct RescueLayer Kernel will be selected based upon your currently installed operating system. When the rescue kernel process is initiated, the server will shutdown and reboot on to the public network with the same IP's assigned to the server to allow for remote connections. The root/administrator password will be the same as what is listed in the portal for the server.

Once the server is back online you will connect using SSH as you would normally.

如何判断是紧急救援模式:The rescue kernel environment will be easy to identify due to the [localhost - **RESCUE**]# prompt.

救援模式的系统文件情况: The root file system is a total of 512Mb. Currently, there will be 75 - 80M free. The ramdisk is mounted read/write so anything written out will be gone upon system reboot.

The tty's on tty1 and tty2 (the vga console) have autologin setup for root, so after boot the customer gets dropped to a root shell.

The tty on ttys1 (SOL console) requires a login.

Yum is functional for the Fedora repositories.

Vi and Nano are installed.

Perl and Python are installed.

Fdisk, Parted, e2fs tools and grub are included.

SSH keys will *not* be the same in the rescue image so expect key mismatch messages. SSH keys are re-generated on each boot.

如何退出救援模式:You will need to reboot your server to drop from the rescue kernel back into your standard operating system. 特别注意: 如果你没有修复好,退出救援模式后,可能也无法正常启动系统. 如果有可能,请务必备份好重要的数据后再重启

救援模式SSH范例图:

softlayer-rescue-kernel.png

7acbf85355f312c51dac5f8347adbb3c.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值