Tuesday, December 2, 2008

HSS migration ( Export-Import utility by Hyperion)

Steps to be followed

1. First we need to take backup of the security made in shared service through LDAP or external directories

2. Make a file importexport.properties file in the path D:\Hyperion\common\utilities\CSSImportExportUtility\importexport

3. write the following

importexport.css=file:/D:/Hyperion/deployments/Tomcat5/SharedServices9/config/CSS.xml
importexport.cmshost=localhost
importexport.cmsport=58080
importexport.username=admin
importexport.password=password
importexport.enable.console.traces=true
importexport.trace.events.file=D:/hyperion/common/utilities/CSSImportExportUtility/importexport/trace.log
importexport.errors.log.file=D:/hyperion/common/utilities/CSSImportExportUtility/importexport/errors.log
importexport.locale=en
importexport.ssl_enabled=false

# export operations
export.fileformat=xml
export.file=D:/Hyperion/exportNew.xml
export.internal.identities=true
export.native.user.passwords=true
export.provisioning.all=true
export.delegated.lists=false
export.user.filter=*@Native Directory
export.group.filter=*@Native Directory
export.role.filter=*
export.producttype=HUB-9.3.1
#export.provisioning.apps=(HUB=Global Roles)


Make the necessary changes in the above syntax like
export.user.filter=*@External Directory

4. Now check whether JAVA_HOME is mentioned in the environmental variable.

5. go to command prompt and go to the exact path where “CSSExport.bat” file is placed.Run this file with the following syntax

CSSExport.bat importexport.properties

6. Now check the file xml that is generated after the running of export utility.It should show all the users and groups
7. Now change the importexport.properties in the machine where you need to import the security with the following details.
importexport.css=file:/D:/Hyperion/deployments/Tomcat5/SharedServices9/config/CSS.xml
importexport.cmshost=localhost
importexport.cmsport=58080
importexport.username=admin
importexport.password={CSS}MRcYv323uzxGr8rFdvQLcA==
importexport.enable.console.traces=true
importexport.trace.events.file=D:/hyperion/common/utilities/CSSImportExportUtility/importexport/trace.log
importexport.errors.log.file=D:/hyperion/common/utilities/CSSImportExportUtility/importexport/errors.log
importexport.locale=en
importexport.ssl_enabled=false


# import operations
import.fileformat=xml
import.file=D:/Hyperion/exportNew.xml
import.operation=create/update
import.failed.operations.file=D:/failed.xml
import.maxerrors=0

8. Now run import utility
9. Go to command propmt and type

CSSImport.bat importexport.properties

No comments: