Cisco Headend System Release 2.7 安装指南
Chapter 4 Restore the System from an NFS-Mounted Directory
22
Restore the Database and Key Files from an NFS-
Mounted Directory
Complete the following steps to restore the database and key files from a specified
backup directory on the network after performing a file system restore.
1 Log into the DNCS as root user,
2 Type the following command and press Enter.
backup directory on the network after performing a file system restore.
1 Log into the DNCS as root user,
2 Type the following command and press Enter.
pgrep –fl dvs
3 Does the output from Step 2 show that the dncsInitd and/or appInitd processes
are running?
If yes, change to dncs user and type the following commands, pressing Enter
after each, to stop the processes.
dncsKill
after each, to stop the processes.
dncsKill
appKill
If no, go to Step 4.
4 As root user, type the following commands, and press Enter after each, to stop
the http and the apache-tomcat services.
svcadm disable http
svcadm disable http
svcadm disable http-dncsws
svcadm disable apache-tomcat
5 Type onstat - and press Enter to see if Informix is online.
6 Is Informix online?
6 Is Informix online?
If yes, go to Step 9.
If no, skip to Step 12.
7 Type the following command and press Enter to see if any active sessions are
present.
showActiveSessions
showActiveSessions
8 Do active sessions exist on the system?
If yes, type killActiveSessions and press Enter.
If no, go to Step 12.
9 Repeat Steps 9 and 10 to verify that there are no active database sessions.
10 Type the following command and press Enter to change to, and verify access to,
10 Type the following command and press Enter to change to, and verify access to,
the NFS share where the database backup is located.
cd /net/[remotehost]/[path_to_NFS_DBKF_backup]
cd /net/[remotehost]/[path_to_NFS_DBKF_backup]
Example: cd /net/192.0.2.3/backups/pepe/DBKF/2013_08-
01T12:00:00
01T12:00:00