Export and Import AutoSys / WCC (WebUI) EEM Policies (using the GUI)
search cancel

Export and Import AutoSys / WCC (WebUI) EEM Policies (using the GUI)

book

Article ID: 9574

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

One can export WCC and AutoSys policies from one environment and then import them into a different environment. Performing such export at a regular interval would also create a backup copy of the EEM policies for disaster recovery or auditing (what changed between two backups) 

NOTE:If the EEM instances are in failover/multi-write, exporting the policies from ONE instance is enough.



Environment

Embedded Entitlements Manager

AutoSys Workload Automation

Resolution

For Workload Control Center EEM Policies, follow these steps:

CREATE A BACKUP OF YOUR WCC POLICIES/COMPLETE POLICY EXPORT

    • Go to the SOURCE EEM URL to export the policies from
    • Select the 'WCC000X' 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 any WAAE applications installed.

IMPORT THE WCC POLICIES

    • If it is a Microsoft Windows OS, open a Windows command prompt (Run as Administrator),  and change directory to %CA_WCC_INSTALL_LOCATION%\safex directory
    • If it is a Unix OS, change directory to $CA_WCC_INSTALL_LOCATION\safex at a shell prompt
    • Run the following command:

Linux:   ./safex -h target_EEM_servername -u EiamAdmin -p EiamAdmin_Password -f full_path_where_your_xml_file_from_the_backup_step_above_is_located

Windows:  safex -h target_EEM_servername -u EiamAdmin -p EiamAdmin_Password -f full_path_where_your_xml_file_from_the_backup_step_above_is_located

REGENERATE SECURITY CERTIFICATES

 

For AutoSys Workload Automation EEM Policies, follow these steps:

CREATE A BACKUP OF YOUR WAAE POLICIES/COMPLETE POLICY EXPORT

    • Go to the SOURCE EEM URL to export the 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 any WAAE applications installed.

IMPORT THE WAAE POLICIES

    • On the TARGET AutoSys server,  open an AutoSys command prompt (if on Windows) or source the AutoSys environment file (if on Unix/Linux)
    • Change directory to $AUTOSYS/bin directory [or %AUTOSYS%\bin directory], and run this command:

Linux:  ./safex -h target_EEM_servername -u EiamAdmin -p EiamAdmin_Password -f full_path_where_your_xml_file_from_the_backup_step_above_is_located

Windows: safex -h target_EEM_servername -u EiamAdmin -p EiamAdmin_Password -f full_path_where_your_xml_file_from_the_backup_step_above_is_located

REGENERATE SECURITY CERTIFICATES