今天给客户在solaris下装了11grac数据库,之前给客户要相关配置需求信息,客户只给了相关ip的配置。装完db打完补丁后,给客户汇报,客户说hostname要改一下
由xxxxbf01/02 改为xxxxzb01/02,我也是醉了。但是改不改,能不能改,就不能光听客户的。
How to Modify Public Network Information including VIP in Oracle Clusterware (文档 ID 276434.1) |
Case I. Changing public hostname
Public hostname is recorded in OCR, it is entered during installation phase. It can not be modified after the installation. The only way to modify public hostname is by deleting the node, then adding the node back with a new hostname, or reinstalling the clusterware or following the clone procedure to reconfigure the clusterware.
这个文章适用于10.1.0.2到12.1.0.2 ,当然是rac,单机环境修改hostname是很容易的
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 12.1.0.2 [Release 10.1 to 12.1]
Information in this document applies to any platform.
文章case1中说,hostname在安装完集群后不能修改,除非通过删除添加节点或者重建clusterware等方式来实现。
我就纳闷了,一个名字那么重要,看了下其他系统的名字没有重的,再说如果名字这么重要,干嘛当初提配置需求时不一起说明。