2008-8-5 09:35
hzlzy
在HACMP环境中,可以修改hostname吗?
在cluster环境中,可以修改hostname吗?有些资料上说是可以通过pre-event script来修改主机名,又有资料说修改node名需要停止cluster服务,不知hostname和node名有啥区别啊,到底能不能改呢?
2008-8-5 12:57
hape1221
1、可以修改
2、需要停止cluster服务,如果采用hostname作为node名
3、一般大家会采用hostname作为node名
2008-8-5 16:15
hzlzy
回hape1221,我在资料上也是这么看到的
1、可以修改
2、需要停止cluster服务,如果采用hostname作为node名
3、一般大家会采用hostname作为node名
Company.com has an application that has a hard-coded hostname in the startup routines. The application is being made highly available using HACMP. During testing, the application does not start on the standby node because the hostname was not what the application expected. What can be done to fix this problem?
A. Manage the hostname in the application server start ands top scripts
B. Nothing, because this application cannot be controlled by HACMP and should be started with /etc/inittab.
C. Change the hard-coded hostname in the application startup routines to use the uname rather than the hostname.
D. Override the default ha_hostname in the cluster configuration to reflect the shared hostname rather than the default ha_hostname.
Answer: A
在一个troubleshooting的REDBOOK上也看到过确由答案那样可以通过pre-event script来修改hostname,所以就搞晕了。只有一种解释就是hostname和node name的不一样,那他们到底是什么关系呢?
页:
[1]
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.