| | | | Question | | This document answers questions about how to successfully backup and restore an IBM Workplace Collaborative Learning 2.7x deployment in either a single server or cluster configuration. | | | | | Answer | On a single server configuration: Backup process:
After verifying that your installation of Workplace Learning 2.7x is functioning properly, follow these steps to backup your deployment:
1. Stop WebSphere_Portal by issuing the command,\IBM\WebSphere\profiles\wp_profile\bin\stopServer.bat WebSphere_Portal. By issuing this command, you are stopping Workplace Learning and IBM WebSphere Portal.
2. Stop the web server (content server) as follows: a) On the file system of the Workplace Learning 2.7x deployment server, create a backup location, such as F:\backup\WCL2.7.0.x\<date>\.
b) Make a manual backup of the Workplace Learning 2.7x installation directory. For example, if you choose to install Workplace Learning 2.7.0.x to D:\IBM\, make a manual copy of D:\IBM\ and paste it to F:\backup\WCL2.7.0.x\<date>\.
c) Make a manual backup of the web server installation directory. Example: Using IHS 6.0.2.15 installed at C:\IBMHttpServer\, make a manual copy of C:\IBMHttpServer and paste it to F:\backup\WCL2.7.0.x\<date>\.
d) Make a manual backup of the content location if the content folder does not exist within the web server's file structure. It is recommended that the content folder be created at ...\IBMHttpServer\htdocs\en_US\content. This will be manually backed up when you do the manual backup of the web server installation.
e) Make a manual backup of the Portal and Workplace Learning 2.7x databases. Example: If you use DB2, launch the Control Center, browse to the location of the Portal database, right-click the database and choose Backup, specify the backup directory on the second page of the backup wizard (F:\backup\WCL2.7.0.x\<date>\), and click Finish. When the backup is done, repeat the process for the Workplace Learning 2.7x database. Restore process:
1. Stop WebSphere_Portal by issuing the command,\IBM\WebSphere\profiles\wp_profile\bin\stopServer.bat WebSphere_Portal. By issuing this command, you are stopping Workplace Learning and IBM WebSphere Portal.
2. Stop the web server (content server) as follows: a) Manually delete the Workplace Learning 2.7x installation directory (example, D:\IBM\ ).
b) Copy the Workplace Learning 2.7x backup to the original Workplace Learning 2.7x installation location, issuing the following command: Copy F:\backup\WCL2.7.0.x\<date>\IBM\ to D:\. c) Manually delete the web server installation directory (C:\IBMHttpServer\).
d) Copy the web server backup to the original web server installation location, issuing the following command: Copy F:\backup\WCL2.7.0.x0\<date>\IBMHttpServer to C:\. NOTE: If your content folder does not exist within your web server folder (such as ...\IBMHttpServer\htdocs\en_US\content), you must copy your backed up content folder to the location you were using.
e) Manually restore the Portal and Workplace Learning 2.7x databases. Example: If you use DB2, launch the Control Center, browse to the location of the Portal database, right-click the database and choose Restore, select the backup you want to restore from the second page of the Restore wizard (such as F:\backup\WCL2.7.0.x\<date>\WPS60...), and click Finish. When the backup is done, repeat the process for the Workplace Learning 2.7x database. NOTE: Doing periodic backups of your Workplace Learning 2.7x environment will only save data to that point in case there is a disaster and the current data is irretrievable. On a cluster configuration:
Based on a basic cluster configuration of one Deployment Manager, one primary node, one secondary node with DB2 and the web server (IHS) on the same machine as the Deployment Manager. Backup process: Stop the cluster (secondary node):
Stop WebSphere_Portal_2 (the name used for WebSphere_Portal on the secondary node) and stopnode. Example: ...\IBM\WebSphere\profiles\wp_profile\bin\stopServer.bat WebSphere_Portal_2 & stopNode.bat Stop the cluster (primary node):
Stop WebSphere_Portal and stopnode. Example: ...\IBM\WebSphere\profiles\wp_profile\bin\stopServer.bat WebSphere_Portal & stopNode.bat Stop the Deployment Manager:
Stop Manager. Example: ...\IBM\WebSphere\AppServer\profiles\<dmgr>\bin\stopManager.bat Stop the web server (content server) Backup the cluster:
Once the cluster is stopped, perform the following steps to make a manual backup of the cluster.
On the file system of the Workplace Learning 2.7x Deployment Manager, primary node and secondary node servers, create a backup location, such as F:\backup\WCL2.7.0.x\<date>\.
Deployment Manager:
1. Make a manual backup of the Deployment Manager installation directory. Example: If you chose to install the Deployment Manager to D:\IBM\, do a manual copy of D:\IBM\ and paste it to F:\backup\WCL2.7.0.x\<date>\.
2. Make a manual backup of the web server installation directory. Example: If you use IHS 6.0.2.15 as the web server and installed it to C:\IBMHttpServer\, make a manual copy of C:\IBMHttpServer and paste it to F:\backup\WCL2.7.0.x\<date>\.
3. As specified in the signal server backup, the content location exists within the webserver, for example, at ...\IBMHttpServer\htdocs\en_US\content. Therefore, when a manual backup of the web server installation directory is done, the content location is also backed up.
4. Make a manual backup of the Portal and Workplace Learning 2.7x databases. Example: If you use DB2, launch the Control Center, browse to the location of the Portal database, right-click the database and choose Backup, specify the backup directory on the second page of the backup wizard (F:\backup\WCL2.7.0.x0\<date>\), and click Finish. When the backup is done, repeat the process for the Workplace Learning 2.7x database.
Primary node:
Make a manual backup of the Workplace Learning 2.7x primary node installation directory. Example: If you installed the Workplace Learning 2.7x primary node to D:\IBM\, you would make a manual copy of D:\IBM\ and paste it to F:\backup\WCL2.7.0.x\<date>\.
Secondary node:
Make a manual backup of the Workplace Learning 2.7x secondary node installation directory. Example< If you installed the Workplace Learning 2.7x secondary node to D:\IBM\, you would make a manual copy of D:\IBM\ and paste it to F:\backup\WCL2.7.0.x\<date>\. Restore process: Stop the cluster (secondary node):
Stop WebSphere_Portal_2 (the name used for WebSphere_Portal on the secondary node) and stopnode. Example: ...\IBM\WebSphere\profiles\wp_profile\bin\stopServer.bat WebSphere_Portal_2 & stopNode.bat
Primary node:
Stop WebSphere_Portal and stopnode. Example: ...\IBM\WebSphere\profiles\wp_profile\bin\stopServer.bat WebSphere_Portal & stopNode.bat
Deployment Manager:
Stop Manager. Example: ...\IBM\WebSphere\AppServer\profiles\<dmgr>\bin\stopManager.bat
Stop the web server (content server) Restore the cluster:
Once the cluster stops, perform the following steps to manually restore the cluster:
Deployment Manager:
1. Manually delete the Deployment Manager installation directory (D:\IBM\).
2. Copy the Deployment Manager backup to the original Deployment Manager installation location. Example: Copy F:\backup\WCL2.7.0.x\<date>\IBM\ to D:\.
3. Manually delete the web server installation directory (C:\IBMHttpServer\).
4. Copy the web server backup to the original web server installation location. Example: Copy F:\backup\WCL2.7.0.x\<date>\IBMHttpServer to C:\ NOTE: If your content folder does not exist within your web server folder (...\IBMHttpServer\htdocs\en_US\content), then you must copy your backed up content folder to the location you were using.
5. Manually restore the Portal and Workplace Learning 2.7x databases. Example: If you use DB2, launch the Control Center, browse to the location of the Portal database, right-click the database and choose Restore, select the backup you want to restore from the second page of the Restore wizard (F:\backup\WCL2.7.0.x\<date>\WPS60...) and click Finish. When the backup is done, repeat the process for the Workplace Learning 2.7x database.
Primary node:
1. Manually delete the Workplace Learning 2.7x primary node installation directory (D:\IBM\).
2. Copy the Workplace Learning 2.7x primary node backup to the original Workplace Learning 2.7.0.x primary node installation location. Example: Copy F:\backup\WCL2.7.0.x\<date>\IBM\ to D:\.
Secondary node:
1. Manually delete the Workplace Learning 2.7.0.x secondary node installation directory (D:\IBM\).
2. Copy the Workplace Learning 2.7x secondary node backup to the original Workplace Learning 2.7.0.x secondary node installation location. Example: Copy F:\backup\WCL2.7.0.x\<date>\IBM\ to D:\ NOTE: Please access related documentation for backing up Portal along with following vendor guidelines to backing up your database and LDAP.
| | | | |