How to Automate LCM Artifacts Migration

I want to know if the migration of artifacts through LCM can be automated.
Thanks in advance for your inputs.
Regards,
amit

Hi Amit,
You might find this useful: http://www.in2hyperion.com/websites/in2hyperionblog/post/2011/03/20/Learning-Life-Cycle-Management-(LCM)-Command-Line-Security-Synchronization.aspx
Cheers,
Mehmet

Similar Messages

  • How to automatically create the custom migration scripts after recreating SSMA project?

    How to automatically create the custom data migration scripts after recreating SSMA project?
    There is number of tables ( big tables with BLOBS)  which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
    So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ? 

    Hi Roman.Pokrovskij,
    According
    to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
    custom migration scripts, you can review refer to them.
    <?xml version="1.0" encoding="utf-8"?>
    <ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
    <config>
    <output-providers>
    <output-window suppress-messages="false"
    destination="stdout"/>
    <upgrade-project action="yes"/>
    <data-migration-connection source-use-last-used="true"
    target-server="target_1"/>
    <progress-reporting enable="false"
    report-messages="false"
    report-progress="off"/>
    <object-overwrite action="skip" />
    </output-providers>
    </config>
    <servers>
    <!-- Server definition for Sql server target server-->
    <sql-server name="target_1">
    <sql-server-authentication>
    <server value="$SQLServerName$"/>
    <database value="$SQLServerDb$"/>
    <user-id value="$SQLServerUsrID$"/>
    <password value="$SQLServerPassword$"/>
    <encrypt value="true"/>
    <trust-server-certificate value="true"/>
    </sql-server-authentication>
    </sql-server>
    </servers>
    <script-commands>
    <create-new-project project-folder="$project_folder$ "
    project-name="$project_name$"
    overwrite-if-exists="true"/>
    <connect-target-database server="target_1"/>
    <load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
    <!--Schema Mapping-->
    <map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
    <!-- Convert schema -->
    <!-- Example: Convert entire Schema (with all attributes)-->
    <convert-schema object-name="$AccessDatabase$"
    object-type="Databases"
    conversion-report-overwrite="true"
    verbose="true"
    report-errors="true" />
    <!-- Synchronize target -->
    <!-- Example: Synchronize target entire Database with all attributes-->
    <synchronize-target object-name="$SQLServerDb$.dbo"
    on-error="fail-script" />
    <!-- Data Migration-->
    <!--Example: Data Migration of all tables in the schema (with all attributes)-->
    <migrate-data object-name="$AccessDatabase$.Tables"
    object-type="category"
    report-errors="true"
    verbose="true"/>
    </script-commands>
    </ssma-script-file>
    There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
    article.
    http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to automate Import/export Essbase data 11.1.2

    Hi,
    After migration from Dev to Test environment using LCM (EPMA Planning, Shared services) I have questions:
    1) How to automate export from source and import in Destination?
    2) If we have enabled MSAD in shared services, What should be standard practice to sync provisioning in both environment?
    Regards
    Kumar

    Hi John,
    I see only Native directory
    Application Group>Foundation>shared services> - Native directory
    - Task flows
    Application Group>Foundation>shared services> - Native directory>assigned Roles> foundation>shared services
    I feel MSAD should be here but not sure as it is just new environment and we enabled MSAD.
    Please suggest where can i check Import/export in LCM 11.1.2?
    Regards
    Kumar
    Edited by: Kumar 1 on Oct 20, 2011 3:22 AM

  • Issue with LCM while migrating planning application in the cluster Env.

    Hi,
    Having issues with LCM while migrating the planning application in the cluster Env. In LCM we get below error and the application is up and running. Please let me know if anyone else has faced the same issue before in cluster environment. We have done migration using LCM on the single server and it works fine. It just that the cluster environment is an issue.
    Error on Shared Service screen:
    Post execution failed for - WebPlugin.importArtifacts.doImport. Unable to connect to "ApplicationName", ensure that the application is up and running.
    Error on network:
    “java.net.SocketTimeoutException: Read timed out”
    ERROR - Zip error. The exception is -
    java.net.SocketException: Connection reset by peer: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

    Hi,
    First of all, if your environment for source and target are same then you will have all the users and groups in shared services, in that case you just have to provision the users for this new application so that your security will get migrated when you migrate the from the source application. If the environs are different, then you have to migrate the users and groups first and provision them before importing the security using LCM.
    Coming back to the process of importing the artifacts in the target application using LCM, you have to place the migrated file in the @admin native directory in Oracle/Middleware/epmsystem1.
    Open shared services console->File system and you will see the your file name under that.
    Select the file and you will see all your exported artifacts. Select all if you want to do complete migration to target.
    Follow the steps, select the target application to which you want to migrate and execute migration.
    Open the application and you will see all your artifacts migrated to the target.
    If you face any error during migration it will be seen in the migration report..
    Thanks,
    Sourabh

  • How does the LCM rollback feature work in theory?

    Hi
    How does the LCM rollback feature work in theory?
    Let's say
    1. I've Webi report 'x' in QA system
    2. I promote a modified version of webi report 'x' from DEV to QA using LCM. So now I've 'x1' in QA.
    3. I "rollback" this promotion job in LCM. Which means I've get back 'x' in QA system.
    So does this mean that LCM kept a "backup" copy of 'x' in QA (CMS+filestore file backup) before overwriting with the promoted 'x1' from DEV?
    If yes, does it clear the 'x' anytime from QA? (maybe after second iteration of 'x2'?)
    Thanks

    I highly recommend you read the following blog posts that contains straight answers to common questions about the automatic update feature:
    Hello, Adobe Flash Player Background Updater (Windows)!
    Adobe Flash Player Background Updater for Mac is live!

  • OB52 Posting Period Close:  Does anyone know how to automate the close?

    Does anyone know how to automate the FI Period Close (trans code OB52)?  Currently, the business users go into the screen and open and close any periods manually.  For the MM period close, we are able to do so because we found the program to use in the batch job.  For some reason, the FI side shows the program SAPL0F00 but this is only a view and will not allow a batch job to be created.  Does anyone know of the actual program used for the FI period close?

    Use program RFPERIOD_OPEN.  It may help.  For further details you may check the following thread.
    RFPERIOD_OPEN

  • How to Automatically generate .XSL file of XML file ???

    Hello Everyone,
    I have UI which provide the facility to create own format by using drag and drop utility. I have also xml file which contains the data. Now task is how to automatically generate the .xsl file of the dynamically designed format for the data stored in xml form.
    If you have any idea about the solution of the above problem.
    I will thankful for any help regarding this…
    Thanks
    B. Kumar

    XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents. .xsl is the extension of the XSL file.Thank you, I am aware of all that.
    When we design any format by using drag & drop utility, System has to generate the .xsl file (extensible stylesheet for the xml document).Why? To accomplish what?
    And then .xsl file is used to display the data which is stored in xml document on the webpage with designed format.So you need to define the mapping between XML and HTML? and you're hoping to do that automatically?
    That's a job for a user interface designer. Not a tool.
    In brief we need to write a parson
    Parser
    which will take any designed format and generate the .xsl file for that design, to display the data which is stored in XML document.Doesn't make sense. It would make more sense if you started from a schema. Starting from an actual XML document, i.e. an instance of the schema, no, not even slightly.

  • How to automatically detect server ip address

    does any one know how to automatically detect an ip address of a server from the client with a socket based connection ?
    instead of prompting the client to connect to the server ip address which is trouble some.

    You must start with some initial information and a known environment.
    There are several possibilities after that.
    - The server has a 'name'. This is not an ip address but a name like "yahoo.com". When you connect using that, even if the IP changes, the correct IP will be returned. (At least ignoring an annoying bug in some VMs)
    - A specific IP address
    - Use a methodoly to 'request' a server address. One version of this is to use a UDP broadcast another version uses a service manager (which itself must be found.)

  • I just installed last versión of iphoto and it erased my iPhoto events. Now i dont have iphoto library anymore and i only have my events in iPhone and in MobileMe gallery. How can i download and migrate events in MobileMe gallery to events in iPhoto ?

    I just installed last versión of iphoto and it erased my iPhoto events. Now i dont have iphoto library anymore and i only have my events in iPhone and in MobileMe gallery. How can i download and migrate events in MobileMe gallery to events in iPhoto ?

    O also installed lion before and as i had filevault activated y lost my user information in timemachine. So, i have a useless backup. I only have events in iPhone ( due i didnt sync photos) and in MobileMe gallery, and i already migrate to iCloud. So?

  • How to automate the flatten transparency in illustrator?

    How to automate the "Flatten Transparency option" in illustrator via javascript. Please share with me.
    Thanks

    I'm looking for the same thing.
    app.executeMenuCommand('Flatten Transparency'); works in CC but all it does is it brings up the window and you still have to click OK to make the script continue.
    Before anyone asks why do  you want to do it etc. In print thereare instances where you have to open and edit (not text) large numbers of pdfs to change colours, outline fonts etc otherwise there's trouble on print devices.
    My script for instance looks for 100K blacks and replaces them with rich black, looks for empty text frames, overprint, bleed settings, clipping paths etc.
    The only way to edit successfully a pdf without fonts is to place it and flatten transparency outlining fonts and then work on it.
    So back to the point. After the window pops up, is there a way to simulate a keystroke like "Enter" or maybe app.executeMenuCommand('Flatten Transparency'); takes arguments like:
    app.executeMenuCommand('Flatten Transparency',preset_name);...?
    Anyone? Adobe SDK team? :-)

  • How to automate a redundant task on PC to "Include Prefix when Numbering Pages"

    I work in book publishing and we're generating indices using the book feature. The big problem is that for the print version we need the folios styled a certain way "without a prefix" but to create our index in the book feature, the prefix needs to be turned on.
    Is there any way to do any kind of drag and drop so I don't have to open every chapter of the file to turn the prefix on? Though it doesn't take long, it's repetitive and has to be done every time we update our books. (The "Section Prefix" information is alreay inserted, it's just a matter of toggling it on or off depending on what doing in the InD file.)
    I do not write scripts. It seems like a simple task but would take me months to figure out. If you can send me to someone who can figure out how to automate this task, I would greatly appreciate your help.
    Macgrunt was able to help me but then I realized I was on a PC. Is this something that can be done in Javascript?

    Here's a version that batch-processes the selected folder with InDesign documents as you asked in PM.
    Main();
    function Main() {
        var inddFile, doc,
        inddFolder = Folder.selectDialog("Choose a folder with InDesign documents.");
        if (inddFolder == null) exit();
        var inddFiles = inddFolder.getFiles("*.indd");
        if (inddFiles.length == 0) ErrorExit("Found no InDesign documents in the selected folder.", true);
        for (var i = 0; i < inddFiles.length; i++) {
            inddFile = inddFiles[i];
            app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
            doc = app.open(inddFile);
            app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;   
            sections = doc.sections;
            for (var j = 0; j < sections.length; j++) {
                sections[j].includeSectionPrefix = true;
            doc.close(SaveOptions.YES);
    function ErrorExit(error, icon) {
        alert(error, scriptName, icon);
        exit();
    You can also use this script to run a script or a set of scripts on a bunch of files. (Warning! It's not totally tested)

  • How to automate the queries

    hii everyone
    I want to automate queries.i.e they should be executed automatically on a particular day in the week. can we do it through oracle jobs..actually wht the case is i will be executing 5 queries evey tuesday.the output frm these queries are used to process another job tht runs every tuesday evening.rather than executing all these queries everytime i want to automate these queries.
    can anyone help me how to automate this job.
    thnakx

    hii justin
    thnkx for the reply..
    the queries wht im executing are little bit complex.one query is dependent on the other..im sending u the steps wht i will be doing when the queries are executed
    Below mentioned are the steps to be followed to check if the rewards job ran successfully or not –
    1.     Run the QUERY #1 in Rewards_Queries_Weekly_Test.sql
    2.     Note down the number of records returned in STEP 1.
    3.     Run the QUERY #2 in Rewards_Queries_Weekly_Test.sql.
    Enter current date as INPUT parameter.
    4.     Note down the number of records returned in STEP 3.
    5.     Compare the number of records returned in STEP 1 and
    number of records returned in STEP 3. BOTH THE NUMBERS
    SHOULD MATCH TO PROCEED TO NEXT STEP.
    6.     Copy the results of QUERY #1 to an excel sheet. Do not copy
    the serial number generated by PL/SQL Developer.
    Copy only the fields returned.
    7.     Copy the results of QUERY #2 to an excel sheet.
    Do not copy the serial number generated by PL/SQL Developer.
    Copy only the fields returned.
    8.     Assuming that the results of QUERY #1 were copied to the
    columns A1 & B1 and the results of QUERY #2 were copied to
    the columns D1 & E1, copy the following formula
    to F2 =IF((A2=D2)*(B2=E2),0,1)
    9.     The output of STEP 8 would be either 0 or 1 in the cell F2.
    1 indicates the records with mismatch and 0 indicates the correct
    records which can be ignored. It is possible that the records with
    mismatch have an entry in job special pay table and these records
    also can be ignored. These records can be filtered
    by following next steps.
    10.     Copy the data in the cells D1,E1 and F1 to H1, I1 and J1 respectively.
    While pasting use the option paste Special and select Values option
    in the dialog box.
    11.     Sort H1, I1 and J1 data by J1 descending and next by H1 ascending.
    This would list all the in correct records first and correct records next
    so that they can be ignored.
    12.     Now run the QUERY #3 and copy the results to K1. Do not copy the serial number generated by PL/SQL Developer. Copy only the fields returned. These records indicate the rewards special pay records given in the last one week.
    NOTE: The QUERY #3 expects two dates in the IN clause. These dates should be Current Date (Since the reward jobs run on Tuesday it will be always current Tuesday’s date) and Last Tuesday’s date.
    13.     Select all the incorrect records in the cells H1, I1 and J1 and apply
    the following conditional formatting formula with format as RED color.
    = VLOOKUP($H2,$K$2:$K$220,1,FALSE) <> " "
    NOTE: In the above formula change the value of K$220 based on the number of rows you get in the cell K from the results of QUERY #3.
    14.     The records with BLACK color are the actual records with some issue. Investigate each record manually and analyze the issue. Keep negative hours adjustment, 26 weeks rule in mind while doing so.
    the above are 14 steps i will be doing every tuesday when im executing the queries
    i want to automate the whole process wht im doing in the 14 steps..
    could u suggest me something on this
    srikanth

  • How to automate the deletion of existing request

    Hi ,
    I want to delete the existing old requests under Cube . How to automate this process .
    Please can anybody help me .

    Hi,
    This code deletes <b>all</b> requests seuential from one particular cube determined by parameter I_Cube. Please create a variant with name of desired cube
    and a batch job processing this variant.
    REPORT  Z_DELETE_REQ_FROM_IC.
    DATA: I_T_RSICCONT TYPE TABLE OF RSICCONT.
    DATA: WA_RSICCONT  TYPE RSICCONT.
    PARAMETERS : I_CUBE TYPE RSINFOCUBE .
    IF I_CUBE IS INITIAL.
      EXIT.
    ENDIF.
    SELECT * FROM RSICCONT INTO TABLE I_T_RSICCONT WHERE
             ICUBE = I_CUBE.
    LOOP AT I_T_RSICCONT INTO WA_RSICCONT.
      CALL FUNCTION 'RSSM_DELETE_REQUEST'
        EXPORTING
          REQUEST                    = WA_RSICCONT-RNR
          INFOCUBE                   = WA_RSICCONT-ICUBE
        EXCEPTIONS
          REQUEST_NOT_IN_CUBE        = 1
          INFOCUBE_NOT_FOUND         = 2
          REQUEST_ALREADY_AGGREGATED = 3
          REQUEST_ALREADY_COMDENSED  = 4
          OTHERS                     = 5.
      IF SY-SUBRC <> 0.
    open for error-handling
      ENDIF.
    ENDLOOP.
    Please use it carefully 
    Regards
    Joe

  • How to automate the payment program proposal creation

    Hi Experts,
    Another question, as we have to automate the creation of the payment run and its proposal run and then the list should go to specified person, who will check and then the payment run will be executed manually in the system.
    How to automate this?
    Thanks,
    Atif

    Hi,
    For payment run parameter generation you can use the program SAPF110S and for the proposal run execution you can use the program SAPFPAYM_SCHEDULE.
    Schedule these programs via a batch job on periodic basis in steps and give the intended recipients in the spool recipients.
    Regards,
    Gaurav

  • How to automate the data load process using data load file & task Scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
    Thanks

    To follow up on your question are you using the maxl scripts for the dataload?
    If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
    If you are using maxl use this as the batch
    "essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt.

Maybe you are looking for