oracle安装rac后的检查 oracle 10g rac 安装
查看VIP:[grid@rac1 ~]$ ifconfig -a-bash: ifconfig: command not found[grid@rac1 ~]$ /sbin/ifconfig -aeth0 Link encap:Ethernet HWaddr00:0C:29:17:22:9F inet addr:192.168.100.163Bcast:192.168.100.255Mask:255.255.255.0 inet6 addr:fe80::20c:29ff:fe17:229f/64 Scope:Link UP BROADCAST RUNNINGMULTICAST MTU:1500Metric:1 RX packets:554688 errors:0dropped:0 overruns:0 frame:0 TX packets:2423907 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:1000 RX bytes:75127756 (71.6 MiB)TX bytes:3361222244 (3.1 GiB) Interrupt:75 Baseaddress:0x2400
eth0:1 Linkencap:Ethernet HWaddr 00:0C:29:17:22:9F inet addr:192.168.100.165Bcast:192.168.100.255Mask:255.255.255.0 UP BROADCAST RUNNINGMULTICAST MTU:1500Metric:1 Interrupt:75 Baseaddress:0x2400
eth0:2 Linkencap:Ethernet HWaddr 00:0C:29:17:22:9F inet addr:192.168.100.167Bcast:192.168.100.255Mask:255.255.255.0 UP BROADCAST RUNNINGMULTICAST MTU:1500Metric:1 Interrupt:75 Baseaddress:0x2400
eth1 Link encap:Ethernet HWaddr00:0C:29:17:22:A9 inet addr:10.10.10.163Bcast:10.255.255.255Mask:255.0.0.0 inet6 addr:fe80::20c:29ff:fe17:22a9/64 Scope:Link UP BROADCAST RUNNINGMULTICAST MTU:1500Metric:1 RX packets:64881 errors:0dropped:0 overruns:0 frame:0 TX packets:21665 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:1000 RX bytes:8494460 (8.1 MiB)TX bytes:9885943 (9.4 MiB) Interrupt:59 Baseaddress:0x2480
lo Link encap:Local Loopback inet addr:127.0.0.1Mask:255.0.0.0 inet6 addr: ::1/128Scope:Host UP LOOPBACK RUNNINGMTU:16436 Metric:1 RX packets:352385 errors:0dropped:0 overruns:0 frame:0 TX packets:352385 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:0 RX bytes:119416599 (113.8MiB) TX bytes:119416599 (113.8 MiB)
sit0 Link encap:IPv6-in-IPv4 NOARPMTU:1480 Metric:1 RX packets:0 errors:0dropped:0 overruns:0 frame:0 TX packets:0 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:0 RX bytes:0 (0.0 b)TX bytes:0 (0.0 b)
查看clusterware中服务的状态:
[grid@rac1 ~]$ crs_stat -tName Type Target State Host ------------------------------------------------------------ora.DATA.dg ora....up.type ONLINE ONLINE rac1 ora....ER.lsnr ora....er.type ONLINE ONLINE rac1 ora....N1.lsnr ora....er.type ONLINE ONLINE rac1 ora.asm ora.asm.type ONLINE ONLINE rac1 ora.eons ora.eons.type ONLINE ONLINE rac1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE rac1 ora.oc4j ora.oc4j.type OFFLINE OFFLINE ora.ons ora.ons.type ONLINE ONLINE rac1 ora....SM1.asm application ONLINE ONLINE rac1 ora....C1.lsnr application ONLINE ONLINE rac1 ora.rac1.gsd application OFFLINE OFFLINE ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vip ora....t1.type ONLINE ONLINE rac1 ora....SM2.asm application ONLINE ONLINE rac2 ora....C2.lsnr application ONLINE ONLINE rac2 ora.rac2.gsd application OFFLINE OFFLINE ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vip ora....t1.type ONLINE ONLINE rac2 ora....ry.acfs ora....fs.type ONLINE ONLINE rac1 ora.scan1.vip ora....ip.type ONLINE ONLINE rac1 [grid@rac1 ~]$ crsctl check crsCRS-4638: Oracle High Availability Services is onlineCRS-4537: Cluster Ready Services is onlineCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online[grid@rac1 ~]$ crsctl check ctssCRS-4701: The Cluster Time Synchronization Service is inActive mode.CRS-4702: Offset (in msec): 0[grid@rac1 ~]$ crsctl check cluster -all**************************************************************rac1:CRS-4537: Cluster Ready Services is onlineCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online**************************************************************rac2:CRS-4537: Cluster Ready Services is onlineCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online**************************************************************
查看ASM状态:[grid@rac1 ~]$ ps aux | grep ASMgrid 8359 0.0 0.0 3920 656 pts/1 R+ 01:15 0:00 grep ASMgrid 112900.0 0.6 4202527112 ? Ss Jul19 0:00 asm_pmon_+ASM1grid 112930.0 0.3 4195843856 ? Ss Jul19 0:00 asm_vktm_+ASM1grid 112970.0 0.4 4200284348 ? Ss Jul19 0:00 asm_gen0_+ASM1grid 112990.0 0.5 4256166056 ? Ss Jul19 0:00 asm_diag_+ASM1grid 113010.0 0.4 4195844328 ? Ss Jul19 0:00 asm_ping_+ASM1grid 113030.0 0.3 4195843904 ? Ss Jul19 0:00 asm_psp0_+ASM1grid 113050.0 1.3 427920 14476 ? Ss Jul19 0:00 asm_dia0_+ASM1grid 113070.0 0.8 4268449244 ? Ss Jul19 0:00 asm_lmon_+ASM1grid 113090.0 1.4 430464 15516 ? Ss Jul19 0:00 asm_lmd0_+ASM1grid 113110.0 0.9 4304009956 ? Ss Jul19 0:00 asm_lms0_+ASM1grid 113150.0 0.3 4195843868 ? Ss Jul19 0:00 asm_lmhb_+ASM1grid 113170.0 0.3 4195843916 ? Ss Jul19 0:00 asm_mman_+ASM1grid 113190.0 0.5 4217326184 ? Ss Jul19 0:00 asm_dbw0_+ASM1grid 113210.0 0.6 4209166440 ? Ss Jul19 0:00 asm_lgwr_+ASM1grid 113230.0 0.5 4195846180 ? Ss Jul19 0:00 asm_ckpt_+ASM1grid 113250.0 0.3 4195843880 ? Ss Jul19 0:00 asm_smon_+ASM1grid 113270.0 1.0 422828 11312 ? Ss Jul19 0:00 asm_rbal_+ASM1grid 113290.0 0.6 4213526496 ? Ss Jul19 0:01 asm_gmon_+ASM1grid 113310.0 0.4 4195844488 ? Ss Jul19 0:00 asm_mmon_+ASM1grid 113330.0 0.5 4195845556 ? Ss Jul19 0:00 asm_mmnl_+ASM1grid 113380.0 0.6 4205606812 ? Ss Jul19 0:00 asm_lck0_+ASM1grid 113820.0 0.4 4199524340 ? Ss Jul19 0:00 asm_asmb_+ASM1grid 113840.0 0.5 4201005964 ? Ss Jul19 0:00 oracle+ASM1_asmb_+asm1(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))grid 114090.0 0.7 4220527852 ? Ss Jul19 0:01 oracle+ASM1_ocr(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))[grid@rac1 ~]$
节点2上检查:[grid@rac2 ~]$ olsnodes -irac1 rac1viprac2 rac2vip[grid@rac2 ~]$ olsnodes -srac1 Activerac2 Active[grid@rac2 ~]$ /sbin/ifconfig -aeth0 Link encap:Ethernet HWaddr00:0C:29:E1:E4:3D inet addr:192.168.100.164Bcast:192.168.100.255Mask:255.255.255.0 inet6 addr:fe80::20c:29ff:fee1:e43d/64 Scope:Link UP BROADCAST RUNNINGMULTICAST MTU:1500Metric:1 RX packets:2206428 errors:0dropped:0 overruns:0 frame:0 TX packets:382063 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:1000 RX bytes:3271912394 (3.0 GiB)TX bytes:27042634 (25.7 MiB) Interrupt:75 Baseaddress:0x2400
eth0:1 Linkencap:Ethernet HWaddr 00:0C:29:E1:E4:3D inet addr:192.168.100.166Bcast:192.168.100.255Mask:255.255.255.0 UP BROADCAST RUNNINGMULTICAST MTU:1500Metric:1 Interrupt:75 Baseaddress:0x2400
eth1 Link encap:Ethernet HWaddr00:0C:29:E1:E4:47 inet addr:10.10.10.164Bcast:10.255.255.255Mask:255.0.0.0 inet6 addr:fe80::20c:29ff:fee1:e447/64 Scope:Link UP BROADCAST RUNNINGMULTICAST MTU:1500Metric:1 RX packets:29675 errors:0dropped:0 overruns:0 frame:0 TX packets:24162 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:1000 RX bytes:10935786 (10.4 MiB)TX bytes:12898654 (12.3 MiB) Interrupt:59 Baseaddress:0x2480
lo Link encap:Local Loopback inet addr:127.0.0.1Mask:255.0.0.0 inet6 addr: ::1/128Scope:Host UP LOOPBACK RUNNINGMTU:16436 Metric:1 RX packets:9941 errors:0dropped:0 overruns:0 frame:0 TX packets:9941 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:0 RX bytes:7158946 (6.8 MiB)TX bytes:7158946 (6.8 MiB)
sit0 Link encap:IPv6-in-IPv4 NOARPMTU:1480 Metric:1 RX packets:0 errors:0dropped:0 overruns:0 frame:0 TX packets:0 errors:0dropped:0 overruns:0 carrier:0 collisions:0txqueuelen:0 RX bytes:0 (0.0 b)TX bytes:0 (0.0 b)
[grid@rac2 ~]$ crs_stat -tName Type Target State Host ------------------------------------------------------------ora.DATA.dg ora....up.type ONLINE ONLINE rac1 ora....ER.lsnr ora....er.type ONLINE ONLINE rac1 ora....N1.lsnr ora....er.type ONLINE ONLINE rac1 ora.asm ora.asm.type ONLINE ONLINE rac1 ora.eons ora.eons.type ONLINE ONLINE rac1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE rac1 ora.oc4j ora.oc4j.type OFFLINE OFFLINE ora.ons ora.ons.type ONLINE ONLINE rac1 ora....SM1.asm application ONLINE ONLINE rac1 ora....C1.lsnr application ONLINE ONLINE rac1 ora.rac1.gsd application OFFLINE OFFLINE ora.rac1.ons application ONLINE ONLINE rac1 ora.rac1.vip ora....t1.type ONLINE ONLINE rac1 ora....SM2.asm application ONLINE ONLINE rac2 ora....C2.lsnr application ONLINE ONLINE rac2 ora.rac2.gsd application OFFLINE OFFLINE ora.rac2.ons application ONLINE ONLINE rac2 ora.rac2.vip ora....t1.type ONLINE ONLINE rac2 ora....ry.acfs ora....fs.type ONLINE ONLINE rac1 ora.scan1.vip ora....ip.type ONLINE ONLINE rac1 [grid@rac2 ~]$ crsctl check crsCRS-4638: Oracle High Availability Services is onlineCRS-4537: Cluster Ready Services is onlineCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online[grid@rac2 ~]$ crsctl check ctssCRS-4701: The Cluster Time Synchronization Service is inActive mode.CRS-4702: Offset (in msec): 0[grid@rac2 ~]$ crsctl check cluster -all**************************************************************rac1:CRS-4537: Cluster Ready Services is onlineCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online**************************************************************rac2:CRS-4537: Cluster Ready Services is onlineCRS-4529: Cluster Synchronization Services is onlineCRS-4533: Event Manager is online**************************************************************[grid@rac2 ~]$ ps aux | grep ASMgrid 9343 0.0 0.0 5028 660 pts/1 R+ 01:15 0:00 grep ASMgrid 123760.0 0.6 4202526696 ? Ss 00:08 0:00 asm_pmon_+ASM2grid 123780.0 0.3 4195843528 ? Ss 00:08 0:00 asm_vktm_+ASM2grid 123820.0 0.4 4200284320 ? Ss 00:08 0:00 asm_gen0_+ASM2grid 123840.0 0.5 4256165672 ? Ss 00:08 0:00 asm_diag_+ASM2grid 123860.0 0.3 4195843988 ? Ss 00:08 0:00 asm_ping_+ASM2grid 123880.0 0.3 4195843588 ? Ss 00:08 0:00 asm_psp0_+ASM2grid 123900.0 1.3 427920 14304 ? Ss 00:08 0:00 asm_dia0_+ASM2grid 123920.0 0.8 4268408924 ? Ss 00:08 0:00 asm_lmon_+ASM2grid 123940.0 1.3 430400 14256 ? Ss 00:08 0:00 asm_lmd0_+ASM2grid 123960.0 0.9 4304009352 ? Ss 00:08 0:00 asm_lms0_+ASM2grid 124000.0 0.3 4195843528 ? Ss 00:08 0:00 asm_lmhb_+ASM2grid 124020.0 0.3 4195843584 ? Ss 00:08 0:00 asm_mman_+ASM2grid 124040.0 0.5 4217325840 ? Ss 00:08 0:00 asm_dbw0_+ASM2grid 124060.0 0.6 4209166368 ? Ss 00:08 0:00 asm_lgwr_+ASM2grid 124080.0 0.5 4195845480 ? Ss 00:08 0:00 asm_ckpt_+ASM2grid 124100.0 0.3 4195843544 ? Ss 00:08 0:00 asm_smon_+ASM2grid 124120.0 0.8 4217368776 ? Ss 00:08 0:00 asm_rbal_+ASM2grid 124140.0 0.5 4213525836 ? Ss 00:08 0:00 asm_gmon_+ASM2grid 124160.0 0.4 4195844156 ? Ss 00:08 0:00 asm_mmon_+ASM2grid 124180.0 0.5 4195845244 ? Ss 00:08 0:00 asm_mmnl_+ASM2grid 124250.0 0.6 4205606260 ? Ss 00:08 0:00 asm_lck0_+ASM2grid 124570.0 0.6 4220486356 ? Ss 00:09 0:00 oracle+ASM2_ocr(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))grid 124680.0 0.3 4199523944 ? Ss 00:09 0:00 asm_asmb_+ASM2grid 124700.0 0.5 4201005588 ? Ss 00:09 0:00 oracle+ASM2_asmb_+asm2(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))[grid@rac2 ~]$
更多阅读
教你装修后的房子如何除味 房子装修两年还有味道
装修后的房子多多少少会有一些油漆,木材等方面的异味,如果刚装修完房子就搬进去住,就会对人的身体健康带来危害。那么,装修后的房子该如何去味呢?厦门装修网通过详细调查,总结出了一些小妙招,赶紧来看看吧! 建议装修房子要重装饰、轻装修,装
word输入文字时光标后的字会自动删除怎么回事? word表格不能输入文字
word输入文字时光标后的字会自动删除怎么回事?——简介在word文档编辑文字的时候,光标后的文字会自动删除,这是怎么回事呢?这可能是我们不小心按了“insert”键所造成的。然而好多人不知道结束这种状态,甚是苦恼。在这里小编给大家介绍两
胃病常用的检查方法有哪些? 内控检查常用的方法有
? ??胃病是只有通过检查才能发现,并准确用药治疗。常用化验检查包括血和大便隐血试验。血常规检查主要用于检查各种胃病引起的贫血。大便隐血试验是用于诊断胃出血时常用的检查方法。大便隐血试验呈阳性,则可提示有消化道出血。? ??
急性阑尾炎手术后的饮食 急性阑尾炎手术
? ? ?前段时间老公得了急性阑尾炎,动了手术后在医院住院,这下把我弄着急了。这手术后应该吃什么呢?哪些能吃?哪些不能吃呢?我在网上搜索也搜索不出什么好的建议或者方法。但是我不能就这么什么也不做呀,我就通过上网查询到的知识和询问医
如何拔罐及拔罐后的注意事项 拔火罐的好处和坏处
如何拔罐及拔罐后的注意事项——简介 刮痧和拔罐,是中国医学遗产之一,也是我们平常保健用的方法最多的两种治疗方式,好处就在于可以逐寒祛湿、疏通经络、祛除淤滞、行气活血、消肿止痛、拔毒泻热,具有调整人体的阴阳平衡、解除疲劳、增