aspose file tools*
The moose likes BEA/Weblogic and the fly likes Is it possible to start Managed server without Admin server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Is it possible to start Managed server without Admin server?" Watch "Is it possible to start Managed server without Admin server?" New topic
Author

Is it possible to start Managed server without Admin server?

Shishir R Verma
Greenhorn

Joined: May 01, 2012
Posts: 6

Hi,

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?

Thanks in advance.
Shishir R Verma
Greenhorn

Joined: May 01, 2012
Posts: 6

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to start Managed server without Admin server?
 
Similar Threads
Weblogic Cluster - Config
Getting CommunicationException
Need Clarification for Managed Server Services
please answer this 128 questions for WLS. Urgently!
Start of Admin server remotely