From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,b3bd973c8e3e1b41 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,b3bd973c8e3e1b41 X-Google-Attributes: gid1164f8,public From: cdu@jawa. (chris ulrich) Subject: Re: At eBay, we're the BLOT in "dot.com" Date: 1999/06/24 Message-ID: <7ktgp2$6nm$1@pravda.ucr.edu>#1/1 X-Deja-AN: 493413976 References: <37711B0B.AD303082@uk.sun.com> <37712ADF.73F5@null.null> <7kt1j9$g4i$1@aquila.mdx.ac.uk> Organization: UCR Computing and Communications Newsgroups: comp.sys.dec,comp.os.vms In article <7kt1j9$g4i$1@aquila.mdx.ac.uk>, D.Webb wrote: %%You can of corse overcome this type of problem with clustering. %% %%A VMS cluster can be configured with a cluster alias. All connections %%goto the cluster alias and then are directed to the least loaded system %%in the cluster. %%When you want to do work on one node in the cluster %%you simply disable logins to that node so that all future connections %%goto the other cluster node(s). Then wait a little while to make sure %%all current connections on the node have completed (If these are users %%actually logged in to the system eg Telnet connections you may have to %%wait sometime or tell the users to logout and login again). %%When noone is using the system you can then take it down and do your work %%with no impact on the users. With the appropriate hardware (eg shadowed %%system disk) you can even do a rolling upgrade of the operating system %%with virtually no downtime to the users. (There may be a small amount of %%disruption due to the fact that to complete the upgrade each node will in %%turn need to be rebooted but as far as the users are concerned they will %%at most be asked to logout and login a couple of times). %%David Webb %%Middlesex University This sort of cluster aliasing can be done just as easily with any OS. I've written, for example, a script that periodically logs into every system in a "cluster" and sets the name to the IP of the least loaded functional system. It uses standard bind, and just rewrites the zone file and hups the daemon after it's checked each host. This isn't quite as pro-active as a dns mechanism that resets the IP as soon as a system fails (instead the IP gets reset the next time the script checks each host), but I suspect the VMS cluster IP alias updater doesn't update the IP alias instantly in the face of a system failure either. This approach is really quite generic -- the check could test the functionality of some service on each cluster node (I currently ssh to the host and run uptime) and would therefore be OS independent. It also has the same advantage of the mechanism you describe, where you can take a node out of the hunt-group and set it to disallow logins, then after a while no users are on that system and it can be fixed at convenient times. (the script can be seen at http://math.ucr.edu:8889/software/d-dns) chris