I have a production issue, where the machine (lets call it as first machine) on which Admin server and Managed Server 1 are running, is down for some reason. Since it is critical to get the application back up and running, we are trying to bring up the Managed server2 (which is on a different machine, lets call it second machine).
I know its not a good idea, but was wondering if it is possible.
Its Weblogic 8.1.5 on Solaris Machine.
The first problem I encountered is that there is no server specific script which I can just execute to get the server running. So I figured out, I have ~/bea/weblogic81/server/bin/startWLS.sh, using which I can start the servers but then it requires credentials, which I was managed to get through by hardcoding in the script.
Second, It requires the config.xml file to start, which resides on the first Machine (not accessible).
Question is: Does the config.xml file get saved anywhere on all the managed server, so that I can get the copy of it being on machine 2? If so, would it be possible to get the managed server 2 running with this config.xml without Admin server?
I solved this problem, by customizing startManagedWeblogic.sh, startWeblogic.sh, setDomainEnv.sh and commEnv.sh.
To resolve the credential issue, I had to create the boot.properties file with user and password values in clear text, which got encrypted automatically after the restart.
I managed to get the config.xml file from first server with the help of SAN backup. I had to rename it to msi-config.xml and place it in to the same folder as the startManagedWeblogic script. All the files were placed in Domain folder.
Since the config.xml was from a different server, I had issue starting the server because of encryption problem. To resolve which I took following steps:
-Replace all the encrypted passwords to clear text
-Replace PasswordEncrypted to Password and CredentialEncrypted to Credential.
Once you start the server these entries get automatically encrypted based on the new server.
Now I am looking to create a script to build the whole environment based on config.xml file.
subject: Is it possible to start Managed server without Admin server?