返回顶部
首页 > 资讯 > 数据库 >oracle traffic director安装
  • 404
分享到

oracle traffic director安装

2024-04-02 19:04:59 404人浏览 独家记忆
摘要

网络拓扑otdadmin 192.168.3.101node1 192.168.3.201node2 192.168.3.202     virtual ip 192.168.3.200

网络拓扑

otdadmin 192.168.3.101

node1 192.168.3.201

node2 192.168.3.202     virtual ip 192.168.3.200

系统版本;

olinux6.4 

关闭防火墙 chkconfig iptables off

service iptables stop

关闭selinux

vim /etc/selinux/config

selinux=disabled

init 6


配置dns

vim /etc/hosts

192.168.3.101  otdadmin 

192.168.3.201  node1

192.168.3.202  node2 


创建用户和组

groupadd -g 501 oinstall

useradd -g oinstall -u 501 WEBlogic


创建目录

mkdir -p /u01/install 

chwon -R weblogic:oinstall /u01 


配置本地yum源,安装依赖的软件包

mount -r /dev/sr0 /mnt 

cd /mnt/Packages

rpm -ivh createrepo-0.9.9-17.el6.noarch.rpm 

rpm -ivh vsftpd-2.2.2-11.el6.x86_64.rpm

mkdir -p /var/ftp/pub 

cp -Rv /mnt/Packages /var/ftp/pub/

createrepo  -g /mnt/repodata/0be33010a8f4a5dba47c01ff076d0496a4769183f38408ed129d8aaa5f5892e8-comps-rhel6-Server.xml /var/ftp/pub/Packages/

cd /etc/yum.repos.d/ 

vi local.repo 

[myyum]

name=olinux Myyum

baseurl=ftp://192.168.3.202/pub/Packages/

enabled=1

gpGCheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle


删除原来的yum源配置文件

service vsftpd restart


[root@node1 Server]#yum install kernel-devel* compat-libcap* openssl-devel* compat-libstdc++* krb5-devel* libstdc++* zlib-devel* glibc* e2fsprogs-devel* libaio-devel* keyutils-libs-devel* libselinux-devel* libsepol-devel* gcc-c++* elfutils-libelf-devel* -y 


Keepalived安装(root)

tar -xzvf *.tar.gz

./configure --prefix=/usr --sysconfdir=/etc

make

make install


[root@node1 ~]# vim /etc/keepalived/keepalived.conf

! Configuration File for keepalived


global_defs {

   notification_email {

     acassen@firewall.loc

     failover@firewall.loc

     sysadmin@firewall.loc

   }

   notification_email_from Alexandre.Cassen@firewall.loc

   smtp_server 192.168.200.1

   smtp_connect_timeout 30

   router_id LVS_DEVEL

}


vrrp_instance VI_1 {

    state MASTER

    interface eth3

    virtual_router_id 51

    priority 90

    advert_int 1

    authentication {

        auth_type PASS

        auth_pass 1111

    }

    virtual_ipaddress {

        192.168.3.200

    }

}

[root@node1 ~]# ln -s /etc/rc.d/init.d/keepalived /etc/rc2.d/S99keepalived  开机自启动

[root@node1 ~]# /etc/rc.d/init.d/keepalived start  启动服务


[root@node2 keepalived-1.2.19]# ln -s /etc/rc.d/init.d/keepalived /etc/rc2.d/S99keepalived  开机启动

[root@node2 keepalived-1.2.19]# vim /etc/keepalived/keepalived.conf

! Configuration File for keepalived


global_defs {

   notification_email {

     acassen@firewall.loc

     failover@firewall.loc

     sysadmin@firewall.loc

   }

   notification_email_from Alexandre.Cassen@firewall.loc

   smtp_server 192.168.200.1

   smtp_connect_timeout 30

   router_id LVS_DEVEL

}


vrrp_instance VI_1 {

    state BACKUP

    interface eth3

    virtual_router_id 51

    priority 100

    advert_int 1

    authentication {

        auth_type PASS

        auth_pass 1111

    }

    virtual_ipaddress {

192.168.3.200

    }

}

[root@node2 keepalived-1.2.19]# service keepalived status

keepalived is stopped

[root@node2 keepalived-1.2.19]# /etc/rc.d/init.d/keepalived start

Starting keepalived:                                       [  OK  ]

[root@node2 keepalived-1.2.19]# ip a   查看虚地址是否生效。

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

    inet6 ::1/128 scope host 

       valid_lft forever preferred_lft forever

2: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000

    link/ether 00:50:56:ae:05:54 brd ff:ff:ff:ff:ff:ff

    inet 192.168.3.202/24 brd 192.168.3.255 scope global eth3

    inet 192.168.3.200/32 scope global eth3

    inet6 fe80::250:56ff:feae:554/64 scope link 

       valid_lft forever preferred_lft forever

  

  

注意:node1的keepalived.conf配置vrrp实例状态为master,优先级90,node2的keepalived.conf配置vrrp实例状态为backup,优先级为100(默认).


otd安装(weblogic)

cd /u01/install

unzip otd的压缩包

cd /Disk1

./runInstaller

提示以root身份创建清单目录,copy脚本执行即可。

[root@node2 ~]# /home/weblogic/oraInventory/createCentralInventory.sh

Setting the inventory to /home/otdnode/oraInventory

Setting the group name to oinstall

Creating the Oracle inventory pointer file (/etc/oraInst.loc)

Changing permissions of /home/otdnode/oraInventory to 770.

Changing groupname of /home/otdnode/oraInventory to oinstall.

The execution of the script is complete


然后一路默认即可


otdadmin管理主机创建实例:

/home/weblogic/oracle/product/11.1.1.7.0/trafficdirector_Home_1/bin/tadm configure-server --port=8989 --user=admin --instance-home=/home/weblogic/adminstance

[root@otdadmin bin]# /home/weblogic/oracle/product/11.1.1.7.0/trafficdirector_Home_1/bin/tadm configure-server --port=8989 --user=admin --instance-home=/home/weblogic/adminstanc

This command will create the administration server. The passWord that is provided will be required to access the administration server.

Enter admin-user-password>

Enter admin-user-password again>

OTD-70214 The administration server has been configured successfully.

The server can be started by executing: /home/weblogic/adminstanc/admin-server/bin/startserv

The Administration Console can be accessed at https://otdadmin:8989 using user name 'admin'.

You have mail in /var/spool/mail/root

启动管理主机实例

[root@otdadmin bin]# /home/weblogic/adminstanc/admin-server/bin/startserv

Oracle Traffic Director 11.1.1.7.0 B01/14/2013 04:13

[NOTIFICATION:1] [OTD-10333] daemon is running as super-user

[NOTIFICATION:1] [OTD-80118] Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.6.0_35] from [Sun Microsystems Inc.]

[NOTIFICATION:1] [OTD-80000] Loading web module in virtual server [admin-server] at [/admin]

[NOTIFICATION:1] [OTD-80000] Loading web module in virtual server [admin-server] at [/jmxconnector]

[NOTIFICATION:1] [OTD-10358] admin-ssl-port: Https://otdadmin:8989 ready to accept requests

[NOTIFICATION:1] [OTD-10487] successful server startup


创建节点node1的实例(在管理中西注册)

/home/weblogic/oracle/product/11.1.1.7.0/trafficdirector_Home_1/bin/tadm configure-server --user=admin --port=8989 --host=192.168.3.101 --admin-node --node-port=8990 --instance-home=/home/weblogic/otdagent


[root@node1 keepalived-1.2.19]# /home/weblogic/oracle/product/11.1.1.7.0/trafficdirector_Home_1/bin/tadm configure-server --user=admin --port=8989 --host=192.168.3.101 --admin-node --node-port=8990 --instance-home=/home/weblogic/otdagent

This command will create an administration node and reGISter it with the remote administration server: https://192.168.3.101:8989.

Enter admin-user-password>

[

[

  Version: V3

  Subject: CN=otdadmin

  Signature AlGorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11


  Key:  Sun RSA public key, 2048 bits

  modulus: 27970370086129820713278148979204398704024188657021587582583970629179527942629390322422765675015647635715303734018198812156090528577387168834943398019258340709908905238035168371262141775626654885278564964907192263703894897979531092209827117540683436433063127666236282727217111216111100384604378280616425273841922007807079003229080198150819204704517915422390637846687330664627112755271697500495271063463897969560737312877462308761396766479974486404294082913069488602965784939030070873706316467364581865753847348539692990673704006850905917377433827307078237371280074915575283302384394304362842188191638091672222288546217

  public exponent: 65537

  Validity: [From: Mon Jul 27 20:59:50 CST 2015,

               To: Wed Jul 27 20:59:50 CST 2016]

  Issuer: CN=admin-ca-cert, OU=Oracle Traffic Director 11.1.1.7, O=Oracle Corporation

  SerialNumber: [    5889153e 58d91fff]


Certificate Extensions: 2

[1]: ObjectId: 2.5.29.37 Criticality=true

ExtendedKeyUsages [

  serverAuth

]


[2]: ObjectId: 2.5.29.15 Criticality=true

KeyUsage [

  Key_Encipherment

  Key_Agreement

]


]

  Algorithm: [SHA256withRSA]

  Signature:

0000: 0A E6 A1 70 72 92 DD C2   A0 B8 CB 36 C8 8E 4F 5A  ...pr......6..OZ

0010: AE CC 1B C5 F4 13 E0 8E   BD 86 F5 04 0C 97 5D 3B  ..............];

0020: 7E D1 1B A2 5B D8 31 7F   C9 14 0A F3 08 AC DF 24  ....[.1........$

0030: 2C 16 18 48 3C E3 06 7E   76 28 B8 6D 3A BB 1C C8  ,..H<...v(.m:...

0040: 1D F8 0D A9 ED 1A C2 9C   87 5A 10 A4 B1 F6 08 40  .........Z.....@

0050: C8 63 AB 39 A8 0B 5C 3F   01 BC 97 81 21 0C 3C D9  .c.9..\?....!.<.

0060: 16 2D 53 0E 18 C7 BB D4   85 DB E4 87 5A 3E EB 9B  .-S.........Z>..

0070: 27 0E 9E A0 2A EA D1 A5   4F 86 DF 2E D8 EC 19 5C  '...*...O......\

0080: 99 2B 4E 53 EB 14 8B 7E   68 C2 41 E7 51 8D BC 1E  .+NS....h.A.Q...

0090: F6 83 4A 3E 03 D4 C9 42   5B 90 34 7C F7 02 CE 05  ..J>...B[.4.....

00A0: 46 18 80 82 87 43 1C 9F   1C 64 66 C9 CC FF 7E 71  F....C...df....q

00B0: 43 B2 FD F3 8F 60 41 DB   D0 E5 5C E6 68 56 D0 05  C....`A...\.hV..

00C0: A4 8F F2 21 97 21 BD C6   39 9E 26 BC 34 EC 61 EA  ...!.!..9.&.4.a.

00D0: 3A 82 D9 5E B5 CA 04 B8   95 0F 7D F0 AB 91 42 4F  :..^..........BO

00E0: BC 4C 6D 1B D1 ED F9 42   17 00 FD B8 C5 12 27 A2  .Lm....B......'.

00F0: 69 4F E8 C7 83 07 D7 1D   59 2C 8F 7D 5C A4 06 1B  iO......Y,..\...


]

Do you trust the above certificate [y|n] -->y

OTD-70215 The administration node has been configured successfully.

The node can be started by executing: /home/weblogic/otdagent/admin-server/bin/startserv


启动node1实例

[root@node1 home]# /home/weblogic/otdagent/admin-server/bin/startserv

Oracle Traffic Director 11.1.1.7.0 B01/14/2013 04:13

[NOTIFICATION:1] [OTD-10333] daemon is running as super-user

[NOTIFICATION:1] [OTD-80118] Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.6.0_35] from [Sun Microsystems Inc.]

[NOTIFICATION:1] [OTD-80000] Loading web module in virtual server [admin-server] at [/jmxconnector]

[NOTIFICATION:1] [OTD-10358] admin-ssl-port: https://node1:8990 ready to accept requests

[NOTIFICATION:1] [OTD-10487] successful server startup



创建节点nod2的实例(在管理中西注册)

[root@node2 ~]# /home/weblogic/oracle/product/11.1.1.7.0/trafficdirector_Home_1/bin/tadm configure-server --user=admin --port=8989 --host=192.168.3.101 --admin-node --node-port=8990 --instance-home=/home/weblogic/otdagent

This command will create an administration node and register it with the remote administration server: https://192.168.3.101:8989.

Enter admin-user-password>

[

[

  Version: V3

  Subject: CN=otdadmin

  Signature Algorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11


  Key:  Sun RSA public key, 2048 bits

  modulus: 25406323884744256625524468900360012418920526925855761864507164904985361880517931758311250086429545751387752608246436981771964736760211252278737360505239413909757341486818817872897530429500451524151791482863602954237159557899486541958859172924571855779453826847240323056767453702763122798876478137355326788309113855003285395366170433345768234480708921675024724460228229995636369890835037306821221633053350197520886063651391471803411122634595846193831642710455373109613226762945409607477428274010668359830833375255231508796141497914269352523968074001425514424328955653386431759823573902680891333926711452464979088857433

  public exponent: 65537

  Validity: [From: Mon Jul 27 16:38:13 CST 2015,

               To: Wed Jul 27 16:38:13 CST 2016]

  Issuer: CN=admin-ca-cert, OU=Oracle Traffic Director 11.1.1.7, O=Oracle Corporation

  SerialNumber: [   -4b868cdb d13980aa]


Certificate Extensions: 2

[1]: ObjectId: 2.5.29.37 Criticality=true

ExtendedKeyUsages [

  serverAuth

]


[2]: ObjectId: 2.5.29.15 Criticality=true

KeyUsage [

  Key_Encipherment

  Key_Agreement

]


]

  Algorithm: [SHA256withRSA]

  Signature:

0000: 1F B4 35 0E 8D 81 DB B4   2F 94 14 66 CF 9D 3F D5  ..5...../..f..?.

0010: 3E 9E 6D 10 DE 37 18 8C   0C B3 9F 56 E1 FE 27 FD  >.m..7.....V..'.

0020: 01 6C 67 3D 21 0E 43 0F   BF 1A B2 2F 05 00 64 74  .lg=!.C..../..dt

0030: F7 1A 11 31 30 63 1A 72   E4 69 80 24 A2 2B 77 F9  ...10c.r.i.$.+w.

0040: AC 09 BE F2 91 A6 21 2B   C9 19 75 4A 27 E9 02 40  ......!+..uJ'..@

0050: EA E6 71 E7 6B 09 FD 76   C6 6A 95 0C 6A 58 87 14  ..q.k..v.j..jX..

0060: 0A B9 83 BB 9E BE D7 8A   28 01 52 97 F7 AD F1 10  ........(.R.....

0070: 63 A7 DA 43 76 DA E3 3A   C3 A8 0D 8D BF FC D0 F3  c..Cv..:........

0080: E9 6B C8 FA 4A 1F 97 46   0B A2 84 07 40 7C 4D 69  .k..J..F....@.Mi

0090: C5 FF 4D CE F2 AD 17 A3   C3 02 03 77 3E CC 1E 9E  ..M........w>...

00A0: 51 66 3C BD 67 32 45 50   3A D9 B9 C4 80 B9 F5 02  Qf<.g2EP:.......

00B0: F3 B1 84 BC 9E 91 02 5F   17 0D 33 96 36 F2 70 6E  ......._..3.6.pn

00C0: B5 CA 99 5D CA D7 0B 3D   A5 8D A4 C2 4E D3 9D 47  ...]...=....N..G

00D0: E4 7C DC 31 FD 9F 00 A5   10 A0 9E 43 5A 13 68 67  ...1.......CZ.hg

00E0: 6B 86 20 11 E9 29 0E 60   AB 00 CC E4 9F 6F 44 63  k. ..).`.....oDc

00F0: 42 D6 D8 6C 96 5F 2F 42   05 41 D2 5E F5 3D 01 7C  B..l._/B.A.^.=..


]

Do you trust the above certificate [y|n] -->y

OTD-70215 The administration node has been configured successfully.

The node can be started by executing: /home/otdnode/otdagent/admin-server/bin/startserv


启动node2实例

[root@node2 ~]# /home/otdnode/otdagent/admin-server/bin/startserv

Oracle Traffic Director 11.1.1.7.0 B01/14/2013 04:13

[NOTIFICATION:1] [OTD-10333] daemon is running as super-user

[NOTIFICATION:1] [OTD-80118] Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.6.0_35] from [Sun Microsystems Inc.]

[NOTIFICATION:1] [OTD-80000] Loading web module in virtual server [admin-server] at [/jmxconnector]

[NOTIFICATION:1] [OTD-10358] admin-ssl-port: https://node2:8990 ready to accept requests

[NOTIFICATION:1] [OTD-10487] successful server startup


http://ip:8989

以下为web页面配置,不在赘述。


您可能感兴趣的文档:

--结束END--

本文标题: oracle traffic director安装

本文链接: https://lsjlt.com/news/37306.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
  • oracle traffic director安装
    网络拓扑otdadmin 192.168.3.101node1 192.168.3.201node2 192.168.3.202     virtual ip 192.168.3.200...
    99+
    2024-04-02
  • Oracle GoldenGate Director配置手册
    一.         GoldenGate Director 介绍 GoldenGat...
    99+
    2024-04-02
  • ORA-30690: timeout occurred while registering a TCP/IP connection for data traffic detection ORACLE
    文档解释 ORA-30690: timeout occurred while registering a TCP/IP connection for data traffic detection Cause: A timeout occur...
    99+
    2023-11-05
    报错 故障 occurred
  • oracle安装
    https://www.jb51.net/article/174999.htm 硬件要求: 内存要求 :grep MemTotal /proc/meminfo 1) 最小值为1 GB 内存,建议值为2 GB of RAM 或者更多 ...
    99+
    2015-06-19
    oracle安装
  • 安装oracle
    Oracle安装http://www.cnblogs.com/gaojun/archive/2012/11/22/2783257.htmlhttp://www.jb51.net/article/53769....
    99+
    2024-04-02
  • Oracle安装(11g)静默安装
           本博文讲述如何在linux系统下静默安装oracle11g(11.2.4.0)。主要用于图形显示不方便的场景,也适用于脚本化批量部署的需要。系统环境OS...
    99+
    2024-04-02
  • oracle linux 5.8安装oracle 11g rac环境之oracle安装
     上续的系统配置,环境变量添加和grid安装在上一篇博客中,这篇主要是继上篇剩余的安装,上篇博客地址:http://tongcheng.blog.51cto.com/6214144/1852074...
    99+
    2024-04-02
  • PL/SQL不安装Oracle连接,Oracle instantclient安装
    ================================ ©Copyright 蕃薯耀 2020-01-07 https://www.cnblogs.com/fanshuyao/   第一步: 下载 instantclie...
    99+
    2020-04-27
    PL/SQL不安装Oracle连接,Oracle instantclient安装
  • oracle linux 安装oracle 11gR2
    oracle linux 是oracle公司根据redhat的linux发行版重新编译而来,加入了一些自己的元素,当然他和centos一样都属于rhel的衍生版,但是由于背靠oracle这棵大树,所以他提供...
    99+
    2024-04-02
  • vnc安装Oracle
    进入/u01/softwares/目录,对Oracle两个文件进行解压缩#unzip oracle_Linux-x86-64_1of.zip#unzip oracle_Linux-x86-64_2of.zi...
    99+
    2024-04-02
  • linux 安装oracle
    注意事项:hostname 一定要保持一致不然还有各种报错:例如:[oracle@C1 j2ee]$ emctl start dbconsole The f...
    99+
    2024-04-02
  • oracle 11g安装
    硬件准备:物理内存至少为1G,linux虚拟机的容量为60G。cat /etc/redhat-release 和uname -r  两个命令查看内核和版本,支持linux5/6   2....
    99+
    2024-04-02
  • ORACLE 12C安装
    上班比较忙慢慢些,慢慢更新win2012R2+oracle12cr2静默安装需要关注里面的配置,比11G多一些选项似乎模板注释有问题,搞了半天静默配置侦听服务 ...
    99+
    2024-04-02
  • oracle的安装
    1.修改主机名:# sed -i "s/HOSTNAME=localhost.localdomain/HOSTNAME=oracledb/" /etc/sysconfig/network# hostname...
    99+
    2024-04-02
  • Oracle - 11g安装
    小Q:最近因为工作的变动,接触了好多没接触的东西,一直在学习和熟悉业务,期间最有收获的就属于接触了除mysql之外的数据库,首先对oracle的安装记录一次。建议:第一次安装的朋友们,不要顺着我的来,将安装...
    99+
    2024-04-02
  • Oracle RUR 安装
    数据库版本:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production RUR版本:p27872031_1...
    99+
    2024-04-02
  • golang oracle 安装
    golang是一个高效的编程语言,因其快速的执行速度和简单的语法结构而备受开发人员的喜爱。Oracle数据库系统是全球著名的关系型数据库管理系统,被广泛应用于企业级应用程序。本文将介绍如何在golang环境中安装和配置Oracle数据库。一...
    99+
    2023-05-16
  • oracle linux 5.8安装oracle 11g rac环境之grid安装
    安装环境:操作系统:oracle linux 5.8 64位集群软件:linux.x64_11gR2_grid.zip数据库:linux.x64_11gR2_database_1of1.zip,linux....
    99+
    2024-04-02
  • oracle linux 4.8安装oracle 10g rac环境之cluster安装
    安装环境:操作系统:oracle linux 4.8 64位集群软件:10201_clusterware_linux_x86_64.cpio.gz数据库:10201_database_linux_x86_6...
    99+
    2024-04-02
  • oracle linux 4.8安装oracle 10g rac环境之database安装
    oracle 10g cluster安装地址:http://tongcheng.blog.51cto.com/6214144/1872157 oracle rac专业群:476687362oracle db...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作