ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿
ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿
ÎÒµÄORACLE RAC INSTALL for LINUX 10.2Ñо¿
1¡¢´´½¨ÐéÄâ»ú
DB1ÐéÄâ»úÎļþĿ¼ g:\vmtest1 Îļþ´óС8G ÄÚ´æ944M£¨ÔÁÂÎÒÖ»ÓÐ2GRAM)
DB2ÐéÄâ»úÎļþĿ¼ E:\vmtest2 Îļþ´óС8G ÄÚ´æ944M
ÔÚDB1ÉÏ´´½¨¹²Ïí´ÅÅÌ£¬
E:\SHARE Îļþ´óС8G
DB2Ò²´´½¨´ÅÅÌ£¬Ñ¡ÔñDB1µÄ´ÅÅÌÎļþ
ÔÚÁ½¸ö½ÚµãµÄvmxÎļþ¼ÓÈëÏÂÃæµÄÐÐ
disk.locking = "false"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.DataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"
2¡¢°²×°²Ù×÷ϵͳ£¬RED HAT 4 AS UPDATA 5 ¹ý³ÌÂÔ
3¡¢°²×°ocfs
Èç¹ûʹÓÃASM¹ÜÀíoracle clusterÎļþ´æ´¢£¬²»ÐèÒªOCFS£¬ÔÚÐéÄâ»úÉÏ¿ÉÒÔ°´Êµ¼ÊÇé¿ö¿¼ÂÇ
REDHAT 4 UPDATA 1ÒÔºóµÄ°æ±¾ÐèÒªOCSF2,¿ÉÒÔÈ¥ÕâÀïÏÂhttp://oss.oracle.com/projects/ocfs2/£¬×¢ÒâÄں˰汾ºÅ²»Òª¸ã´íÁË¡£
Linux db-1 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 athlon i386 GNU/Linux
ÐèÒªÏÈ°²×°OSF2-toolsһϵÁаüºÍocfs2console
ÍøÂçÉý¼¶°²×°
# up2date --install ocfs2-tools ocfs2console
4¡¢CVU ¹¤¾ß Cluster Verification Utility ¿ÉÒÔУÑéORACLE CLUSTERµÄÐèÇ󣬽¨ÒéÏÈ×°ÉÏ£¬ºóÃæ»á·¢ÏÖ¸ÃÍæÒâ¿ÉÒÔ½â¾öÎÞÊýÎÊÌâ
ÎļþλÖà /mountpoint/crs/Disk1/cluvfy/
./runcluvfy.sh
5¡¢Ìí¼Ó±ØÒªµÄÓû§×飬Óû§£¬Ã¿¸ö½Úµã¶¼×öÒ»´Î£¬Ã¿¸ö½ÚµãIDºÅÒªÒ»ÖÂ
/usr/sbin/groupadd -g 200 oinstall
# /usr/sbin/groupadd -g 201 dba
# /usr/sbin/groupadd -g 202 oper
È·ÈÏ£º
id nobody
id oracle
/usr/sbin/useradd -u 200 -g oinstall -G dba[,oper] oracle
/usr/sbin/useradd nobody
6¡¢ÅäÖø÷¸ö½ÚµãµÄSSHÐÅÈÎ
Configuring SSH on All Cluster Nodes
ÒÔORACLEÉí·ÝµÇ½ij¸ö½Úµã
$ mkdir ~/.ssh
$ chmod 700 ~/.ssh
$ chmod 70
Éú³ÉRSA KEY
$/usr/bin/ssh-keygen -t rsa
Éú³ÉDSA KEY
$/usr/bin/ssh-keygen -t dsa
ÿ¸ö½Úµã¶¼×öÒ»´ÎÉú³ÉÐÅÈÎKEY
Éú³ÉÈÏÖ¤KEY
[oracle@node1 .ssh]$ ssh node1 cat /home/oracle/.ssh/id_rsa.pub >> authorized_keys
oracle@node1's password:
[oracle@node1 .ssh]$ ssh node1 cat /home/oracle/.ssh/id_dsa.pub >> authorized_keys
[oracle@node1 .ssh$ ssh node2 cat /home/oracle/.ssh/
Ïà¹ØÎĵµ£º
ÔÚpl/sqlʱ¾³£»áÅöµ½½«Ä³Ð©Ìض¨µÄ·ûºÅת»»³ÉÐÐ,Õ⹦ÄÜÏ൱ÓÚsplit.ÒÔÇ°ÔÚÍøÉÏÊÕ¼¯µÄsplitº¯ÊýÈçÏÂ:
CREATE OR REPLACE TYPE DJ_STR_SPLIT IS TABLE OF VARCHAR2 (4000);
CREATE OR REPLACE PACKAGE Dj_Function_API IS
module_ CONSTANT VARCHAR2(25) := 'FNDBAS';
lu_name_ CONSTANT VARCHAR2(25) := 'DjFuncti ......
ÊÕ²ØÓÚhttp://dev.yesky.com/296/8090796.shtml
OracleÊý¾Ý¿â
ÖйÜÀí±í¿Õ¼äºÍÊý¾ÝÎļþ
Êý¾Ý¿âµÄÈý´ó×é³É²¿·Ö:Êý¾ÝÎļþ£¬¿ØÖÆÎļþ£¬RedoÈÕÖ¾¡£
±í¿Õ¼ä·ÖΪϵͳ±í¿Õ¼äºÍ·Çϵͳ±í¿Õ¼ä¡£
SYSTEM±í¿Õ¼äÊÇ×î»ù±¾µÄ£¬±ØÐëµÄ£¬Oracle½¨ÒéÄãΪÓû§Êý¾Ý£¬Óû§Ë÷Òý£¬UndoÊý¾Ý¶Î£¬ÁÙʱÊý¾Ý¶Î´´½¨µ¥¶ÀµÄ±í¿Õ¼ä ......
ÔÚʵ¼Ê¹¤×÷ÖУ¬¾³£Òª´ÓÊý¾Ý¿âÖе¼³öÊý¾Ý»òÍùÊý¾Ý¿âÖе¼ÈëÊý¾Ý¡£µ±Óöµ½Êý¾ÝÁ¿½Ï´óʱ£¬¾ÍÐèÒªµ¼ÈëÎı¾¸ñʽµÄÊý¾Ý£¬Ò»°ãµ¼ÈëµÄÊý¾Ý¸ñʽÓÐtxt£¬csvµÈ¡£ÒÔÏÂÖ÷Òª½éÉÜÎÒÔÚʵ¼Ê¹¤×÷ÖÐÏòoracleÖе¼ÈëÊý¾ÝµÄÁ½¸öʵÀý¡£
1.ʹÓÃPL/SQL DeveloperµÄText Importer
£¨1£©´Ó²Ëµ¥ÖÐÑ¡È¡Text Importer¹¦ÄÜ¡£
Tool&mda ......
from: ¡¶×Ô¼º¶¯ÊÖд²Ù×÷ϵͳ¡·
1. ÖжÏÏòÁ¿±í ²é¿´ linux/init/main.c in http://lxr.linux.no/#linux+v2.6.32/init/main.c
2.
; [root@XXX XXX]# nasm -f elf foo.asm -o foo.o
; [root@XXX XXX]# gcc -c bar.c -o bar.o
; [root@XXX XXX]# ld -s foo.o bar.o -o foobar
; [root@XXX XXX]# ./foobar
; the 2nd on ......
֮ǰ·¢¹ýһƪÔÚWindowsÏ°²×°TracµÄ·½·¨£¬²»¹ýTrac¸ü¶àµÄÊÇÔÚLinuxÏÂʹÓã¬
ËùÒÔÕâÀï½éÉÜÒ»ÏÂÔÚLinuxϵݲװ·½·¨¡£Ê±¹ý¾³Ç¨£¬TracÏÖÔÚÒÑÕýʽ·¢²¼ÁË0.11°æ£¬
Óë֮ǰµÄ0.9¡¢0.10Ïà±È£¬Õâ¸ö°æ±¾µÄ´úÂëä¯ÀÀÆ÷Ôö¼ÓÁËÐí¶à¹¦ÄÜ£¬
×îºÃÓõľÍÊÇËüÖ§³ÖsubversionµÄBlameÁË£¬¿ÉÒԲ鿴µ½Ô´´úÂëµÄÿһÐÐÊÇÔÚÄĸö°æ±¾ÓÉËÐ޸ĵġ£
Õ ......