How To Export and Import EEM Policies (using the GUI)

Document ID : KB000009574
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

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.

Environment:
CA Embedded Entitlements Manager r12.xCA Workload Automation AE r11.3.xCA Workload Control Center r11.3.xCA Workload Control Center r11.4.x
Instructions:

CA Workload Control Center EEM Policies

*********************************

A. CREATE A BACKUP OF YOUR WCC POLICIES/COMPLETE POLICY EXPORT

*********************************

1. Go to your SOURCE EEM GUI where you want to export your policies from

2. Select the 'WCC000X' application from the dropdown box and login

3. Click on the Configure tab

4. Click on the 'EEM Server' link

5. On the left hand side, click the 'Export Application' link

6. 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.

7. Click the 'Export' button - a xml.gz file is created

8. 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 any WAAE applications installed.

*********************************

B. IMPORT THE WCC POLICIES

*********************************

1. 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]

2. 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

*********************************

1. 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

2. Login to the TARGET EEM GUI (under the WCC application) where you have imported your policies

3. Verify your WCC policies have been imported

4. Move the wcc.pem and wcc.key files to the $CA_WCC_INSTALL_LOCATION/data/config directory [or %CA_WCC_INSTALL_LOCATION%\data\config directory]

5. For Linux, change the permissions of the wcc.pem and wcc.key files {chmod 750 wcc.pem wcc.key

6. For Linux, change the owner/gorup of the wcc.pem and wcc.key files to the owner/group of the WCC installation {chown wcc:wcc wcc.pem wcc.key}

----------------------------------------------------------

 

CA Workload Automation AE EEM Policies

*********************************

A. CREATE A BACKUP OF YOUR WAAE POLICIES/COMPLETE POLICY EXPORT

*********************************

1. Go to your SOURCE EEM GUI where you want to export your policies from

2. Select the 'WorkloadAutomationAE' application from the dropdown box and login

3. Click on the Configure tab

4. Click on the 'EEM Server' link

5. On the left hand side, click the 'Export Application' link

6. 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.

7. Click the 'Export' button - a xml.gz file is created

8. 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 any WAAE applications installed.

*********************************

B. IMPORT THE WAAE POLICIES

*********************************

1. 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

*********************************

1. From your TARGET $AUTOSYS/bin directory [or %AUTOSYS%\bin directory], run this command:  autosys_secure

2. Select option [2] Manage CA EEM security settings.

3. Select option [1] Manage CA EEM server settings.

4. Select option [2] Set CA EEM server location and regenerate certificate.

5. Enter the TARGET EEM server details when prompted

6. Login to the TARGET EEM GUI (under the WorkloadAutomationAE application) where you have imported your policies

7. Verify your WAAE policies have been imported