Script fro monitoring RAC services when they failover or relocate to other

when SERVICE relocate/failover to NODE1? how to catch this.? Do we have any monitoring for Services and where they are running?

Hi,
yes the Event Monitor of the clusterware will notify this.
And you can react on these information (on the server) with the help of a FAN Callout:
http://docs.oracle.com/cd/E11882_01/rac.112/e16795/hafeats.htm#RACAD7133
You even could react on client side. In this case you would use ONS (Oracle Notification Service).
http://www.oracle.com/technetwork/products/clustering/overview/awm11gr2-130711.pdf
Regards
Sebastian

Similar Messages

  • Required queries to start services when they are in offline

    two node rac
    10.2.0.4
    windows
    asm(to prepare document)
    when services went offline to start the services i got below command
    To start, stop and manage services
    srvctl status service -d dbname
    srvctl config service -d dbname
    srvctl start service -d dbname -s servicename
    srvctl stop service -d dbname -s servicename
    Check Oracle Listener on nodes
    $ srvctl config listener -n orarac1
    orarac1 LISTENER_ORARAC1
    $ lsnrctl start LISTENER_ORARAC1
    please let me know for other services
    to start other services with crsctl and also if any queries can you list out pls one by one
    thanks..............you can check the services belwo
    D:\oracle\product\10.2.0\crs_home\BIN>crs_stat
    NAME=ora.info-iww-com-06.ASM1.asm
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.info-iww-com-06.LISTENER_INFO-IWW-COM-06.lsnr
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.info-iww-com-06.gsd
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.info-iww-com-06.ons
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.info-iww-com-06.vip
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.info-iww-com-07.ASM2.asm
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.info-iww-com-07.LISTENER_INFO-IWW-COM-07.lsnr
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.info-iww-com-07.gsd
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.info-iww-com-07.ons
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.info-iww-com-07.vip
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.osondemand.OSOD.cs
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.OSOD.osondemand1.srv
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.OSOD.osondemand2.srv
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.osondemand.db
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.osod_srv.cs
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.osod_srv.osondemand1.srv
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.osod_srv.osondemand2.srv
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.osondemand.osondemand1.inst
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.osondemand2.inst
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07
    NAME=ora.osondemand.osservice.cs
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.osservice.osondemand1.srv
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-06
    NAME=ora.osondemand.osservice.osondemand2.srv
    TYPE=application
    TARGET=ONLINE
    STATE=ONLINE on info-iww-com-07

    aman before i had services offline
    i used some crs_start commands
    i am not familar which command for which service i am only familar with few ,which i have listed above
    to make document for safe side....................as oracle insited when services are offline please start manually
    to start manually i am preparing document
    can you please provide each srvctl command and crsctl command to make service online.
    just i need is for above services when they come offline to come online what commands to use(srvctl and crsctl)
    thanks for help

  • Monitoring RAC services in Windows

    I have a 2 node RAC database installed on Win 2003. I've had the Database service go down a few times kind of "magically". I'm looking into the kind of magic that caused this (suspect it was a storage issue), but in the mean-time I need to send out an alert to someone if this goes down. Does anyone have a good way/tool to monitor OS services and send out an e-mail when one goes down?

    Aren't you using grid control?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/monitor.htm#i1006661

  • How to monitor RAC services and nodeapps in Grid Control

    Hi,
    I have created a number of RAC service names such as GL on a 2-node RAC and would like to use Grid control 10.2.0.2 to monitor the availability of those services and nodeapps. I was not able to find anything in Grid Control that would allow me to configure that. What are being monitored now are the listeners, database instances and nodes. Would it be possible to monitor more than just the RAC listeners, instances and nodes?
    thanks.

    I don´t think that there is an out-of-the-box metric. However, CRS monitors your services and Grid Control monitors CRS errors. If you need more granular monitoring, I have 2 suggestions:
    1) user callouts:
    [http://download.oracle.com/docs/cd/B28359_01/rac.111/b28254/hafeats.htm#RACAD7133]
    2) extending oracle enterprise manager
    I have written a paper on how to extend oem at [http://www.ora-solutions.net/web/papers/]
    "Extending Oracle Enterprise Manager to collect HP-UX glance data"
    You can follow the instructions to build a new target type called "RAC_SERVICE" and add your serivces as targets, e.g. S_BATCH, S_ONLINE, S_HR.
    Best regards,
    Martin Decker
    www.ora-solutions.net
    Edited by: mdecker on Jan 2, 2009 10:57 AM
    Edited by: mdecker on Jan 2, 2009 10:59 AM

  • HOW CAN VERIZON EXPECT TO SELL 4G PHONES WHEN THEY ONLY RELEASED ONE SO FAR?

    I don't get it but why is Verizon even selling 4g service when they only have released one 4g phone...the HTC Thunderbolt so far?  I think they jumped the gun on wanting to be a provider but not having the goods to do so. 

    what happens when you change the subject line in an existing thread - let's see  Answer:  It does not change the subject of the original post (thread).   Too bad,  i  hate all caps posts -  other than vision issues - which happened once when I asked why , and should be addressed on the client screen using the accessibility options available on most system.  I just find it plain rude to post that way.  So if you don't have problems seeing,  be polite!    If you want to yell at a Verizon employee, do it privately.   IMHO,  This here is not a place for disgruntled customers - it's for customers who want to help each other with genuine technical and Verizon policy issues.   These issues are best addressed in a constructive, civil manner.   The final redress for any individual vs. a mega-corporation is  a,.  not doing biz with them,  b.  filing a complaint with the relevant federal, state or local regulatory agency.   And of course,  via the press or an independent website. 
    Now, onto the question,   there's no reason to push the limts of technology on a device with a tiny screen and limited silicon horsepower.    Watching HD video on a 3" screen with earbuds, is not my idea of a good time.   And how fast to I need to download two minute mp3's.     For on-the-go business people,  fast mobile , wireless connectivity is a great tool. Wi-fi is not a true mobile technology - it's wireless in your living room.   At least I ranted in lower case. albeit a long-winded rant. 

  • Trying to combine folders within LR4 from two separate drives without creating duplicates--sometimes it won't let me transfer to destination folder because it says files are there when they are not; other times, allows duplicates to transfer

    Trying to consolidate 261K+ of images within LR4 between two drives.  Someone who was "helping" me with my Library in LR4 for some reason took some but not all of the file folders from my main backup drive (M) and duplicated them onto a partitioned hard drive (E) directly on the computer.  The duplication is huge, so I am trying to condense them all back onto the original backup drive M, particularly since I believe there are also folders on the partitioned backup drive E that do not appear on the main one M, and there are many more file folders on M that are not on E, so that is the destination drive.
    CONSOLIDATION:  When I try to drag either the file folders or the individual files from the duplicate drive E to the original drive M to combine the two drives since the folders in many cases for some reason are not identical, sometimes LR4 says the files already exist when they clearly don't. Other times it allows me to drag and drop all files, even if the exact duplicates are already on the destination drive, thereby doubling the number of files per image and creating more duplicates.  Right now I am opening each file folder on the duplicate drive E, looking at what extensions and file names are there, scrolling to the original drive, making sure they appear to be identical, then going back to the duplicate drive E, deleting the images in the folder, removing the folder, and moving to the next folder on the duplicate drive E.  *There has got to be a simpler way.*
    CONSOLIDATION APPROACH: I did start to create file folders names A, B, C and group file folders under them to reduce clutter, since those header folders can be closed down when not in use, but now I am wondering if I should have done that alphabetization to the main backup drive rather than to the partitioned backup drive.
    My goal is to consolidate the two drives down to one, delete as many images along the way that I know I will never miss, then backup the catalog and export it to an external drive and then copy that to yet another drive for offside storage.  Does this sound like the proper plan?  Last time it took almost 24 hours and over a terabyte to export the catalog.
    DUPLICATION:  I also have many file folders that have the exact same image in them.  One portfolio image may actually be in eight different folders, with the exact file, file name, file size, and date, even though I always have checked "no duplicates on import,"  How can this be? What is the best way to sort through duplicates?  Why are the files in some of the duplicate folders not in numerical order? If I do a search and call up a file # and find 15 duplicates, the only way I can find where those duplicates reside is to take each duplicate, right click to Locate Folder in Library, then once I find it, I have to go back to All Photographs>Text.search for file #, go to the second duplicate, right click to Locate Folder in Library, then once I find it, I have to do it all again.  Is there a simpler way to see all the occurrences in their respective folder locations at once?
    SEARCH BY FILE FOLDER NAME ONLY: I also find I can't search for a file using a folder name (for example, "John_Doe").  I can only search by file #, keywords, or camera/lens/date, etc.  Why will it not work to use All Photographs>Text>search for Doe? In other words, if I didn't keyword the individual files as John Doe, I can't search for them by that moniker.
    BACKUP:  It also appears that the only way I can back up the catalog is to shut down LR.  Really?!
    FOLDER LIST PRINTOUT: Is there a way to print out the Folder list (other than a screen shot)? I have so many file folders on each drive since I sort not by Year/Month/Date but by subject. It makes trying to compare duplicate folders quite unwieldy. 
    SLOW RESPONSE:  And finally, as though that weren't enough, why does LR4 continually blink to a white screen after each keystroke?  Takes forever just to be able to click through images, view info after hovering, etc. All other programs are closed down and the operating system shows very little memory being used.

    A brief and probably non-helpful answer: I know of no way to eliminate your large amount of duplicates other than by repetitive, tedious manual effort.
    *There has got to be a simpler way.*
    I hope you're right, but I don't think there is a simpler way.
    BACKUP:  It also appears that the only way I can back up the catalog is to shut down LR.  Really?!
    Yes, really

  • HT201304 Is there a way to check my childs messages when they are deleted and by not searching my childs iPod?

    Can I check my childs deleted messages without searching my childs iPod?

    To add a bit, the suggestion by IIIaass will work if you already have done this. It will not work if you are not already sharing the same Apple ID and you are looking for specific messages they have already deleted.
    Also if you are going to share the Apple ID you need to turn on Restrictions and lock down their device so they cannot go into the Touch and change to a different Apple ID when they leave the house.

  • An error occcurred on line 105 while executing script 'MOM Backward Compatibility Service State Monitoring Script"

    We've been getting the following error for some time now.
    An error occurred on line 105 while executing script 'MOM Backward Compatibility Service State Monitoring Script'
    Source: Microsoft VBScript runtime error
    Description: The remote server machine does not exist or is unavailable: 'GetObject'
    One or more workflows were affected by this.
    Workflow name: System.Mom.BackwardCompatibility.ServiceStateMonitoring
    Instance name: server.domain.local
    Instance ID: {INSTANCE}
    Management group: GROUP
    Unfortunately the instance in question has since been decommissioned and simply does not exist any more. 
    We're currently on a repeat count of over 350,000 and I would REALLY like to get it stopped. I've had a look at adding an override but that points to the management server rather than the instance itself.
    Does anyone have any suggestions?
    thanks in advance!

    Hi Steven,
    There are for option for us to override a monitor ot rule:
    For all objects of class:             
    Class            
    When you select this option for your override, the override settings apply to all objects in the class at which the rule or monitor is targeted.
    For a group            
    When you select this option for your override, the override settings apply only to members of the group. The rule or monitor without the override settings continues to apply to all objects in the targeted class except for those objects that are also members
    of the group used for the override.
    When you create a group, you save it to an unsealed management pack. However, an element in an unsealed management pack, such as an override, cannot reference an element in a different unsealed management pack, such as a group. If you are going to use a group
    to limit the application of an override, you must either save the group to the same unsealed management pack as the override, or you must seal the management pack that contains the group.
    For a specific object of class:             
    Class            
    When you select this option for your override, the override settings apply only to the specified object. The rule or monitor without the override settings continues to apply to all other objects in the targeted class.
    For all objects of another class            
    When you select this option for your override, the override settings apply only to objects of a class other than the targeted class. The rule or monitor without the override settings continues to apply to all objects in the targeted class.
    Did you try to override it for a specific object of class?
    Regards,
    Yan Li
    Regards, Yan Li

  • Reporting Services will not automatically use a different replica for the report server databases when a failover occurs. How to overcome this issue

    Reporting Services offers limited support for using AlwaysOn Availability Groups with report server databases. The report server databases can be configured in AG to be part of a replica; however Reporting Services will not automatically use a different
    replica for the report server databases when a failover occurs. How to overcome this issue? is there any workaround for that..
    Rahul

    Hi.
    With the AlwaysOn listener you should have a single DNS name to connect to regardless of which cluster node is active. Are you using the listener service? If not, please refer to the link below.
    http://msdn.microsoft.com/en-us/library/hh213417.aspx#AGlisteners

  • Scripts for changing the address of the user when they have been in the box for 6 months

    Scripts for changing the address of the user when they have been in the box for 6 months
    If users are in a folder for deactivated users and disabled users in Active Directory, and been there for 6 moths do: change email address in exchange to existing email address.old 
    Anyone have suggestions on how I can go about it?

    What is this "box"?  What is this "folder" you're asking about?  You'll likely get a better answer if you use standard terminology.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Anybody that I add to my bbm service doesn't seem to get any request to be added nor do I get one when they add me

    I need some help guys, I have a BB 8320 Vodafone which was from the UK and the person that I took it from unlocked the phone and passed it on to me now. I have a few issues with the BBM service. 
    I have recently activated my BBM service by choosing a particular plan that my carrier offers, and I have noticed that the edge now can be seen in uppercase which means the service has been activated and should work. But, anybody that I add to my bbm service doesn't seem to get any request to be added nor do I get one when they add me. I have been facing this problem with my BBM and I am not sure how to go about it. 
    I need a few clarifications first and foremost, when a BB 8320 phone is unlocked does it mean the phone has been unlocked so other carrier sim cards work or all the feature on the BB 8320 phone unlocked. Secondly, considering i'm in a situation like this, what should I be doing to resolve this issue at the earliest, do I go to a technical desk guy and ask them to re-install the Black Berry OS on to my phone all over again or do I just throw away this piece of **bleep** that BB has created? 
    And could anybody let me know doesn't BB have a universal software that let people put any sim card and work rather than have carrier specific software? Please need help really bad on this one!!
    I would really appreciate if some body can help me out in resolving this issue with your comments.
    Thanks much in advance who ever you may be! 

    It really doesnt work not e en on my bberry8350

  • Monitoring Servers and/or Services when DBBL is on.

    Hi all,
    I have my WLE configuration file (ubbconfig) configured in MP mode (*RESOURCES section, MODEL parameter). When MP is active, the server DBBL is on and then when I try to do a "psc" or "psr" in the tmadmin console, i cannot see the load done from my services. All load is incremented inside DBBL. Is there a way to monitor my services?
    Thanks in advance for any help on my question.

    Set "d -m all" in tmadmin to retrieve statistics from all machines.
    nello wrote:
    >
    Hi all,
    I have my WLE configuration file (ubbconfig) configured in MP mode (*RESOURCES section, MODEL parameter). When MP is active, the server DBBL is on and then when I try to do a "psc" or "psr" in the tmadmin console, i cannot see the load done from my services. All load is incremented inside DBBL. Is there a way to monitor my services?
    Thanks in advance for any help on my question.

  • How to hide multiple XsltListViewWebPart when they are empty using OOTB or script?

    Hello,
    I have a SharePoint 2013 page that displays a few XsltListViewWebParts i.e.(Lists).
    All the lists contains rows of data when we open: 
    http://Server/Pages/MyPage.aspx
    But, We have some customized filters and views in place, and when we open e.g.: http://Server/Pages/MyPage.aspx?FilterField1=LinkTitle&FilterValue1=250
    The page opens correctly, But all the XsltListViewWebParts which do not meet the filtering will still be shown but as empty web parts - How to hide those?
    In other words, In my SharePoint 2013, How to fully hide multiple XsltListViewWebParts on a page when they are empty ?
    I have already tried:
    http://mmman.itgroove.net/2014/06/22/hiding-empty-sharepoint-web-parts-using-javascriptjquery-on-a-dashboard-page/
    http://sharepoint.stackexchange.com/questions/340/setting-displaynone-for-empty-web-part-zones
    https://social.technet.microsoft.com/Forums/en-US/f26383dd-b53d-4ffa-8075-0ef8e46ab0b1/hide-list-view-web-part-when-list-is-empty?forum=sharepointgenerallegacy
    Nothing works - Am I doing it incorrectly or am I missing anything ?
    I would be thankful for your suggestions !

    Hi,
    The problem was due to JQuery is not loaded in the page.
    Please follow the steps given in the URL :http://mmman.itgroove.net/2014/06/22/hiding-empty-sharepoint-web-parts-using-javascriptjquery-on-a-dashboard-page/ 
    Instead of referring the JQuery link provided in that page, use the Google CDN (<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> )Link in script editor before calling 
    $(document).ready(function(){
         setTimeout(waitForSPReady, 100);
    Thanks.
    A'Kumar

  • ADSSO Service Not Working on Secondary CAS when done Failover

    We are running NAC OS 4.9.2 in OOB L2 Virtual Gateway...
    We have CAS Cluster
    Primary CAS -- 10.245.220.5  & Secondary CAS -- 10.245.220.6 and Service-IP 10.245.220.4
    When in HA Cluster Primary is Active and Secondary is Standby Ok , ADSSO is Working and Service is started
    We have capture details of same .
    10.245.220.5
    2013-04-18 15:46:21.833 +0530  Thread-70 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - done building kdc list for domain kotakgroup.com
    2013-04-18 15:46:21.833 +0530  Thread-70 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - KDC(s) :[kgp-gor-dc01.kotakgroup.com, kgp-gor-dc02.kotakgroup.com, kgp-gor-dc03.kotakgroup.com, kgp-gor-dc04.kotakgroup.com, kgp-gor-dc05.kotakgroup.com, kgp-dr-dc01.kotakgroup.com, kgp-dr-dc03.kotakgroup.com, kgp-dr-dc02.kotakgroup.com]
    2013-04-18 15:46:21.833 +0530  Thread-70 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - writeKrbFile: writing to file ../conf/krb.txt
    2013-04-18 15:46:21.833 +0530  Thread-70 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - writeKrbFile: wrote to file ../conf/krb.txt
    2013-04-18 15:46:21.834 +0530  Thread-70 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - creating login context ...
    2013-04-18 15:46:21.834 +0530  Thread-70 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - created login context ...javax.security.auth.login.LoginContext@bb3f71
    2013-04-18 15:46:39.207 +0530  Thread-70 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - Notifying GSSServer status Started
    2013-04-18 15:47:07.540 +0530  Timer-3 INFO  com.perfigo.wlan.jmx.adsso.GSSRetrier              - GSSR - Windows SSO is running
    When Primary is rebooted and Secondary becomes Active Ok , ADSSO is not working and Service is not started
    10.245.220.6
    2013-04-18 15:50:42.933 +0530  Timer-3 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - Server starting server ...
    2013-04-18 15:50:42.933 +0530  Timer-3 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - Server is now running ...
    2013-04-18 15:50:42.933 +0530  Thread-68 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - SPN : [casadsso/[email protected]]
    2013-04-18 15:50:42.933 +0530  Thread-68 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - GSSServer - building kdc list for domain kotakgroup.com
    2013-04-18 15:50:42.934 +0530  Thread-68 ERROR com.perfigo.wlan.jmx.adsso.GSSServer               - Unable to start server ... kotakgroup.com.
    2013-04-18 15:50:42.937 +0530  Thread-68 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - Notifying GSSServer status Stopped
    2013-04-18 15:50:42.937 +0530  Thread-68 INFO  com.perfigo.wlan.jmx.adsso.GSSServer               - server is exiting .
    Our Observation is krb.txt is not getting generated when Secondary is Active Ok ...
    Can any one suggest how to fix the issue...

    Hi,
    Can you check and see if dns and ntp are accurate and can you verify your AD environment? What version of domain controllers are in service if there are a mix then other steps like modifying a few files maybe needed.
    Also was the secondary CAS replaced or reimaged recently?
    Thanks,
    Sent from Cisco Technical Support iPad App

  • How do i switch information and phone number when they both say no service

    how do i switch information and phone number when they both say no service

    Please re-phrase the question. This doesn't make a lot of sense.

Maybe you are looking for

  • Firefox 4 won't open on my Mac; says it's not compatible with my system (Mac OS4)

    I read the system requirements for Firefox 4. My mac should be compatible. I had Firefox 3.6? on my mac. Am running Mac OS 10.4.11. I downloaded Firefox 4; when I tried to install, it said there was a "newer" version of the software on my machine (bu

  • Creating a new OrdImage in Java

    I want to manipulate and validate an incoming OrdImage object before adding a record for it in the database. Specifically, I want to do a hash on the file and check for duplicates. The few examples I've seen fetch an existing row from the database th

  • A Script to Find and Replace Layer Names

    Are there any scripts to find and replace layer names? There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes, Suffixes and Sequential Numbers. The illustrator

  • Flash problems

    I am getting a Director Player Error message that reads: This application requires an Xtra (Flash Movie...) that either does not exist or failed to initialize properly. Please make sure the appropriate Xtras are in the Xtras folder(s). I am using Chr

  • Add multiple contacts to Backup Assistant online

    Is it possible to import more than one contact vcard at one time. I want to add several contacts and doing it one at a time is tedious. Thanks