Component Parameter comparison
In Siebel,all the component configuration such as their parameter value are stored in Siebns.dat file.
If during migration to any other environment there arises some need to compare component parameter with other environment then it can be a lot of time consuming and tedious task if we perform it by GUI.
Reason being
1. If you try to export parameter to .csv sheet then only Reset level component parameter will get exported not the parameter under Hidden and Advanced.So you can not do sheet comparison.
So there are 2 ways in which we can compare component,Enterprise parameters.
Spool through Srvrmgr
Connect to server manager using
srvrmgr /e <EnterpriseName> /g <GatewayNSHostname> /u sadmin /p <SADMIN_pwd>
and use following command to take spool of parameters
spool
spool abcdef.xls
list hidden param for comp XXX show PA_NAME, PA_VALUE
list advance param for comp XXX show PA_NAME, PA_VALUE
list param for comp XXX show PA_NAME, PA_VALUE
spool off
Repeat this step for all the components.
After getting all the Parametrs in .xls sheet ,you can compare sheet from different environment and compare them with some comparison tool like Beyond Compare.
cfgmerge utility from oracle
The cfgmerge program is a command-line utility that creates a parameter migration script after comparing two different Siebel environments.The cfgmerge utility resides in the bin subdirectory of the Siebel Server root directory as the executable program cfgmerge.
Before running the cfgmerge utility, make sure all component groups of interest are enabled on both the source and target application.In all cases, run the cfgmerge utility in the target environment.
- Make a backup copy of the target application's siebns.dat file.Rename it target_siebns.dat
- Make a backup copy of the source application's siebns.dat file.Rename it source_siebns.dat
- Move the source_siebns.dat file and the target_siebns.dat file copies to the bin subdirectory of the Siebel Server root directory, which contains the cfgmerge utility.
Run the cfgmerge utility using the following commands to execute the application comparison. The cfgmerge utility can run a comparison in Enterprise mode or Siebel Server mode:
Running Enterprise-mode comparison:
cfgmerge -l language_code -i source_siebns.dat,target_siebns.dat -e source_enterprise_name,target_enterprise_name -o output_file.cmd
Running Siebel Server-mode comparison:
cfgmerge -l language_code -i source_siebns.dat,target_siebns.dat -e source_enterprise_name,target_enterprise_name -s source_server_name,target_server_name -o output_file.cmd