Re: [Pacemaker] A question and demand to a resource placement strategy function

2011-04-26 Thread Yan Gao
Hi Vladislav, On 04/27/11 12:49, Vladislav Bogdanov wrote: > Hi Yan, > > 27.04.2011 07:32, Yan Gao wrote: >> Hi Yuusuke, >> >> On 04/19/11 19:55, Yan Gao wrote: >>> Actually I've been optimizing the placement-strategy lately. It will >>> s

Re: [Pacemaker] A question and demand to a resource placement strategy function

2011-04-26 Thread Yan Gao
Hi Yuusuke, On 04/19/11 19:55, Yan Gao wrote: > Actually I've been optimizing the placement-strategy lately. It will > sort the resource processing order according to the priorities and > scores of resources. That should result in ideal placement. Stay tuned. The improvement of

Re: [Pacemaker] Multi-site support in pacemaker (tokens, deadman, CTR)

2011-04-26 Thread Yan Gao
explicitly when the admin calls it). Conceivably, the "inactive" resources may not even be present in the active CIB of sites which don't own the token (and be inserted once token ownership is established). This may be an (optional) interesting feature to keep CIB sizes u

Re: [Pacemaker] A question and demand to a resource placement strategy function

2011-04-19 Thread Yan Gao
ttom. Actually I've been optimizing the placement-strategy lately. It will sort the resource processing order according to the priorities and scores of resources. That should result in ideal placement. Stay tuned. Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineer

Re: [Pacemaker] group logic in hb_gui

2010-12-23 Thread Yan Gao
On 12/24/10 04:55, Bart Coninckx wrote: > On Wednesday 22 December 2010 06:30:36 Yan Gao wrote: >> On 12/22/10 04:16, Bart Coninckx wrote: >>> All, >>> >>> I recently jumped from the hb_gui version of SLES10 to the one in SLES11. >>> I noticed that

Re: [Pacemaker] group logic in hb_gui

2010-12-21 Thread Yan Gao
he "ordered" and "colocated" attributes of a group default to "true". Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list: Pacemaker@oss.clusterla

Re: [Pacemaker] [GUI]Compatibility issues of Python.

2010-10-12 Thread Yan Gao
m/lists/linuxha/pacemaker/67046 Appreciate your good work! Pushed them: http://hg.clusterlabs.org/pacemaker/pygui/rev/9920f30d364c http://hg.clusterlabs.org/pacemaker/pygui/rev/af237f362f13 Regards, Yan -- Yan Gao Software Engineer China

Re: [Pacemaker] [GUI]Compatibility issues of Python.

2010-10-09 Thread Yan Gao
gt; On RHEL5.5, the version of Python is 2.4. > For compatibility, will you change this processing? It should work with python < 2.5 now: http://hg.clusterlabs.org/pacemaker/pygui/rev/16a7d8a5d3eb Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Nov

Re: [Pacemaker] crm_gui login failure

2010-09-27 Thread Yan Gao
ge installation. The back-end of the GUI (mgmtd) reads it for user authentication. No one is supposed or needs to modify the file for any reason. So that's strange it was zeroed out. You might need to check the modification time to recall what was happening. Regards, Yan -- Yan Gao

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-14 Thread Yan Gao
27; > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/luana/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/mgmt' > make: *** [install-recursive] Error 1 > It's a bug of glib. Apply the following patch to your /usr/include/glib-2.0/glib/gatomic.h : h

Re: [Pacemaker] pygui error to install on Ubuntu 10.04

2010-09-13 Thread Yan Gao
409963 > checking for PILLoadPlugin in -lpils... yes > checking for G_main_add_IPC_Channel in -lplumb... yes > checking for msgfromIPC_timeout... yes > checking for struct lrm_ops.fail_rsc... yes > checking for ll_cluster_new in -lhbclient... no > configu

Re: [Pacemaker] Migrate from HB_gui and xm migrate -l

2010-06-23 Thread Yan Gao
_to" and "migrate_from" of the RA will be invoking to achieve the moving. If it's a Xen resource, that actually does "xm migrate --live". Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. __

Re: [Pacemaker] pacemaker-mgmt compile error

2010-06-23 Thread Yan Gao
On 06/23/10 14:21, Michael Fung wrote: > > On 2010/6/23 上午 11:18, Yan Gao wrote: >> >> Strange glib...How about use "--enable-fatal-warnings=no" when configuring >> the source? > > Dear Yan, thanks for your help. > > After restart from scrat

Re: [Pacemaker] pacemaker-mgmt compile error

2010-06-22 Thread Yan Gao
gmttls_la-mgmt_tls_lib.lo] Error 1 > make[2]: Leaving directory > `/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib/mgmt' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/root/tmp/Pacemaker-Python-GUI-pacemaker-mgmt-2.0.0/lib' > make: *** [all-r

Re: [Pacemaker] Build Pacemaker-Python-GUI-0f1490eaa8d8

2010-05-24 Thread Yan Gao
changes. If you are using pacemaker 1.0 series, you could either retrieve pacemaker-mgmt-2.0.0 from: http://hg.clusterlabs.org/pacemaker/pygui/archive/pacemaker-mgmt-2.0.0.tar.bz2 Or if you want to adopt the tip of the repo, you need to revert the change: http://hg.clusterlabs.org/pacemaker/pygu

Re: [Pacemaker] Erro compiling Pacemaker GUI client

2010-05-10 Thread Yan Gao
nt, is strictly prohibited. > > > ___ > Pacemaker mailing list: Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org

Re: [Pacemaker] Anncounce: Pacemaker GUI packages for Debian Lenny

2010-04-14 Thread Yan Gao
me me. Thanks! > > As soon as I find the time I will create a repository from the files. > > Greetings, > -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list: Pacemaker@oss.clusterl

[Pacemaker] Default value of globally-unique in document

2010-03-31 Thread Yan Gao
orm a different function? Allowed values: true, false + Does each copy of the clone perform a different function? Allowed values: true, false ordered Thanks, Yan -- Yan Gao Software Engineer China Server Team, OPS

Re: [Pacemaker] Mgmtd problem building on Debian Lenny

2010-03-29 Thread Yan Gao
9b I guess you already did that. > > Building packages is not a daily business for me so here a list of what > I did after downloading the package: > autoreconf > libtoolize > automake --add-missing > dpkg-buildpackage -rfakeroot

Re: [Pacemaker] [PATCH] Show utilization/capacity information

2010-03-24 Thread Yan Gao
On 03/24/10 18:52, Andrew Beekhof wrote: > On Wed, Mar 24, 2010 at 10:02 AM, Yan Gao wrote: >> Hi, >> A suggestion/request was raised with regard to the utilization feature: >> The ability to see the remaining capacity of nodes, and how the load is >> distributed right

[Pacemaker] [PATCH] Show utilization/capacity information

2010-03-24 Thread Yan Gao
ation? Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. # HG changeset patch # User Yan Gao # Date 1269420054 -28800 # Node ID 3bcedb849f50d32e8416136538ae3d14d047fedd # Parent 53be04557e146ab4e600fc6e3d1700181fee8f8a Dev: PE: (bnc#589873) Show utili

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-18 Thread Yan Gao
On 03/19/10 06:22, Lars Ellenberg wrote: > On Wed, Mar 17, 2010 at 06:12:24PM +0800, Yan Gao wrote: >> After investigating, I found that Unix domain sockets provide methods to >> identify the user on the other side of a socket. That means we don't need >> PAM to do authe

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-18 Thread Yan Gao
On 03/18/10 22:54, Yan Gao wrote: > On 03/18/10 21:00, Andrew Beekhof wrote: >> On Thu, Mar 18, 2010 at 12:29 PM, Dejan Muhamedagic >> wrote: >>> Hi, >>> >>> On Thu, Mar 18, 2010 at 11:30:10AM +0100, Andrew Beekhof wrote: >>>

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-18 Thread Yan Gao
On 03/18/10 21:00, Andrew Beekhof wrote: > On Thu, Mar 18, 2010 at 12:29 PM, Dejan Muhamedagic > wrote: >> Hi, >> >> On Thu, Mar 18, 2010 at 11:30:10AM +0100, Andrew Beekhof wrote: >>> On Thu, Mar 18, 2010 at 11:10 AM, Yan Gao wrote: >>>> >

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-18 Thread Yan Gao
Hi Dejan, On 03/18/10 19:23, Dejan Muhamedagic wrote: > Hi Yan, > > On Wed, Mar 17, 2010 at 06:12:24PM +0800, Yan Gao wrote: >> Hi Andrew, >> >> On 02/23/10 17:23, Yan Gao wrote: >>> On 02/23/10 04:10, Andrew Beekhof wrote: >>>> On Mon, Feb 22,

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-18 Thread Yan Gao
On 03/18/10 18:30, Andrew Beekhof wrote: > On Thu, Mar 18, 2010 at 11:10 AM, Yan Gao wrote: >> >> >> On 03/18/10 17:11, Andrew Beekhof wrote: >>> On Thu, Mar 18, 2010 at 9:53 AM, Yan Gao wrote: >>>> On 03/18/10 16:33, Andrew Beekhof wrote: >>>

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-18 Thread Yan Gao
On 03/18/10 17:11, Andrew Beekhof wrote: > On Thu, Mar 18, 2010 at 9:53 AM, Yan Gao wrote: >> On 03/18/10 16:33, Andrew Beekhof wrote: >>> On Wed, Mar 17, 2010 at 11:12 AM, Yan Gao wrote: >>>> Hi Andrew, >>>> >>>> On 02/23/10 17:23, Yan Ga

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-18 Thread Yan Gao
On 03/18/10 16:33, Andrew Beekhof wrote: > On Wed, Mar 17, 2010 at 11:12 AM, Yan Gao wrote: >> Hi Andrew, >> >> On 02/23/10 17:23, Yan Gao wrote: >>> On 02/23/10 04:10, Andrew Beekhof wrote: >>>> On Mon, Feb 22, 2010 at 8:58 AM, Yan Gao wrote: >

[Pacemaker] Announce: pacemaker-mgmt 2.0.0 released

2010-03-17 Thread Yan Gao
uot; + Medium: mgmt: (bnc#541702) Cleaning up fail-count should be correctly done through attrd now + Medium: snmp_subagent: Improved for openais support Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-03-17 Thread Yan Gao
Hi Andrew, On 02/23/10 17:23, Yan Gao wrote: > On 02/23/10 04:10, Andrew Beekhof wrote: >> On Mon, Feb 22, 2010 at 8:58 AM, Yan Gao wrote: >>> Hi Andrew, >>> >>> On 02/08/10 17:48, Andrew Beekhof wrote: >>>> On Thu, Feb 4, 2010 at 5:24 PM, Yan

Re: [Pacemaker] [PATCH GUI]A Japanization file.

2010-03-14 Thread Yan Gao
n. Thanks! Applied: http://hg.clusterlabs.org/pacemaker/pygui/rev/36842e4ad8c9 Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterl

Re: [Pacemaker] [PATCH GUI]A Japanization file.

2010-03-11 Thread Yan Gao
se you could reverse the change: http://hg.clusterlabs.org/pacemaker/pygui/rev/4dc8cb63f29b Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list Pacemaker@oss.clusterl

Re: [Pacemaker] [PATCH GUI]A Japanization file.

2010-03-11 Thread Yan Gao
gmake[1]: Leaving directory `/opt/Pacemaker-Python-GUI-14fd66fafbfa/mgmt' > make: *** [install-recursive] Error 1 Prototypes of some functions have changed. You need to update to the latest pacemaker. Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell

Re: [Pacemaker] Utilization support for crm_attribute and crm_resource

2010-03-08 Thread Yan Gao
>>>On 3/8/2010 at 04:45 PM, Andrew Beekhof wrote: > Thanks! > I've pushed it as http://hg.clusterlabs.org/pacemaker/devel/rev/b9de8aa8b2ef Thanks for taking care of it! Regards, Yan Yan Gao Software Engineer China Server Team, OPS Engi

Re: [Pacemaker] Utilization support for crm_attribute and crm_resource

2010-03-07 Thread Yan Gao
Hi Andrew, >>>On 3/5/2010 at 10:45 PM, Andrew Beekhof wrote: > On Thu, Mar 4, 2010 at 5:53 PM, Yan Gao wrote: > > Hi Andrew, > > You were reading the earliest mail in the thread. Strange... > > /me blames gmail :-) :-) > > > So I'm startin

[Pacemaker] Utilization support for crm_attribute and crm_resource

2010-03-04 Thread Yan Gao
W, LF#2351 has been fixed. Attached the patch there: http://developerbugs.linux-foundation.org/show_bug.cgi?id=2351 Thanks, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. # HG changeset patch # User Yan Gao # Date 1267696081 -28800 # No

Re: [Pacemaker] Resource capacity limit

2010-03-04 Thread Yan Gao
-- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. # HG changeset patch # User Yan Gao # Date 1267696081 -28800 # Node ID 692f8d2fa65b1e956f450ccb0664fc50f6f8b7bb # Parent a6b66ac53fa969658860964b186548bc514c9455 Dev: Tools: Add utilization support for crm_attribute and

Re: [Pacemaker] [GUI][PATCH]An orphan resource was displayed by GUI.

2010-02-23 Thread Yan Gao
urce_t*)cur->data; - gboolean is_active = rsc->fns->active(rsc, FALSE); + gboolean is_active = rsc->fns->active(rsc, TRUE); if (is_not_set(rsc->flags, pe_rsc_orphan) || is_active) { ret = mgmt_msg_append(ret, rsc->id); } Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] GUI Client access

2010-02-23 Thread Yan Gao
on 5560. Though if you got the authentication failure, that meant you had connected to the server. Can you find anything special in the log? It uses PAM to do authentication. Is "/etc/pam.d/hbmgmtd" appropriate for your system? Regards, Yan -- Yan Gao Software Engineer China S

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-02-23 Thread Yan Gao
On 02/23/10 04:10, Andrew Beekhof wrote: > On Mon, Feb 22, 2010 at 8:58 AM, Yan Gao wrote: >> Hi Andrew, >> >> On 02/08/10 17:48, Andrew Beekhof wrote: >>> On Thu, Feb 4, 2010 at 5:24 PM, Yan Gao wrote: >>>>> And put exclusions for things like passwo

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-02-22 Thread Yan Gao
Hi Andrew, On 02/08/10 17:48, Andrew Beekhof wrote: > On Thu, Feb 4, 2010 at 5:24 PM, Yan Gao wrote: >>> And put exclusions for things like passwords before the read for the whole >>> cib? >> Yes. We should specify any "deny" and "write" object

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-02-04 Thread Yan Gao
On 02/04/10 21:01, Andrew Beekhof wrote: > On Thu, Feb 4, 2010 at 8:51 AM, Yan Gao wrote: >> >> >> On 02/04/10 15:15, Andrew Beekhof wrote: >>> On Thu, Feb 4, 2010 at 4:52 AM, Yan Gao wrote: >>>> >>>> >>>> Andrew B

Re: [Pacemaker] Heartbeat GUI Client Compiling

2010-02-04 Thread Yan Gao
m/ or: http://download.opensuse.org/repositories/server:/ha-clustering/ >Right now I am testing the heartbeat and its related stuff on Linux. Later I >might do it on Solaris 10 with SPARC if I can do it on the Linux side since >heartbeat stated it tested and runs on Solaris. Regards, Yan -- Yan G

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-02-03 Thread Yan Gao
On 02/04/10 15:15, Andrew Beekhof wrote: > On Thu, Feb 4, 2010 at 4:52 AM, Yan Gao wrote: >> >> >> Andrew Beekhof wrote: >>> On Tue, Feb 2, 2010 at 6:14 AM, Yan Gao wrote: >>> >

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-02-03 Thread Yan Gao
On 02/04/10 12:36, Tim Serong wrote: > On 2/4/2010 at 02:52 PM, Yan Gao wrote: >> >> Andrew Beekhof wrote: >>> On Tue, Feb 2, 2010 at 6:14 AM, Yan Gao wrote: >>> >>>

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-02-03 Thread Yan Gao
Andrew Beekhof wrote: > On Tue, Feb 2, 2010 at 6:14 AM, Yan Gao wrote: > > [snip] > >> A configuration example: >> .. >> >> >> >> >> >> >> >> >> > > [snip] > > Quick question,

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-02-01 Thread Yan Gao
[attribute] mode tag ref [attribute] mode xpath [attribute] mode:: read | write | deny Attached the updated patch. Please help review it. Thanks! Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. # HG changeset patch # User Yan Gao # Date

Re: [Pacemaker] [GUI][PATCH]An orphan resource was displayed by GUI.

2010-01-21 Thread Yan Gao
548 Thanks! Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Heartbeat GUI Client Compiling

2010-01-21 Thread Yan Gao
ibly undefined macro: AC_PROG_INTLTOOL > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.in:57: error: possibly undefined macro: AM_PO_SUBDIRS It requires gettext

Re: [Pacemaker] Heartbeat GUI Client Compiling

2010-01-20 Thread Yan Gao
hout a cast > gmake[2]: *** [libhbmgmt_la-mgmt_lib.lo] Error 1 > gmake[2]: Leaving directory > `/home/rc6/Pacemaker-Python-GUI-4d3288030a84/mgmt/daemon' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/home/rc6/Pacemaker-Python-GUI-4d3288030a84/mgm

Re: [Pacemaker] [GUI][PATCH]An orphan resource was displayed by GUI.

2010-01-19 Thread Yan Gao
inished. > > Please confirm a patch, and please solve this problem. Thanks for reporting and the patch! Could you please try the attached patch? Regards, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. diff -r 8b56e4d03dc8 mgmt/daemon/mgmt_crm.c --- a

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Hi, Dejan Muhamedagic wrote: > Hi Yan, > > On Wed, Jan 13, 2010 at 08:49:00PM +0800, Yan Gao wrote: >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Wed, Jan 13, 2010 at 10:04:12AM +0100, Andrew Beekhof wrote: >>> [...] >>>>>&

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
;> + >> + >> + >> + >> + >> + >> + >> + >> >> In english: >> - Roles have ACLs >> - Users can be assigned EITHER a role OR a set of ACLs > > This is a further simplification. Though it would make the > configuration more straightforward and easier to understand. Ok. Once we have a consensus on all of the issues, I'll post the updated schema including the ACL support for "attribute" later for you to confirm. Thanks, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Hi Dejan, Dejan Muhamedagic wrote: > Hi Yan, > > On Wed, Jan 13, 2010 at 01:21:29PM +0800, Yan Gao wrote: >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Tue, Jan 12, 2010 at 08:00:56PM +0800, Yan Gao wrote: >>>> Hi Dejan, >>>>

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Andrew Beekhof wrote: > On Wed, Jan 13, 2010 at 6:21 AM, Yan Gao wrote: >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> On Tue, Jan 12, 2010 at 08:00:56PM +0800, Yan Gao wrote: >>>> Hi Dejan, >>>> >>>> Dejan Muhamedagic wrote: &g

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-13 Thread Yan Gao
Andrew Beekhof wrote: > On Tue, Jan 12, 2010 at 1:06 PM, Yan Gao wrote: >> Andrew Beekhof wrote: >>> On Tue, Jan 12, 2010 at 10:41 AM, Dejan Muhamedagic >>> wrote: >>>> Hi, >>>> >>>> On Mon, Jan 11, 2010 at 09:01:30PM +0800, Y

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-12 Thread Yan Gao
Dejan Muhamedagic wrote: > Hi, > > On Tue, Jan 12, 2010 at 08:00:56PM +0800, Yan Gao wrote: >> Hi Dejan, >> >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> O

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-12 Thread Yan Gao
Andrew Beekhof wrote: > On Tue, Jan 12, 2010 at 10:41 AM, Dejan Muhamedagic > wrote: >> Hi, >> >> On Mon, Jan 11, 2010 at 09:01:30PM +0800, Yan Gao wrote: > >

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-12 Thread Yan Gao
Hi Dejan, Dejan Muhamedagic wrote: > Hi, > > On Mon, Jan 11, 2010 at 09:01:30PM +0800, Yan

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-12 Thread Yan Gao
t; I don't see any new examples to comment on. It's in the mail attached the patch yesterday. Thanks, Yan -- Yan Gao Software Engineer China Server Team, OPS Engineering, Novell, Inc. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.or

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-12 Thread Yan Gao
o authenticate user I think. Is that the same way in heartbeat? If not, it must be a way for the server to determine who's actually on the other end of the socket rather than the client tell it? > > In the mean-time, reviewing the syntax is proba

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-12 Thread Yan Gao
Hi Andrew, Andrew Beekhof wrote: > On Mon, Jan 11, 2010 at 2:01 PM, Yan Gao wrote: >> Hi all, Andrew, Lars, >> >> Here's the status update about this feature. >> >> I've implemented the main functionalities of ACL, including the ACLs >> co

Re: [Pacemaker] Multi-level ACLs for the CIB

2010-01-11 Thread Yan Gao
Hi all, Andrew, Lars, Here's the status update about this feature. I've implemented the main functionalities of ACL, including the ACLs configuration parser, the CIB output filter and the modification checker... Yan Gao wrote: > On 12/09/09 18:28, Andrew Beekhof wrote: >> On

Re: [Pacemaker] [RPM] pacemaker-mgmt for corosync 1.1.2 and pacemaker 1.0.6

2009-12-16 Thread Yan Gao
Hi, Thomas Guthmann wrote: > Heya, > > I know that not everybody does like GUI but sometimes it's handy to see > the big picture. So here is a corosync compatible version of > pacemaker-mgmt. I didn't do much except changing the Requires: in the > .spec file. All credits still goes to ygao at nov

Re: [Pacemaker] Remote Access not Working

2009-12-13 Thread Yan Gao
much about though. I think it should check whether the user's primary group is "haclient" first, then determine whether he's listed in the group members. Attached the patch for resolving this. Thanks, Yan -- y...@novell.com Software Engineer China Server Team, OPS Engineering

Re: [Pacemaker] Resource capacity limit

2009-12-13 Thread Yan Gao
Hi Andrew, Yan Gao wrote: > On 12/10/09 12:56, Yan Gao wrote: >> Hi Andrew, >> Attached the hg export patch against the devel branch for that. Hope >> that's easier to be merged:-) > And the patch including the test cases. The *.score files were adopted the wrong fi

Re: [Pacemaker] Resource capacity limit

2009-12-10 Thread Yan Gao
Andrew Beekhof wrote: > On Thu, Dec 10, 2009 at 9:52 AM, Yan Gao wrote: >> On 12/10/09 12:56, Yan Gao wrote: >>> Hi Andrew, >>> Attached the hg export patch against the devel branch for that. Hope >>> that's easier to be merged:-) >> And the patch i

Re: [Pacemaker] Multi-level ACLs for the CIB

2009-12-10 Thread Yan Gao
On 12/09/09 18:28, Andrew Beekhof wrote: > On Wed, Dec 9, 2009 at 11:00 AM, Yan Gao wrote: >> Hi Andrew, Lars, >> >> On 12/08/09 21:16, Lars Marowsky-Bree wrote: >>> On 2009-12-08T09:22:52, Andrew Beekhof wrote: >>> >>>>> Basically, we'

Re: [Pacemaker] Resource capacity limit

2009-12-10 Thread Yan Gao
On 12/10/09 12:56, Yan Gao wrote: > Hi Andrew, > Attached the hg export patch against the devel branch for that. Hope > that's easier to be merged:-) And the patch including the test cases. Thanks, Yan -- y...@novell.com Software Engineer China Server Team, OPS Engineering Novel

Re: [Pacemaker] Resource capacity limit

2009-12-09 Thread Yan Gao
Hi Andrew, Attached the hg export patch against the devel branch for that. Hope that's easier to be merged:-) Thanks, Yan -- y...@novell.com Software Engineer China Server Team, OPS Engineering Novell, Inc. Making IT Work As One™ # HG changeset patch # User Yan Gao # Date 1260419866 -

Re: [Pacemaker] Multi-level ACLs for the CIB

2009-12-09 Thread Yan Gao
Hi Andrew, Lars, On 12/08/09 21:16, Lars Marowsky-Bree wrote: > On 2009-12-08T09:22:52, Andrew Beekhof wrote: > >>> Basically, we'd like to see an ACL mechanism. It would be implemented at >>> the CIB level. So that all the clients - CLI , CRM shell, GUI, etc... - >>> could benefit. Clients are

[Pacemaker] Multi-level ACLs for the CIB

2009-12-07 Thread Yan Gao
Hi all, Andrew, This planned feature was proposed by Lars. After some discussions with Lars and Tim, I'm sharing it here, and looking forward to hearing your thoughts and suggestions. The goal of this feature is to provide different levels of administration to users. Some of the common scenarios

Re: [Pacemaker] Resource capacity limit

2009-11-20 Thread Yan Gao
Hi Andrew, On 11/20/09 04:10, Andrew Beekhof wrote: > Btw. You're still missing some test cases ;-) Oh, right:-) I created some. Hope I created them in the correct way. Sorry for so many attachments... Thanks, Yan -- y...@novell.com Software Engineer China Server Team, OPS Engineering Novell,

Re: [Pacemaker] Resource capacity limit

2009-11-12 Thread Yan Gao
Hi Andrew, Lars, Andrew Beekhof wrote: > I'd like to see the while-block from native_color() be a function that > is called from native_assign_node(). It seems to be too late to filter out the nodes without enough capacity from native_assign_node(). I wrote a have_enough_capacity() function which

Re: [Pacemaker] Resource capacity limit

2009-11-08 Thread Yan Gao
Hi, Andrew Beekhof wrote: > > I've been thinking about this more and while this will work, I think > we can make it better. > > I'd like to see the while-block from native_color() be a function that > is called from native_assign_node(). Okay. > And instead of a limit-utilization option, we'd ha

Re: [Pacemaker] Resource capacity limit

2009-11-05 Thread Yan Gao
Hi Andrew, Andrew Beekhof wrote: > On Tue, Nov 3, 2009 at 12:15 PM, Yan Gao wrote: >> Hi again, >> >> Yan Gao wr

Re: [Pacemaker] Resource capacity limit

2009-11-05 Thread Yan Gao
Hi Andrew, Thanks for your reply! Andrew Beekhof wrote: > On Wed, Nov 4, 2009 at 5:41 PM, Lars Marowsky-Bree wrote: >> On 2009-11-03T19:15:59, Yan Gao wrote: >>

Re: [Pacemaker] Resource capacity limit

2009-11-03 Thread Yan Gao
Hi again, Yan Gao wrote: > Hi Lars, > Thanks for the great suggestions! > > Lars Marowsky-Bree wrote: >> On 2009-10-30T19:41:35, Yan Gao wrote: >>> Configuration example: >>> >>> node yingying \ >>> attributes capacity="100" &g

Re: [Pacemaker] Resource capacity limit

2009-11-01 Thread Yan Gao
Hi Lars, Thanks for the great suggestions! Lars Marowsky-Bree wrote: > On 2009-10-30T19:41:35, Yan Gao wrote: >> >> Configuration example: >> >> node yingying \ >> attributes capacity="100" >> primitive dummy0 ocf:heartbeat:Dummy \ >>

[Pacemaker] Resource capacity limit

2009-10-30 Thread Yan Gao
Hi Andrew and Lars, The attachment is the first try to implement "Resource capacity limit" which is issued by Lars from: https://fate.novell.com/303384 Description: We need a mechanism for the PE to take resource weight into account to prevent nodes from being overloaded. Resources would require

Re: [Pacemaker] pacemaker gui suggestion

2009-09-21 Thread Yan Gao
the user goes into the settings, because if not it's really slow... How's it like? when you do inputting, or when you apply changes? -- Regards, Yan Gao y...@novell.com Software Engineer China Server Team, OPS Engineering Novell, Inc. Making IT Work As One™ _

Re: [Pacemaker] pacemaker-mgmt

2009-09-09 Thread Yan Gao
cumentation/sles11/book_sleha/data/book_sleha.html -- Regards, Yan Gao y...@novell.com Software Engineer China Server Team, OPS Engineering Novell, Inc. Making IT Work As One™ ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clust

Re: [Pacemaker] pacemaker-mgmt packages in CentOS 5 repo (again)

2009-08-19 Thread Yan Gao
Florian Haas wrote: > Hello, > > post-1.0.5 and following the cluster-glue/agents split, the > pacemaker-mgmt package in the CentOS 5 repository at OSBS appears to be > broken again -- at least it breaks "yum update": > > pacemaker-mgmt-1.99.2-1.2.x86_64 from server_ha-clustering has > depsolving

Re: [Pacemaker] pacemaker-mgmt - future support, python bindings

2009-07-17 Thread Yan Gao
rts to improve or even evolve it are welcome. Thanks again! > I don't want to spend time with something what's going to be obsoleted, > so I'm rather asking... > thanks a lot for any replies! > BR > nik Regards, Yan Gao China R&D

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-16 Thread Yan Gao
thout-heartbeat-support), the uname and uuid information will be got from openais rather than uname(2), which are precise. -- Regards, Yan Gao China R&D Software Engineer y...@novell.com Novell, Inc. Making IT Work As One?6?4 diff -r 56e1e8787452 snmp_subagent/Makefile.am --- a/snmp_subagen

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-16 Thread Yan Gao
sing cibadmin command after this, > > but hbagent went to the segmentation fault. > > I took its gdb and attached it. > > It seems that myuuid for openAIS is still something wrong. > > > > By the way, hbagent(+ openAIS) became to be able to get LHAHBAgentOnline > > in

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-15 Thread Yan Gao
Please try the attached patch. On Wed, 2009-07-15 at 02:56 -0600, Yan Gao wrote: > Hi, > > >>>On 7/15/2009 at 3:18 PM, "Junko IKEDA" > wrote: > > Hi, > > > > hbagent detects whether or not the event occurred on that node if it > wor

Re: [Pacemaker] hbagent of pacemaker-mgmt

2009-07-15 Thread Yan Gao
n it. > >> > >> For example, > >> primitive resource "dummy1" and "dummy2" started on "dom1". > >> In this case, only "dom1" was supposed to trap that these two resources > started on it, >

Re: [Pacemaker] python bindings

2009-07-07 Thread Yan Gao
> > And is it better to use mgmt interface, or rather parse commands output? (I > > don'r really like the latter variant) > > The mgmtd should sometimes in future be converted to use the crm > shell interface. Or at least supports crm shell syntax I think:-) > When you

[Pacemaker] ANNOUNCE: pacemaker-mgmt 1.99.2(beta! release)

2009-06-29 Thread Yan Gao
tus of resources on the node which is uncleanly offline + Medium: mgmtd: Destroy the crmd channel in the end of on_cleanup_rsc() + Medium: mgmtd: Fix memory leaks -- Yan Gao Mon, 29 Jun 2009 14:05:12 +0800 -- Regards, Yan Gao China R&D Software Engineer y...@novell.com Nove

Re: [Pacemaker] add resource via GUI - failing

2009-06-21 Thread Yan Gao
Pacemaker GUI comes from Current Debian repository. > > Thanks for your time. > Ivars > > ___ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pac

Re: [Pacemaker] is pacemaker-gui create right XML ?

2009-06-09 Thread Yan Gao
On Tue, 2009-06-09 at 18:25 +0800, Yan Gao wrote: > On Tue, 2009-06-09 at 03:59 -0400, Infos E-Blokos wrote: > > Simple test, > > > > I make a copy of cib.xml created by pacemaker-gui last version > > I edit the copy and increase the epoch, > > and run the

Re: [Pacemaker] is pacemaker-gui create right XML ?

2009-06-09 Thread Yan Gao
directly use the cib.xml under "/var/lib/heartbeat/crm", it's not. Because the cib.xml on disk doesn't include section, which is not valid against the schema. You may want to use the output of "cibadmin -Q". BTW, why didn't you use crm_shadow? -- Regards, Yan Gao

Re: [Pacemaker] [Debian-HA] Updates: Pacemaker 1.0.4, (Offensive Word Found In Message) Pacemaker Management Client

2009-06-08 Thread Yan Gao
madkiss/ha lenny main (for lenny) > deb http://people.debian.org/~madkiss/ha lenny main (for sid) > > Please feel free to test the packages and give feedback. The OpenAIS mgmt > stuff at least workd fine on a cluster that I tested it on, even remote > with X forwarding enabled. > > Best

Re: [Pacemaker] pacemaker-mgmt-client: broken dependency in CentOS 5 repo

2009-06-08 Thread Yan Gao
Hi Dejan, On Tue, 2009-06-02 at 13:02 +0200, Dejan Muhamedagic wrote: > Hi Yan, > > On Mon, Jun 01, 2009 at 03:00:52PM +0800, Yan Gao wrote: > > On Wed, 2009-05-27 at 15:46 +0200, Andrew Beekhof wrote: > > > I'll have to defer to Yan Gao on this one. > >

Re: [Pacemaker] trigger STONITH for testing purposes

2009-06-03 Thread Yan Gao
On Wed, 2009-06-03 at 09:26 +0200, Andrew Beekhof wrote: > 2009/6/3 Yan Gao : > > On Fri, 2009-05-22 at 12:33 +0200, Andrew Beekhof wrote: > >> On Wed, May 20, 2009 at 6:39 PM, Bob Haxo wrote: > >> > Hi Andrew, > >> > > >> > I'd say you

Re: [Pacemaker] trigger STONITH for testing purposes

2009-06-02 Thread Yan Gao
_length(rsc->running_on) > 0 && rsc->fns->active(rsc, TRUE) == FALSE) { strncat(buf, "unclean", sizeof(buf)-strlen(buf)-1); .. Andrew, If we execute crm_mon without "-r", the resources have ever been running on the uncleanly offline n

Re: [Pacemaker] pacemaker-mgmt-client: broken dependency in CentOS 5 repo

2009-06-01 Thread Yan Gao
On Mon, 2009-06-01 at 15:00 +0800, Yan Gao wrote: > > On Tue, May 26, 2009 at 1:05 PM, Florian Haas wrote: > > > Andrew, > > > > > > this is probably of minor importance, but the CentOS 5 repo hosted on > > > download.opensuse.org seems to

Re: [Pacemaker] pacemaker-mgmt-client: broken dependency in CentOS 5 repo

2009-06-01 Thread Yan Gao
On Wed, 2009-05-27 at 15:46 +0200, Andrew Beekhof wrote: > I'll have to defer to Yan Gao on this one. > I'm not familiar with the GUI's requirements. :-) > > On Tue, May 26, 2009 at 1:05 PM, Florian Haas wrote: > > Andrew, > > > > this is probab

Re: [Pacemaker] hb_gui on C5/EL5 x86_64 broken?

2009-05-31 Thread Yan Gao
etically able to work with DTD as well, but it hasn't been verified. Please try the following patch: http://hg.clusterlabs.org/pacemaker/pygui/rev/9bdd1200160c Waiting for more feedback...:-) -- Regards, Yan Gao China R&D Software Engineer y...@novell.com Novell, Inc. Making IT Work As O

  1   2   >