Scripting cluster failover for patching (2008 server not R2)

We have a number of Windows 2008 (not R2) servers running sql.  We currectly patch using a third party tool (Shavlik) and would like to automate the process.  eg. failover, patch, failback, check status.  I started looking at Powershell
but it appears the cluster modules are for 2008R2 and not plain 2008.  Anyone have a solution?  Thanks.

As noted above, your best option is to upgrade to the latest OS - lots of good reasons to do that anyway.  Otherwise, with 2008 you will need to script things with the cluster.exe and wmi commands executed via winrm (if you want to perform them remotely). 
You would most likely put as much time, effort, and money into creating something that works in 2008 as it would take to upgrade to the latest Windows Server 2012 R2.  And then, by having 2012 R2 in place it prepares you for v.Next which will enable a
rolling upgrade capability within a cluster.
. : | : . : | : . tim

Similar Messages

  • Veritas Cluster failover for oracle

    Hi,
    I'm performing veritas cluster failover for 2 oracle servers which is not working in one way. I've 2 solaris boxes where veritas cluster is configured for failover. In Box1 I'm running 10g and Box2 9.2 when I failover from Box1 to Box2 is working but the other way is not working I'm using 10g listerner for both the services.
    Any help would be appreicated.
    Thanks,

    Hi,
    I'm performing veritas cluster failover for 2 oracle servers which is not working in one way. I've 2 solaris boxes where veritas cluster is configured for failover. In Box1 I'm running 10g and Box2 9.2 when I failover from Box1 to Box2 is working but the other way is not working I'm using 10g listerner for both the services.
    Any help would be appreicated.
    Thanks,

  • Unable o Find Oracle Weblogic Server setup for Win 2008 Server 64-Bit

    Hi
    Unable o Find Oracle Weblogic Server setup for Win 2008 Server 64-Bit machine.
    Please provide the dowload links.
    Thanks

    Please follow this link for download and set requirements for installation of WebLogic 10.3 for Win 2008 Server 64bits:
    http://download.oracle.com/docs/cd/E13196_01/platform/suppconfigs/configs/windows2008/win2008_103.html
    best regards,
    Thiago Leôncio

  • I need the link to download Adobe Flash Player 64 bit for Windows 2008 server

    I need the link to download Adobe Flash Player 64 bit for Windows 2008 server

    http://get.adobe.com/flashplayer/
    The page has javascript to determine OS and bit rate. it WILL provide you the correct download.

  • Weblogic does not support failover for the admin server.

    There is a single point of failure in the current weblogic architecture. If the
    admin server dies there is no automatic alternate admin server.

    That is true, and we plan to fix it in one of the next major releases. Currently
    the story is not as bad as it appears to be for following reasons:
    1. Failure of admin server doesn't mean failure of already running managed server.
    2. You can start a new server as admin server of domain with discover flag=true and
    it will recognize all already exisiting managed server.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    naresh gupta wrote:
    There is a single point of failure in the current weblogic architecture. If the
    admin server dies there is no automatic alternate admin server.

  • Cluster failover but Availability Group do not

    We recently had an issue where a file share was unavailable. It caused the cluster to failover. However, the Availability Group did not failover. The application was trying to connect to the secondary database which it couldn't since the failover had not
    happened. We are set up using Quorum with a File Share Witness. We have manually failed this over successfully. Any ideas on why the Availability Group did not failover would be most appreciated. We do not have any experts in this area so please help us figure
    out where to look.

    Availability listener are a good way of providing a fault tolerance for the client and in addition providing read-intent or read-only access to the secondary replicas. If you need it, you can go through these documentations. They show the why and how to
    set them up. If you have any additinal questions let me know.
    http://msdn.microsoft.com/en-us/library/hh213417.aspx
    Always make sure to configure AG relevenat parts through SSMS not the cluster Service manager itself. There are some points that you might want to tweak in the cluster manager, but most parts should be configured (and for most cases they are sufficient)
    in the SQL Server related tools (SSMS)
    -Jens
    Jens K. Suessmeyer http://blogs.msdn.com/Jenss

  • Solaris 10 cluster:failover project or zone can not have same name?

    Oracle on Solaris 10 cluster: two node SUN cluster fail over, SA advised using different account (oracle01 for node01, oracle02 for node02) to failover cluster, why can't I create same 'oracle' account on both node?
    failover different project or zone can not have same user or group account name?
    thanks.

    Hi Vangelis,
    Building a cluster, requires some planning and understanding the concepts.
    A good start would be reading some of the documents linked to in this url: http://docs.sun.com/app/docs/doc/819-2969/gcbkf?a=view
    Regards,
    Davy

  • IPCC Script to call my own VXML Server not a Cisco VXML Server

    CVP Call Server 4.02
    CVP VXML Server 4.02
    ICM 7.2.3
    Comprehensive Call Flow
    I want to execute an ICM script to get a VXML document from my own web server (Microsoft IIS) instead of the Cisco VXML Server.
    In other words, I need to execute a microapplication that call to:
    http://10.10.0.242:8080/vxmlserver/default.aspx
    I configure that as follow:
    1)In the ICM Script, first Set the media_server ECC Variable to "http://MY-IIS-SERVER/vxmlserver"
    2)Set the app_media_lib ECC Variable to ".."
    3) Set user.microapp.ToExtVXML[0] ECC variable to "application=HelloWorld"
    (in my case this is not neccesary, but I did it)
    4)Set the UseVXMLParams ECC Variable to "N"
    5) Create a VRU Script with VRU Script Name = "GS,default.aspx,V"
    I run this VRU script in the ICM Script but I did not get the HTTP Request on my server and the script fail in the last step (Run External Script)
    The documentation says:
    "Finally, open the CVP Application Administrator on the Application Server and select the “Allow
    External VXML” checkbox on the EngineConfiguration screen."
    But I did not find that checkbox in my CVP Console Manager (probably my version is different)
    Any clues?
    thank you in advance
    marcelo

    Hi Chris:
    Thank you for your response.
    You are right the variable was truncated at 40 characters. But listen...
    I want the Application Server reach the following URL:
    http://10.10.0.242:8080/vxmlserver/default.aspx
    In the ICM script, I set:
    user.microapp.media_server="http://10.10.0.242:8080/vxmlserver"
    user.microapp.app_media_lib = ".."
    user.microapp.local="en-us" (I did not modify this ECC variable)
    And finally set the RunScript Node to:
    GS,default.aspx,V
    Well, this would conform the URL as follow:
    http://10.10.0.242:8080/vxmlserver/en-us/../default.aspx
    But, the CVP log, give me the following error:
    CVP_4_0_IVR-3-CALL_ERROR: RunScript Error from 192.168.31.10 [SEMANTIC(10)] CALLGUID: EA0C581B-85CB11DD-84CFBADF-12D5E68D DNIS=919944 {VRUScriptName: 'GS,default.aspx,V' ConfigParam: ''}
    Now, if I set the RunScript Node to:
    GS,Default.aspx,V
    (all the same but the letter D of Default in uppercase)
    IT WORKS!!!! The CVP Log says:
    External VXML located at http://10.10.0.242:8080/vxmlserver/en-us/../Default.aspx
    INCREDIBLE.
    Now, I have another issue:
    I want to pass a VXML variable to my vxml server.
    I set:
    user.microapp.ToExtVXML[0]="var=hello"
    and
    user.microapp.UseVXMLParams="N"
    I suppose the variable "var=hello" is send as part of the URL query string i.e.
    http://10.10.0.242:8080/vxmlserver/en-us/../Default.aspx?var=hello
    But I have nothing in the query string.
    I change the attribute variable to persistent but nothing happen.
    What am I doing wrong?
    thanks in advance.
    marcelo

  • Crystal Reports (VS-2005). Service Pack for Windows 2008 Server

    I had issues with reduced font size on Export and Printing. On a PC with Windows XP SP2 installed, I made registry changes as recommended in this post:
    [Font size decreases when exporting to PDF (Crystal Reports)|http://mdn.morovia.com/kb/Font-size-decreases-exporting-PDF-Crystal-Reports-10053.html]
    Prior to making registry changes, I also installed Crystal Reports SP1 for VS-2005. After this, everything seems to be working fine.
    But I still have this Reduced Font Size issue on my Server with Windows 2008 R2 Enterprise installed.
    I installed the same Service Pack and made the registry changes, but the changes don't seem to appear. It is still showing Reduced Fonts on Export and Printing. My server is also running Visual Studio 2005.

    I concur with Bhushan;
    It may or may not work with windows server 2008 .
    One idea;
    Use [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx]. Look at the procmon logs and see if the registry key is being looked at \ accessed by the report engine.
    Other than that, upgrade to a version of CR that supports the OS is your only option.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Why my cronjob for primary/standby server not work, but worked at prompt

    I have redhat linux version 5, oracle servers 11gr2.
    I have cronjobs to monitor tablespace usage and alert logs.
    However they not work at the cron job, but if I execute them at the command prompt, it worked.
    What might be the problem?
    example of the cron script:
    Head of the script:
    #!/bin/bash
    . /u01/app/oracle/bin/hydev_env
    MAILTO="dba.com"
    LOG=/u01/app/oracle/dba_cron/out/tablespace_90_full.html
    echo $ORACLE_SID
    sqlplus -S <<-EOF >>/dev/null
    / as sysdba
    Cron job set is like this:
    #------------------------TABLESPACES Check------------------------------------------------------------------------
    0,35 * * * * /u01/app/oracle/dba_cron/scripts/tablespaces_over_90%.sh >/u01/app/oracle/dba_cron/out/tablespaces_over_90%.log > 2>&1
    Vi /var/spool/mail/oracle:
    Has error like this:
    /bin/sh: -c: line 0: syntax error near unexpected token `2'
    /bin/sh: -c: line 0: `/u01/app/oracle/dba_cron/scripts/chk_ora_alert_all.sh >/u01/app/oracle/dba_cron/out/chk_oracle_alert_all.log > 2>&1'
    Any guru help?

    Hello;
    Generally this is an environment issue.
    The script works at the command prompt because when you signed on your user picked the environment settings from a profile, for example .bash_profile.
    A crontab job has no environment. That is why you call hydev_env near the beginning of the script. So something of some things are missing from your env file mostly likely.
    What I do is keep an environment file for each database at a location like this :
    /u01/app/oracle/dba_tool/env ( /u01/app/oracle/dba_tool/env/PRIMARY.env )
    The file PRIMARY.env is <database_name>.env
    What I keep in it is everything I need that a background job like crontab would need :
    ORACLE_BASE=/u01/app/oracle
    ULIMIT=unlimited
    ORACLE_SID=PRIMARY
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    TNS_ADMIN=$ORACLE_HOME/network/admin
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
    export TERM=vt100
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    export ORACLE_HOME
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    export TNS_ADMIN
    export PATH
    export MAILTO=
    Important If you are not sure of a setting on your system type "env" at a Linux prompt while logged on as the user where the script works. Change as needed in your .env file.
    Here a script I call from crontab to check tablespaces
    #!/bin/bash
    if [ "$1" ]
    then DBNAME=$1
    else
    echo "basename $0 : Syntax error : use . quickcheck <DBNAME> "
    exit 1
    fi
    # Set the Environmental variable for the instance
    . /u01/app/oracle/dba_tool/env/${DBNAME}.env
    $ORACLE_HOME/bin/sqlplus /nolog <<EOF
       connect / as sysdba
    @/u01/app/oracle/dba_tool/bin/quickaudit
    EOFNotice how I pass the db name as a parameter to the script so I can use the script with several database without changing it.
    /u01/app/oracle/dba_tool/bin/quickcheck.sh PRIMARY
    The crontab to make this run daily at 5:12 am is :
    12 05 * * * /u01/app/oracle/dba_tool/bin/quickcheck.sh PRIMARY > /tmp/quickcheck.out
    Best Regards
    mseberg

  • Applescript script being called for new mail does not recognise MessageID

    I have come across the same issue referred to in a previous message in this forum (http://discussions.apple.com/thread.jspa?threadID=926080) but it does not go the extra step that I need.
    I need a script that will run on incoming mail messages and be able to create a text file with a completely unique name. I found that using the message subject and the receive date was not sufficient as I occasionally get messages that would create duplicates (and hence loose all but the last message). I tried to add in the MessageID value into the text file name but it would appear (based on the referenced previous posting) that the MessageID is not actually assigned at the time the script is triggered (but is if the script is run after the message is visible in the InBox).
    Is there another unique value that I could use (such as MessageID) that IS available on an incoming message?
    Thanks
    Susan

    Thank you for the suggestion. I actually did have the date/time down to the second, but the speed with which the web site that generates these mails works (I am looking for work and extracting the job listing for further processing), especially if there are only a few jobs, means I can get emails that have the same timestamp to the second. I thought that this would be enough but when I saw 2 emails in my inbox and then say only one file in the extract folder, I investigated further and found that the timestamp was not sufficient.
    I also owe you all an apology in that I realised after I found the original message and posted this one, that it was the Tiger forum, whereas I'm running Leopard. Therefore I cross-posted my message and referenced this one form the other forum but not vice versa.
    Anyway, the solution turns out to be to use
    set UniqueName to do shell script "uuidgen"
    as provided in http://discussions.apple.com/message.jspa?messageID=9512884.
    Susan

  • EC2 Amazon AMI for Adobe media server - not able to login

    manickam@manickam-Aspire-5738:~$ ssh -i ~/Downloads/mkm_adobe3.pem [email protected]
    Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
    manickam@manickam-Aspire-5738:~$ ssh -i ~/Downloads/mkm_adobe3.pem [email protected]
    Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
    manickam@manickam-Aspire-5738:~$
    What is the user id used for login ? Looks like it is neither ec2-user nor root in this case.
    Anybody helping, I would deeply appreciate. It is ridiculous to get billed when not able to use the software - not even able to login.

    Use “amsadmin” user to login to AMS EC2 instance as root user has been disabled.
    If you are logging in for the first time using SSH, use Putty to set the password for the amsadmin user as you will not be able to login using WinSCP.
    Launch Putty to log into the instance.
    In the Host Name (or IP address) box, enter the Public DNS of the instance you launched.
    In the Category pane on the left, choose Connection>SSH>Auth.
    Browse to locate the private key for authentication and click Open. See Using key pairs to connect to an instance securely, to understand how to use PuTTYgen application to convert the .pem file to a .ppk file.
    Log in as amsadmin user.
    Enter a valid password and confirm the new password.
    Note: For subsequent logins, you can either use Putty or WinSCP

  • I need a permanent fix for the 'mail server not found' bug (iPad 2 3G)

    This problem started happening on my iPad 2 (3G AT&amp;T) about 2 months ago. I found the fix posted numerous times on this forum> delete your mail applications &amp; reinstall them which I did (deleted &amp; reinstalled both my gmail &amp; yahoo accts). Same problem reappeared about 2 wks later so I repeated the fix. It happened a 3rd time this wk so I repeated this fix a THIRD time before I left town a few days ago. Here I am 3 days later &amp; it's back AGAIN.  FYI...ALL the apps are up to date on my iMac &amp; iPad 2.  Can anyone tell me when the fix for this bug is going to be released &amp; what the work-around is?

    You have to purchase a data plan to use 3G data but you don't have to purchase a data plan for the iPad to work.  You will have full function of the device without a data plan, as long as you have wifi available.
    I also have an iPad2 3G.  I only sign up for 3G service when I need it, i.e. travelling for an extended period.  The rest of the time, I just use wifi at home or whereever I can. 

  • Need Opinions on Connect-time failover for Oracle Parallel Server

    Has anyone had any experience using the (failover=on) setting in TNSNAMES.ora file?
    Specifically has anyone had any issues using this feature from a JDBC application?
    Horror stories? Good news? Anything?
    Thanx....

    Should I need to put this on Metalink?

  • Error 0x80070490 trying to launch VM without SCVMM on Windows 2008 Server R2

    Hello everybody,
    I get a weird issue trying to launch a VM.
    This is the current situation : I get a server, Windows 2008 R2. I've only install Hyper-V and Failover Cluster. I can create a VM but when I try to launch it, I get an error message into a popup (translated from french) : "The application encountered
    an error during modification of 'vm_name' state". "'vm_name' could not be initialize". "Could not initialize machine remoting system. Error 'Element not found'. (0x80070490). "Could not find a usable certificate. Error: 'Element not found'. (0x80070490)."
    So, I'm unable to launch my vm's.
    I'm not using SCVMM yet. I want to resolve this issue before.
    I read some articles and posts about SCVMM certificate issue but I'm not using SCVMM.
    More fun, I read articles about this issue but on Windows 2008 Server (not R2) : problem resolved by a fix, unapplicable on my Windows 2008 R2 :)
    I'm totalyblocked and ain't got no idea how I can resolve it.
    If someone gets I idea ...
    Cheers,
    Nicolas

    Environment: Windows 8.1 in an Active Directory Domain (2012R2) with MS Certficates Services support NAP/Health Registry, etc. 
    Error:  Attempts to start a Hyper-V VM on a machine generates the error message Error 0x80070490 trying to launch VM:
    "'vm_name' could not be initialize". "Could not initialize machine remoting system. Error 'Element not found'. (0x80070490). "Could not find a usable certificate. Error: 'Element not found'. (0x80070490)."
    Note: 
    VMM can manage other Hyper-V servers in environment from same machine, just not local machine.
    VMM on remote machine generates same error message when attempting to manage new VM machine
    Certificates - Service (Hyper-V Virtual Machine Management) on Local Computer shows 0 certificates under vmms\Personal
    Fixes Attempted and Failed except for #5!
    1) hotfix directly: Windows6.0-KB967902-x64.msu -> Failed: 0x80096002, Windows Update Standalone Installer.  The certificate for the signer of the message is invalid or not found.
    2) hotfix via pkgmgr: PkgMgr.exe has been deprecated. Please update scripts to use DISM.exe.  0x80070307
    3) Reset Certificates: 
     Start > Run > MMC
     Add the Certificates Snap-In
     Select Service Account
     Under the Select Account to Manager, select Hyper-V  Image Management Service
     Complete the Snap-In Wizard
     Expand the Certificates under Personal Category
     Notice the certificate generated has been created ‘for the future’ (assuming you’re suppose to revert the date & time to 2010, the certificate should display as invalid because it was created at 2013)
     Delete the Certificate(s)
     Go to the Services Console and Restart all Hyper-V Services
     Result: No certificate auto generated
    4) Uninstall / reinstall hyper-v service and management service addons from Windows features.  
    5) ‎did the following from http://technet.microsoft.com/en-us/library/ff935311(v=ws.10).aspx (WORKED!!! -> Note, their PS script has an error, add a dash(-) before the word recurse)
    reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Virtualization" /v "DisableSelfSignedCertificateGeneration" /f /t REG_QWORD /d 1
    24 ca 36 b5 bd 6d ef 7e eb aa a5 74 df e5 fd 41 ef ab 1c 29
    $certs = dir cert:\ -recurse | ? { $_.Thumbprint -eq "24ca36b5bd6def7eebaaa574dfe5fd41efab1c29" }
    $cert = @($certs)[0]
    $location = $cert.PrivateKey.CspKeyContainerInfo.UniqueKeyContainerName
    $folderlocation = gc env:ALLUSERSPROFILE
    $folderlocation = $folderlocation + "\Microsoft\Crypto\RSA\MachineKeys\"
    $filelocation = $folderlocation + $location
    icacls $filelocation /grant "*S-1-5-83-0:(R)"

Maybe you are looking for

  • InDesign files take long to open when clicking file icon

    Ok, I have a weird problem with a Windows XP machine running InDesign CS6. Whenever the user tries to open an .INDD document by double-clicking the file icon itself, it takes 3-5 minutes, literally, before the document will open. This is with InDesig

  • Link to an iTunes song?

    Is there a way to post a link from my blog to specific songs in iTunes...some times I want to be able to send people on my blog over to hear the sample of a song I'm blogging about, and who knows, maybe my reco's will lead to sale & make the stock go

  • Strange characters in WEBI report

    Hi, When I run a WEBI report, i see strange characters in the cells. Pls refer to attached screen shot. The output is sometimes displaying correctly and sometimes not. I run the query generated by WEBI at the backend, I get the correct results. I tri

  • [ALV] false total when zero values in column

    Hi all, I got the following problem with an ALV. When using a layout wiht a total line, if a column got null values, it sometimes doubles the line and display a uncorrect line with value "0,000" and a second line containing the right value. This caus

  • Called form obscured by caller

    I have an application that has been converted from 6i to 10g. Most of the forms were developed in much earlier versions of Developer. There are some newer forms that were developed in 6i. They all worked fine together in 6i but in 10g, when an older