Last Post was about back ups, now i will show you how to perform disaster recovery using it.
Recovery using Database:
Follow the following steps if you want to change the database or if the database crashes and you want to start the BPM in a different database.
1. Make new schemas of the same names as in the previous database. From your exported database of BPM users use them to recover it in a new location
d
2. Import the schema users into the new (empty) schema that has been taken as backup, using the following script
<Your Location>D:\oracle\product\10.2.0\db_1\BIN\imp userid=system/<password> file=D:\Backup\<Restore_File_Name.dmp> SHOW=n IGNORE=n CONSTRAINTS=y FROMUSER=(ENGINE,BAM,DM,DIR,ARCHIVE,EXTDB) TOUSER=( ENGINE,BAM,DIR,DM,ARCHIVE,EXTDB) log=D:\Backup\ Restore_File_Name.log
Follow the steps below:
1. Make sure to check the log that all the tables of all the schemas have been imported and no errors have been found.
2. Install the BPM Enterprise server on the machine, if it doesn’t already exist.
3. In the Admin Centre of the Enterprise go to configuration (do not start it). In the Configuration option press add button.
4. A new window opens up. Check the Use existing Directory Service radio button. Uncheck the Create Process Engine checkbox.
5. Press next. Select Use a database managed by Oracle BPM
6. Press next. Enter the directory Configuration name, its description, Directory provider, BPM Admin user and pass.
7. Press next. Enter the host database (IP address or its name).Port by default is 1521 for Directory provider: Oracle BPM Driver version 10,11. Enter user, pass and SID for the username you gave to your schemas.
8. This username and pass should be the BPM directory database (DIR).
9. Press next. Save template. Finish
10. Close the window.
11. Press Start BPM WEB Application from the admin center.
12. When it is started. Launch Process Administrator. Check engines, projects, OU, BAM, External Resources, Variable, and External Processes all are working fine.
13. Launch Workspace in the Admin center. If it does not open then go to Process Administrator -> Engines-> Select your Engine -> networking tab -> Workspace URL. Change this workspace URL to the current machine or the URL that is required.
14. Change the logs locations as required