"Aneesh Kumar K.V" wrote:
> The attached patch correct some of the build issues that I faced on a
> redhat machine. It takes the backup of all the files before it replaces
> it with cluster files.
The Cluster Tools build system is such a mess!! Unfortunately I had a
part to play in creating that mess. Your patch helps resolve some of the
problems, but the build system could certainly stand to be redesigned.
I have a few changes to your patch:
- the make line can be removed from the uninstall_ssi rule, since
you moved it to the uninstall rule
- rather than spell out $(UML_ROOT)/etc/sysconfig/network-scripts
in several places, I set $(NETSCRIPTS) equal to it
- I cleaned up my messy logic for calling configure_cluster and
- there should now be no need to save /etc/fstab unless UML_ROOT
- similarly there's no need to restore /etc/fstab in
My updated patch is attached. Note that it has _not_ been tested, since
I don't have convenient access to a hardware-based cluster right now.
The permissions problem with configure_cluster and deconfigure_cluster
leads me to believe that the 0.6.5 release doesn't work for hardware
installations. That's what I get for only testing on UML!! :(
In two or three days I'll roll a new release of Cluster Tools and SSI
with these changes. If anyone's found other problems with the 0.6.5
release, please speak up now.
Brian Watson | "Now I don't know, but I been told it's
Software Developer | hard to run with the weight of gold,
Open SSI Clustering Project | Other hand I heard it said, it's
Hewlett-Packard Company | just as hard with the weight of lead."
| -Robert Hunter, 1970