You can export your WCC and Autosys policies from one environment and then import them into a different environment. By completing your export, you have created a backup copy of your EEM policies for disaster recovery.
NOTE: If your EEM instances are in failover/multi-write, you only need to export the policies from ONE instance.
How to Export/Import WCC Policies from one EEM Server to another EEM Server
*********************************
- A. CREATE A BACKUP OF YOUR WCC POLICIES/COMPLETE POLICY EXPORT
*********************************
- Go to your SOURCE EEM GUI where you want to export your policies from
- Select the 'WCC0004' application from the dropdown box and login
- Click on the Configure tab
- Click on the 'EEM Server' link
- On the left hand side, click the 'Export Application' link
- By default, everything but the 'Override The Max Search Size' check box is checked - this is fine.
NOTE: Clear all of the Global objects check boxes if you are using CA EEM Active Directory.
- Click the 'Export' button - a xml.gz file is created
- Unzip that file, extract the .xml file and save it (a temp directory is fine)
NOTE: For disaster recovery, save this file in a location that is NOT on the server(s) where you have WAAE applications installed.
*********************************
- B. IMPORT THE WCC POLICIES
*********************************
- Open up a Windows command prompt (Run as Administrator) and navigate to your $CA_WCC_INSTALL_LOCATION/safex directory [or %CA_WCC_INSTALL_LOCATION%\safex directory]
- Run the following command:
Linux
./safex -h target_EEM_servername - u EiamAdmin -p EiamAdmin_Password - f full_path_where_your_xml_file_is_located
Windows
safex -h target_EEM_servername - u EiamAdmin -p EiamAdmin_Password - f full_path_where_your_xml_file_is_located
*********************************
- C. REGENERATE SECURITY CERTIFICATES
*********************************
- Run the following command:
Linux
./safex -h target_EEM_servername - u EiamAdmin -p EiamAdmin_Password - f IssueCertificate.xml
Windows
safex -h target_EEM_servername - u EiamAdmin -p EiamAdmin_Password - f IssueCertificate.xml
- Login to the TARGET EEM GUI (under the WCC application) where you have imported your policies
- Verify your WCC policies have been imported
----------------------------------------------------------
How to Export/Import WAAE Policies from one EEM Server to another EEM Server
*********************************
- A. CREATE A BACKUP OF YOUR WAAE POLICIES/COMPLETE POLICY EXPORT
*********************************
- Go to your SOURCE EEM GUI where you want to export your policies from
- Select the 'WorkloadAutomationAE' application from the dropdown box and login
- Click on the Configure tab
- Click on the 'EEM Server' link
- On the left hand side, click the 'Export Application' link
- By default, everything but the 'Override The Max Search Size' check box is checked - this is fine.
NOTE: Clear all of the Global objects check boxes if you are using CA EEM Active Directory.
- Click the 'Export' button - a xml.gz file is created
- Unzip that file, extract the .xml file and save it (a temp directory is fine)
NOTE: For disaster recovery, save this file in a location that is NOT on the server(s) where you have WAAE applications installed.
*********************************
- B. IMPORT THE WAAE POLICIES
*********************************
- From your TARGET $AUTOSYS/bin directory [or %AUTOSYS%\bin directory], run this command:
Linux
./safex -h target_EEM_servername - u EiamAdmin -p EiamAdmin_Password - f full_path_where_your_xml_file_is_located
Windows
safex -h target_EEM_servername - u EiamAdmin -p EiamAdmin_Password - f full_path_where_your_xml_file_is_located
*********************************
- C. REGENERATE SECURITY CERTIFICATES
*********************************
- From your TARGET $AUTOSYS/bin directory [or %AUTOSYS%\bin directory], run this command: autosys_secure
- Select option [2] Manage CA EEM security settings.
- Select option [1] Manage CA EEM server settings.
- Select option [2] Set CA EEM server location and regenerate certificate.
- Enter the TARGET EEM server details when prompted