Lifecycle Management - HFM

Embed Size (px)

Citation preview

  • 8/16/2019 Lifecycle Management - HFM

    1/2

    Lifecycle Management (LCM) command-line utility

    EPMExportAll (EPM_CloneExport.bat) is a ne !racle EPM ("yperion) ##.#.$.% Lifecycle Management (LCM) command-line utility

    t&at exports all LCM-enabled artifacts to t&e file system. 't is ery similar in use and function to t&e Lifecycle Management *tility

    (utility.bat) it& a fe subtle yet +ey differences,

    • *nli+e t&e Lifecycle Management *tility (utility.bat) t&e EPMExportAll utility does not utilie a Migration efinition /ile to

    specify &ic& artifacts you ant to export. 0at&er t&e EPMExportAll utility grabs all LCM-enabled artifacts by default 1&et&er you ant t&em or not 1 it&out specifying a Migration efinition /ile

    •  Alt&oug& t&e EPMExportAll utility does not use a Migration efinition /ile it does re2uire a properties file as input. 3&e

    properties file does not come installed so it must be created and named 4input.properties5 3&e input.properties file t&enneeds to be populated it& t&e EPM username and passord to be used by t&e EPMExportAll utility eac& time it runs

    • 3&e EPMExportAll utility does not accept any command-line arguments. 3&e Lifecycle Management *tility accepts some

    command-line arguments t&at can be used to list information or to specify a base pat&

    • 6&ile t&e EPMExportAll utility grabs all LCM-enabled artifacts it ill not grab any artifacts t&at are not LCM-enabled (e.g.

     Application 7roups ◊ /oundation ◊ eployment Metadata ◊ 8&ared 8erices 0egistry). 3&e Lifecycle Management *tility

    (utility.bat) ill allo you to select t&ese artifacts

    • 3&e EPMExportAll utility is executed by running a file called 4epm_cloneexport.bat.5 3&is file s&ould be on t&e /oundation

    8erer in t&e Middleare_"ome9user_pro:ects9epmsystem#9bin directory (t&e file may be on a different serer and

    directory depending on &o t&e installation as done). "ere are instructions on &o t&is utility or+s,

    #. !nce you;e located t&e epm_cloneexport.bat file (in t&e same directory t&at t&e epm_cloneexport.bat file is in) create a blan+ file

    and name it input.properties. !pen t&e input.properties file and add t&e folloing to lines &ere mylcmusername and

    mylcmpassord are t&e 8&ared 8erices credentials for t&e account t&at you ant t&e utility to use ('mportant tip, 3&e passord in

    t&e input.properties file ill be oerritten it& an encrypted passord during t&e first run of t&e utility)

    < user=mylcmusername

    < passord=mylcmpassord

    $. 8ae and close t&e input.properties file.

    %. /rom a command line cd to t&e directory t&at contains t&e epm_cloneexport.bat file and run t&e folloing command,

    epm_cloneexport.bat input.properties

    >. 6&en completed you s&ould see a message t&at says, 4Migration 8tatus, 8uccess.5

  • 8/16/2019 Lifecycle Management - HFM

    2/2

    ?. Exit t&e command indo.

    @. 'n 8&ared 8erices under 4/ile 8ystem5 you s&ould no see a folder called EPM_CloneExport. 3&is folder s&ould contain all of

    t&e LCM-enabled artifacts.

    . 'f you go bac+ and open t&e input.properties file it s&ould no display t&e encrypted passord ('mportant tip, At t&e time t&at t&is

    as ritten t&ere appeared to be a potential bug it& t&is utility &ereby t&e utility created a sort of ad-&oc M/ file named

    epmexportall.xml and put i t in t&e default /ile 8ystem location alongside t&e EPM_CloneExport folder. 3&is file contained t&e

    unencrypted ersion of t&e passord from t&e input.properties file. 3&e file is generated eery time t&e utility is run. 6e currently&ae a tic+et open it& !racle to see if t&is is a bug. 'n t&e meantime as a or+-around ' am running t&e utility in a script and

    &aing t&e script delete t&e epmexportall.xml file after t&e epm_cloneexport.bat completes),