How can I setup nodemanager as a unix/linux deamon service ??????

Hi There,
I'm trying to set up the nodemanager service in *nix (RHEL 5.3) env. My goal is, when a server reboots and it comes up, I want to get the nodemanager startsup by itself and start the admin server and managed server.
Any answers/suggestions are much appreciated.
Thanks
GM

This one is from Solaris. The only thing you would have to change is the ps command. Just find the right ps command that works for you.
#!/bin/sh
# Name: S98nodemanager11g
# Description: File to start Weblogic Nodemanager at system boot time
NODEBIN=/opt/bea/nodemanager11g
NODELOGDIR=${NODEBIN}/logs
NODELOGFILE=${NODELOGDIR}/startup.log
case "$1" in
'start')
nm=`/usr/ucb/ps -auxwwww |egrep '^root.*jdk6.*weblogic.NodeManager' |grep -v grep | awk '{print $2}'`
if [ -n "$nm" ] ;then
echo "Nodemanager for Weblogic 11g is already running. pid=$nm"
else
echo "Starting Nodemanager for Weblogic11g"
mv $NODELOGFILE $NODELOGFILE.old
cd $NODEBIN;./startNodeManager.sh > $NODELOGFILE 2>&1
fi
'stop')
nm=`/usr/ucb/ps -auxwwww |egrep '^root.*jdk6.*weblogic.NodeManager' |grep -v grep | awk '{print $2}'`
if [ -n "$nm" ] ;then
echo "Forcing shutdown of Nodemanager for Weblogic11g."
kill $nm
else
echo "Nodemanager for Weblogic 11g is not running."
fi
echo "Usage: $0 { start | stop }"
exit 1
esac
exit 0

Similar Messages

  • How can I setup a mail-specific passcode/restriction on iPad used by multiple family members?

    How can I setup a mail-specific passcode/restriction on iPad used by multiple family members?
    Have an Exchange mail account setup and accessible in my mail on iPad... however my kids use it and i would like to restrict them from accessing this specific portion of the device.  I tried viewing restriction options and do not see that i can apply a restriction specifically to Mail.  Thanks for your help.

    Not a feature of iOS. Check the AppStore to see if there are other
    mail apps that allow passcode protection.
    Or use Safari to log onto your email via a web-based interface and
    enter your credentials each time. A bit slower, but the kids will
    not know the details to login.

  • How can I open and print a unix E....le file

    how can I open and print a unix E...le file

    We have no idea what you're referring to. If you know how to use Terminal and the file has been compiled then it may run.

  • If I have two email accounts, one personal hotmail account and one MS Exchange work account, how can I setup individual notifications for each account. Right now, any email from any account has the same notification. I want work to be different than perso

    If I have two email accounts, one personal hotmail account and one MS Exchange work account on my iPhone 4s, How can I setup individual notifications for each account? Fore example, if I get a work email, I want to hear a DING, DING....If I get a personal email, I want to hear a BEEP, BEEP. Right now, any email from any account has the same notification. I want work incoming email notification to be different than personal incoming notification. The only semi-workaround I've seen is just disable any notification for the Hotmail account, so only work emails would notify. But then I don't know when I get a personal email. Even the lowely Blackberry Torch 9800 has this feature..not iPhone 4s??
    Thanks

    Sorry you get only one notification sound for all email accounts.  you can send a suggestion to apple here http://www.apple.com/feedback/

  • I have multiple computers and iPhones and now iTunes will not allow my wife to load applications or use her own iTunes playlists.  How can I setup each device for each user correctly?

    We have multiple computers and iPhone devices which I have passed on to other family members, such as my wife.  Now she is not able to load apps to her devices, eventhough it appear she is logged into her own iTunes account.  How can I setup iTunes correctly on each device?  Currently, there is one PC and one Mac laptop and we each have iPhones, with one other family member not able to use his 'passed-down' device for iTunes, also.

    Hello dal1820
    Check out the article below on how to use multiple devices with one computer. The main idea that I want to point out is to have different users for each person as it is the easy way to make sure that no issue happen when syncing.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/ht1495
    Regards,
    -Norm G.

  • HT1918 how can i setup  my account without a credit card

    how can i setup  my account without a credit card

    Thanks SniperKat but I don't know why for some reason the "NONE" disappeared...
    I started to create an account and when I saw the credit card thing I just clicked back and back and so I closed the browser... every free app or something free I get it appears a window : " You have to review some of your information about your account" .... but I don't have an account yet because I didn't create it.... the only solution is to create a new e-mail account and go to iTunes store and create a new account with the new e-mail and be very carefull with the "Free app" this time...

  • How can I setup my email account ?

    How can I setup my email account on my home page email app?

    GDHump,
    I know the importance of ensuring your email is set up to your preference! Here's a link that provides the steps to view and edit your email account Servicer settings on the Sony Ericson Xperia Play: Email Account Password and Server Settings Xperia Play by Sony Ericsson | Verizon Wireless. Please let us know if you need anything further.
    TanishaS1_VZW
    Follow us on Twitter @VZWSupport

  • HT4436 how can i setup one account for me and my kids ?

    how can i setup one account for me and my kids ?

    One account each, or one account for all of you to share?
    Either way, follow the instructions here: http://www.apple.com/icloud/setup/
    Remember, if you share an iCloud account, you won't be able to maintain independent Contact lists, calendars, bookmarks etc. They will all be synced to all devices setup using the same account.

  • Database filled fields to a pdf form, how can i setup fields to receive ?

    have a database that has a pdf form filler that can send filled fields to a form designed pdf, how can i setup fields to receive the specific fields ?

    Hi housesboat,
    Welcome!
    Please try this to get you started: http://forums.adobe.com/docs/DOC-2412
    Let us know if you have other questions.
    Kind regards, Stacy

  • How can we setup "price before discount" in foreign currency?

    Hi all,
    Hopefully someone can help.How can we setup "price before discount" in foreign currency?   Can someone also please tell me the proper Variable Number (No.) for that?
    Look forward to your reply,

    IHi,
    Thanks for your help..i will give good feedback to you all.
    Just to let you know in pro forma invoices we have got Unit Price in GBP (example: 7.4000 GBP )  but Total line, Total Before Discount, Total (document) are in Euro.We have already changed that to 88->87 and 91->93 so those fields are correct apart Unit Price?
    Any advice please ?

  • If you have mobile me and not icloud how can you setup the locator

    if you have mobile me and not icloud how can you setup the locator

    Lion 10.7.2 is the minimum reaquirement for iCloud. If you have an earlier system the iCloud Preference Pane will not be present: the MobileMe Preference Pane will do nothing whatever as MobileMe has been closed for six months.

  • Hi I am attempting to use a Zed R-16 with Logic Pro 9,  how can I setup a bounce for output 17-18  this is where the mixer sums (the audio outputs on the zed come through 17-18)

    hi I am attempting to use a Zed R-16 with Logic Pro 9,  how can I setup a bounce for output 17-18  this is where the mixer sums (the audio outputs on the zed come through 17-18)
    I would like to be able to quickly bounce down my mixes,  through the Zed outputs. 

    Pancenter...
    Yes... but I have come across some setups that came with a native SL (and even one Lion!) installation.. that somehow had a corrupted or older Prokit installed for some unknown reason... and given it's a quick fix to try.. I thought I'd mention it..
    I frankly don't think it is entirely a Prokit issue itself, but it wouldn't do any harm to try and install v7 just in case it is part of the problem...
    +1 on the UAD stuff....
    Also, at the time it crashed... according to the logs...the OP was running Ableton Live at the same time, presumably rewired with Logic... so add all that together with UAD plugins... and that's quite a load on the system...
    Finally in thread 32 there is a weird exception msg relating to the Trash2 plugin.. that I haven't seen before...
    Thread 32:
    0   libSystem.B.dylib      
    0x94c29afa mach_msg_trap + 10
    1   libSystem.B.dylib      
    0x94c2a267 mach_msg + 68
    2   ...tope.audioplugins.AU.Trash2
    0x667bd57a catch_exception_raise + 250
    3   libSystem.B.dylib      
    0x94c57259 _pthread_start + 345
    4   libSystem.B.dylib      
    0x94c570de thread_start + 34
    That might be nothing... but as i said, I haven't seen that one before and given what else is going on.. it might be involved too... or nothing to do with that at all!

  • Hello! How can i setup and what to enable that my secretary has my shared calendar on her Iphone and that she can edit it? We are on Exchange 2010, Outlook 2010, Iphone 4s. Can it be done through some app? Thank you!

    Hello! How can i setup and what to enable that my secretary has my shared calendar on her Iphone and that she can edit it? We are on Exchange 2010, Outlook 2010, Iphone 4s. Can it be done through some app? Thank you! I'm trying to avoid creating my exchange activesync account on her Iphone and then sync only my calendar.

    Thank you for your time. I'm trying to avoid that because she can then simply turn on mail syncronization and then she could read my mail. Another reason is our password policy, that enforces changing our windows logon password every 90 days. Of course changing windows logon passwords demands changing exchange account logon info (password) on Iphone. I have read somwhere that there was an app but it was removed from app store. Any other suggestions would be appreciated.

  • How to start a particular database in unix/linux

    Hi,
    Could any one tell me how to start a particular database in Unix/Linux assuming that my server consists of 10 databases.
    Can we use LSNRCTL tool for this??
    Regards,
    Nagarjun.

    > Could any one tell me how to start a particular database in Unix/Linux
    assuming that my server consists of 10 databases.
    There is something very wrong in basic understanding of Oracle RDBMS architecture, when running 10 Oracle instances on a single server.
    10x temp space. 10x redo space. 10x SGA. 10x system processes footprint. This is NOT how one scales Oracle and NOT how one uses Oracle optimally.

  • How can find the location of my iPad when location services is off?

    How can find the location of my iPad when location services is off?

    If you're wanting to know if you can locate your iPad though iCloud, without Find my device enabled and without power, you won't be able to locate it.

Maybe you are looking for

  • How to search for a text node with a particular value in an xml document with labview

    supposing i have the following xml document: <head> <book> <bookname>zio</bookname> <author>dan</author> </book> <book> <bookname>the spear warrior</bookname> <author>britney</author> </book> <book> <bookname>the beard</bookname> <author>derrick</aut

  • Regarding Set_item_property

    Hi all, I am working on forms 10g. I have a radio group item and another is a text item. When i select redio button YES then that text item should enable and also value required . If it is NO the disable and value not required . I have written on WHE

  • IMP-00017: following statement failed with ORACLE error 1658

    Hi All, Please help me to find the reason of this error while importing the export file using parameters full=Y,ignore=n. IMP-00003: ORACLE error 1658 encountered ORA-01658: unable to create INITIAL extent for segment in tablespace USERS IMP-00017: f

  • ALSB JMX - Can't retrieve proxy statistics using ServiceStatisticsRetriever

    Hi, I'm trying to run ServiceStatisticsRetriever.java sample code to retrieve monitoring attributes from a alsb proxy service, but the following error occurs: Retrieving statistics for all monitored proxy services. Now trying to get statistics for 1

  • How to stop button flicker when you mouse over?

    http://happynick.com/sheflash/main246.html After the intro video, When you mouse over "the films" button, it flickers once. why? When when mouse over "the company" and "contact" buttons, it does not.