To Revert back the System Datastore, if the OID Datasotre was unable to login into OAMCONSOLE, Please follow the procedure:
i) cd $MW_HOME/iam/common/bin
ii) wlst.sh
Type help() for help on available commands
wls:/offline> connect()
Please enter your username :weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://erptest.xxxxx.com:7002
Connecting to t3://erptest.xxxxx.com:7002 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'IDMDomain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
wls:/IDMDomain/serverConfig>
/*Now Enter the following to make changes in DataStore*/
wls:/IDMDomain/serverConfig>displayUserIdentityStore('UserIdentityStore1')
/*This will show the current System Datastore*/
wls:/IDMDomain/serverConfig>editUserIdentityStore(name="UserIdentityStore1",isPrimary="true",isSystem="true")
/*This will change the Datastore to the Default where weblogic user can able to login )
wls:/IDMDomain/serverConfig>exit()
Restart all Managed Services and try to loin as weblogic into OAMCONSOLE and make necessary changes to OID Datastore.
No comments:
Post a Comment