PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents
Index
![]() ![]() |
Part 5 Maintenance | > Chapter 11 Backing Up and Restoring a PRIMECLUSTER System |
Take the following steps to restore the PRIMECLUSTER operation environment:
.
After booting the machine in single-user mode, mount the file system by executing the "mountall -l" command.
Example: Reboot in single-user mode.
# shutdown -g0 -i0 -y
...
ok boot -s
...
INIT: SINGLE USER MODE
Enter control-d to proceed with normal startup,
(or enter the root password for system maintenance):
...
# mountall -l
/dev/rdsk/c0t0d0s4: is clean.
/dev/rdsk/c0t0d0s3: is clean.
#
/opt/SMAW/bin/cfrestore [ -f ] [ -p ] [ -y ] [ -M ] [ n ]
For details on the command parameters, refer to the explanation of the cfrestore(1M) command.
Example: Restore the PRIMECLUSTER operation environment.
# cfrestore
08/07/02 11:17:55 cfbackup 1 started
...
08/07/02 11:21:23 cfbackup 1 ended
#
The restoration function does not restore backed-up files. The system files mentioned here in are provided by the operation system (environment). Restore the backed-up files manually if necessary.
Example: Pick up the "/etc/vfstab" file from the backup data "fuji2_ccbr1.tar.Z".
# ls /var/spool/SMAW/SMAWccbr/*.tar.Z
fuji2_ccbr1.tar.Z
# zcat /var/spool/SMAW/SMAWccbr/fuji2_ccbr1.tar.Z | tar tvf - ./OS
drwxrwxrwx 0/1 0 Nov 20 13:58 2002 ./OS/
drwxrwxrwx 0/1 0 Nov 20 13:57 2002 ./OS/etc/
...
-rw-r--r-- 0/1 909 Nov 20 13:57 2002 ./OS/etc/vfstab
...
#
# cd /tmp
# zcat /var/spool/SMAW/SMAWccbr/fuji2_ccbr1.tar.Z | tar xvf - ./OS
x ./OS, 0 bytes, 0 tape blocks
x ./OS/etc, 0 bytes, 0 tape blocks
x ./OS/etc/hosts, 401 bytes, 1 tape blocks
...
x ./OS/etc/vfstab, 909 bytes, 2 tape blocks
...
#
If an invalid correction is made to the system file, login may be disabled and the system may fail to boot.
For details, see the "10 Appendix - Environment variables" in the "PRIMECLUSTER Reliant Monitor Service (RMS) with Wizard Tools Configuration and Administration Guide."
Example: The machine is rebooted.
# shutdown -g0 -i6 -y
For details, see the "4.8 Activating the configuration" in the "PRIMECLUSTER Reliant Monitor Service (RMS) with Wizard Tools Configuration and Administration Guide."
For details, see the "10 Appendix - Environment variables" in the "PRIMECLUSTER Reliant Monitor Service (RMS) with Wizard Tools Configuration and Administration Guide."
For details, see the "5.4.1 Starting RMS" in the "PRIMECLUSTER Reliant Monitor Service (RMS) with Wizard Tools Configuration and Administration Guide."
Contents
Index
![]() ![]() |