RAC FAN Callout script issue

In my script I have the following that script that is not providing me the information that I was expecting. Namely the following values I would like to have trapped and written to logfile
SERVICE
DATABASE
INSTANCE
HOST
STATUS
REASON
TIMSTAMP
However I'm only getting SERVICE, INSTANCE, and SERVICEMEMBER with no actual values assigned to them. Please advise on how to fix this. THanks.
#! /bin/ksh
AWK=/bin/awk
for ARGS in $*; do
PROPERTY=`echo $ARGS | $AWK -F"=" '{print $1}'`
VALUE=`echo $ARGS | $AWK -F"=" '{print $2}'`
#> map EVTTYPE to EVENT_TYP, NODE to HOST:
case $PROPERTY in
#> note: EVENT_TYP is one of: NODE, DATABASE, INSTANCE, SERVICE, SERVICEMEMBER
EVENT_TYP | event_typ) NOTIFY_EVENT_TYP=$VALUE ;;
VERSION | version) NOTIFY_VERSION=$VALUE ;;
SERVICE | service) NOTIFY_SERVICE=$VALUE ;;
DATABASE | database) NOTIFY_DBNAME=$VALUE ;;
INSTANCE | instance) NOTIFY_INSTANCE=$VALUE ;;
HOST | host) NOTIFY_HOST=$VALUE ;;
STATUS | status) NOTIFY_STATUS=$VALUE ;;
TIMESTAMP | timestamp) NOTIFY_SVRLOGDATE=$VALUE ;;
esac
done
FAN_LOGFILE=/tmp/fan`hostname`_uptime.log
echo ${1} >>${FAN_LOGFILE}
if [ ${NOTIFY_EVENTTYPE} = "INSTANCE" -a ${NOTIFY_STATUS} = "down" ]
then
${REFRESH_DIR}/rac_refresh >> ${FAN_LOGFILE} 2>&1
fi
How do you get the actual values for SERVICE, INSTANCE, DATABASE...? Thanks
Edited by: yakub21 on May 26, 2010 12:26 PM

Is this your script or Oracle provided script....? If Oracle provided scirpt then i am not sure how you are running...
If it is your personal script then i can advise how to get the values...
1. Get the node name from $ lsnodes command or HOSTNAME=`hostname |awk -F"." '{print $1}'`
2. You can take the remaining values directly from database by querying the DBA_* tables ..gerp the value using AWK...
Hope this helps..
Regards
http://www.oracleracexpert.com/
Overview of Transparent Application Failover in Oracle RAC
http://www.oracleracexpert.com/2010/04/overview-of-transparent-application.html
In function 'lcdprm':: Warning after patch in RAC
http://www.oracleracexpert.com/2010/04/in-function-lcdprm-warning-gets.html

Similar Messages

  • Oracle RAC FAN CALLOUT SCRIPTS AND EVENT HANDELERS AND FCF

    Hi ,
    Can I get some sample Scripts/Demos for FAN + FCF Callout Events on Windows and Linux based RAC installations for a better understanding of the subject.
    Regards
    Sanjeev Sen
    Edited by: SANJEEVSEN on Nov 12, 2012 4:04 AM

    Hi Sanjeev,
    ...Any idea/example about automating the startup of services through the Event Handelers .Could you please specify the task? What services are you talking about? Please give me some examples.
    Best regards,
    Gennady

  • Firefox is having "Script" issues (Not Responding) und possibly Flash issues?

    Okay, downloaded Firefox for the first time in like a year yesterday. It was working beautifully, oh, how I've missed it. I hate using Google Chrome with a fiery burning passion.
    However, though it was working perfectly yesterday, I have not downloaded anything or got any plug-ins/extensions, whatever.
    Today, however, I can go to www.google.com (on firefox), but if I try to go to my banks website, or imvu.com, or something like that, all the sudden Firefox decides to hang. It freezes und I get that annoying "(Not Responding)" at the top. I have to close out of the browser entirely, open it up und forgo the session restore.
    Some websites are okay, however, it seems many of them aren't.
    I get a script error message, so far the one for imvu.com that popped up was "lookout.bluecava" or something like that. Asked if I wanted to wait for script to respond or if I wanted to stop it. Either way, it ends with me closing out und starting back at google.
    Right now, to ask this question, I had to re-download google chrome, und log in from that browser since Firefox doesn't even want to support it's own support forum! Crazy stuff, right?
    Anyway, since it's having a "script" issue, I went to java, made sure I had the updated java installed on my computer, then I made sure that I had the updated java plug-in. Und I even downloaded the 64bit java for it as well, both the 7u45 or whatever.
    So, my java on my comp und firefox browser are seemingly up to date, und the Add-On thing for Firefox to check if plugins are up to date says they all of them are up to date.
    Still having the issue. The moment I go to imvu or another site that has that issue, it freezes within 10 seconds und that's all she wrote.
    So, I'm really not wanting to go back to Google Chrome for another year, I miss the hell out of Firefox.
    To Add: The issue I am having right now with Firefox is the same issue I had a year ago, when I had to uninstall firefox und go with Chrome in the first place.
    But, since it was acting normal yesterday when I installed it, I figured that it was fixed. Wrong in less than 24 hours.
    Before I submitted this, I decided to hop back onto Firefox und try something.
    I disabled the Shockwave Flash und the Shockwave Director plugins. Now, Firefox is working again.
    Sooooooooooooooooooooooooooooooooo.
    It asks me if I want to install the "flash" plugins needed to view some content on the page (I used imvu.com to try it out after disabling the shockwave), but still runs.
    So, what do I need to do for flash? Or better yet, what's going on with it?
    I downloaded the flash yesterday within half an hour of starting Firefox up after downloading it. Und it worked just fine for hours.
    I shut the comp down, packed it up, went home, come back to work, hop on the net und BAM. All the sudden Shockwave is having issues with Firefox when nothing was done to instigate it? Doesn't make sense.
    Other info:
    Windows 7 Home Premium on HP laptop.

    I will give Firefox 24.1 a try und see if shockwave flash actually works without making it hang und resulting in need of force close.

  • WAD Java script issue after upgrade to 7.3

    Dear all,
    We have just upgraded our system from BW 7.01 to 7.3 SP4. One of the custom web templates in the system uses java script to hide few items on every screen refresh. Post upgrade, this functionality is behaving strangely, as the hidden items automatically get 'un-hidden' on page refresh.
    Please let me know if there are any known script issues in web templates in system upgrade scenarios. Any pointers would be appreciated.
    Thanks,
    Abhishek.

    Pls check out this link
    http://www.google.co.in/url?sa=t&rct=j&q=java%20script%20issue%20after%20upgrade%20bw%20to%207.3&source=web&cd=7&sqi=2&ved=0CEsQFjAG&url=http%3A%2F%2Fcsc-studentweb.lr.edu%2Fswp%2FBerg%2Farticles%2FBIIT_2011%2FBIIT_Amsterdam%2FBIIT_2011_Berg_BW_73_upgrade_v16.pptx&ei=TT7iTtLgJ8LwrQf2oLDJAQ&usg=AFQjCNEUg1EvXM82AmBaGntD4YY7FZwHXw&cad=rja
    Pls assign points if it was useful.

  • DOM Based Cross-Site Scripting issue in RoboHelp 10

    We're using a WebHelp system originally deplyed using RoboHelp 9.0.2.271, and a recent security scan revealed the DOM based cross-site scripting issue.
    I recently upgraded to RoboHelp 10, migrated my help system to this version, and redeployed the system, but our security scan is still detecting the cross-scripting vulnerability in WebHelp. Wasn't this issue resolved in RoboHelp 10?
    Thanks

    Hi,
    I’m not a security expert, but this script reads the URL of the current topic and redirects to the current topic with a bookmark. This is needed for when the same topic is used in multiple locations in the TOC.
    I’ll ask around about this security issue.
    Greet,
    Willam

  • I've used for months but am now so frustrated with the script issue I have uninstalled until I get some resolution. Help?

    I've to change the 10 to 20 solution to help solve the unresponsive script issue. I've tried safe mode. I've tried disabling all add-ons but still have it hang up. I don't seem to face that issue with explorer. Is microsoft sabotaging your efforts?

    Did you also try to disable all plugins?
    See [[Troubleshooting plugins]]
    Create a new profile as a test to check if your current profile is causing the problems<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)<br />
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • LiveCycle ES2, Guides, SSL and IE 8/9 Cross Site Scripting Issue

    I have a guide that is being served up in the workspace.
    This guide works fine in all of the different browser versions provided they go through port 8080.
    If however you enable SSL on your server (port 8443) and serve up the guide in the workspace, the end user can fill the entire form out only to have the browser identify the submit process as a Cross Site Scripting issue.
    This is the result:
    The data is essentially lost and guide disappears.  I had a theory that maybe the submit process might be using the default server port for data submissions (8080) and created a customized submit process with the hardcoded targetURL.
    I tried to test my theory and got the same result.  I then modified my custom submit process to essentially do nothing (Started and ended the process with an abstract activity), and got the same result.
    The only other thing that I could think of, is that the automatically generated action script classes might be hard coded to use default port instead of the SSL port.
    Suggestions?!

    Hi
    You can rise SR for your issue for 5000+ user or you can also can connect wiht your system engineer team for can possible solution as setup IE and deploy it to 5000+ user pcs
    For your other question see below note:
    Recommended Browsers for Oracle E-Business Suite 11i [ID 285218.1]
    Regard
    Helios

  • IWeb Script Issues?

    Hi.  I uploaded my website created on iWeb to a new hosting service.  The files loaded successfully (using FileZilla) and my site is supposedly live.  But when I try to open my website using Safari, I get a "Too many redirects occurred trying to open" message from Safari.  A similar message appeared when I tried opening the site with Firefox (I access it online via my hard drive back-up).  My hosting service says my .htaccess has a redirect back to itself; it's a third-party scripting issue.  I'm effectively out of business and I need the site back up and accessible ASAP.  How do I troubleshoot this and correct it?  Thanks. 

    http://www.1-64ModelingGuide.com
    changes to :
    http://1-64ModelingGuide.com
    So check your domainname settings as well.
    And if your webhoster said it might be the htaccess file and you said it might be a 3rd party script, why didn't you check that out first before crying for help in this forum?
    And next time provide clickable links. Copy/pasting on an iPad isn't that great.

  • I'm getting messages of "script issues" when I am using an open tab for FACEBOOK.

    I have an open tab, for MOZILLA FIREFOX AND another tab of mozilla firefox for FACEBOOK. As I'm using facebook, it starts running slower and slower, sticking in place and then finally,... a notice of a "script issue". I've had well over a dozen script issues, with firefox crashing..........

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Fan noise/overheating issue? I have a late 2008, 15'' MBP and I'm having a lot of fan noise while just running safari. I don't think this is normal but perhaps it is? Thanks for any and all help!

    Fan noise/overheating issue? I have a late 2008, 15'' MBP and I'm having a lot of fan noise while just running safari. I don't think this is normal but perhaps it is? Thanks for any and all help!

    Runaway applications can increase fan activity

  • Mapping script issue

    Hello experts,
    I'm quite new to FDM and Iv'e been trying to write a simple conditional mapping script with no success. for my entity dimension, in most cases, the source is ths same as the target though there are some cases where this does not apply and have to go to a NA_Entity. For example:
    SOURCE     TARGET
    PE00_0001     PE00_0001
    PE00_0002     PE00_0002
    PE00_0003     PE00_0003
    AL00_0001      NA_Entity
    PE00_0004     PE00_0004
    CO_HWE        NA_Entity
    PE00_0005     PE00_0005
    As you can see, all source entities which start with "PE" are equal to the target entity and any other entity not starting with PE should be mapped to the "NA_Entity". I believe it's pretty unefficient to maintain an explicit map so we've decided to create a conditional mapping script (not working yet) which reads as follows:
    If Left(varValues(15),2)="PE"
         Then Result = varValues(15)
    Else Result ="NA_Entity"
    Every time i try to import a file I keep on getting:
    Error: An error occurred importing the file.
    Detail: Invalid Like Clause: For Dimension Map (ENTITY) and Rule (Peps)
    ERROR:
    Code............................................. 4026
    Description...................................... Invalid Like Clause: For Dimension Map (ENTITY) and Rule (Peps)
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 5416
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... CTARESULDESA2
    App Name......................................... INT_IECI
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... 10.228.128.168
    Database Name.................................... FDM_INTIECI
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... Argentina-EP
    Location ID...................................... 758
    Location Seg..................................... 3
    Category......................................... Reales
    Category ID...................................... 13
    Period........................................... Nov - 2013
    Period ID........................................ 2013-11-30
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    I've followed the script guide and Iv'e tried several scripts, all with no success. The only workaround I've found is maintaining an explicit map where 99% percent of the elements map to themselves and the other 1% map to "NA_Entity", not very maintenance friendly.
    Thank you very much for your help
    Santiago Ruiz.

    You do not mention what release of FDM you are working with, but there should be no need for scripting .
    Explicit mappings are the most efficient from a performance point of view, but in view of what you want to achieve then all you need are two 'Like' mapping entries.
    the first will be mapping PE* to PE*  and the second entry mapping * to 'NA_Entity' to pick up all the other codes.
    Alternatively if you are processing millions of records and have a performance issue, then an alternative might be to change the non 'PE' type records with a script on the import format, but i think the two records should be the easiest.

  • Oracle 10g RAC using ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Need a clarification here...what do you mean by "Storage System"...do you mean a server/node or the SAN storage system. If you are referring to a server/node's local storage, then it would NOT be possible for use by RAC, since the disk space has to be shared among the nodes.
    Here is what you can do:
    - Create two partitions/devices (for example Disk_1 and Disk_2) in the SAN storage
    - Create a ASM disk group which would mirror Disk_1 to Disk_2.
    Again, please note that the partitions have to be visible and be accessible read/write from both the nodes/servers.
    HTH
    Thanks
    Chandra Pabba

  • OBIEE ActionLink-Action-Invoke a Brower Script ISSUE

    I am having an issue while trying to use the "Invoke a Browser Script" feature in Action Link. The "Select Script Function" screen is blank, meaning I am not able to select any of the functions from the UserScripts.js residing in the below directory
    /xxx/xxx01/appl/Middleware/user_projects/domains/bifoundation_domain/servers/bi_server1/tmp/_WL_user/analytics_11.1.1/7dezjl/war/res/b_mozilla/actions/UserScripts.js
    Steps which I created are
        1. Login to Analytics
        2. Edit a Report
        3. Select Criteria
        4. Select a Column under Selected Columns section
        5. Click on Column Properties
        6. Click on Interaction Tab
        7. Selected "Action Links" from the Primary Interaction drop down list
        8. Add Action Link
        9. Entered name as xTest for Link Text
        10. clicked on Create New Action Icon
        11. Selecte Invoke a Browser Script option
        12. clicked on the Browse button for Funtion Name
        13. the Select Script Function pop-up menu is BLANK
    Refrence Article: http://www.rittmanmead.com/2012/07/navigating-to-bi-content-in-obiee11g-and-passing-multiple-parameters/
    Any help on this will be highly appreciated.
    Thanks
    Hari

    Hi Dpka,
    Yes, I do. But, still the same.
    In fact, I can see two sample functions in "Invoke a Browser Script" Action. (i.e. USERSCRIPT.putUrlInFrame, USERSCRIPT.example_displayParameters).
    I edit "USERSCRIPT.example_displayParameters", replace "new USERSCRIPT.parameter( 'p3', 'Enter value for Param 3' )" to "new USERSCRIPT.parameter( 'p3', 'Enter value for Param 3', 'p3 default value' )".
    Still, there is no default value for "p3".
    So, I wonder whether my file path is wrong. But, how can I know where is the exact path?

  • IMac 27" (Late 2012) Loud Fan and Overheating Issues, causing Hard Drive Failure

    Hi all,
    I'm having some serious overheating issues with my new iMac. Any help to help me solve this problem would be gladly appreciated since it's really beginning to bug me. Here's what's has happened:
    I noticed in the first few hours of switching the iMac on that there was a short burst of very loud fan noise. This has been happening about once every two days since and every time I haven't been doing any heavy processing with the system. I've noticed that the main fan will spin, on average, at 1200rpm. Is that normal? The iMac is very well ventilated and sits right next to a window...
    I have also boot camped the iMac with a copy of Windows 8 so I could run some fairly power-hungry games. I intentionally purchased a high end iMac (27" display, Intel Core i7 3.4GHz, Nvidia GeForce 680MX Graphics, 1TB Fusion drive) and expected the iMac to run games flawlessly. However, after a few days, I noticed that the CPU and GPU had shot up to a worrying 80°C whenever I ran power-hungry games, with a very loud hissing noise from the fan. After running games for about 10 minutes, the fan will stop hissing, causing the GPU and CPU to increase to 100°C. The iMac then fails and switches off unexpectedly without any warning. After analysing the Windows event logs, I received an event ID 41: The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
    As this occurred about six times whilst I was testing my iMac's performance, I think my hard drive has now begun to fail - sometimes I will hear the hard drive make a click noise, about once every 5 seconds. Sometimes, the clicking noise causes OS X and Windows to run very slowly (even though minimal RAM is being used and nothing too intensive (Safari, Mail etc.) is being processed). Running Repair Disk and Repair Disk Permissions under OS X's recovery mode as well as a repair in chkdsk in Windows suggests that there were no problems with the hard drive. All I can do is wait a while for the clicking noise to stop, and then performance will increase. I have backed up everything externally.
    I have also performed a reset of the SMC as well as the PRAM, which hasn't really helped.
    Any help will be appreciated. I will gladly provide any extra logs etc. if they're needed.
    Thanks so much,
    Alex.

    Alex Cummaudo wrote:
    I've noticed that the main fan will spin, on average, at 1200rpm. Is that normal? The iMac is very well ventilated and sits right next to a window...
    That's the default fan speed on iMacs, so there isn't any problem with this.
    Alex Cummaudo wrote:
    I have also boot camped the iMac with a copy of Windows 8 so I could run some fairly power-hungry games. I intentionally purchased a high end iMac (27" display, Intel Core i7 3.4GHz, Nvidia GeForce 680MX Graphics, 1TB Fusion drive) and expected the iMac to run games flawlessly. However, after a few days, I noticed that the CPU and GPU had shot up to a worrying 80°C whenever I ran power-hungry games, with a very loud hissing noise from the fan. After running games for about 10 minutes, the fan will stop hissing, causing the GPU and CPU to increase to 100°C. The iMac then fails and switches off unexpectedly without any warning. After analysing the Windows event logs, I received an event ID 41: The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
    You must know that Boot Camp isn't compatible with Windows 8 and that Apple hasn't released drivers for Windows 8, so it can fail. Install Windows 7 inmediately until Apple launches updated drivers.
    As it looks like the hard disk is damaged, I would take the Mac to an Apple Store. It's in warranty, so it should be repaired for free or you should receive a new one

  • Loud fan and overheating issue.

    I bought a secondhand macbook about 8 months ago, and recently the fan has started making a god awful noise, and it stops and starts every now and then,  and my laptop is heating up. Is this a hardware problem? and will it be expensive to fix?

    1) Thermal sensor issue
    2) Fan issue
    Try an SMC reset. See if this helps.
    Resetting the System Management Controller (SMC)

Maybe you are looking for