10gRAC 安裝遇到Invalid node name "RACTEST1” entered

snowdba發表於2015-02-07
安裝叢集軟體時,在第二個節點執行遇到下面的錯誤
/u01/app/oracle/product/10.2.0/crs/root.sh

....within 30 secnonds.
....within 600 seconds.
Running vipca(silent) for configuring nodeapps
Invalid node name "RACTEST1" entered
Invalid node name "RACTEST1" entered

官方文件中引用如下:

Oracle Clusterware and Oracle Real Application Clusters Installation Guide

10g Release 2 (10.2) for HP-UX B14202-05

 

Determine your cluster name, public node names, private node names, and virtual node names for each node in the cluster

If you install the clusterware during installation, and are not using third-party vendor clusterware, then you are asked to provide a public node name and a private node name for each node. Use your third-party vendor documentation to complete setup of your public and private domain addresses.

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

    • *  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). If you use third-party vendor clusterware, then Oracle recommends that you use the vendor cluster name.

  • –  Determine a private node name or private IP address for each node. The private IP address is an address that is accessible only by the other nodes in this cluster. Oracle Database uses private IP addresses for internode, or instance-to-instance Cache Fusion traffic. Oracle recommends that you provide a name in the format public_hostname-priv. For example: myclstr2-priv.

  • –  Determine a virtual host name for each node. A virtual host name is a public node name that is used to reroute client requests sent to the node if the node is down. Oracle Database uses VIPs for client-to-database connections, so the VIP address must be publicly accessible. Oracle recommends that you provide a name in the format public_hostname-vip. For example: myclstr2-vip.



本次安裝使用的是HP伺服器,並採用了第三方公司的VERITAS叢集管理軟體,並且主機名和/etc/hosts都用的大寫字母,文件中提到的注意條件我們都裝上了!

檢視/etc/hosts中的資訊,發現域名使用了大寫字母,將其修改為小寫
127.0.0.1     l   ocalhost
10.13.51.249  RACTEST1
10.13.51.245  RACTEST1-vip
192.168.1.249 RACTEST1-priv

10.13.51.250  RACTEST2
10.13.51.246  RACTEST2-vip
192.168.1.250 RACTEST2-priv


解決辦法:
vi /etc/hosts
shift ~將大寫修改為小寫
127.0.0.1     localhost
10.13.51.249  ractest1
10.13.51.245  ractest1-vip
192.168.1.249 ractest1-priv

10.13.51.250  ractest2
10.13.51.246  ractest2-vip
192.168.1.250 ractest2-priv

修改主機名
hostname ractest1
hostname ractest2

再次安裝,順利透過!

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1429442/,如需轉載,請註明出處,否則將追究法律責任。

相關文章