11.2.0.3 Linux RAC 报错 CRS-5018:(:CLSN00037:) Removed unused HAIP route:

本文记录了一次RAC系统中ASM无法启动的问题排查过程,最终确定为IBM服务器USB0网卡占用169.254网段IP导致HAIP绑定异常。
某个支付系统11.2.0.3的rac系统,其中一个节点忽然无法启动

1.尝试关闭集群重新启动集群
[root@rac2 ~]$ crsctl stop crs -f 

2.尝试重新启动集群

[root@rac2 ~]$ crsctl start crs 
CRS-4123: Oracle High Availability Services has been started.

集群启动成功,无其他报错,此时感觉asm已经起来了  

[grid@rac2 ~]$ ps -ef | grep smon 
root      8472     1  1 14:14 ?        00:00:01 /u01/app/11.2/product/crs_1/bin/osysmond.bin
grid      9238     1  0 14:15 ?        00:00:00 asm_smon_+ASM2
grid      9500  6212  0 14:16 pts/5    00:00:00 grep smon


这时试图连接ASM查看dg状态,奇怪的事情发生了,asm可以登录,但是查询asmdisk报错

[grid@rac2 ~]$ sqlplus  / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on Wed May 21 15:35:05 2014
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> select status from v$asm_disk;
select status from v$asm_disk
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 14465
Session ID: 2707 Serial number: 3

查看d.bin进程,发现crsd并没有起来
[root@rac01 ~]# ps -ef | grep d.bin 
root      4142     1  0 09:27 ?        00:00:05 /u01/app/11.2.0/grid/product/db_1/bin/ohasd.bin reboot
grid      4548     1  0 09:28 ?        00:00:00 /u01/app/11.2.0/grid/product/db_1/bin/mdnsd.bin
grid      4558     1  0 09:28 ?        00:00:01 /u01/app/11.2.0/grid/product/db_1/bin/gpnpd.bin
grid      4568     1  0 09:28 ?        00:00:05 /u01/app/11.2.0/grid/product/db_1/bin/gipcd.bin
root      4590     1  0 09:28 ?        00:00:10 /u01/app/11.2.0/grid/product/db_1/bin/osysmond.bin


再次查看asm进程,还是存在相应的asm实例进程
[grid@rac2 ~]$ ps -ef | grep smon 
root     17377     1  2 14:31 ?        00:00:09 /u01/app/11.2/product/crs_1/bin/osysmond.bin
grid     21518     1  0 14:37 ?        00:00:00 asm_smon_+ASM2
grid     21615 18834  0 14:37 pts/5    00:00:00 grep smon


登录asmcmd,也同样抛出异常
[grid@rac2 ~]$ asmcmd
ORA-01034: ORACLE not available
Process ID: 21716
Session ID: 2707 Serial number: 1 (DBD ERROR: OCIStmtExecute/Describe)

ocr无法进行正常check

[root@rac2 bin]# ./ocrcheck
PROT-602: Failed to retrieve data from the cluster registry
PROC-26: Error while accessing the physical storage
ORA-15077: could not locate ASM instance serving a required diskgroup

关闭asm,尝试手动启动asm实例,同样无法启动asm实例
[grid@rac2 ~]$ sqlplus  / as sysasm 
SQL*Plus: Release 11.2.0.3.0 Production on Wed May 21 14:33:37 2014
Copyright (c) 1982, 2011, Oracle.  All rights reserved.

SQL> shutdown abort
ASM instance shutdown
SQL> startup
ORA-27103: internal error
Linux-x86_64 Error: 2: No such file or directory
Additional information: 1
Additional information: 25919497
Additional information: 2


通过+ASM1实例的spfile 创建新的pfile尝试启动+ASM2实例,同样无法启动+ASM2实例

SQL> startup nomount pfile='/tmp/init+asm2.ora';
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist


期初怀疑是存储的问题,于是开始检查存储状态,本套RAC使用multipath +asmlib的架构

查询multipath 状态,均为active

[root@rac2 bin]# multipath -ll

360a9800044336b327a24446172587864 dm-5 NETAPP,LUN
[size=200G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 4:0:1:0  sdau 66:224 [active][ready]
 \_ 3:0:1:0  sdq  65:0   [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:0  sdaf 65:240 [active][ready]
 \_ 3:0:0:0  sdb  8:16   [active][ready]
360a9800044336b327a24446172587862 dm-6 NETAPP,LUN
[size=200G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 4:0:1:1  sdav 66:240 [active][ready]
 \_ 3:0:1:1  sdr  65:16  [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:1  sdag 66:0   [active][ready]
 \_ 3:0:0:1  sdc  8:32   [active][ready]
360a9800044336b327a2444617258786e dm-13 NETAPP,LUN
[size=200G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 4:0:1:8  sdbc 67:96  [active][ready]
 \_ 3:0:1:8  sdy  65:128 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:8  sdan 66:112 [active][ready]
 \_ 3:0:0:8  sdj  8:144  [active][ready]
360a9800044336b327a24446172587876 dm-11 NETAPP,LUN
[size=2.0G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 4:0:1:6  sdba 67:64  [active][ready]
 \_ 3:0:1:6  sdw  65:96  [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:6  sdal 66:80  [active][ready]
 \_ 3:0:0:6  sdh  8:112  [active][ready]
[size=10G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 3:0:1:13 sdac 65:192 [active][ready]
 \_ 4:0:1:13 sdbg 67:160 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:13 sdar 66:176 [active][ready]
 \_ 3:0:0:13 sdn  8:208  [active][ready]
360a9800044336b327a24446172587868 dm-0 NETAPP,LUN
[size=200G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 3:0:1:10 sdaa 65:160 [active][ready]
 \_ 4:0:1:10 sdbe 67:128 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:10 sdap 66:144 [active][ready]
 \_ 3:0:0:10 sdl  8:176  [active][ready]
360a9800044336b327a24446172587870 dm-9 NETAPP,LUN
[size=2.0G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 4:0:1:4  sday 67:32  [active][ready]
 \_ 3:0:1:4  sdu  65:64  [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:4  sdaj 66:48  [active][ready]
 \_ 3:0:0:4  sdf  8:80   [active][ready]
360a9800044336b327a24446172587970 dm-1 NETAPP,LUN
\_ round-robin 0 [prio=50][active]
 \_ 3:0:1:15 sdae 65:224 [active][ready]
 \_ 4:0:1:15 sdbi 67:192 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:15 sdat 66:208 [active][ready]
 \_ 3:0:0:15 sdp  8:240  [active][ready]
360a9800044336b327a24446172587a55 dm-3 NETAPP,LUN
[size=5.0G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 3:0:1:14 sdad 65:208 [active][ready]
 \_ 4:0:1:14 sdbh 67:176 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:14 sdas 66:192 [active][ready]
 \_ 3:0:0:14 sdo  8:224  [active][ready]
360a9800044336b327a2444617258786a dm-8 NETAPP,LUN
[size=200G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 4:0:1:3  sdax 67:16  [active][ready]
 \_ 3:0:1:3  sdt  65:48  [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:3  sdai 66:32  [active][ready]
 \_ 3:0:0:3  sde  8:64   [active][ready]
360a9800044336b327a24446172587872 dm-14 NETAPP,LUN
[size=200G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 4:0:1:9  sdbd 67:112 [active][ready]
 \_ 3:0:1:9  sdz  65:144 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:9  sdao 66:128 [active][ready]
 \_ 3:0:0:9  sdk  8:160  [active][ready]
360a9800044336b327a24446172587972 dm-2 NETAPP,LUN
[size=10G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 3:0:1:13 sdac 65:192 [active][ready]
 \_ 4:0:1:13 sdbg 67:160 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:13 sdar 66:176 [active][ready]
 \_ 3:0:0:13 sdn  8:208  [active][ready]
360a9800044336b327a24446172587868 dm-0 NETAPP,LUN
[size=200G][features=3 queue_if_no_path pg_init_retries 50][hwhandler=1 alua][rw]
\_ round-robin 0 [prio=50][active]
 \_ 3:0:1:10 sdaa 65:160 [active][ready]
 \_ 4:0:1:10 sdbe 67:128 [active][ready]
\_ round-robin 0 [prio=10][enabled]
 \_ 4:0:0:10 sdap 66:144 [active][ready]
 \_ 3:0:0:10 sdl  8:176  [active][ready]
 

查询asmlib中asm磁盘,也都可以正常识别,此时排除了存储的故障,开始定位grid的日志
[root@rac2 bin]# /etc/init.d/multipathd  restart
Stopping multipathd daemon: [  OK  ]
Starting multipathd daemon: [  OK  ]
[root@rac2 bin]# /etc/init.d/oracleasm  restart
Dropping Oracle ASMLib disks: [  OK  ]
Shutting down the Oracle ASMLib driver: [  OK  ]
Initializing the Oracle ASMLib driver: [  OK  ]
Scanning the system for Oracle ASMLib disks: [  OK  ]
[root@rac2 bin]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 bin]# oracleasm listdisks
ASMLB_OCR01
ASMLB_OCR02
ASMLB_OCR03
ASMLB_ORCL01
ASMLB_ORCL02
ASMLB_ORCL03
ASMLB_ORCLCTL
ASMLB_ORCLFRA
ASMLB_ORCLREDO
ASMLB_YYZF01
ASMLB_YYZF02
ASMLB_YYZF03
ASMLB_YYZFCTL
ASMLB_YYZFFRA
ASMLB_YYZREDO

          
          
重新启动crs后报,系统仍存在ASM进程,但asm无法mount磁盘,crsd依旧无法启动
 
 alerrac2.log的日志如下
 
[/u01/app/11.2/product/crs_1/bin/orarootagent.bin(13382)]CRS-5018:(:CLSN00037:) Removed unused HAIP route:  169.254.95.0 / 255.255.255.0 / 0.0.0.0 / usb0
2014-05-21 13:18:09.087
[/u01/app/11.2/product/crs_1/bin/orarootagent.bin(13382)]CRS-5018:(:CLSN00037:) Removed unused HAIP route:  169.254.95.0 / 255.255.255.0 / 0.0.0.0 / usb0
2014-05-21 13:22:37.716
[ctssd(17298)]CRS-2409:The clock on host rac2 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
2014-05-21 13:38:09.677
[/u01/app/11.2/product/crs_1/bin/orarootagent.bin(13382)]CRS-5018:(:CLSN00037:) Removed unused HAIP route:  169.254.95.0 / 255.255.255.0 / 0.0.0.0 / usb0
2014-05-21 13:52:38.315
[ctssd(17298)]CRS-2409:The clock on host rac2 is not synchronous with the mean cluster time. No action has been taken as the Cluster Time Synchronization Service is running in observer mode.
2014-05-21 13:58:10.245
[/u01/app/11.2/product/crs_1/bin/orarootagent.bin(13382)]CRS-5018:(:CLSN00037:) Removed unused HAIP route:  169.254.95.0 / 255.255.255.0 / 0.0.0.0 / usb0
[gpnpd(8438)]CRS-2328:GPNPD started on node rac2. 
2014-05-21 14:14:29.618
[cssd(8520)]CRS-1713:CSSD daemon is started in clustered mode
2014-05-21 14:14:31.419
[ohasd(8217)]CRS-2767:Resource state recovery not attempted for 'ora.diskmon' as its target state is OFFLINE
2014-05-21 14:14:50.409
[cssd(8520)]CRS-1707:Lease acquisition for node rac2 number 2 completed
2014-05-21 14:14:51.693
[cssd(8520)]CRS-1621:The IPMI configuration data for this node stored in the Oracle registry is incomplete; details at (:CSSNK00002:) in /u01/app/11.2/product/crs_1/log/rac2/cssd/ocssd.log
2014-05-21 14:14:51.693
[cssd(8520)]CRS-1617:The information required to do node kill for node rac2 is incomplete; details at (:CSSNM00004:) in /u01/app/11.2/product/crs_1/log/rac2/cssd/ocssd.log
2014-05-21 14:14:51.696
[cssd(8520)]CRS-1605:CSSD voting file is online: ORCL:ASMLB_OCR03; details in /u01/app/11.2/product/crs_1/log/rac2/cssd/ocssd.log.
2014-05-21 14:14:51.700
[cssd(8520)]CRS-1605:CSSD voting file is online: ORCL:ASMLB_OCR02; details in /u01/app/11.2/product/crs_1/log/rac2/cssd/ocssd.log.
2014-05-21 14:14:51.704
[cssd(8520)]CRS-1605:CSSD voting file is online: ORCL:ASMLB_OCR01; details in /u01/app/11.2/product/crs_1/log/rac2/cssd/ocssd.log.
2014-05-21 14:14:56.235
[cssd(8520)]CRS-1601:CSSD Reconfiguration complete. Active nodes are rac2 rac2 .
2014-05-21 14:14:58.695
[ctssd(8722)]CRS-2403:The Cluster Time Synchronization Service on host rac2 is in observer mode.
2014-05-21 14:14:58.973
[ctssd(8722)]CRS-2407:The new Cluster Time Synchronization Service reference node is host rac2.
2014-05-21 14:14:58.974
[ctssd(8722)]CRS-2401:The Cluster Time Synchronization Service started on host rac2.
[client(8758)]CRS-10001:21-May-14 14:14 ACFS-9391: Checking for existing ADVM/ACFS installation.
[client(8763)]CRS-10001:21-May-14 14:14 ACFS-9392: Validating ADVM/ACFS installation files for operating system.
[client(8765)]CRS-10001:21-May-14 14:14 ACFS-9393: Verifying ASM Administrator setup.
[client(8768)]CRS-10001:21-May-14 14:14 ACFS-9308: Loading installed ADVM/ACFS drivers.
[client(8771)]CRS-10001:21-May-14 14:14 ACFS-9154: Loading 'oracleoks.ko' driver.
[client(8812)]CRS-10001:21-May-14 14:15 ACFS-9154: Loading 'oracleadvm.ko' driver.
[client(8854)]CRS-10001:21-May-14 14:15 ACFS-9154: Loading 'oracleacfs.ko' driver.
[client(8966)]CRS-10001:21-May-14 14:15 ACFS-9327: Verifying ADVM/ACFS devices.
[client(8971)]CRS-10001:21-May-14 14:15 ACFS-9156: Detecting control device '/dev/asm/.asm_ctl_spec'.
[client(8975)]CRS-10001:21-May-14 14:15 ACFS-9156: Detecting control device '/dev/ofsctl'.
[client(8981)]CRS-10001:21-May-14 14:15 ACFS-9322: completed         
2014-05-21 14:26:29.083
[/u01/app/11.2/product/crs_1/bin/orarootagent.bin(14037)]CRS-5018:(:CLSN00037:) Removed unused HAIP route:  169.254.95.0 / 255.255.255.0 / 0.0.0.0 / usb0
 [cssd(14105)]CRS-1612:Network communication with node rac2 (1) missing for 50% of timeout interval.  Removal of this node from cluster in 14.010 seconds
2014-05-21 14:28:40.898
[cssd(14105)]CRS-1662:Member kill requested by node rac2 for member number 1, group DB+ASM
2014-05-21 14:28:42.637
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5019:All OCR locations are on ASM disk groups [OCRDG], 
and none of these disk groups are mounted. Details are at "(:CLSN00100:)" 
in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:28:42.637
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)"
 in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log"
2014-05-21 14:28:42.919
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5019:
All OCR locations are on ASM disk groups [OCRDG], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" 
in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:28:42.920
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]
CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" 
in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log"
2014-05-21 14:28:43.147
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5019
:All OCR locations are on ASM disk groups [OCRDG], and none of these disk groups are mounted. 
Details are at "(:CLSN00100:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:28:43.147
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]
CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" 
in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log"
2014-05-21 14:28:43.429
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]
CRS-5019:All OCR locations are on ASM disk groups [OCRDG], and none of these disk groups are mounted. 
Details are at "(:CLSN00100:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:28:43.430
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" 
in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log"
2014-05-21 14:30:44.648
[cssd(14105)]CRS-1662:Member kill requested by node rac2 for member number 1, group DB+ASM
2014-05-21 14:30:47.200
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5019:All OCR locations are on ASM disk groups [OCRDG], 
and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:30:47.201
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5011:Check of resource "+ASM" failed: details at "(:CLSN00006:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log"
2014-05-21 14:30:48.565
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5019:All OCR locations are on ASM disk groups [OCRDG], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:30:48.792
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5019:All OCR locations are on ASM disk groups [OCRDG], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:30:49.079
[/u01/app/11.2/product/crs_1/bin/oraagent.bin(13997)]CRS-5019:All OCR locations are on ASM disk groups [OCRDG], and none of these disk groups are mounted. Details are at "(:CLSN00100:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".
2014-05-21 14:30:49.290
[ohasd(13804)]CRS-2807:Resource 'ora.asm' failed to start automatically.
2014-05-21 14:30:49.290
[ohasd(13804)]CRS-2807:Resource 'ora.crsd' failed to start automatically.
2014-05-21 14:30:49.294
[mdnsd(14011)]CRS-5602:mDNS service stopping by request.
2014-05-21 14:30:49.306
[ctssd(14319)]CRS-2405:The Cluster Time Synchronization Service on host rac2 is shutdown by user


crsd日志

	MESSAGE: 
	TextMessage[CRS-2672: Attempting to start 'ora.asm' on 'rac2'
CRS-5017: The resource action "ora.asm start" encountered the following error: 
ORA-03113: end-of-file on communication channel
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00107:)" in "/u01/app/11.2/product/crs_1/log/rac2/agent/ohasd/oraagent_grid/oraagent_grid.log".

CRS-2674: Start of 'ora.asm' on 'rac2' failed
CRS-2679: Attempting to clean 'ora.asm' on 'rac2'
CRS-2681: Clean of 'ora.asm' on 'rac2' succeeded

+ASM2实例的日志

Time drift detected. Please check VKTM trace file for more details.
Wed Feb 26 09:52:57 2014
IPC Send timeout detected. Sender: ospid 17566 [oracle@yyzfrac2 (RBAL)]
Receiver: inst 1 binc 436769961 ospid 3983
IPC Send timeout to 1.0 inc 28 for msg type 8 from opid 18
Wed Feb 26 09:53:01 2014
Communications reconfiguration: instance_number 1
Detected an inconsistent instance membership by instance 2



整个过程asm磁盘组始终无法mount磁盘,导致crsd无法启动,有个奇怪的报错CRS-5018:(:CLSN00037:) Removed unused HAIP route

于是查询主机网络,本系统用了多块网卡bond绑定,IBM pc独有的usb0的网卡占用了169.254.xxx.xxx的ip,Oracle在11.2.0.2以上的GI上使用多网卡构成的HAIP技术,那么不同网卡应该在不同的子网上,如果所有的网卡在同一个子网上,那么拔掉其中一个网卡可能导致节点被踢出

注:IBM的PC服务器使用USB0做为管理网络的特性。没有连接USB网卡的时候会不停向DHCP申请IP,如果没有发现DHCP时就会默认分配一个169.254.xxx.xxx的IP地址会和ORACLE的HAIP产生冲突,造成路由信息丢失。

[root@rac2 ~]# ifconfig 
bond0     Link encap:Ethernet  HWaddr 40:F2:E9:63:14:98  
          inet addr:10.118.7.32  Bcast:10.118.7.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:6349 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8373 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:909372 (888.0 KiB)  TX bytes:7154180 (6.8 MiB)

bond1     Link encap:Ethernet  HWaddr 40:F2:E9:63:14:9A  
          inet addr:10.10.10.20  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:14396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13380 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7089083 (6.7 MiB)  TX bytes:5387148 (5.1 MiB)

bond1:1   Link encap:Ethernet  HWaddr 40:F2:E9:63:14:9A  
          inet addr:169.254.112.114  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr 40:F2:E9:63:14:98  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:222 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:42708 (41.7 KiB)  TX bytes:0 (0.0 b)
          Interrupt:169 Memory:94000000-94012800 

eth1      Link encap:Ethernet  HWaddr 40:F2:E9:63:14:9A  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:41610 (40.6 KiB)  TX bytes:0 (0.0 b)
          Interrupt:217 Memory:92000000-92012800 

eth4      Link encap:Ethernet  HWaddr 40:F2:E9:63:14:98  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:6127 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8376 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:866664 (846.3 KiB)  TX bytes:7154738 (6.8 MiB)
          Memory:c0300000-c0380000 

eth5      Link encap:Ethernet  HWaddr 40:F2:E9:63:14:9A  
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:14187 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13380 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7047473 (6.7 MiB)  TX bytes:5387148 (5.1 MiB)
          Memory:c0380000-c0400000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:6584 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:9343532 (8.9 MiB)  TX bytes:9343532 (8.9 MiB)

usb0      Link encap:Ethernet  HWaddr 42:F2:E9:64:94:9B  
          inet addr:169.254.95.120  Bcast:169.254.95.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:81 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:59498 (58.1 KiB)  TX bytes:14668 (14.3 KiB)


注:在ora.cluster_interconnect.haip资源启动之前,cssd进程会检查私有网络来判定是否启动cssd进程,当ora.cluster_interconnect.haip资源启动之后,ora.asm的LMON进程会检查私有网络的通信状况,来判断是否启动集群ora.asm,
这时interconnect_IP地址是169.254网段的地址,如果节点间的169.254网段的地址不通,asm实例必定只能在部分节点运行,asm实例不能启动,Clusterware和数据库实例都无法启动,
本次故障的原因就是USB0的网卡占用的169.254网段IP导致,私有网络的HAIP无法正常绑定通信,集群驱逐了节点2,

我们可以通过使用netsta -rn命令在所有节点来查看HAIP绑定的信息,在节点2上bond1确实没有绑定HAIP

[root@rac2 bin]# netstat -rn                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
Kernel IP routing table                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
10.10.10.0      0.0.0.0         255.255.255.0   U         0 0          0 bond1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
10.118.7.0      0.0.0.0         255.255.255.0   U         0 0          0 bond0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
0.0.0.0         10.118.7.1      0.0.0.0         UG        0 0          0 bond0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

[root@rac2 bin]# ./crsctl stat res ora.cluster_interconnect.haip -init                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
NAME=ora.cluster_interconnect.haip                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
TYPE=ora.haip.type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
TARGET=ONLINE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
STATE=ONLINE on rac2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

在节点2上手动增加HAIP到bond1上 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
[root@rac2 bin]# route add -net 169.254.0.0 netmask 255.255.0.0 dev bond1 

再次使用netstat查看,HAIP已经绑定在bond1上了                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
[root@rac2 bin]# netstat -rn                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
Kernel IP routing table                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
10.10.10.0      0.0.0.0         255.255.255.0   U         0 0          0 bond1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
10.118.7.0      0.0.0.0         255.255.255.0   U         0 0          0 bond0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 bond1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
0.0.0.0         10.118.7.1      0.0.0.0         UG        0 0          0 bond0   

手动down掉usb0,修改配置文件将ONBOOT改为no

[root@rac2 bin]#ifdown usb0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
[root@rac2 bin]# vi /etc/sysconfig/network-scripts/ifcfg-usb0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               # File created by IBM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
# IMM_DRIVER_STATUS=1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
# IMM_IFACE_STATUS=0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
# IBM RNDIS/CDC ETHER                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
NM_CONTROLLED=no                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
DEVICE=usb0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
ONBOOT=no                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
BOOTPROTO=dhcp                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
HWADDR=42:f2:e9:64:96:df                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
TYPE=Ethernet          

 
 重启grid,集群正常启动
 
 总结
 
 在使用ibm X系列服务器时候,要将无用的USB0网卡禁掉,保证HAIP除了私有网卡不被其他设备使用

内容概要:本文围绕三相并网逆变器的控制策略展开研究,重点探讨了虚拟阻抗与统一有源阻尼相结合的控制方法,并实现了SVPWM(空间矢量脉宽调制)与SPWM(正弦脉宽调制)两种调制方式在Simulink平台下的仿真建模。通过引入虚拟阻抗改善系统输出阻抗特性,结合统一有源阻尼技术有效抑制LC或LCL滤波器引起的谐振问题,从而提升逆变器在弱电网条件下的并网稳定性与电能质量。研究涵盖了控制策略的设计、调制算法的实现、动态响应分析及谐波抑制效果评估,同时拓展涉及正负序分离、中点电位平衡、DPWMA调制等关键技术,构建了完整的高性能并网逆变器控制系统仿真体系。; 适合人群:适用于从事电力电子、新能源发电、智能电网及相关领域的研究生、科研人员和工程技术人员,特别是具备三相并网逆变器控制理论基础并熟悉MATLAB/Simulink仿真环境的专业人士;; 使用场景及目标:①用于高校与科研机构开展并网逆变器稳定性与控制策略的深入研究;②支撑学位论文撰写、学术期刊投稿或科研项目申报中的仿真验证工作;③为企业研发高性能、高可靠性的并网逆变器产品提供先进的控制方案与技术原型支持;; 阅读建议:建议读者结合提供的Simulink模型文件进行实际操作与仿真验证,重点关注虚拟阻抗参数设计与有源阻尼的协同作用机制,深入理解不同调制策略对系统性能的影响,并可进一步拓展学习文中提及的正负序控制、中点电位平衡等先进控制技术,全面提升对复杂电网环境下并网系统稳定运行机制的认知水平。
内容概要:本文围绕基于近端梯度算法求解LASSO分位数回归的短期风电功率预测方法展开研究,旨在提升预测模型在复杂环境下的精度与鲁棒性。文章系统构建了LASSO分位数回归模型,深入剖析其数学原理,并引入近端梯度算法进行高效优化求解,有效应对高维稀疏数据与异常值干扰等问题。通过Matlab平台完成了完整的算法实现与仿真实验,利用实际风电数据验证了该方法在不同分位点下的预测性能,结果表明其相较于传统方法具有更强的稳定性和准确性。此外,文档还整合了电力系统、机器学习、路径规划等多个领域的相关科研方向与技术应用案例,突出该方法在新能源预测与智能优化中的广泛适用性与实践价值。; 适合人群:具备扎实的数学基础(如凸优化、统计学习)与Matlab编程能力,从事新能源发电预测、电力系统调度、智能优化算法或机器学习等领域的科研人员、工程技术人员及研究生。; 使用场景及目标:①应用于短期风电功率预测,增强模型对噪声、异常值及非平稳特性的适应能力,提升电网调度的安全性与经济性;②为研究LASSO回归、分位数回归及近端梯度优化算法的学者提供可复现、可扩展的Matlab代码实例,便于算法改进与对比实验;③作为可再生能源消纳、电力市场出清、微网能量管理等工程场景下的核心数据分析与决策支持工具。; 阅读建议:此资源以算法实现为核心,建议读者在掌握LASSO与分位数回归理论基础上,结合Matlab代码逐行分析近端梯度算法的迭代流程与收敛特性,重点关注正则化项与损失函数的权衡机制。同时可借鉴文中丰富的科研案例,拓展至光伏预测、负荷预测等相似应用场景,注重理论推导、代码实现与实验验证的深度融合。
内容概要:本文围绕铰接式重型车辆的稳健路径跟踪控制问题,提出并实现了基于H∞控制器与鲁棒线性二次调节器(RLQR)的控制策略。通过建立车辆动力学模型,针对系统中存在的外部干扰与参数不确定性,设计H∞控制器以增强系统的抗干扰能力,并结合RLQR优化控制性能,在保证稳定性的同时提升路径跟踪精度。研究利用Matlab进行仿真验证,对比不同工况下的控制效果,展示了所提方法在复杂行驶环境下的优越性与鲁棒性。; 适合人群:具备自动控制理论基础、车辆工程或自动化相关背景,熟悉Matlab/Simulink仿真工具,从事智能车辆控制、路径跟踪算法研究的研究生、科研人员及工程技术人员。; 使用场景及目标:①应用于铰接式重型车辆(如矿用卡车、大型拖挂车)的自动驾驶路径跟踪控制系统设计;②为解决存在模型不确定性和外界扰动条件下的鲁棒控制问题提供算法参考与实现范例;③服务于高校科研项目、毕业论文或工业界智能运输系统的技术开发。; 阅读建议:此资源以Matlab代码为核心支撑,建议读者在学习过程中结合控制理论基础知识,运行并调试所提供的仿真程序,深入理解H∞与RLQR控制器的设计流程与参数整定方法,同时可通过修改模型参数或引入新的扰动场景进行拓展性实验,以增强实际应用能力。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值