From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dr. Martin =?iso-8859-1?b?S/ZyZmVy?=" Newsgroups: gmane.os.tru64.managers Subject: Summary: Cluster-multi-instance-services Date: Fri, 01 Jul 2005 10:46:39 +0200 Message-ID: <1120207599.42c502efeab41@www1.mpch-mainz.mpg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120207310 14018 80.91.229.2 (1 Jul 2005 08:41:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 08:41:50 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jul 01 10:41:45 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DoH5J-00021t-JX for gotm-tru64-unix-managers@gmane.org; Fri, 01 Jul 2005 10:41:18 +0200 Original-Received: (qmail 16406 invoked by uid 49509); 1 Jul 2005 08:48:31 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16391 invoked by uid 49501); 1 Jul 2005 08:48:30 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 0.620348 secs); 01 Jul 2005 08:48:30 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.cind.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 1 Jul 2005 08:48:29 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IIX001G8XSSHP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Jul 2005 04:48:28 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IIX00502XRO6A@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Jul 2005 04:47:58 -0400 (EDT) Original-Received: from mpch01.mpch-mainz.mpg.de (mpch01.mpch-mainz.mpg.de [192.67.218.34]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IIX00512XRB5J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Jul 2005 04:47:38 -0400 (EDT) Original-Received: (from root@localhost) by mpch01.mpch-mainz.mpg.de (8.12.9/8.12.9) id j618lYDR498850 for tru64-unix-managers@ornl.gov; Fri, 01 Jul 2005 10:47:34 +0200 (MEST) Original-Received: from gemini.mpch-mainz.mpg.de (saturn.mpch-mainz.mpg.de [141.5.0.18]) by mpch01.mpch-mainz.mpg.de (8.12.9/8.12.9) with SMTP id j618kfIC497465 for ; Fri, 01 Jul 2005 10:46:42 +0200 (MEST) Original-Received: from diotima.mpch-mainz.mpg.de (diotima.mpch-mainz.mpg.de [141.5.0.27]) by gemini.mpch-mainz.mpg.de (8.12.11/) with ESMTP id j618keYH1500850 for ; Fri, 01 Jul 2005 10:46:40 +0200 (MEST) Original-Received: (from httpd@localhost) by diotima.mpch-mainz.mpg.de (8.12.11/) id j618keHI092713 for tru64-unix-managers@ornl.gov; Fri, 01 Jul 2005 10:46:40 +0200 (MEST) Original-Received: from pedali.mpch-mainz.mpg.de (pedali.mpch-mainz.mpg.de [141.5.0.84]) by www1.mpch-mainz.mpg.de (IMP) with HTTP for ; Fri, 01 Jul 2005 10:46:39 +0200 X-Originating-IP: 141.5.0.84 Original-To: tru64-unix-managers@ornl.gov X-MIME-Autoconverted: from 8bit to quoted-printable by gemini.mpch-mainz.mpg.de id j618keYH1500850 User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Envelope-From: X-Virus-Scanned: by AMaViS perl-11 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 X-Authentication-warning: diotima.mpch-mainz.mpg.de: httpd set sender to koerfer@mpch-mainz.mpg.de using -f Xref: news.gmane.org gmane.os.tru64.managers:8407 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8407 The only answer of Tom Smith confirmed my proceeding. I only used to little differences in the weights. Thanks Tom Martin ----------------------------------------------- Hello Martin. You seem to be using the right approach. Just be sure that you raise both rpri and selp. rpri affects which member receives incoming packets. selp affects which member(s) service the requests received, regardless of where they arrive. For single-instance services, I use the following in the start section of a CAA script: cluamgr -a alias=3D[alias],rpri=3D100,selp=3D100 cluamgr -r start and in the stop section: cluamgr -a alias=3D[alias],rpri=3D1,selp=3D1 cluamgr -r start and in /etc/clu_alias.config on all members: /usr/sbin/cluamgr -a selw=3D3,selp=3D1,rpri=3D1,join,alias=3D[alias] If you have RIP listeners on the network, you have to increase rpri by enough to cause the routing metric in /etc/gated.conf.member[n] to be lowered. A small delta in rpri will affect the arp master for the alias, but will not affect the routing metric. The possible metric values range from 14 (rpri=3D1) to 10 (rpri=3D100), so there are steps alomg the way. -Tom Dr. Martin K=F6rfer wrote: > Hi managers, > > we run a 2-node TruCluster V5.1a, PK6: > > node 1: 1 EV6.7-Processor, 1280 MB Memory > node 2: 4 EV6.7-Processor, 8 GB Memory > > running "sendmail" through the "Internet Express"-Software-package (pro= vided for > alpha-clusters) as a "multi-instance service" on both nodes, I want > to run it preferably on the "4-processor-node2" and only performing fai= lover > to -node1-, if -node2- shuts down. > > I tried to succeed by running the service through creating the cluster = alias > "mailer", to whom I provided high priority on -node2- and low priority = on > -node1-. > > However, if -node2- is used by other applications (NFS-Service, compute-service) > only for a short time, "mailer" switchs to -node1- and also if showing = bad > performance it does not switch back to -node2-. > Have I used to litlle priority-values? Which values would you advice to receive > the desired behaviour ?? > Is their any possibility to restrict switching only to the case of "shu= t down" > of -node2-?? > Is there any other possibility to restrict multi-instance services (und= er normal > conditions, except ailover) to a special node (perhaps through the "Distributed > Lock Manager")?? > > I know: "read the fucking manaual" > But the Informations therein are so overwhelming that I would like to h= ere about > a guidance of experienced mangers on this field. > > Any help would be appreciated > > Thanks in advance > > Martin K=F6rfer > > > -- > Dr.Martin K=F6rfer > Max-Planck-Institut f=FCr Chemie > Elektronik > J.J.Becherweg 27 > 55128 Mainz > Tel.: -49-6131-305488 > Fax: -49-6131-305318 > > ------------------------------------------------- > This mail sent through IMP: diotima.mpch-mainz.mpg.de > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > ----- Ende der weitergeleiteten Nachricht ----- -- Dr. Martin K=F6rfer MPI f. Chemie EDV J.J.Becherweg 27 D-55128 Mainz Tel. -49-6131/305541 Fax -49-6131/305318 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.