欢迎加入IT云增值在线QQ交流群:342584734
分类:
2005-10-22 00:26:28
1.先停掉sc2.2,在停之前需要将data service和逻辑主机删掉;
2.备份sc2.2数据库文件以防万一:
# cd /etc/opt/SUNWcluster
# tar cvf conf.tar conf
3.修改两台主机中与主机名有关的文件:
/etc/hosts
/etc/hostname.interface
/etc/nodename
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts
4.reboot两台主机
5.系统启动后不用启动cluster,直接用下面命令察看原来节点信息:
# scconf clustername -p
Current Configuration for Cluster clustername:
Hosts in cluster: oldhostname1 oldhostname2
6.然后用下面命令修改即可:
# scconf clustername -h newhostname1 newhostname2
7.察看更改过是否生效:
# scconf clustername -p
8.启动cluster2.2主机:
# scadmin startcluster newhostname1 clustername
9.启动cluster2.2备机:
# scadmin startnode
10.启动正常,一切ok。