To configure the ZENworks Primary Server to point to the new Oracle database (ORDB2), perform the following tasks on the ZENworks Primary Server:
Take back up, and edit the zdm.xml and edit zenaudit.xml files (located in /etc/opt/microfocus/zenworks/datamodel ), and amedatasource.properties (located in /etc/opt/microfocus/zenworks/antimalware to do the following:
Ensure that the value of the Port entry key is the port number on which the Oracle database is running.
Set the value of the Server entry key to the IP address of the ORDB2 device.
Set the value of the Database entry key to net service name of the Oracle database installed on the ORDB2 device.
Run the microfocus-zenworks-configure -c GenerateOSPProperties command.
Run microfocus-zenworks-configure -c GenerateContentDatasourceConfigureAction on all the ZENworks servers.
Start the ZENworks services on all the ZENworks Servers in the Management Zone.
On the Primary Server:
Execute the following command at the server prompt:
/opt/microfocus/zenworks/bin/microfocus-zenworks-configure -c Start
Enter the number next to the Start action.
ZENworks Server should now point to the new database.