- 论坛徽章:
- 0
|
更改集群配置,使之生效一般用ccs_tool update /etc/cluster/cluster.conf,操作之前记得改一下配置版本号; ...
jerrywjl 发表于 2010-07-19 12:09 ![]()
谢谢。都怪自已看文档不仔细.^0^
The cluster configuration guis take case of propagating changes to cluster.conf to your cluster. The system-config-cluster gui has a big button that says "Send to Cluster". If you're maintaining your cluster.conf file by hand and want to propagate it to the rest of the cluster, do this:
1. Edit /etc/cluster/cluster.conf using the editor of choice.
2. Tell ccs about the change:
ccs_tool update /etc/cluster/cluster.conf
3. Find out what version your cluster.conf file currently is from cman's perspective:
cman_tool status | grep "Config version"
It should come back with something like this:
Config version: 37
4. Tell cman your newer cluster.conf is a newer version:
cman_tool version -r 38
Note: For RHEL5 and similar, cman_tool -r is no longer necessary. |
|