• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

How to Start Managed Server automatically after OS boot

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

Could you please kinly give your advise on the following issue:
when OS is booted, I need the Managed Server to be automatically started.
My Managed Server (name = MS1) is part of cluster (name = mycluster) -- I don't know whether clustering has effect or not with the procedures.

Here are what I have done, could you please kindly help seeing what is missing?

1. For the Machine of MS1 (the name of the machine is M1), I have registered
the Node Manager listen address, listen port, etc.

2a. For MS1, in "Server Start" tab, I have fills in the user name, password, and also arguments (-Xnohup).
2b. and for MS1, in "Health Monitoring", the Auto-Restart checkbox is already checked/ticked. The description displayed is:
"Specifies whether the Node Manager can automatically restart this server if it crashes or otherwise or goes down unexpectedly."
-- I'm not sure whether it can also handle OS boot.

3. I run Node Manager manually, then go to Admin console, open MS1,
try to start this MS, and it is working well. So I conclude that node manager is running fine.

4. Then I install the Node Manager (NM) as service. I stop the NM which is already running (from step 3). Then I start the service, and as in step 3, I try to start MS2, and it is working well.

5. Then I reboot my machine. I then open the administration console and see that MS1 is unexpectedly not running yet.

To be able to start Managed Server automatically after OS boot,
could you please help advise where I did wrong or miss?

Thank you very very much in advance for your advise.

Best Regards,
Dion


My question:
1. What
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

to have your servers automatically started in windows you'll should install them as windows services, to do that use the script

installService.cmd under $WEBLOGIC_HOME/server/bin

you can use the following script as start point:



Than you can configure nodemanager to automatically restart servers if some problem occurs.
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OP did not say what platform is being employed, but the "nohup" hints that it is a UNIX-like environment.

Also did not state what version of WLS is used, and I think that there are subtle differences with version.

I also have questions about this topic, but I think there is not enough info to work with here.
 
Get me the mayor's office! I need to tell him about this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic