安装Grid软件时,报错 [INS-30516] :
[FATAL] [INS-30516] Please specify unique disk groups.
代码语言:javascript复制Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-04-23_05-12-42AM. Please wait ...[FATAL] [INS-30516] Please specify unique disk groups.
CAUSE: Installer has detected that the diskgroup name provided already exists on the system.
ACTION: Specify different disk group.
A log of this session is currently saved as: /tmp/OraInstall2021-04-23_05-12-42AM/installActions2021-04-23_05-12-42AM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location to a more permanent location.
根据提示,是磁盘组名称冲突了, 由于使用starwind共享的存储进行搭建,之前曾经搭建过RAC,存在同名ASM磁盘组,并没有做清空操作, 尝试dd清空了一下:
代码语言:javascript复制[root@localhost soft]# dd if=/dev/zero of=/dev/sdb bs=10M count=1000
513 0 records in
512 0 records out
10737418240 bytes (11 GB) copied, 41.22 s, 260 MB/s
[root@localhost soft]# dd if=/dev/zero of=/dev/sdc bs=20M count=1000
1000 0 records in
1000 0 records out
20971520000 bytes (21 GB) copied, 84.1046 s, 249 MB/s
再次运行GRID安装程序,安装成功:
代码语言:javascript复制Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 41987 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4031 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-04-23_05-21-58AM. Please wait ...[WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards.
CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
ACTION: Provide a password that conforms to the Oracle recommended standards.
[WARNING] [INS-30011] The ASMSNMP password entered does not conform to the Oracle recommended standards.
CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
ACTION: Provide a password that conforms to the Oracle recommended standards.
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2021-04-23_05-21-58AM.log
Prepare in progress.
.................................................. 9% Done.
Prepare successful.
Copy files in progress.
.................................................. 15% Done.
.................................................. 20% Done.
.................................................. 25% Done.
.................................................. 30% Done.
.................................................. 35% Done.
.................................................. 40% Done.
.................................................. 45% Done.
........................................
Copy files successful.
Link binaries in progress.
Link binaries successful.
.................................................. 62% Done.
Setup files in progress.
Setup files successful.
.................................................. 76% Done.
Perform remote operations in progress.
.................................................. 89% Done.
Perform remote operations successful.
The installation of Oracle Grid Infrastructure 11g was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2021-04-23_05-21-58AM.log' for more details.
.................................................. 94% Done.
Execute Root Scripts in progress.
As a root user, execute the following script(s):
1. /u01/app/oraInventory/orainstRoot.sh
2. /u01/app/11.2.0/grid/root.sh
Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[lucifer01, lucifer02]
Execute /u01/app/11.2.0/grid/root.sh on the following nodes:
[lucifer01, lucifer02]
.................................................. 100% Done.
Execute Root Scripts successful.
As install user, execute the following script to complete the configuration.
1. /u01/app/11.2.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=
Note:
1. This script must be run on the same host from where installer was run.
2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).
Successfully Setup Software.
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
Check /u01/app/11.2.0/grid/install/root_lucifer01_2021-04-23_05-26-27.log for the output of root script