AutoSys Workload Automation

Expand all | Collapse all

How To - Export and Import EEM Policies for r12.0+

  • 1.  How To - Export and Import EEM Policies for r12.0+

    Posted 08-11-2015 10:55 AM

    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

     

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

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

    1. Click the 'Export' button - a xml.gz file is created
    2. 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.

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

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

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

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

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

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

     

    How to Export/Import WAAE Policies from one EEM Server to another EEM Server

     

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

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

    1. Click the 'Export' button - a xml.gz file is created
    2. 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.

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

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

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

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


  • 2.  Re: How To - Export and Import EEM Policies for r12.0+

    Posted 08-11-2015 11:25 AM

    Thank you very much.

     

    Kalpej