Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ORACLE RAC DOWN»úÎÊÌâ·ÖÎö

Author: Rainny
Date: 2010-3-5
Ò»£¬Ö¢×´ÃèÊö
2¸ö½ÚµãµÄORACLE 10G RAC£¬¸ôÒ»¶Îʱ¼äÆäÖеÄÒ»¸öNODE¾Í»áDOWN»ú¡£½Úµã´ÓCLUSTERÖб»ÇýÖð¡£
¶þ£¬Õï¶Ï¹ý³Ì
Rac1±»Öð³ö£¬RAC2´æ»î£¬RAC2½Ó¹ÜÁËRAC1µÄVIP£¬ÎÒÃÇÀ´²é¿´RAC2µÄÏà¹ØLOG¡£
Ê×ÏȲ鿴RAC2µÄ¸æ¾¯ÈÕÖ¾£º..\log\rac2\alertrac2.log:
2010-03-05 14:39:50.750
[cssd(7089)]CRS-1607:CSSD evicting node rac1. Details in /u01/crs/oracle/product/10/app/log/rac2/cssd/ocssd.log.
2010-03-05 14:39:51.893
[cssd(7089)]CRS-1601:CSSD Reconfiguration complete. Active nodes are rac2 .
2010-03-05 14:40:17.122
[crsd(8429)]CRS-1204:Recovering CRS resources for node rac1.
 
ÔÙ¼ì²éCSSµÄLOG£º/u01/crs/oracle/product/10/app/log/rac2/cssd/ocssd.log
[    CSSD]2010-03-05 14:38: 52.611 [3062369200] >TRACE:   clssnmPollingThread: node rac1 (1) missed(4) checkin(s)
--ÖмäÊ¡ÂÔ50¶àÐÐ--
[    CSSD]2010-03-05 14:39:47.739 [3062369200] >TRACE:   clssnmPollingThread: node rac1 (1) missed(59) checkin(s)
--´ÓÉÏÃæÎÒÃÇ·¢ÏÖ£¬CSSD´ÓVOTING DISK¶ÁÈ¡½ÚµãÐÅϢʱ£¬·¢ÏÖ½ÚµãRAC1 MISS£¬Ö±µ½¶ÁÁË60Ãëºó£¬ÅжÏRAC1¿ÉÄÜËÀµô£¬
--¿ªÊ¼·¢ÆðÇýÖ𣬽«RAC1´ÓCLUSTERÖÐÖð³ö
[    CSSD]2010-03-05 14:39:48.741 [3062369200] >TRACE:   clssnmPollingThread: Eviction started for node rac1 (1), flags 0x000f, state 3, wt4c 0
[    CSSD]2010-03-05 14:39:48.741 [3041389488] >TRACE:   clssnmDoSyncUpdate: Initiating sync 3
[    CSSD]2010-03-05 14:39:48.741 [3041389488] >TRACE:   clssnmSetupAckWait: Ack message type (11)
[    CSSD]2010-03-05 14:39:48.741 [3041389488] >TRACE:   clssnmSetupAckWait: node(1) is ALIVE
[    CSSD]2010-03-05 14:39:48.741 [3041389488] >TRACE:   clssnmSetupAckWait: node(2) is ALIVE
[    CSSD]2010-03-05 14:39:48.741 [3041389488] >TRACE:   clssnmSendSync: syncSeqNo(3)
[    CSSD]2010-03-05 14:39:48.742 [70884272] >TRACE:   cls


Ïà¹ØÎĵµ£º

oracle ´æ´¢¹ý³ÌµÄ»ù±¾Óï·¨

1.»ù±¾½á¹¹
CREATE OR REPLACE PROCEDURE ´æ´¢¹ý³ÌÃû×Ö
(
    ²ÎÊý1 IN NUMBER,
    ²ÎÊý2 IN NUMBER
) IS
±äÁ¿1 INTEGER :=0;
±äÁ¿2 DATE;
BEGIN
END ´æ´¢¹ý³ÌÃû×Ö
2.SELECT INTO STATEMENT
  ½«select²éѯµÄ½á¹û´æÈëµ½±äÁ¿ÖУ¬¿ÉÒÔͬʱ½«¶à¸öÁд洢¶à¸ö±äÁ¿ÖУ¬±ØÐëÓÐÒ»Ì ......

Oracle´´½¨ÐòÁÐ sequence


OracleÖеÄÐòÁкŹËÃû˼Òå¾ÍÊÇ´´½¨Ò»¸öÐòÁкţ¬¿ÉÒÔÔÚ²åÈë»òÕ߸üеÄʱºòµ÷Óã¬Ï൱ÓÚÊÇÒ»¸öÉú³ÉÆ÷
´´½¨Óï·¨£º
create sequence myse
increment by 1       --Ôö³¤¶È
start with
1         --´ÓÄÄÀïÔö¼Ó£¬¾ÍÊÇ˵ÏÂÒ»¸ö»ñÈ¡µÄÖµ´ÓÕâ¸öÖµ ......

¸¶Ê×ê¿ ORACLE 10 ѧϰ±Ê¼Ç µÚ3¿Î ÃüÁî¡£

ORACLE 10 ѧϰ±Ê¼Ç-µÚ3¿Î-ÃüÁî¡£
1.view ÏÞÖÆ
create or replace view my_view01
as select * from emp
with check option
/
2.synonym ͬÒå´Ê
create synonym dept for scott.dept;
select * from dept;
3.sysdba ¹«¹²
drop synonym dept;
create public synonym dept for scott.dept;
desc dba_synonyms
......

ÍƼöѧϰOracleµÄºÃÊé

    ¸Õ¿ªÊ¼Ñ§Ï°Orace£¬Óöµ½Ò»Ð©·Ç³£ºÃµÄÊ飬ÔÚÏÂÃæÁгö£¬Ëæ×ÅѧϰµÄÉîÈë»á°ÑÓöµ½µÄºÃÊ鶼ÁгöÀ´£¬¹©Ñ§Ï°OracleµÄÅóÓѲο¼£¬
Ò²»¶Ó­¸÷λÅóÓѲ¹³ä£º
»ù´¡£º
      1. ORACLE DBA»ù´¡Åàѵ½Ì³Ì      ºÎÃ÷Öø            Ç廪´óѧ³ö°æÉç
&n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ