linuxÏÂdataguardʹÓÃrman±¸·Ý
oracle dataguardÊÇÖ¸Ò»ÖÖÊý¾Ý¿â¼¶±ðµÄHA·½°¸£¬×îÖ÷ÒªµÄ¹¦ÄÜÊÇÈÝÔÖ£¬Êý¾Ý±£»¤£¬¹ÊÕϻָ´µÈ
ÔÚÉú²úÊý¾Ý¿âµÄÊÂÎñÒ»ÖÂÐÔʱ£¬Ê¹ÓòúÉúµÄÎïÀíÈ«±¸·Ý´´½¨±¸¿â£¬±¸¿âͨ¹ý´«Êä¹ýÀ´µÄ¹éµµÈÕÖ¾×Ô¶¯Î¬»¤±¸ÓÃÊý¾Ý¿â
½«ÖØ×öµÄÊý¾ÝÓ¦Óõ½±¸ÓÿâÉÏ¡£
1£¬Ç°Ì᣺
primary£º192.168.18.1;
oracle_SID:db1
db_unique_name=db1
standby: 192.168.18.2
oracle_sid:standby
db_unique_name=standby
Ö÷Êý¾Ý¿âµÄ×¼±¸
1£¬ÉèÖÃÖ÷Êý¾Ý¿âµÄforce logging
alter database force logging;
2,£¬´´½¨ÃÜÂëÎļþ
cd $ORACLE_HOME/DBS/ orapwdfile=orapwdb1 password=123 force=yes
3,ÐÞ¸ÄÖ÷¿âµÄ³õʼ»¯²ÎÊý
alter system set log_archive_config='dg_config=(db1,standby)' scope=both;
alter system set log_archive_dest1='location=/../db1/arch/ scope=both;
alter system db_unique_name='db1' scope=both;
4,Éú³ÉÊý¾Ý¿â±¸·Ý£¬
conn target sys/123
backup database format='/oracle/rmanback/%d_%s.dbf' plus archivelog;
5£¬Éú³É±¸¿âµÄcontrol file
alter database create standby controlfile as '/../oracle/rmanback/ctontrol01.ctl';
6,ÅäÖÃlistener.ora ºÍtnsname.oraÎļþ
Æô¶¯listener.ora
lsnrctl status
ÅäÖÃtnsname.ora
vi $ORACLE_HOME/network/admin/tnsname.ora
db1 =(DESCRIPTION =(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.18.1)(PORT = 1521)))
(CONNECT_DATA = (SERVICE_NAME = db1)
standby =(DESCRIPTION =(ADDRESS_LIST =
(ADDRESS=(PROTOCOL = TCP)(HOST = 192.168.18.2)(PORT = 1521)))
(CONNECT_DATA =(SERVICE_NAME = standby)))
ÅäÖÃstandby database
1,ÉèÖû·¾³±äÁ¿£¬²¢ÇÒ°²×°oracleÈí¼þ
»·¾³±äÁ¿ºÍÖ÷¿âÊÇÒ»ÑùµÄ
Ö»ÐèÒª°²×°Èí¼þ£¬²»ÐèÒª°²×°Êý¾
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
¼üÅÌÔÚËùÓеÄÇý¶¯Ö®ÖÐ×îΪ¼òµ¥µÄÒ»ÖÖ£¬µ«ËüÈ´°üº¬ÁËÇý¶¯µÄ»ù±¾¿ò¼Ü£¬¶ÔÒÔºó¼ÌÐøÉîÈëѧϰÆäËû¸´ÔÓµÄÇý¶¯´óÓÐñÔÒ棬ÒÔϱãΪÄãÖð²½ÆÊÎöÇý¶¯µÄ¿ª·¢¡£²ÉÓõÄÊDzéѯ·½Ê½¡£×ªÔØÇë×¢Ã÷³ö´¦£ºqiangren.blog.edu.cn
Ò».ÄÚºËÄ£¿éµÄ×¢²áºÍ³·Ïú
ÔÚ¼ÓÔØÄ£¿éµÄʱºò£¬Ê×ÏÈÔËÐеÄÊÇÄÚºËÄ£¿éµÄ×¢²áº¯Êý¡£ËüµÄ¹¦ÄÜ°üÀ¨ÄÚºË×¢²áÉ豸ÒÔ ......
ÒÔÇ°GodaddyµÄLinuxµÄÖ÷»úÊDz»ÄÜ¿ªÍ¨SSHµÄ£¬Ö»ÓÐVDS¡¢VPS¡¢¶ÀÁ¢Ö÷»ú¿ÉÒÔ¿ªÍ¨£¬Ç°¼¸ÌìÔÚºǫ́ÉÏ¿´µ½ÓÐÁËSSHÕâ¸ö¹¦ÄÜ£¬²»¹ýÐèҪɾ³ýËùÓеÄÊý¾Ý¿â£¬²Å¿ÉÒÔ½øÐпªÍ¨µÄ²½Ö衣ǿÁÒ½¨Ò鱸·ÝÊý¾Ý¿â¼°ÍøÕ¾£¡£¡
ɾ³ýÊý¾Ý¿â¾Í²»ÓÃ˵ÁË¡«ºÜ¼òµ¥¡£
²½Ö裺½øÈë¿Õ¼ä¹ÜÀíÃæ°å£¬Ñ¡ÔñSettingsÑ¡ÏϵÄSSHÑ¡ÏÈçÏÂͼ£º
godaddyssh-thumb. ......
sambaʵÏÖubuntu¸úwindowsÎļþ¹²Ïí
Ò»£® Samba ¼ò½é
Samba£¨SMBÊÇÆäËõд£© ÊÇÒ»¸öÍøÂç·þÎñÆ÷£¬ÓÃÓÚLinuxºÍWindows¹²ÏíÎļþÖ®Óã»Samba ¼´¿ÉÒÔÓÃÓÚWindowsºÍLinuxÖ®¼äµÄ¹²ÏíÎļþ£¬Ò²Ò»ÑùÓÃÓÚLinuxºÍLinuxÖ®¼äµÄ¹²ÏíÎļþ£»²»¹ý¶ÔÓÚLinuxºÍLinuxÖ®¼ä¹²ÏíÎļþÓиüºÃµÄÍøÂçÎļþϵͳNFS£¬NFSÒ²ÊÇÐèÒª¼ÜÉè·þÎñÆ÷µÄ£»
´ó¼ÒÖª ......
ÔÌû£ºhttp://www.sudu.cn/info/html/edu/20070101/286290.html
¼ò¶øÑÔÖ®,²úÉú¶Î´íÎó¾ÍÊÇ·ÃÎÊÁË´íÎóµÄÄÚ´æ¶Î£¬Ò»°ãÊÇÄãûÓÐȨÏÞ£¬»ò¸ù±¾¾Í²»´æÔÚ¶ÔÓ¦µÄÎïÀíÄÚ´æ,ÓÈÆä³£¼ûµÄÊÇ·ÃÎÊ0µØÖ·.
Ò»
°ãÀ´Ëµ,¶Î´íÎó¾ÍÊÇÖ¸·ÃÎʵÄÄڴ泬³öÁËϵͳËù¸øÕâ¸ö³ÌʽµÄÄÚ´æ¿Õ¼ä£¬Í¨³£Õâ¸öÖµÊÇÓÉgdtrÀ´±£´æµÄ£¬ËûÊǸö48λµÄ¼Ä´æÆ ......