Results 1 to 8 of 8

Thread: Deploying Cluster unaware application on a windows cluster

  1. #1
    Join Date
    May 2008
    Posts
    49

    Deploying Cluster unaware application on a windows cluster

    Hi everyone

    Has anyone deployed a cluster unaware application like MySQL on a server 2003 cluster before? I am trying to configure MySQL over two cluster nodes so that the application can failover when one is down. I have come across some article that says we need to install the application on both nodes and create a generic service to start up the service during the failover. Can someone advise me on how to go about doing the configuration?

    Thanks.

    Regards

  2. #2
    Chuck Swanson Guest

    Re: Deploying Cluster unaware application on a windows cluster


    Have deployed cluster unaware apps, but not MySQL. Sure, you can configure
    a cluster-unaware app, but if this is supposed to be a highly available
    solution, why configure an unsupported scenario. Last I looked MySQL
    cluster has not been ported to windows. For a supported scenario :
    http://www.mysql.com/products/database/cluster/
    --
    Chuck Swanson MCT, MCSE+I:Security, MCITP:Exchange, CEH, CHFI, ECSA, LPT,
    MCNI, MCNE, CTT+, Security+, etc...
    Swanson Computer Training & Consulting, Inc.

    "Domon" <Domon.38ubnf@DoNotSpam.com> wrote in message
    news:Domon.38ubnf@DoNotSpam.com...
    >
    > Hi everyone
    >
    > Has anyone deployed a cluster unaware application like MySQL on a
    > server 2003 cluster before? I am trying to configure MySQL over two
    > cluster nodes so that the application can failover when one is down. I
    > have come across some article that says we need to install the
    > application on both nodes and create a generic service to start up the
    > service during the failover. Can someone advise me on how to go about
    > doing the configuration?
    >
    > Thanks.
    >
    > Regards
    >
    >
    > --
    > Domon
    > ------------------------------------------------------------------------
    > Domon's Profile: http://forums.techarena.in/member.php?userid=48096
    > View this thread: http://forums.techarena.in/showthread.php?t=961249
    >
    > http://forums.techarena.in
    >



  3. #3
    Join Date
    May 2008
    Posts
    49
    Hi

    Thanks for replying. I really need some advise on this.

    This was a requirement from our apps team. Thus, I did some testing on our staging environment. Here is how I go about doing the configuration.

    1) installing the application on all nodes.
    2) configure the application to point it's storage location on the SAN disk ( a disk resource).
    3) configure a generic service resource to start up and monitor the service.
    4) configure the appilcation related resource to start up in correct order ( disk resorce follow by the service resource)

    After configuration, I did some failover testing on the application.

    1) plug out the production cable to simulate a network failover.
    2) stopping the service to simulate a application failover.
    3) ending the applicaiton's process using task manager to simulate a application failover.
    4) shutting down the active mode to simulate a node failure.

    The service is able to failover and start successfully and the web applcation from our apps team is able to connect to the database after the failover.

    However, I am not sure if this is the usual practice to deploy a cluster unaware application on a windows cluster. Is this configuration the same as yours when you deploy your cluster unaware apps.


    regards and thanks

  4. #4
    Chuck Swanson Guest

    Re: Deploying Cluster unaware application on a windows cluster

    Hi Domon,

    Sure, the steps you followed and tested look fine. Here's info direct from
    Microsoft:
    http://msdn.microsoft.com/en-us/libr...66(VS.85).aspx

    So OK to do, sure. I always encourage customers to use apps that are
    cluster-aware ( for example some in-house apps. old apps, maybe a temp
    solution to configure a cluster-unaware until app is rewritten to be
    cluster-aware). In your case, maybe until MySQL cluster gets ported to
    Windows. The other variable is...."is this a mission critical app?", or
    "hey, we already have the SAN and why not throw this cool app data on there
    and take advantage of "free" clustering in Windows as it's better than no
    clustering at all" :-)



    Chuck

    --
    Chuck Swanson MCT, MCSE+I:Security, MCITP:Exchange, CEH, CHFI, ECSA, LPT,
    MCNI, MCNE, CTT+, Security+, etc...
    Swanson Computer Training & Consulting, Inc.

    "Domon" <Domon.38veji@DoNotSpam.com> wrote in message
    news:Domon.38veji@DoNotSpam.com...
    >
    > Hi
    >
    > Thanks for replying. I really need some advise on this.
    >
    > This was a requirement from our apps team. Thus, I did some testing on
    > our staging environment. Here is how I go about doing the
    > configuration.
    >
    > 1) installing the application on all nodes.
    > 2) configure the application to point it's storage location on the SAN
    > disk ( a disk resource).
    > 3) configure a generic service resource to start up and monitor the
    > service.
    > 4) configure the appilcation related resource to start up in correct
    > order ( disk resorce follow by the service resource)
    >
    > After configuration, I did some failover testing on the application.
    >
    > 1) plug out the production cable to simulate a network failover.
    > 2) stopping the service to simulate a application failover.
    > 3) ending the applicaiton's process using task manager to simulate a
    > application failover.
    > 4) shutting down the active mode to simulate a node failure.
    >
    > The service is able to failover and start successfully and the web
    > applcation from our apps team is able to connect to the database after
    > the failover.
    >
    > However, I am not sure if this is the usual practice to deploy a
    > cluster unaware application on a windows cluster. Is this configuration
    > the same as yours when you deploy your cluster unaware apps.
    >
    >
    > regards and thanks
    >
    >
    > --
    > Domon
    > ------------------------------------------------------------------------
    > Domon's Profile: http://forums.techarena.in/member.php?userid=48096
    > View this thread: http://forums.techarena.in/showthread.php?t=961250
    >
    > http://forums.techarena.in
    >



  5. #5
    Join Date
    May 2008
    Posts
    49
    Hi Chuck

    Thanks for the advise.


    Are you saying that I should installed the application on the SAN disk or store the data that the application is accessing on the SAN disk? Right now, I am using the second appoach. Not sure if I really got what you are trying to say.

    Regards

    Thanks

  6. #6
    Chuck Swanson Guest

    Re: Deploying Cluster unaware application on a windows cluster



    --
    Chuck Swanson MCT, MCSE+I:Security, MCITP:Exchange, CEH, CHFI, ECSA, LPT,
    MCNI, MCNE, CTT+, Security+, etc...
    Swanson Computer Training & Consulting, Inc.

    "Domon" <Domon.38x6fd@DoNotSpam.com> wrote in message
    news:Domon.38x6fd@DoNotSpam.com...
    >
    > Hi Chuck
    >
    > Thanks for the advise.
    >
    >
    > Are you saying that I should installed the application on the SAN disk
    > or store the data that the application is accessing on the SAN disk?
    > Right now, I am using the second appoach. Not sure if I really got what
    > you are trying to say.
    >


    To clarify, data on SAN.

    Chuck

    > Regards
    >
    > Thanks
    >
    >
    > --
    > Domon
    > ------------------------------------------------------------------------
    > Domon's Profile: http://forums.techarena.in/member.php?userid=48096
    > View this thread: http://forums.techarena.in/showthread.php?t=961250
    >
    > http://forums.techarena.in
    >



  7. #7
    Join Date
    May 2008
    Posts
    49
    Hi Chuck

    Okay. Understood.I understand that a cluster unaware application can also be managed using a generic application resource as well. What is the difference between them? What kind of scenarios will we be using the application resource and service resource?


    Regards


    Thanks

  8. #8
    Georg sauseng Guest

    Re: Deploying Cluster unaware application on a windows cluster

    I always encourage customers to use apps that are
    > cluster-aware ( for example some in-house apps. old apps, maybe a temp
    > solution to configure a cluster-unaware until app is rewritten to be
    > cluster-aware).


    Hello !
    i read yor messages bout clustering and unaware apps.

    So i read bout makin software cluster aware.
    If i have access to the source i have to write an resource dll so that
    the entry point functions are implemented in that way, that the cluster
    service or Resourcemonitor could get the necessary information from my app.

    I found this Cluster Resource Wizard which is doin a skeleton for a new
    resource or resource type...

    Is it possible to write the resource dll with C# ?

    I didnt find anything about that.

    Regards
    Georg

Similar Threads

  1. Replies: 1
    Last Post: 21-05-2011, 12:41 AM
  2. Replies: 1
    Last Post: 23-04-2011, 06:14 PM
  3. Replies: 2
    Last Post: 26-08-2010, 07:00 PM
  4. move cluster resource using the command line cluster.exe
    By faf1967 in forum Windows Server Help
    Replies: 7
    Last Post: 06-04-2010, 01:58 AM
  5. Windows 2008 cluster for SQL server 2005 cluster
    By Roger in forum Windows Server Help
    Replies: 2
    Last Post: 21-05-2008, 10:16 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,126,596.51978 seconds with 17 queries