Re: Help: Initiating a script on a server from another server...
From: Gerry Hickman (gerry666uk_at_yahoo.co.uk)
Date: 10/28/04
- Next message: Gerry Hickman: "Re: Events handling in application's script control"
- Previous message: Gerry Hickman: "Re: Running vbs from WSH in ASP page"
- In reply to: Sam Pinizzotto: "Help: Initiating a script on a server from another server..."
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 28 Oct 2004 20:34:42 +0100
Hi,
1. Have you read up on clustering? Is this not the correct way of doing
this?
2. Why is the site going down at all? Of all the sites I run, they are
hardly ever down.
3. For switching IPs, you may want to look at the WMI
Win32_NetworkAdapterConfiguration class, but switching IPs seems a very
bad way of doing this to me.
4. Can you not use DNS round robin? I'm not aware this causes security
problems or needs to propogate.
5. Regarding calling scripts on multiple servers, it really depends on
what you want to do, but in general you can do this with WMI from an
Admin station using a powerful Admin account, possibly running as a
scheduled task.
Sam Pinizzotto wrote:
> Can someone help a VERY amateur scripter with a couple tasks...?
>
> I am trying to put together a solution for failing over a server when the
> website of the main server goes down. I have the monitor script working and
> it correctly monitors the live website for status using the get http
> command. Once it recognizes a site is down, I want to call a script on the
> server that has the down site, and switch the IP to a secondary IP address
> (I wanted to just disable the static IP, but can't find the commands to do
> this). Once that IP is switched, I will switch the IP on the secondary
> server to the live IP address. This will automatically bring up the
> secondary servers website as the live site and complete the failover. I have
> tested this using command line tasks, but cannot figure out how to call the
> script on the other server to disable the live IP address.
>
> I would use a DNS change, but our site security people don't allow this
> option. Also, a DNS change will take time to propagate through the net and
> is not immediate. Binding the live IP to the failover machine, seems to be
> the best and quickest solution avoiding website downtime.
>
> Can anyone help?
>
> Sam Pinizzotto
> Thomas Jefferson University
>
>
-- Gerry Hickman (London UK)
- Next message: Gerry Hickman: "Re: Events handling in application's script control"
- Previous message: Gerry Hickman: "Re: Running vbs from WSH in ASP page"
- In reply to: Sam Pinizzotto: "Help: Initiating a script on a server from another server..."
- Messages sorted by: [ date ] [ thread ]