Red Hat SATELLITE 5.1.0 RELEASE NOTES Instalační manuál Strana 208

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 268
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 207
190 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
9.12.5.32:/home/ldapuser1 on /home/ldapuser1 type nfs (rw,addr=9.12.5.32)
You have now configured the automounter to mount a remote LDAP user’s home directory at
login.
Shut down the golden image, and IPL the controller (200). Clone a new virtual server using
the clone.sh script. Start an SSH session to the new virtual server and LDAP authentication,
and the automounting of /home/ using NFS should work.
13.4 Rescuing a Linux system
This section describes how to boot your Linux server into different modes for troubleshooting
purposes. It covers booting Linux into single user mode, and also entering a rescue
environment when you require more advanced troubleshooting.
13.4.1 Entering single user mode
Single user mode is helpful when you need to recover the root password, or if you are having
problems while booting Linux into the default runlevel. To enter single user mode, first IPL
your Linux server from the 3270 console. You will see a message similar to the one shown
here:
zIPL v1.3.2 interactive boot menu
0. default (linux)
1. linux
Note: VM users please use '#cp vi vmsg <input>'
Please choose (default will boot in 15 seconds):
Use the #cp vi vmsg command to boot the desired menu option (zero (0), in this example),
followed by the number 1 for single user mode:
==> #cp vi vmsg 0 1
After some initial kernel boot messages, you should see:
INIT: Entering runlevel: 1
Entering non-interactive startup
Telling INIT to go to single user mode.
INIT: Going single user
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
sh-3.00#
In single user mode, you are logged in as the root user. You can use the passwd command to
set the root password. All of the file systems in /etc/fstab are mounted, but networking has
not been started. To exit single user mode, you can type reboot, or enter init 3 to continue
booting normally.
13.4.2 Entering a rescue environment
If you encounter errors mounting the root file system, or have other problems that prevent you
from entering single user mode, you can enter a
rescue environment. This environment loads
a Linux image in memory, and does not attempt to mount the root file system.
Zobrazit stránku 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 267 268

Komentáře k této Příručce

Žádné komentáře