Hi Ante,

thanks a lot for your bugfix!

I do not need 'alias' at all. So that's OK!

'cman_tool version -r' just produces not a very nice error message. 
Maybe  you just write a little ccs_sync that outputs a nice error message and 
exits with error code?

That's my tiny solution for ccs_sync:

  #!/bin/bash

  CLUSTERCONF=/etc/cluster/cluster.conf

  nodes="$( cman_tool nodes | tail -n +2 | awk '{print $6}' )"
  localnode="$( cman_tool status | grep '^Node name: ' | awk '{print $3}' )"
  othernodes="$( echo ' '$nodes' ' | sed 's/ '$localnode' / /g' )"

  for node in $othernodes; do
   scp $CLUSTERCONF $node:$CLUSTERCONF
  done

Best regards
Christian

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956383

Title:
  [SRU] Missing binary and dependency in 'cman' binary package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redhat-cluster/+bug/956383/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to