Bug 132330 - request for a "ccsd update cluster.conf" command
Summary: request for a "ccsd update cluster.conf" command
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: ccs
Version: 4
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Earl Brassow
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-10 21:44 UTC by Corey Marthaler
Modified: 2009-04-16 20:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-12 23:03:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Corey Marthaler 2004-09-10 21:44:28 UTC
Description of problem:
It would really be nice for ccsd users if there was an actual "ccsd
update the cluster.conf file" command. This way it could actually tell
you wheither or not your changes made it out to all the nodes or not. 

Currently one has to find ccsd's pid, send it a signal, check the
SYSLOGs on all nodes, and then check the cluster.conf files on all
nodes to see if it really worked or not.

Comment 1 Jonathan Earl Brassow 2004-09-13 14:34:41 UTC
I will make said script for you - it involves a couple other small things (like 
automatically notifying cman or gulm of the changes)...

For now, just do

#!/bin/bash

killall -HUP ccsd
if[ -e /etc/cluster/cluser.conf-rej]; then
  echo "Update failed.  Consult /var/log/messages for the reason.";
  echo "  Your changes have been saved in /etc/cluster/cluster.conf-rej";
else
  echo "Update succeeded."
fi



Comment 2 Kiersten (Kerri) Anderson 2004-11-04 15:07:25 UTC
Updates with the proper version and component name.

Comment 3 Kiersten (Kerri) Anderson 2004-11-04 15:15:40 UTC
Updates with the proper version and component name.

Comment 4 Kiersten (Kerri) Anderson 2004-11-04 15:20:28 UTC
Updates with the proper version and component name. Again, just love out tools.

Comment 5 Jonathan Earl Brassow 2004-12-22 23:11:52 UTC
ccs_tool update [new_cluster.conf]

will update and report results

It does not yet tell cman to update.

Comment 6 Corey Marthaler 2005-01-05 21:32:23 UTC
when the update fails (for instance if ccsd dies on another node) this
script tells you to search the logs for your answer why, it'd be nice
if it reported that error so one doens't have to search n number of logs.

[root@morph-04 root]# ccs_tool update
Cluster update failed.

Update failed on remote nodes.
Check their logs for clues.


Comment 7 Jonathan Earl Brassow 2005-01-11 23:42:42 UTC
update tool is available.

Openning new bug to reflect remaining gripe.

Comment 8 Corey Marthaler 2005-01-12 23:03:19 UTC
verified availability. :)


Note You need to log in before you can comment on or make changes to this bug.