Backup and recovery IBM

xiaoxiao2021-03-06  54

The following steps are assumed in the Linux environment: backup: 1. Backup configuration information Xmlconfig -adminnodename itsohost -export/opt/wasbackup/wasexport.xml Description: Itsohost refers to the node name that you need to back up, usually HostName; Second, first stop WAS server. Third, first, backup, files that need to be backed up, these files include WAS system file $ WAS / bin / admin.config $ WAS / Properties / *. Prop * $ WAS / etc /*.- Installed in WAS (Backup The following directory $ WAS / INSTALLEDAPPS $ WAS / InstallableApps If the Connector is installed, you have to back up $ WAS / InstalledConnectors four. The backup WAS system database is described under DB2 as an example (assuming database name is WAS): 1. Close all database WAS Link: Use the command DB2 List Active Databases to see if there is a database WAS in which it returns, if the WAS is included, then the database is still being used, you need to turn off all databases; 2, use DB2 Backup Database Was to / OPT / Wasbackup / DB_WAS Note: Back up the application database if necessary. 5. Record some relevant information about WAS: 1, node name (should be consistent with hostname); 2, $ WAS path 3, the current version number has been patch. 4. Apply the name of the database and the WAS system database. Recovery: 1. Restore the backup preparation: Set the host name and backup; ensure that the WAS installation path, the software version, and the patch version are consistent; ensure that the WAS system database and the name of the application database are consistent with the name of the application database; In the case of stopping the WAS service, recover the files and directories mentioned in "3" in "Backup" to the appropriate location. Third, restore the WAS configuration information, with two recovery methods, one of them. 1. If the WAS system database does not need to be recovered, the data is intact, modify $ WAS / BIN / Admin .Config Install.Initial.config = false com.ibm.ejs.sm.adminserver.createtables = false 2, with backup XML files Restore WAS configuration information.

转载请注明原文地址:https://www.9cbs.com/read-114138.html

New Post(0)