oracle12c RAC搭建之一DNS服务器搭建图解(1)
来源:互联网 发布:马库斯斯玛特体测数据 编辑:程序博客网 时间:2024/05/29 07:16
近期准备搭建oracle 12C RAC环境,搭建集群的第一步就是建立网络环境,预计使用三台服务器主机名分别为host01、host02、host03。其中host01、houst02为RAC集群,host03为DNS服务器。搭建过程将分4篇章进行图解。
本章是DNS服务器搭建,这里host03是我的的DNS服务器。
一、虚拟机安装Redhat 6.7配置YUM。
服务器创建略过。要求如下
主机
硬件要求
软件要求
类型
内存
网卡
硬盘
GI版本
DB版本
操作系统
host01
RAC
≥2G
三张网卡
≥40G,8个2G磁盘
12.1.0.2
12.1.0.2
Redhat 6.7
host02
RAC
≥2G
三张网卡
≥40G,8个2G磁盘
12.1.0.2
12.1.0.2
Redhat 6.7
host03
DNS
768M
一张网卡
20G
无
无
Redhat 6.7
网络配置
主机名称
网卡名称
地址类型
IP地址
DNS服务器
搜索域
host01
eth0
公网
10.0.1.101
10.0.1.3
example.com
eth1
私网
192.168.56.101
无
无
eth2
私网
192.168.56.102
无
无
host02
eth0
公网
10.0.1.102
10.0.1.3
example.com
eth1
私网
192.168.56.103
无
无
eth2
私网
192.168.56.104
无
无
host03
eth0
私网
10.0.1.3
10.0.1.3
example.com
二、准备服务器,安装DNS组件
yum install -y bind bind-chroot bind-utils
三、修改配置文件
1、修改/etc/host 文件,增加以下IP地址,后面的三台主机的IP将会按照如下配置。
10.0.1.3 host03.example.com host0310.0.1.101 host01.example.com host0110.0.1.102 host02.example.com host02192.168.56.101 host01-priv192.168.56.102 host02-priv
2、/etc/named.conf,填写你DNS服务器的IP,注释掉IP-V6,填写DNS允许访问的IP,这里方便起见我修改为any
3、/etc/named.rfc1912.zones,增加配置文件,这里的zone 可以复制
4、进入/var/named/创建解析文件,正向解析,编辑解析的地址映射
cp named.localhost example.com.zonevi example.com.zone
5、编辑反向解析映射
cp named.loopback 1.0.10.in-addr.arpavi 1.0.10.in-addr.arpa
四、测试DNS服务器是否搭建成功
[root@host03 named]# service named restart停止 named: [确定]启动 named: [确定][root@host03 named]# nslookup host03Server:10.0.1.3Address:10.0.1.3#53Name:host03.example.comAddress: 127.0.0.1[root@host03 named]# nslookup host02Server:10.0.1.3Address:10.0.1.3#53Name:host02.example.comAddress: 10.0.1.102[root@host03 named]# nslookup host01Server:10.0.1.3Address:10.0.1.3#53Name:host01.example.comAddress: 10.0.1.101[root@host03 named]# nslookup cluster01-scanServer:10.0.1.3Address:10.0.1.3#53Name:cluster01-scan.example.comAddress: 10.0.1.201Name:cluster01-scan.example.comAddress: 10.0.1.202Name:cluster01-scan.example.comAddress: 10.0.1.203
解析成功,DNS服务器配置完成。
- oracle12c RAC搭建之一DNS服务器搭建图解(1)
- oracle12c RAC搭建之三GI安装图解(3)
- oracle12c RAC搭建之二服务器环境配置ASM配置(2)
- linux服务器搭建(2)-DNS服务器
- 搭建DNS服务器
- DNS服务器搭建
- CentOS DNS服务器搭建
- redhat dns服务器搭建
- 搭建DNS服务器
- DNS服务器搭建
- DNS服务器搭建笔记
- Linux 搭建DNS服务器
- Linux DNS服务器搭建
- 10.DNS服务器搭建
- DNS服务器搭建
- Ubuntu搭建DNS服务器
- 搭建DNS服务器
- DNS服务器搭建
- LeetCode - Best Time to Buy and Sell Stock II
- iOS 10 新特性以及xcode8
- JVM 内存泄漏分析笔记
- ndnSIM中概率缓存的简单实现
- spring BeanPostProcessor InitializingBean相关
- oracle12c RAC搭建之一DNS服务器搭建图解(1)
- VTK6.3.0 error: no override found for 'vtkPolyDataMapper'
- spring定时器管理
- Win8安装程序出现2502、2503错误解决方法
- Kafka学习(2)——理解Kafka
- nosql注入-mongodb
- jQuery方法区别(二)position()与offset()区别
- Redis简单入门一
- android总结一: 开机自启动APP