Invalid node name 1PTBAK-DB1 entered in an input argument--rac安装之hotsname命名

在江苏现网的Oracle RAC安装过程中,执行root.sh时遇到'Invalid node name'错误,提示hostname '1PTBAK-DB1'无效。经过排查,发现hostname命名可能不符合Oracle的要求。虽然官方文档未明确指出命名规范,但根据经验,hostname不能以数字开头,不能包含大写字母和下划线。将hostname修改为符合规范的'pt1bakdb1'后,问题解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

江苏现网安装rac,在安装完毕cluster软件之后执行root.sh的时候报错如下:

Invalid node name "1PTBAK-DB1" enteredin an input argument

Invalid node name "1PTBAK-DB1" enteredin an input argument

     以前安装很多边都没出现类似的错误,1PTBAK-DB1是节点的hostname,也用作cluster name,目测应该是hostname的命名问题,查了很多官方的DOC也没找到oracle对hostname的命名要求,只是在《Oracle Clusterware and Oracle Real Application Clusters Installation Guide》中有这么一段话:



When you enter the public node name, use the primary host name of each node. In

other words, use the name displayed by the hostname command. This node

name can be either the permanent or the virtual host name.

In addition, ensure that the following are true:

– Determine a cluster name with the following characteristics:

* It must be globally unique throughout your host domain.        --全局唯一

* It must be at least one character long and less than 15 characters long.   --长度小于15个字符

* It must consist of the same character set used for host names: underscores

(_), hyphens (-), and single-byte alphanumeric characters (a to z, A to Z, and 0 to 9).  --包含_、-、a to z, A to Z, and 0 to 9


   完全复合要求


   通过google,发现很多人遇到相同的问题,具体总结为:数字开头、包含大写字母、包含下划线的hostname会出现这个错误。


   于是果断修改hostname为:pt1bakdb1,卸载后重新安装,错误消失

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值