From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Carlos Rodriguez Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: CAA placement policy question Date: Fri, 04 Jul 2003 11:44:13 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3F05688D.25279.E01217@localhost> Reply-To: crodriguez@eliop.es NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1057311932 20373 80.91.224.249 (4 Jul 2003 09:45:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2003 09:45:32 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jul 04 11:45:30 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19YN8E-0005I3-00 for ; Fri, 04 Jul 2003 11:45:30 +0200 Original-Received: (qmail 11623 invoked by uid 5); 4 Jul 2003 09:45:54 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11614 invoked by uid 49493); 4 Jul 2003 09:45:54 -0000 Original-Received: from crodriguez@eliop.es by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.9/5.0):. Processed in 0.523725 secs); 04 Jul 2003 09:45:54 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 4 Jul 2003 09:45:53 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHH00E9SV4G62@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 04 Jul 2003 05:45:52 -0400 (EDT) Original-Received: from eliop.es ([195.235.90.220]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHH00H05V3GVB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 04 Jul 2003 05:45:22 -0400 (EDT) Original-Received: from Spooler by eliop.es (Mercury/32 v3.21c) ID MO000C4A; Fri, 04 Jul 2003 11:49:25 +0200 Original-Received: from spooler by eliop.es (Mercury/32 v3.21c); Fri, 04 Jul 2003 11:48:57 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.02a) Content-description: Mail message body Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:4760 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4760 Here is my original question: > Hello Managers. I am working on a Tru64 TruCluster V5.1A Patch Kit 3 > and I have a doubt with the CAA. I have two nodes on the cluster and > my customer wants me to configure its own cluster services in such a > way that this services are always running in the same node. That means > if all services are running on node "node1" and, for example, node > "node2" comes up, my customer does not want the cluster to recalculate > the placement policy. I do not kown how to disable this recalculation > even if it is possible. Thanks in advance. Goodbye. > Hello again managers. I do not think I explained very well last > question about CAA placement policy question. My problem is the > following: > > I have seven CAA services that I want them to run always on the > same node on the cluster, but this does not mean that I want them to > run on node "node1". And what's more, I need to relocate them manually > in an independent manner. > For example, consider the following scenario: > > - Node "node1" is up and my seven CAA services are running on it. - > Now, I boot up node "node2". Once "node2" is up, I do not want the > cluster to recalculate placement policy. So, my seven CAA services > will be still running on it. > - Now, I want to relocate manually one and only one of the CAA > services using the caa_relocate -f command. > > The reverse situation ("node2" was up and I booted up "node1") have > to be possible, too. > > Thanks in advance. Here are the responses: Peter.Wolfe@hp.com: He suggested me to use "restricted policy placement" without auto-failback. joe.carrico@Cummins.com: He suggested me to use "restricted policy placement". orendorf@hp.com: He suggested me to use "resources optionally required" in order to relocate them manually in an independent manner, and he told me to put ACTIVE_PLACEMENT=0 in order not to evaluate the placement policy everytime a new node is added to the cluster. bob.marcan@aster.si: He suggested me to use "favored policy placement". Bernard.Royet@ca.com: He suggested "restricted placement policy" and ACTIVE_PLACEMENT=0 amardeep.joshi@hp.com: He suggested "balanced placement policy". corinne.haesaerts@hp.com: He suggested "restricted placement policy" Alexandre.Kardanev@ihep.su: He suggested me to use "required resources" My final solution is the following: Configure all my services with ACTIVE_REPLACEMENT=0 Configure all my services with "Favored placement policy", favoring node "node1". With this: 1. I can manually relocate every service in an independen manner. 2. When I run the services with caa_start in the beginning, all are located in the same node "node1". 3. If I reboot one of the nodes of the cluster, my services are not relocated anyway. Thanks to all !!. Regards, Carlos Rodriguez del Castillo ELIOP, S.A. Madrid-Spain