Hi Satish,
You mentioned:
"When i do that. The Policy server SQL-drivers couldnot establish connection to Policy store, keystore, Audit and session from smconsole."
It's unclear on the sequence you performed.
Do you mean
1. You have verified everything is working in the PS1 environment (ie: connection to all store success, can login to AdminUI1 but failed to login to AdminUI2)
2. Then you copy EncyptionKey.txt from PS1 (working environment) to PS2 (non-working environment)
3. All store connection return failure from both PS1 and PS2 smconsole. PS1 and PS2 cannot startup.
If that's the case, that's not something I expected. As mentioned before try run xpsexport -xb -npass from both environment and check what is the admin password. Sample of the output on administrator:
<Object class="CA.SM::Admin" Xid="CA.SM::Admin@12-49e223d7-886a-431a-ba6b-47066e97bb44" CreatedDateTime="2014-01-23T04:12:09" UpdatedBy="SMSTUB" UpdateMethod="Internal" ExportType="Replace">
<Property Name="CA.SM::Admin.DirectoryAuth">
<BooleanValue>false</BooleanValue>
</Property>
<Property Name="CA.SM::Admin.Rights">
<NumberValue>47</NumberValue>
</Property>
<Property Name="CA.SM::Admin.Password" Sensitive="Yes">
<StringValue>password</StringValue>
</Property>
<Property Name="CA.SM::Admin.Name">
<StringValue>siteminder</StringValue>
</Property>
</Object><!-- Xid="CA.SM::Admin@12-49e223d7-886a-431a-ba6b-47066e97bb44" -->
The idea of troubleshoot is make sure one environment is working fine first. After that, try to compare what is the different between the working and non-working environment.
Since the topic that Vikas provided in this thread is related to Unix entropy causing AdminUI unable to login but you are on Windows environment, therefore, I think best to discuss this issue in separate thread. I will create one thread and copy over the information that we have discussed here.