feedback:

1. openais-legacy 0.80.5+svn20090522-1~bpo50+1 installs
> /etc
> /etc/openais
> /etc/openais/openais.conf
> /etc/openais/amf.conf

and a symlink inside /etc/.
> ais -> openais

but the deamon searches for the configuration in /etc/ais/ by default.
q. should we not avoid such symlinks?

2. i like the comments inside the openais.conf file. please include
them. please refer to openais.conf.patch

3. in the postrm script, i suggest openais-legacy.postrm.patch

4. installation of pacemaker-openais fails with:
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0B of additional disk space will be used.
> hg-snapshot-script: nothing to be done
> Setting up pacemaker-openais (1.0.3+svn20090522-1~bpo50+1) ...
> chown: cannot access `/var/run/heartbeat/crm': No such file or directory
                        ^^^^^^^^^^^^^^^^^^^^^^
> dpkg: error processing pacemaker-openais (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  pacemaker-openais
> hg-snapshot-script: nothing to be done
> E: Sub-process /usr/bin/dpkg returned an error code (1)

who should provide this directory? originally, this was provide by
"heartbeat".

fyi, i purged my configuration to my best knowledge  and installed the
following packages:

> ii  heartbeat-common                    2.99.2+sles11r9-1~bpo50+1    
> Subsystem for High-Availability Linux (commo
> ii  libheartbeat2                       2.99.2+sles11r9-1~bpo50+1    
> Subsystem for High-Availability Linux (libra
> ii  libopenais-legacy-2                 0.80.5+svn20090522-1~bpo50+1 
> Standards-based cluster framework (libraries
> ii  openais-legacy                      0.80.5+svn20090522-1~bpo50+1 
> Standards-based cluster framework (daemon an
> iF  pacemaker-openais                   1.0.3+svn20090522-1~bpo50+1  HA 
> cluster resource manager for OpenAIS

thanks for your work!

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bha...@ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            off...@ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
--- openais-legacy.postrm.old	2009-05-26 17:32:58.000000000 +0200
+++ openais-legacy.postrm	2009-05-26 17:39:32.000000000 +0200
@@ -5,7 +5,8 @@
 if [ "$1" = purge ]; then
   rm -rf /var/lib/openais
   rm -rf /var/log/openais
-  userdel -r ais
+  id ais >/dev/null 2>&1;
+  if [ "x$?" = "x0" ]; then userdel -rf ais; fi
 fi
 
 # Automatically added by dh_installinit
diff -r cb5b3b295200 openais/openais.conf
--- a/openais/openais.conf	Tue May 26 17:30:40 2009 +0200
+++ b/openais/openais.conf	Tue May 26 17:32:03 2009 +0200
@@ -2,12 +2,44 @@
 
 totem {
 	version: 2
+
+	# How long before declaring a token lost (ms)
+	token: 3000
+
+	# How many token retransmits before forming a new configuration
+	token_retransmits_before_loss_const: 10
+
+	# How long to wait for join messages in the membership protocol (ms)
+	join: 60
+
+	# How long to wait for consensus to be achieved before starting a new round of membership configuration (ms)
+	consensus: 1500
+
+	# Turn off the virtual synchrony filter
+	vsftype: none
+
+	# Number of messages that may be sent by one processor on receipt of the token
+	max_messages: 20
+
+	# Limit generated nodeids to 31-bits (positive signed integers)
+	clear_node_high_bit: yes
+
+	# Disable encryption
 	secauth: off
+
+	# How many threads to use for encryption/decryption
 	threads: 0
+
+	# Optionally assign a fixed node id (integer)
+	# nodeid: 1234
+
+	# This specifies the mode of redundant ring, which may be none, active, or passive.
 	rrp_mode: none
- 	vsftype: none
+
 	interface {
 		ringnumber: 0
+
+		# The following values need to be set based on your environment
 		bindnetaddr: 192.168.2.0
 		mcastaddr: 226.94.1.1
 		mcastport: 5405
_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to