国产男女无遮挡_日本在线播放一区_国产精品黄页免费高清在线观看_国产精品爽爽爽

  • 熱門標簽

當前位置: 主頁 > 航空資料 > 國外資料 >

時間:2010-08-19 10:44來源:藍天飛行翻譯 作者:admin
曝光臺 注意防騙 網曝天貓店富美金盛家居專營店坑蒙拐騙欺詐消費者

Configure Oracle Net Service for External Procedures
An external procedure is a procedure called from another program, but written in a
different language. In this example it is a PL/SQL program calling one or more C
programs that are required for complete client notification. In order to properly
Fast-Start Failover – Oracle Data Guard 10g Release 2 Page 19
call external programs via a trigger, external procedures must be configured within
the Oracle Net components in addition to database libraries and wrapper scripts.
1. On all primary hosts and standby hosts setup network files to make use of
external procedures. An example of the changes needed to be made on each host
are:
listener.ora:
LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =
halinux03)(PORT = 1521))
(ADDRESS= (PROTOCOL= IPC)(KEY=external)))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(global_dbname=STELLA_DGMGRL)
(SID_NAME = STELLA1))
(SID_DESC =
(SID_NAME = external)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(PROGRAM = /u01/app/oracle/product/10.2.0
/bin/extproc)))
tnsnames.ora:
extproc_connection_data =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = external))
(CONNECT_DATA = (SID = external)(SERVER=
DEDICATED)))
For further information reference the Oracle® Database Net Services
Administrator's Guide Chapter 13 [6].
2. In order to facilitate calling external programs from a database trigger create a
file called shell.c with the following contents:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void sh(char *);
void sh( char *cmd )
{
Fast-Start Failover – Oracle Data Guard 10g Release 2 Page 20
int num;
num = system(cmd);
}
3. Compile the above program with the following command:
$ make -f demo_rdbms.mk extproc_nocallback \
SHARED_LIBNAME=shell.so OBJS=shell.o
4. Move the resulting .so file to $ORACLE_HOME/bin on both the primary and
standby hosts. Note that so file must be in the same location all primary hosts as
well as the standby host.
5. Create a library on the primary database.
SQL> create library shell_lib is
'/u01/app/oracle/product/10.2.0/bin/shell.so';
6. Create a wrapper pl/sql procedure on the primary database:
SQL> create or replace procedure shell(cmd IN char)
as external
name "sh"
library shell_lib
language C
parameters (cmd string);
/
Create necessary support files for LDAP modification
In this example clients connect to the primary database using a service that is only
available on the primary database and which is resolved via LDAP directory
naming. When a failover occurs and the standby becomes the new primary then
the primary specific service in the LDAP directory must be altered to point the
new primary host. This can be accomplished via the ldapmodify command which
will be included in the DB_ROLE_CHANGE trigger in a later step.
The ldif file should reside in the same directory structure on all hosts. In addition,
the value for the host= parameter must the hostname of the current host or if
RAC it must be the value of each primary node VIP addresses. For example:
dn: cn=sales,cn=OracleContext,dc=netfl-labsun1,dc=com
changetype: modify
replace: orclNetDescString
orclNetDescString:
Fast-Start Failover – Oracle Data Guard 10g Release 2 Page 21
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=
halinux03vip)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=ha
linux04vip)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=sale
s)))
The ldapmodify that will be called from the DB_ROLE_CHANGE trigger will be:
ldapmodify -D "cn=orcladmin" -w welcome1 -h netfllabsun1
-p 3061 -v –f /u01/app/oracle/product/10.2.0/
change.ldif
Define a middle tier / application restart script
As noted earlier, in a complete primary site outage it is likely FAN ONS clients (as
well as non FAN ONS JDBC clients), such as middle tier applications, will not be
notified of the primary site failure. In order to break the FAN ONS clients out of
the TCP timeout a script is defined which will remotely login to the middle tier
hosts and restart the middle tier processes or client application. In this example
the script that is created is called “restart_app”. Such a script will vary depending
upon environment and requirements. A representative example of the logic
implemented by such a script is as follows:
----------------------------------------------------------------------
 
中國航空網 www.k6050.com
航空翻譯 www.aviation.cn
本文鏈接地址:航空資料22(61)
国产男女无遮挡_日本在线播放一区_国产精品黄页免费高清在线观看_国产精品爽爽爽
亚洲成人一区二区三区| 欧美日韩成人精品| 久久夜色撩人精品| 欧美在线视频免费| 国产成人亚洲综合青青| 亚洲欧美综合一区| www国产无套内射com| 久久伊人精品视频| 人人妻人人澡人人爽欧美一区双| 97久久天天综合色天天综合色hd| 制服诱惑一区| 国产精品尤物福利片在线观看| 国产精品第8页| 国产区一区二区三区| 久久天天躁夜夜躁狠狠躁2022| 激情五月亚洲色图| 国产精品视频在线播放| 欧美日韩国产高清视频| 国产成人精品综合| 欧美成人第一区| 国产精品美女xx| 国产中文字幕亚洲| 精品蜜桃传媒| 精品视频一区二区三区四区| 欧美大肥婆大肥bbbbb| 国产青春久久久国产毛片| 欧美精品999| 91免费视频网站在线观看| 婷婷亚洲婷婷综合色香五月| 国产成人成网站在线播放青青| 日韩人妻精品无码一区二区三区 | 人人妻人人做人人爽| 国产精品无码av无码| 精品无人区一区二区三区| 久久99久久99精品中文字幕| 国产免费色视频| 中文字幕一区二区三区四区五区| 91精品视频大全| 三级三级久久三级久久18| 久久成人免费观看| 激情五月综合色婷婷一区二区| 国产精品久久久久7777| 国产伦精品一区二区三区视频免费 | 国内精品一区二区| 欧美精品久久久久久久免费观看| 91黄在线观看| 日韩欧美视频第二区| 国产精品免费一区豆花| 国产女主播av| 天天成人综合网| 久久九九亚洲综合 | 国产亚洲情侣一区二区无| 亚洲三区在线观看| 爽爽爽爽爽爽爽成人免费观看| 欧美日韩亚洲一区二区三区在线观看| 麻豆国产va免费精品高清在线| 91久久精品美女| 欧美激情精品久久久久久小说| 久久艳片www.17c.com| 97人人爽人人喊人人模波多| 日韩女优中文字幕| 精品久久蜜桃| 久久久久中文字幕2018| 蜜桃视频日韩| 欧美一区二区高清在线观看| 久久中文久久字幕| 久久免费视频这里只有精品| 免费特级黄色片| 欧美一区二区色| 国产精品高潮呻吟视频| 116极品美女午夜一级| 黄色三级中文字幕| 欧美一级片中文字幕| 国产精品美女呻吟| 久久久久99精品成人片| 国产一区深夜福利| 日韩中字在线观看| 久99久在线视频| 国产成人手机视频| 77777亚洲午夜久久多人| 国产一区二区不卡视频在线观看| 日本特级黄色大片| 一区二区精品在线观看| 久久精品一区中文字幕| 91精品国产91久久久久| 国产一区视频在线| 欧美中文字幕在线播放| 亚洲欧美99| 国产精品二区三区| 日韩最新av在线| 久久婷婷人人澡人人喊人人爽| 国产日韩亚洲欧美| 欧美精品99久久| 日本免费不卡一区二区| 亚洲人体一区| 国产99视频精品免费视频36| 国产精品免费入口| y97精品国产97久久久久久| 久久亚洲国产精品日日av夜夜| 国产精品一区久久| 精品视频在线观看一区| 欧美日韩国产三区| 日本不卡高字幕在线2019| 亚洲一区二区三区色| 欧美成人四级hd版| 国产精品日韩专区| 久久综合伊人77777蜜臀| 久久久精品动漫| 91九色对白| 99久久自偷自偷国产精品不卡| 国产欧美精品一区二区三区| 国产在线久久久| 蜜桃视频在线观看91| 黄色片一级视频| 韩国v欧美v日本v亚洲| 欧美日韩国产综合在线| 欧美在线播放cccc| 欧美一区观看| 欧美午夜性视频| 欧美中日韩一区二区三区| 青青在线视频免费| 欧美少妇一级片| 免费在线观看的毛片| 黄色一级一级片| 国产综合久久久久| 国产欧美一区二区三区久久 | 秋霞成人午夜鲁丝一区二区三区| 日本a在线天堂| 欧美亚洲国产精品| 欧美日韩一区二区三区免费| 欧美最猛性xxxxx亚洲精品| 热re99久久精品国99热蜜月| 欧美牲交a欧美牲交aⅴ免费真| 欧美精品国产精品久久久| 国内精品视频一区| 国产欧美日韩专区发布| 成人亚洲综合色就1024| 99精品视频网站| 久久日韩精品| 日韩在线观看成人| 国产精品美女诱惑| 精品九九九九| 亚洲欧洲一二三| 日韩精品久久一区二区三区| 欧美亚洲成人精品| 国内精品久久久久影院优| 国产欧美精品xxxx另类| 久久久一二三四| 国产精品日韩专区| 一区二区在线观看网站| 日本精品中文字幕| 韩国视频理论视频久久| 国产精品香蕉国产| 久久人91精品久久久久久不卡| 精品国产一区久久久| 免费不卡欧美自拍视频| 欧美一区二区激情| 精品日本一区二区| 成人免费91在线看| 国产不卡av在线免费观看| 国产成人精品一区二区三区| 精品不卡在线| 日韩av在线一区二区三区| 欧美国产视频一区| 99在线观看视频网站| 久久久久久九九九九| 久久777国产线看观看精品| 视频一区视频二区视频| 精品日本一区二区| 91免费福利视频| 国产精品久久久久久久久久99| 亚洲欧美日韩精品综合在线观看| 欧美主播一区二区三区美女 久久精品人 | 久久久久久久有限公司| 精品国产一区三区| 日韩av高清| 国产精品中文字幕在线| 日韩视频在线免费| 亚洲免费视频播放| 蜜桃传媒视频第一区入口在线看| 91九色国产社区在线观看| 国产精品美女午夜av| 少妇久久久久久被弄到高潮| 麻豆91蜜桃| 九色91在线视频| 亚洲午夜精品一区二区| 国内精品久久久久久久久| 国产精品1区2区在线观看| 国产精品久久久久久久久电影网 | 精品国产一区二区三区麻豆免费观看完整版 | 97成人在线免费视频| 国产精品久久久久免费| 欧美一级片在线播放| 国产精选久久久久久| 国产精品日日做人人爱| 日本久久中文字幕| 91精品国产一区| 欧美日韩不卡合集视频| 欧美凹凸一区二区三区视频| 久久久久久综合网天天|