We need to change the password for weblogic(10.3.3) as activity. It would be helpful , if you can provide us , what would be the best ways to change it and what sequence we should follow for changing the password and then Bouncing
Two Physical Servers.
Server One : Admin Server and Managed Server
Server Two : Managed Server Only
1-First set environment variables
2- Now execute the command below to create the new password
mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator
java weblogic.security.utils.AdminAccount weblogic new_password . --DON'T FORGET THE "."
3- If it exists remove boot.properties file
mv data data_old
mv boot.properties oldboot.properties
4- Restart Weblogic server
We do this steps when we forget the weblogic password. My Question is on sequence.
But We did :
Change Weblogic Password from Security Realm and then edit the boot.properties. Bounce the Admin Server.
Then Change the Password for Managed Server ( from the front end ) and bounce the managed server.
Navigation : Console--> Environment--> Servers--> (OIM server name)--> Configuration--> Server Start.
If we have clustered env , How should Be folllow ? Should be do the same steps as mentioned above on both the nodes or through one Server is suffice.
One thing I want to tell you , once we did the steps as mentioned by you , you may be in trouble. Because Have same issue earlier where we forget the weblogic password and change like the way you said , What happened after that our deployments are getting failed , Because Our deployment using INternal User ( related to OIM) get missing . My understanding is weblogic stores all the users in ldift file , once we replace it all users may be removed ( Not Sure though) .
Please pass you suggestion
The method suggestion above is perhaps not the simplest way to change the password of a user (it's really a low level way, suggested when you don't know the password on a server).
A quick google gave me this -> http://jvzoggel.wordpress.com/2012/01/08/changing-weblogic-user-password/
I assume as you are talking about multiple physical servers then you are looking for a domain wide method to change the passwords and how to update the boot.properties to enable the servers to start without entering the credentials each time.
You can't set the password to be different on different servers. I assume this is not what you are trying to do, but you post isn't very clear.
We are keeping the same password in the domain.
Server1 = Admin Server + Managed Server
Server 2 = Managed Server
How we are changing :
1) Open the Admin Console : goto to security--> my realms --> User and Group and Changed password. and also in the boot.properties file of Admin Server
2) Managed Servers :
Console--> Environment--> Servers--> (Managed Server )--> Configuration--> Server Start.
As per my understanding do the step 1 and Step 2
3) Bring down All the services. ( First Managed Servers then Admin Server)
4) Bring up services ( Admin and Managed Services).
I had a similar situation sometime ago and this what I did.
1. Changed the servers start mode from production to development (this avoids focusing on boot.properties)
2. Shutdown all Server Instances
3. Take backup of WebLogic Domains from both the physical servers
4. Remove /tmp, /cache folders under all server instances
5. Remove boot.properties from all /security folder of all server instances
6. Bring up Admin Server
7. Change the admin server password through console
8. Change the password for managed servers from remote start tab
9. Bring up the managed servers one by one
10. Add boot.properties file
11. Change development mode of servers instances to production mode
12. shutdown and start all instances
Good to go...let me know if you have any further questions.