What is LCM?
LCM (Life Cycle Management) is a tool which can be used to migrate Hyperion applications, cubes, repositories, or artifacts across product environments and operating systems. It is accessed through the Shared Services Console.
Does it work?
After using LCM at a few clients I think the answer is a definite YES, but there needs to be a realistic setting of expectations: Yes, LCM has some very good and handy uses; but NO, it is not necessarily going to be a painless, simple answer to your migration and/or backup needs.
What can I do with it?
You can use it for migrations:
- One environment to another
- One app to another (same SS environment)
- Selected dimensions or other artifacts
And for backups/restores, including keeping two separate environments synchronized:
- Selected artifacts
Products which can be migrated are:
- Shared Services
- The dimensions housed in EPMA
This blog is going to concentrate on using LCM for planning application migrations although, as you can see from the list above, it can also be used for other products as well.
First I’ll show how a migration is done, using screen shots, to give a detailed look. Then I’ll point out things to look out for including things which will cause the migration to fail — with work-arounds where possible.
To migrate an entire Planning application, you will need to copy (4) areas:
- Shared Services
- Essbase (For Planning, only need the Essbase Global Variables. All App/DB specific variables are migrated with the Planning Application)
- Planning Application
- Reporting and Analysis (if applicable)
The order in which you export these is not important but when doing the import, the order is very important.
Some important considerations:
- Target app can have different name from source
- Source and destination plan types must match
- Can be changed by editing the files
- Target plan types must be in same order as source
- Start year must be the same
- Number of years doesn’t need to match
- Base time period must be the same
- Target app’s Currency settings must match Source
- Standard Dimension names must match
- Can be changed by editing the files
When exporting any application it is advisable to just export everything. If necessary you can be selective on the import side.
Start the process by opening the Shared Services console and go to the Application Groups –>Application (in this case – Shared Services under Foundation).
In the lower part of the screen, click “Select All” and then “Define Migration”
Now go through the screens:
Leave each field with an * and Choose “Next”
Type in a file name for the export. It is advisable that you use a naming convention for this since you will end up with (possibly multiple) files for each application.
Review the destination options & click “Next.”
Finally, review the Migration summary and click “Execute Migration.”
NOTE: If this process is going to be re-run in a lights-out environment you should instead choose the “Save Migration Definition” button. I’ll discuss this more fully later on.
You will get this information screen. Click Launch Migration Status Report to actually see the migration progress.
As long as the migration is running you will get a status of In Progress
Click Refresh to keep checking status (if desired) until you get a status of Completed or Failed.
All of the other applications can be exported this same way, each with slightly different screen sequences but generally the same process.
The primary differences will be for Planning and Essbase where, if there are other applications in the same Shared Services environment, they will be offered as possible targets for the export, in addition to the File System. Selecting one of these will cause a direct migration from the source application to the selected target application.
After the exports are finished the LCM export files can be copied to the target server environment, if needed. These export files can be found on the Shared Services server under \Hyperion\common\import_export\username@directory.
Copy the entire directory (in this example, Essadmin@Native Directory) to the Hyperion\common\import_export directory on the target server.
The import side is where things are more likely to be tricky. Here you will reverse the process, selecting the export files in proper order (Shared Services, Essbase, Planning & Reporting) and importing them to whatever target is appropriate.
Start the process by logging in to the Shared Services console as the same username you used in the export process. Under Application Groups–>File System, find the appropriate export files and click “Define Migration.”
Click through the screens, including the SS screen selecting the target application to import to.
On the destination option screen select Create/Update and increase the Max errors if desired (default = 100)…
…and run the migration.
For the Planning import select all to begin.
The Reporting migration is similar. Select all the artifacts you want to import.
In many cases, especially where you are keeping two identical environments in sync, these migrations should go smoothly and complete without error. However, at other times, especially when doing an initial migration or one where the security will be much different from one to another, you may have to make several passes at the migration. When even one item fails to migrate successfully, LCM will send back a status of “Failed”. Click on that link in the status report and LCM will tell you what items failed to migrate. All other items will usually have migrated successfully. You will then have to figure out why the item failed and either fix the problem, work around the problem or ignore it and migrate the item another way.
Here are some things I’ve found which will cause you problems in using LCM:
- In exporting a planning application with many substitution variables, the EXPORT failed – refusing to export all of the variables. This was worked around by exporting only the variables and then exporting everything except the variables.
- OR, you can play with the group count/size settings as well as report and log files location within the migration.properties file.
- Default settings usually are:
- Using “All Locations” in HBR will cause failure for those forms.
- Essbase server names—if not same in source & target, you will have to modify the import files for target name.
- Report Name Length is limited to 131 characters less folder name.
- Dim members “Marked for Delete” won’t migrate. You will have to delete them using a SQL query if you want them migrated.
- Form folders may get re-ordered on migration. You can work around this by manually adding the folders to the target application in the proper order. LCM will not reorder existing folders.
- Doesn’t support parentheses ( ) in form names. You won’t get an error indication in the export/import – the forms just won’t be there in the imported app. You’ll have to rename the forms to get them to come over.
- Member formulas need to be in planning – if just in Essbase they don’t come over. If this is a one-time migration you can use the EAS migration utility to bring the outline over after the LCM migration.
- You must manually delete Shared Services groups in the target app if you deleted them in the source app (or they will remain).
- Reports – you must manually update the data source in the target.
- Members don’t come over with certain special characters.
- Doesn’t support Clusters; must use the outline as HBR location.
- Global Variables with limits in their definition don’t work.
Well, now you should be able to use LCM and judge for yourself whether it is right for your application. In another BLOG I’ll show how to run LCM in a lights-out mode and also how to do some modifications to the export files so you can do things like sharing dimension detail between planning applications.