Automatic startup of WL when Machine starts

hi guys,
I installed AdminServer and managed server on machine 1 and a managed server on machine 2
Also A node manager on machine 1 and node manager on machine 2.
All works ok.
Now I have 2 questions :
Q 1 - I read that starting Node manager can start automaticaly AdminServer and its managed servers , How to configure it ?
Q 2 - How to make all WL environnement (AdminServer, managed Servers ...) automaticaly start when machine Starts ?
I know that all this is accompliched by WLST command line, but need more help to how process.
regards.
hassan

Hi,
I found this wonderful article, you try it:
http://middlewaremagic.com/weblogic/?p=8187#comment-8617
And you can also try this code(source :http://weblogic.middlewarebase.com/2011/10/shell-script-to-startstop-weblogic.html)
#!/bin/ksh 
#-----------------------------------------------VARIABLES----------------------------------------------------------- 
CLASSPATH='/beafiler/wlserver_10.3/server/lib/weblogic.jar'; 
$(export CLASSPATH=$CLASSPATH); 
WEBLOGIC_PATH=' /wls_domains/base_domain/bin/'; 
ADMIN_CHECK_DELAY='300'; 
M_START_DELAY='60'; 
MANAGED_CHECK_DELAY='300'; 
ADMIN_IP='192.168.150.132'; 
ADMIN_PORT='56001'; 
UNAME='lotus'; 
PASS='lotus1234'; 
M_SERVER_1='ms1'; 
MS1_IP='192.168.150.132'; 
MS1_PORT='56002'; 
M_SERVER_2='ms2'; 
MS2_IP='192.168.150.132'; 
MS2_PORT2='56003'; 
#-----------------------------------------------AMDIN----------------------------------------------------------------- 
      $(nohup .${WEBLOGIC_PATH}startWeblogic.sh); 
           sleep $ADMIN_CHECK_DELAY; 
      ADMIN_STATUS=$(echo $(/beafiler/jdk1.6.0_21/bin/java weblogic.Admin -url t3://${ADMIN_IP}:${ADMIN_PORT} -username lotus -password lotus1234 GETSTATE)|awk '{print $6}'); 
      if [ ${ADMIN_STATUS} = ''RUNNING ]; then 
           'Admin Server RUNNING'; 
           sleep M_START_DELAY; 
      else 
           'Admin Server is NOT RUNNING , its status is [$ADMIN_STATUS]'; 
           exit 1; 
      fi 
#-----------------------------------------------------Managed Server1---------------------------------------------- 
echo "Starting Managed Servers..."; 
echo "Starting Managed Server1"; 
      $(.${WEBLOGIC_PATH}startManagedWebLogic.sh ${M_SERVER_1} t3://${ADMIN_IP}:${ADMIN_PORT}); 
      sleep MANAGED_CHECK_DELAY; 
M_STATUS=$(echo $(/beafiler/jdk1.6.0_21/bin/java weblogic.Admin -url t3://${MS1_IP}:${MS1_PORT} -username ${UNAME} -password ${PASS} GETSTATE)|awk '{print $6}'); 
      if [ ${M_STATUS} = ''RUNNING ]; then 
           'Managed Server [${M_SERVER_1}] RUNNING'; 
           sleep ${M_START_DELAY}; 
      else 
           'Managed Server [${M_SERVER_1}] NOT RUNNING , its status is [$M_STATUS]'; 
      fi 
#------------------------------------------------------Managed Server2-------------------------------------------- 
echo "Starting Managed Server2"; 
      $(.${WEBLOGIC_PATH}startManagedWebLogic.sh ${M_SERVER_2} t3://${ADMIN_IP}:${ADMIN_PORT}); 
      sleep MANAGED_CHECK_DELAY; 
M_STATUS=$(echo $(/beafiler/jdk1.6.0_21/bin/java weblogic.Admin -url t3://${MS2_IP}:${MS2_PORT} -username ${UNAME} -password ${PASS} GETSTATE)|awk '{print $6}'); 
      if [ ${M_STATUS} = ''RUNNING ]; then 
           'Managed Server [${M_SERVER_2}] RUNNING'; 
           sleep ${M_START_DELAY}; 
      else 
           'Managed Server [${M_SERVER_2}] NOT RUNNING , its status is [$M_STATUS]'; 
      fi  Edited by: Salim Chelabi on 11-May-2013 5:38 PM

Similar Messages

  • Server started in RUNNING mode not showing in Startup Log File when MS Starts

    Dear all,
    When we start OSB Managed Server, server status is showing Running Status in Web logic console and it is also serving the requests. but in server Start up log file, it is not showing 'Server started in RUNNING mode' after it started.
    this behavior is only for 4 managed servers in cluster of 6 managed servers. other 2 managed servers are starting and showing the message correctly.
    please some body show some light on it as we need to fix this issue urgently.
    thanks in advance.
    pr

    Dear all,
    When we start OSB Managed Server, server status is showing Running Status in Web logic console and it is also serving the requests. but in server Start up log file, it is not showing 'Server started in RUNNING mode' after it started.
    this behavior is only for 4 managed servers in cluster of 6 managed servers. other 2 managed servers are starting and showing the message correctly.
    please some body show some light on it as we need to fix this issue urgently.
    thanks in advance.
    pr

  • Why does my iphone 5 automatically revert to shuffle when I start listening to music after sitting overnight?

    I am playing through my music collection alphabetically at work. But, when I stop listening at the end of the day and then start listening at the beginning of the next day, my iPhone starts shuffling instead of continuing alphabetically. Anyone else having that problem? Any ideas why it is doing that?

    My new iphone 5 shuffles all the time even when the shuffle icon isn't selected.  It's driving me crazy I can never listen to the song I want to hear.  On my created playlist it won't play any song it just shuffles through all of them list wise then goes back to the main menu having not played even one song.  I'm so frustrated I could scream.  Something is worng some sort of software glitch.  I never had this problem until I got this new phone two weeks ago.

  • How to automatically open Bookmarks everytime when firefox starts

    How can I get the bookmarks window to open automatically every time firefox starts

    Try go to '''about:config''' search for '''browser.startup.homepage''' change its value to the linksof the bookmarks.
    *[http://kb.mozillazine.org/About:config about:config]
    or try go to '''Tools''' >> '''Options''' >> '''General''' type the links of the bookamrks between them type a '''|'''
    *[https://support.mozilla.org/kb/How%20to%20set%20the%20home%20page How to set the home page]

  • How do I stop Safari from automatically loading a URL when I start typing the first few letters in the URL/search bar?

    My question concerns a bug (or feature, I'm not sure which) that I've been seeing for some time on my Safari installations.
    I'm running Lion (the latest patched version) with Safari (ditto). I've noticed that every so often, if I open a new tab and start typing something in the search/URL bar, Safari will not only suggest something based on my history, but will actually begin loading the page as though I had accepted that suggestion.
    For example, today, I typed the letter "b" in the search/URL bar, paused for a few seconds while I was thinking of what to type next, and Safari went ahead and loaded "bugzilla.gnome.org" based on that being the last URL starting with "b" that I happened to have gone to. And the same thing has happened to me on earlier occasions with different web sites. In other words, it's not merely giving me a suggestion, it then proceeds as though I had accepted that suggestion. Sometimes it might happen to be right, but it's the principle of the thing.
    Needless to say, I hadn't inadvertently bumped the Enter key.
    Of course, ordinarily, Safari will just offer a list of suggestions based on my bookmarks and browsing history, maybe filling out the URL bar with the topmost suggestion (while giving me the option of overtyping it if I wish). And, of course, this happens without fail if I've just had Safari preempt me by loading a page and am trying to find out why. Like the best Heisenbugs, this "feature" goes away as soon as I make a concerted attempt to study it.
    I have completely disabled AutoFill in the Preferences dialog. I would clear the cache and history, except that I kind of resent having to do that every time (or turn on private browsing, possibly another option) just to stop the computer from executing an instruction that I haven't even finished giving it yet (and in many cases intend to change).
    Has anyone else seen or been able to disable this feature?

  • Firefox no longer automatically opens app tabs when I start it, how do I fix this?

    Previously when I had an app tab open and closed firefox it would be opened with my home page next time, I just activated firefox sync and this no longer happens.

    A good reason to not count on app-tabs as always being restored. Put your app-tabs into a bookmark folder so you can open them into tabs when you need to recreate them.
    See if you can get your app-tabs back via History > Restore Previous Session, then after that
    History > Restore previous Windows and then maybe restore previous tabs.
    I don't use sync and have no idea if it is involved in your problem. I do periodically close all of my tabs, close and restart Firefox, and then reconstruct my app-tabs by opening a folder into tabs. I had to number the titles in the folder so that the tabs would be in the order that I want them to be in as I do use the "Sort Places" extension to sort my bookmarks into alphabetical order.

  • Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  Only one Sparse Bundle, same name.

    Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  There is only one sparse bundle but when I enter time machine I don't see my historic backups.  I use a synology DS212 for my time machine.  Started a new backup which is 218gb but it says 618 gb is occupied  therefore it looks like 2 or 3 backups are still on the disk. Before my NAS issues the last backup was in 2014.  As you can see there is a second sparse bundle from 2012.  Not sure what that is.

    This is an old message now, but what happened to me similarly was:
    I had a major computer crash and through complicated pathways ended up reinstalling (Mavericks) as a new user (long story).
    At least I had good Time Machine backups on an NAS drive (Synology DS212j), or so I thought - when I started Time Machine up again, the old backup file was gone, replaced by a new one using my "new computer" name. The old file was gone both by directly mounting the NAS drive and by clicking "Enter Time Machine".
    It's like I had {OldShareName}.sparsebundle and then it was replaced by {NewShareName}.sparsebundle, all of the old info vanished.
    (I have spent a week finding old files elsewhere and have completed a satisfactory self-restore. It pays to "archive" [my own variation of] as well as "back-up".)
    My belief is that if this were a wired-netword-drive, e.g. plugged right into my iMac with a USB cable, then the old file would have remained.
    But this is an NAS drive, connected directly to my Airport wireless router, and I don't know the significance of the fact that it stores its Time Machine backups as "sparsebundle" files rather than simply as plain(er) files.
    As usual when things get complicated with computers (not just Apple computers) there was never a warning message. Something like "YOU'RE ABOUT TO DELETE A TIME MACHINE BACK-UP FILE!!!" would have made my life a lot simpler.
    BTW, I did try a "restore from Time Machine" option the first thing I had my "new computer" (old hardware, 2009 iMac) up and running, using Migration Assistant, and it ran for many hours and then failed in the wee hours - what that has to do with anything I'm not sure.
    I'm not sure that I have a question about this other than "why do these things happen to me?", but it's a warning. Apart from that I've been very happy with the stability and reliability (but not the cost or set-up complexity) of NAS vs. directly-cabled external drives.
    Charles

  • OSX 10.6 .8 -- Firefox automatically starts when I boot up (MacBook Pro Intel). It is not in the Startup Items in System Preferences, and automatic startup is not checked in Firefox Options. Don't know where else to look.

    How do I keep Firefox automatically starts when I boot up (OSX 10.6 .8 -- MacBook Pro Intel). It is not in the Startup Items in System Preferences, and automatic startup is not checked in Firefox Options.

    Hi fullrun-
    Once Firefox is open, you should be able to open the Right click context menu on the icon. From there you select 'Options' and then de-select 'Open at Login'. Hope that helps.

  • Downloaded mt lion on my iMac, now when i start the computer my outlook email automatically opens.  When I right click on the mail icon it isn't checked to open on startup.  How do i correct this

    downloaded mt lion on my iMac, now when i start the computer my outlook email automatically opens.  When I right click on the mail icon it isn't checked to open on startup.  How do i correct this

    This is probabaly caused by the resume feature. When you log out, uncheck the box that appears.

  • To start tomcat automatically when machine restarts on linux

    can anybody tell the procedure how to do this that when machine boots under linux how can make tomcat start automatically.

    A lot many files have to be created in /etc/init.d
    entries in /etc/rc0, rc1. ...etc .
    Since this is the previlage available to the root user,
    I suggest you ask your sysadmin to do the job.

  • Some app not automatic startup when windows start.?

    I use dell touchpad but it don't automatic start when windows start. I allway manual open app.

    In this build, when you are set to use the Start Screen instead of the Start Menu, apps in the "Run" area of the registry that normally automatically start will not start. If you switch back to the Start Menu, they will start. I have not seen
    any documentation about this change so I am hoping it is just a bug at this point.

  • How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?

    Someone else posted ths question a month ago, but still no answers.  Anyone?
    How do I disable the automatic startup on HP Photosmart Premier when I turn my computer on?
    Windows XP, SP3 operating system recently re-installed so I also reinstalled my printer software.  Now, for some reason, each time I turn my computer on, my HP Photosmart C4100 all-in-one photosmart premier software opens.  It is not in my startup.  This slows down my computer terribly, which is why I never used the program before my re-install.  How can I disable this feature?  I only print, I don't use it for photos.
    Any help here is appreciated.

    Run msconfig.exe from the start button (type in msconfig).  When it comes up go to the Startup tab and find and deselect the HP product you do not want to start.  Save and reboot computer.  Now try.
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • My new iMac has recently had OSX Lion installed on it and now when I start the machine it looks like its updating something every time, and the wireless doesn't work. So I restart and everything is OK - until I have to start up again the next time?

    My new iMac has recently had OSX Lion installed on it and now when I start the machine it looks like its updating something every time, and the wireless doesn't work. So I restart and everything is OK - until I have to start up again the next time - then I have to repeat this again! Any help appreciated.

    I've been having the same issue, but have just discovered something on my own that hasn't been pointed out in any of the forums I've visited.  In what I thought would be a vain attempt to help myself, I went to System Preferences, Users & Groups, and then clicked on Login Items.  I discovered that one of the Items that was listed to open automatically upon login was iTunes Helper and that there was an exclamation point beside it indicating that it was incompatible.  I simply deleted that item and now I don't have the situation you described and my wireless is connected.  Hope this helps!

  • Why does the folder "C:\Program Files\Adobe\Elements" open automatically when I start my PC?

    Why does the folder "C:\Program Files\Adobe\Elements" open automatically when I start my PC? How do I adjust settings to stop this from happening?

    Hi,
    This folder is probably treated as a program to run at startup.
    So you will have to look at the places where such programs are referenced.
    For instance, you may have a shortcut to that folder in your Start Menu > Startup.
    Or it may be in the Registry.
    Click on Start >  Execute, the type msconfig and click OK.
    This will show you in the Startup tab all the programs launched at startup.
    Astugev

  • IPhoto starts automatically when i start my computer!

    iPhoto starts automatically when i start my computer, how do i turn this off?! I have a lot of photos on the program so it takes a while to load and bogs down my startup.

    Right-click on the iPhoto icon in the dock, and deselect "Open at Login".
    Also a handy trick if there ARE programs you want started when you login

Maybe you are looking for

  • Snow Leopard still safe to use?

    For some reason my mac always freezes randomly with Lion, Mountain Lion and Mavericks. Is it still safe to use Snow Leopard for browsing with Firefox and emailing with Mail app?  Comments please.

  • Prices auto adjusted when setting up BP Special Prices

    In the BP Special Prices, based on different quantity, the user had set up prices accordingly. They would like the price to be fixed and not be adjusted. If the Auto is checked in the Special Prices for BP, the Unit Price after Discount will varies.

  • Authenticating to weblogic web service using a client cert with webserver

    I am trying to think of how to authenticate a client to a weblogic web service using a client certificate. The wrinkle is that a Web Server (iis or whatever) will be handling the ssl part and forwarding non-secure to weblogic. The cert will still be

  • What happened to video playback using AirPlay?

    Before upgrading to iOS 6, AirPlay worked seamlessly. Using the iOS-native YouTube app, I was able to have it play on my AppleTV. With that app no longer available, and having downloaded the Google YouTube app, using AirPlay will only allow audio to

  • Razer Abyssus Problems with wow under MP early 2008

    Yeah I got this new mouse wich is really awesome for gaming called Razer Abyssus, in the finder and other apps it works perfectly, but when im under world of warcraft the mouse keeps jumping everytime it'S really getting on my nervers tried various t