IT Process Automation

  • 1.  EEM Export using eem_safex.cmd

    Posted Oct 25, 2015 12:45 AM

    hi everyone,

    anyone successfully export EEM Application Instances using "eem_safex.cmd" which has space in name instead of "-" or "_" .

    I am facing error while exporting application instance which has space (Process Automation and giving following error:

     

    "

    : Invalid Arguments. Run aborted

    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    :

    :

    : The Argument prefix "A" is incorrect. It must be "-"

    : Please enter the argument "Automation" correctly and re-run the script

    :

    :

    :

    :

    : This utility is to Export / Import EEM Application Instance which

    : is configured to use External Directory.

    :

    :

    : eem_safex -m{mode} -u{username} -p{password} -a{applicationInstance}

    : Required Arguments

    :   -m{Export or Import} = Required argument

    :   -p{password}  Required parameter

    :   -a{ApplicationInstance Name} Required parameter for Export Mode.

    :                                Obsolete for Import mode

    :

    :

    :

    :   -u{username}      EEM Username - Defaults to EiamAdmin

    :   -e{EEM Server} -  Defaults to computername

    :   -r{Yes or No}  -  For Import if specified deletes applicaiton instance

    :                     prior to import

    :   -g{Yes or No}  -  Export Global Settings - External Directory Settings

    :                      Defaults to No and only applicable for Export Mode

    :   -f{xml fileame} - Optional parameter - If specified overrides the default

    :                     xml file name.

    :

    :

    : eem_safex -mExport -uEiamAdmin -pmypassword -aclu-apps10

    : eem_safex -mImport -uEiamAdmin -pmypassword -emyDREEMServer

    "



  • 2.  Re: EEM Export using eem_safex.cmd

    Posted Oct 25, 2015 12:49 AM

    I want to migrate my EEM application instances to another operating system



  • 3.  Re: EEM Export using eem_safex.cmd

    Broadcom Employee
    Posted Oct 26, 2015 04:50 PM

    Hello Akhan.1,

     

    I have moved this thread to the CA Process Automation Community for their input.

     

    _R



  • 4.  Re: EEM Export using eem_safex.cmd
    Best Answer

    Posted Oct 27, 2015 04:53 AM

    In order to export your Application from within the EEM UI:
    -Launch the EEM UI, and select the application that you would like to export (as opposed to Global), from the Application drop down menu.
    -Log in with 'EiamAdmin' as the user, and enter the password.
    -Once logged in, go to: Configure->EEM Server->Export Application.
    -Select the objects that you want to export, and click on Export.  A popup window will appear, asking where you would like the file to be saved to.  This will export the application in XML (.xml.gz) format.
    If you have various applications that you would like to export, follow the above steps for each application.

    You can follow the below instructions in order to Import your Applications and policies, using Safex.
    Here is what you would need to do in order to import:
    -Uncompress the exported file (.xml.gz), which will uncompress into an .xml file.
    -Copy the .xml file into the same directory that Safex resides, which is in the %EIAM_HOME%\bin or $EIAM_HOME/bin.
    -From a command prompt, navigate to the location of the Safex executable (%EIAM_HOME%\bin or $EIAM_HOME/bin).
    -From the command prompt run the following command:
         safex.exe -h <hostname> -u <username> -p <password> -f <name_of_file.xml>
    This will import your Application with it's policies to the EEM Server. 
    If you have additional applications that you need import, follow the above steps for those as well.

    -h is the hostname of the EEM Server
    -u is the admin user for EEM, which would be ‘EiamAdmin’
    -p is the password for ‘EiamAdmin’
    -f is the name of the XML file that you want to import.



  • 5.  Re: EEM Export using eem_safex.cmd

    Broadcom Employee
    Posted Oct 27, 2015 04:05 PM

    Thank you for sharing the information Akhan.1

     

    _R



  • 6.  Re: EEM Export using eem_safex.cmd

    Posted Aug 23, 2018 01:10 PM

    What do you use to uncompress the file?



  • 7.  Re: EEM Export using eem_safex.cmd

    Broadcom Employee
    Posted Aug 23, 2018 01:20 PM

    The resulting file can be uncompressed with WinZip or 7zip in a Windows envrionment. You can even use WinRar if you have that.



  • 8.  Re: EEM Export using eem_safex.cmd

    Posted Aug 23, 2018 01:31 PM

    thank you