Four Linux Machine Creation (RHEL5.7-64Bit)- Airy’s Notes

Configuring Four Red Hat Enterprise Linux 5.7 - 64 Bit Machines: 

( 1 For Storage + DNS and 3 as Node Machines):
  
1: For machine configuring for Storage and DNS ( paw-racstorage-dns ):

My Machine'S Configuration:

Hardisk                  : 100GB

RAM                      : 2GB

Mount Point Boot         : 100MB

Mount Point Tmp          : 6GB

Mount Point Swap         : 4GB ( Preferred Double of your Machine's RAM but not more then 16GB)

Mount Point /u01         : 18GB

Mount Point /u02         : 44 GB ( In this mount point we will create storage disks)

Mount Point /            : 28GB
 
[root@paw-racstorage-dns ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda7              28G  5.6G   21G  22% /

/dev/sda5             5.9G  141M  5.4G   3% /tmp

/dev/sda3              18G  3.5G   14G  21% /u01

/dev/sda2              44G   42G     0 100% /u02

/dev/sda1              99M   12M   82M  13% /boot

tmpfs                 1.8G     0  1.8G   0% /dev/shm

/dev/sr0              3.6G  3.6G     0 100% /media/SAI-OS-5U7_64bit


2: For All Node's Machines ( paw-racnode1, paw-racnode2, paw-racnode3):

My Machine's Configurations:
 
Hardisk                    : 80GB

RAM                        : 3GB

Mount Point Boot           : 100MB

Mount Point Tmp            : 6GB

Mount Point Swap           : 4GB ( Preferred Double of your Machine's RAM but not more then 16GB)

Mount Point /u01           : 25GB

Mount Point /u02           : 20GB

Mount Point /              : 25GB

 
Node1: ( paw-racnode1):
 

[root@paw-racnode1 ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda7              25G  5.7G   18G  25% /

/dev/sda5             5.9G  141M  5.4G   3% /tmp

/dev/sda3              20G  196M   19G   2% /u02

/dev/sda2              25G  173M   23G   1% /u01

/dev/sda1              99M   12M   82M  13% /boot

tmpfs                 1.8G     0  1.8G   0% /dev/shm

/dev/sr0              3.6G  3.6G     0 100% /media/SAI-OS-5U7_64bit


Node2: ( paw-racnode2):

[root@paw-racnode2 ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda7              25G  5.7G   18G  25% /

/dev/sda5             5.9G  141M  5.4G   3% /tmp

/dev/sda3              20G  196M   19G   2% /u02

/dev/sda2              25G  173M   23G   1% /u01

/dev/sda1              99M   12M   82M  13% /boot

tmpfs                 1.8G     0  1.8G   0% /dev/shm

/dev/sr0              3.6G  3.6G     0 100% /media/SAI-OS-5U7_64bit


Node3: ( paw-racnode3):

[root@paw-racnode3 ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda7              25G  5.7G   18G  25% /

/dev/sda5             5.9G  141M  5.4G   3% /tmp

/dev/sda3              20G  196M   19G   2% /u02

/dev/sda2              25G  173M   23G   1% /u01

/dev/sda1              99M   12M   82M  13% /boot

tmpfs                 1.8G     0  1.8G   0% /dev/shm

/dev/sr0              3.6G  3.6G     0 100% /media/SAI-OS-5U7_64bit

 

Thank you for reading….This is Airy..Enjoy Learning 🙂

 

 

#linux, #rac

RAC Installation’s Pre requisites

RAC Installation Pre requisites  :

 Perform following below activities on all the Nodes (paw-racnode1 and paw-racnode2, paw-racnode3)

 [root@paw-racnode1 ~]# umount tmpfs

[root@paw-racnode1 ~]# mount -t tmpfs shmfs -o size=1800m /dev/shm

[root@paw-racnode1 ~]# vi /etc/fstab

 tmpfs                   /dev/shm                tmpfs   size=1800m      0 0

[root@paw-racnode1 ~]# df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda7              25G  5.7G   18G  25% /

/dev/sda5             5.9G  141M  5.4G   3% /tmp

/dev/sda3              20G  196M   19G   2% /u02

/dev/sda2              25G  173M   23G   1% /u01

/dev/sda1              99M   12M   82M  13% /boot

tmpfs                 1.8G     0  1.8G   0% /dev/shm

/dev/sr0              3.6G  3.6G     0 100% /media/SAI-OS-5U7_64bit

[root@paw-racnode1 ~]# vi /etc/sysctl.conf

# My Entries

echo kernel.shmall = 2097152 >> /etc/sysctl.conf

echo kernel.shmmax = 1054504960 >> /etc/sysctl.conf

echo kernel.shmmni = 4096 >> /etc/sysctl.conf

echo # semaphores: semmsl, semmns, semopm, semmni >> /etc/sysctl.conf

echo kernel.sem = 250 32000 100 128 >> /etc/sysctl.conf

echo fs.file-max = 6815744 >> /etc/sysctl.conf

echo net.ipv4.ip_local_port_range = 9000 65500 >> /etc/sysctl.conf

echo net.core.rmem_default = 262144 >> /etc/sysctl.conf

echo net.core.rmem_max = 4194304 >> /etc/sysctl.conf

echo net.core.wmem_default = 262144 >> /etc/sysctl.conf

echo net.core.wmem_max = 1048576 >> /etc/sysctl.conf

echo fs.aio-max-nr = 1048576 >> /etc/sysctl.conf

[root@paw-racnode1 ~]# /sbin/sysctl -p

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

net.ipv4.tcp_syncookies = 1

kernel.msgmnb = 65536

kernel.msgmax = 65536

kernel.shmmax = 68719476736

kernel.shmall = 4294967296

kernel.shmall = 4294967296

fs.aio-max-nr = 1048576

fs.file-max = 6815744

kernel.shmall = 2097152

kernel.shmmax = 1054504960

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65500

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048586

[root@paw-racnode1 ~]# vi /etc/security/limits.conf

 # My Entries

oracle soft nproc 2047

oracle hard nproc 16384

oracle soft nofile 1024

oracle hard nofile 65536

“OR”

echo oracle soft nproc 2047 >> /etc/security/limits.conf

echo oracle hard nproc 16384 >> /etc/security/limits.conf

echo oracle soft nofile 1024 >> /etc/security/limits.conf

echo oracle hard nofile 65536 >> /etc/security/limits.conf

echo grid hard nproc 16384 >> /etc/security/limits.conf

echo grid hard nofile 65536 >> /etc/security/limits.conf

 [root@paw-racnode1 ~]# vi /etc/pam.d/login

 session    required     pam_limits.so

“OR”

echo session    required     /lib/security/pam_limits.so >> /etc/pam.d/login

————————————————————————

selinux should be disable:

 [root@paw-racnode1 ~]# vi /etc/selinux/config

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

#       enforcing - SELinux security policy is enforced.

#       permissive - SELinux prints warnings instead of enforcing.

#       disabled - SELinux is fully disabled.

SELINUX=disabled

# SELINUXTYPE= type of policy in use. Possible values are:

#       targeted - Only targeted network daemons are protected.

#       strict - Full SELinux protection.

SELINUXTYPE=targeted

————————————————————————

Now Add following O/S User groups( Do this:

  [root@paw-racnode1 ~]#

      groupadd -g 501 oinstall

      groupadd -g 502 dba

      groupadd -g 503 oper

      groupadd -g 504 asmadmin

      groupadd -g 505 asmdba

      groupadd -g 506 asmoper

And Create 2 Users – 1: oracle and   2: grid :–

      useradd -g oinstall  -G dba,oper,asmdba oracle

      useradd -g oinstall  -G asmadmin,asmdba,asmoper,dba grid

Change the password of bot the users :–

      passwd oracle

      Changing password for user oracle.

      New UNIX password:oracle

      BAD PASSWORD: it is based on a dictionary word

      Retype new UNIX password:oracle

      passwd: all authentication tokens updated successfully.

      passwd grid

      Changing password for user oracle.

      New UNIX password:grid

      BAD PASSWORD: it is based on a dictionary word

      Retype new UNIX password:grid

      passwd: all authentication tokens updated successfully.

Now Create a User for Grid Installation:

      mkdir -p /u01/app/11.2.0/grid  #GRID_HOME

      mkdir -p /u01/app/oracle/product/11.2.0/db_1  # ORACLE_HOME

      mkdir -p /u01/app/oraInventory

      mkdir -p /u01/app/grid

      mkdir -p /u01/app/oracle

      mkdir -p /u02/software

      mkdir -p /u02/RPM

      chown -R grid:oinstall /u01/app

      chown -R grid:oinstall /u01/app/11.2.0/grid

      chown -R grid:oinstall /u01/app/oraInventory

      chown -R oracle:oinstall /u01/app/oracle

      chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/db_1

      chmod -R 775 /u01/app/oracle/product/11.2.0/db_1

      chmod -R 775 /u01/app/grid

      chmod -R 775 /u01/app/oracle

     

      chmod 777 /u02

      chmod 777 /u02/software

      chmod 777 /u02/RPM

 [root@paw-racnode1 ~]# vi /home/oracle/.bash_profile

TMP=/tmp; export TMP

TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=paw-racnode1.airydba.com; export ORACLE_HOSTNAME

ORACLE_UNQNAME=racdb; export ORACLE_UNQNAME

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE

GRID_BASE=/u01/app/grid; export GRID_BASE

ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME

GRID_HOME=/u01/app/11.2.0/grid; export GRID_HOME

ORACLE_SID=racdb1; export ORACLE_SID

ORACLE_TERM=xterm; export ORACLE_TERM BASE_PATH=/usr/sbin:$PATH;

export BASE_PATH PATH=$ORACLE_HOME/bin:$BASE_PATH:$GRID_HOME/bin;

export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;

export CLASSPATH

if [ $USER = "oracle" ]; then

if [ $SHELL = "/bin/ksh" ]; then

ulimit -p 16384

ulimit -n 65536

else

ulimit -u 16384 -n 65536

fi

fi

alias grid_env='. /home/oracle/grid_env'

alias db_env='. /home/oracle/db_env'

[root@paw-racnode1 ~]# vi /home/grid/.bash_profile

TMP=/tmp; export TMP

TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=paw-racnode1.airydba.com; export ORACLE_HOSTNAME

ORACLE_UNQNAME=racdb; export ORACLE_UNQNAME

ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE

GRID_BASE=/u01/app/grid; export GRID_BASE

ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME

GRID_HOME=/u01/app/11.2.0/grid; export GRID_HOME

ORACLE_SID=+ASM1; export ORACLE_SID

ORACLE_TERM=xterm; export ORACLE_TERM BASE_PATH=/usr/sbin:$PATH;

export BASE_PATH PATH=$ORACLE_HOME/bin:$BASE_PATH:$GRID_HOME/bin;

export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;

export CLASSPATH

if [ $USER = "oracle" ]; then

if [ $SHELL = "/bin/ksh" ]; then

ulimit -p 16384

ulimit -n 65536

else

ulimit -u 16384 -n 65536

fi

fi

alias grid_env='. /home/oracle/grid_env'

alias db_env='. /home/oracle/db_env'
[root@paw-racnode1 ~]#  chmod 777 /home/oracle/.bash_profile 

[root@paw-racnode1 ~]#  . /home/oracle/.bash_profile

[root@paw-racnode1 ~]#  echo $ORACLE_HOME

[root@paw-racnode1 ~]#  echo $GRID_HOME

--------------------------------------------------------------------

[root@paw-racnode1 ~]#  chmod 777 /home/grid/.bash_profile

[root@paw-racnode1 ~]#  . /home/grid/.bash_profile 

[root@paw-racnode1 ~]#  echo $ORACLE_HOME

[root@paw-racnode1 ~]#  echo $GRID_HOME

 ———————————————————————–

[root@paw-racnode1 ~]# vi /home/oracle/db_env

ORACLE_SID=racdb1; export ORACLE_SID

ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;

export CLASSPATH

[root@paw-racnode1 ~]#  cp /home/oracle/db_env /home/grid/db_env

[root@paw-racnode1 ~]#  chmod 777 /home/oracle/db_env

[root@paw-racnode1 ~]#  chmod 777 /home/grid/db_env

————————————————————————

[root@paw-racnode1 ~]# vi /home/oracle/grid_env

ORACLE_SID=+ASM1; export ORACLE_SID

ORACLE_HOME=/u01/app/11.2.0/grid; export ORACLE_HOME

GRID_HOME=$ORACLE_HOME; export GRID_HOME

PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;

export CLASSPATH

 [root@paw-racnode1 ~]#  cp /home/oracle/grid_env /home/grid/grid_env

 [root@paw-racnode1 ~]#  chmod 777 /home/oracle/grid_env

 [root@paw-racnode1 ~]#  chmod 777 /home/grid/grid_env

Now copy oracle’s and ASM’s, RPMs in a Directory  /u01/RPM  on all the nodes and perform below given RPM’s installation on all the Nodes(paw-racnode1, paw-racnode2, paw-racnode3).

[root@paw-racnode1 ~]# cd /u01/RPM

 [root@paw-racnode1 RPM]# ll

total 24096

-rwxrw-rw- 1 root root 3016394 Sep 16  2011 binutils-2.17.50.0.6-6.0.1.el5.i386.rpm

-rwxrw-rw- 1 root root 5477834 Nov 15  2011 gcc-4.1.2-44.el5.i386.rpm

-rwxrw-rw- 1 root root 3593086 Nov 15  2011 gcc-c++-4.1.2-44.el5.i386.rpm

-rwxrw-rw- 1 root root 4558796 Nov 15  2011 glibc-2.5-24.i386.rpm

-rwxrw-rw- 1 root root   11345 Jan 24  2012 libaio-devel-0.3.106-3.2.i386.rpm

-rwxrw-rw- 1 root root   12094 Jan 24  2012 libaio-devel-0.3.106-5.i386.rpm

-rwxrw-rw- 1 root root   11884 Jan 24  2012 libaio-devel-0.3.106-5.x86_64.rpm

-rwxrw-rw- 1 root root   95764 Nov 15  2011 libgcc-4.1.2-44.el5.i386.rpm

-rwxrw-rw- 1 root root   68422 Nov 15  2011 libgomp-4.3.2-7.el5.i386.rpm

-rwxrw-rw- 1 root root  371622 Nov 15  2011 libstdc++-4.1.2-44.el5.i386.rpm

-rwxrw-rw- 1 root root 2999656 Nov 15  2011 libstdc++-devel-4.1.2-44.el5.i386.rpm

-rwxrw-rw- 1 root root   23102 Sep 17  2011 libXp-1.0.0-8.1.el5.i386.rpm

-rwxrw-rw- 1 root root 1079629 Sep 17  2011 openmotif21-2.1.30-11.EL5.i386.rpm

-rwxrw-rw- 1 root root 1013605 Sep 16  2011 openmotif21-2.1.30-11.RHEL4.2.i386.rpm

-rwxrw-rw- 1 root root  130018 Nov 14  2011 oracleasm-2.6.18-194.el5-2.0.5-1.el5.i686.rpm

-rwxrw-rw- 1 root root  137329 Jan 24  2012 oracleasm-2.6.18-274.el5-2.0.5-1.el5.x86_64.rpm

-rwxrw-rw- 1 root root   13929 Nov 14  2011 oracleasmlib-2.0.4-1.el5.i386.rpm

-rwxrw-rw- 1 root root   85687 Nov 14  2011 oracleasm-support-2.1.7-1.el5.i386.rpm

-rwxrw-rw- 1 root root  173457 Nov 15  2011 sysstat-7.0.2-3.el5.i386.rpm

-rwxrw-rw- 1 root root  868885 Nov 14  2011 unixODBC-devel-2.2.11-7.1.i386.rpm

-rwxrw-rw- 1 root root  814677 Jan 24  2012 unixODBC-devel-2.2.11-7.1.x86_64.rpm

[root@paw-racnode1 RPM]# rpm -ivh oracleasm-support-2.1.7-1.el5.i386.rpm

warning: oracleasm-support-2.1.7-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159

Preparing...                ########################################### [100%]

   1:oracleasm-support      ########################################### [100%]

[root@paw-racnode1 RPM]# rpm -ivh oracleasm-2.6.18-274.el5-2.0.5-1.el5.x86_64.rpm

warning: oracleasm-2.6.18-274.el5-2.0.5-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159

Preparing...                ########################################### [100%]

   1:oracleasm-2.6.18-274.el########################################### [100%]

[root@paw-racnode1 RPM]# rpm -ivh oracleasmlib-2.0.4-1.el5.i386.rpm

warning: oracleasmlib-2.0.4-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159

Preparing...                ########################################### [100%]

   1:oracleasmlib           ########################################### [100%]

[root@paw-racnode1 RPM]# rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm

warning: unixODBC-devel-2.2.11-7.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 652e84dc

Preparing...                ########################################### [100%]

   1:unixODBC-devel         ########################################### [100%]

 [root@paw-racnode1 RPM]# rpm -ivh unixODBC-devel-2.2.11-7.1.x86_64.rpm

warning: unixODBC-devel-2.2.11-7.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897

Preparing...                ########################################### [100%]

   1:unixODBC-devel         ########################################### [100%]

[root@paw-racnode1 RPM]# rpm -ivh libaio-devel-0.3.106-5.i386.rpm

warning: libaio-devel-0.3.106-5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 652e84dc

Preparing...                ########################################### [100%]

   1:libaio-devel           ########################################### [100%]

[root@paw-racnode1 RPM]# rpm -ivh libaio-devel-0.3.106-5.x86_64.rpm

warning: libaio-devel-0.3.106-5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 652e84dc

Preparing...                ########################################### [100%]

   1:libaio-devel           ########################################### [100%]

————————————————————————–

Modify /etc/sysconfig/ntpd by adding “-x” in the “OPTIONS” on all nodes.

 [root@paw-racnode1 RPM]#cat /etc/sysconfig/ntpd

# Drop root to id 'ntp:ntp' by default.

OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"

# Set to 'yes' to sync hw clock after successful ntpdate

SYNC_HWCLOCK=no

# Additional options for ntpdate

NTPDATE_OPTIONS=""

[root@paw-racnode1 RPM]# service ntpd start

 

Thank you for reading… This is Airy…Enjoy Learning:)

 

#rac, #rac-installation

Network configuration for Oracle 11g R2 – RAC using Host File – Airy’s Notes

IP Addresses and other settings using Host Files:

Storage Server Details:

paw-racstorage:

eth0 : 192.168.75.10    ---- For Public Network

gateway :

subnet : 255.255.255.0

hostname: paw-racstorage

Primary DNS :

DNS Search Path : airydba

3 Nodes Details:

Node1:

paw-racnode1:

eth0: 192.168.75.11     ---- For Public Network

eth1: 10.0.0.1          ---- For Private Network

gateway :

subnet : 255.255.255.0

hostname: paw-racnode1

Primary DNS :

DNS Search Path : airydba

Node2:

paw-racnode2:

eth0: 192.168.75.12     ---- For Public Network

eth1: 10.0.0.2          ---- For Private Network

gateway :

subnet : 255.255.255.0

hostname: paw-racnode2

Primary DNS :

DNS Search Path : airydba

Node3:

paw-racnode3

eth0: 192.168.75.13     ---- For Public Network

eth1: 10.0.0.3          ---- For Private Network

gateway :

subnet : 255.255.255.0

hostname: paw-racnode3

Primary DNS :

DNS Search Path : airydba

————————————————————————–

VIP:

192.168.75.17

192.168.75.18

192.168.75.19

Scan IP:

192.168.75.20

————————————————————————–

Update  /etc/hosts file on all 3 nodes :

[root@paw-racnode1 ~]# vi /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1         racnode1.airydba racnode1 localhost.airydba localhost

::1         localhost6.airydba6 localhost6

#Public IPs

192.168.75.11 racnode1.airydba racnode1

192.168.75.13 racnode2.airydba racnode2

192.168.75.15 racnode3.airydba racnode3

# Private IPs

10.0.0.1 racnode1-priv.airydba racnode1-priv

10.0.0.2 racnode2-priv.airydba racnode2-priv

10.0.0.3 racnode3-priv.airydba racnode3-priv

#Virtual IPs

192.168.75.17 racnode1-vip.airydba racnode1-vip

192.168.75.18 racnode2-vip.airydba racnode2-vip

192.168.75.19 racnode3-vip.airydba racnode3-vip

#SCAN IP

192.168.75.20 racnode-scan.airydba racnode-scan

Now restart all the nodes and check the connectivity by pinging each other.

 

Thank you for reading… This is Airy…Enjoy Learning:)

#dns, #linux, #public, #rac

Network Configuration For Oracle-RAC in RHEL

There are following ways to define Networking for Oracle 11g R2 – RAC:

  1. Network configuration for Oracle 11g R2 – RAC using Host File

  2. Network configuration for Oracle 11g R2 – RAC using DNS Server

    I have used DNS Server to configure My Oracle RAC Machine.

 

Thank you for reading… This is Airy…Enjoy Learning:)

 

#dns, #host-file, #networking, #rac

Adding an additional disk to Linux Machine

Adding an additional disk to Linux Machine:

In one of my Oracle RAC practical, I got shortage of disk space in my Linux machine so I have decided to add one more disk of 40GB to my Linux VM.

My this post will show you , what are the steps I have adopted to add and mount, additional 40GB Hardisk to my Linux VM .

First of all I have added additional 40 GB Disk to my VM,and started the Linux VM.

Thereafter we have to Check that, how many disks are present ,I have did this using the fdisk command.

[root@PawanASM ~]# fdisk -l | grep ‘^Disk’

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sda: 85.8 GB, 85899345920 bytes

Disk /dev/sdb: 42.9 GB, 42949672960 bytes

As I have just added a new disk to my Linux VM therefore that disk “sdb” will show as ” Disk /dev/sdb doesn’t contain a valid partition table ” because its entry is not present in linux partition table so we have to partition the disk /dev/sdb by using fdisk command.

[root@PawASM ~]# fdisk /dev/sdb

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Building a new DOS disklabel. Changes will remain in memory only,

until you decide to write them. After that, of course, the previous

content won't be recoverable.

The number of cylinders for this disk is set to 5221.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

   (e.g., DOS FDISK, OS/2 FDISK)

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sdb: 42.9 GB, 42949672960 bytes

255 heads, 63 sectors/track, 5221 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

Command (m for help): print

Disk /dev/sdb: 42.9 GB, 42949672960 bytes

255 heads, 63 sectors/track, 5221 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

To create a new partition, issue the command “n” and then select “p” for primary and 1-4 depending on which partition on the drive this is (first, second, third, or fourth):

n (creates a new partition)

p (creates a primary partition)

1 (the number 1 denotes the partition will be /dev/sdb1)

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-5221, default 1): 1

Last cylinder or +size or +sizeM or +sizeK (1-5221, default 5221): 5221

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table.

Syncing disks.

[root@PawASM ~]# fdisk -l | grep ‘^Disk’

Disk /dev/sda: 85.8 GB, 85899345920 bytes

Disk /dev/sdb: 42.9 GB, 42949672960 bytes

 [root@PawASM ~]# fdisk -l

Disk /dev/sda: 85.8 GB, 85899345920 bytes

255 heads, 63 sectors/track, 10443 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot         Start         End      Blocks   Id  System

/dev/sda1   *           1          13      104391   83  Linux

/dev/sda2              14        3929    31455270   83  Linux

/dev/sda3            3930        4694     6144862+  83  Linux

/dev/sda4            4695       10443    46178842+   5  Extended

/dev/sda5            4695        5216     4192933+  82  Linux swap / Solaris

/dev/sda6            5217        5703     3911796   83  Linux

/dev/sda7            5704        6190     3911796   83  Linux

/dev/sda8            6191        6677     3911796   83  Linux

/dev/sda9            6678        7164     3911796   83  Linux

/dev/sda10           7165        7651     3911796   83  Linux

/dev/sda11           7652        8138     3911796   83  Linux

/dev/sda12           8139        8625     3911796   83  Linux

/dev/sda13           8626        9112     3911796   83  Linux

/dev/sda14           9113        9599     3911796   83  Linux

/dev/sda15           9600       10086     3911796   83  Linux

Disk /dev/sdb: 42.9 GB, 42949672960 bytes

255 heads, 63 sectors/track, 5221 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1        5221    41937651   83  Linux

[root@PawASM ~]#  partx -a /dev/sdb

“OR”

[root@PawASM ~]# partprobe

  • Format the new disk using mkfs.ext3 command:

 To format Linux partition, using ext3 file system on the new disk, issue the following command:

[root@PawASM ~]# mkfs.ext3 /dev/sdb1

mke2fs 1.39 (29-May-2006)

Filesystem label=

OS type: Linux

Block size=4096 (log=2)

Fragment size=4096 (log=2)

5242880 inodes, 10484412 blocks

524220 blocks (5.00%) reserved for the super user

First data block=0

Maximum filesystem blocks=4294967296

320 block groups

32768 blocks per group, 32768 fragments per group

16384 inodes per group

Superblock backups stored on blocks:

        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

        4096000, 7962624




Writing inode tables: done                           

Creating journal (32768 blocks): done

Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 28 mounts or

180 days, whichever comes first.  Use tune2fs -c or -i to override.

 [root@PawASM ~]# fdisk -l

Disk /dev/sda: 85.8 GB, 85899345920 bytes

255 heads, 63 sectors/track, 10443 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot         Start         End      Blocks   Id  System

/dev/sda1   *           1          13      104391   83  Linux

/dev/sda2              14        3929    31455270   83  Linux

/dev/sda3            3930        4694     6144862+  83  Linux

/dev/sda4            4695       10443    46178842+   5  Extended

/dev/sda5            4695        5216     4192933+  82  Linux swap / Solaris

/dev/sda6            5217        5703     3911796   83  Linux

/dev/sda7            5704        6190     3911796   83  Linux

/dev/sda8            6191        6677     3911796   83  Linux

/dev/sda9            6678        7164     3911796   83  Linux

/dev/sda10           7165        7651     3911796   83  Linux

/dev/sda11           7652        8138     3911796   83  Linux

/dev/sda12           8139        8625     3911796   83  Linux

/dev/sda13           8626        9112     3911796   83  Linux

/dev/sda14           9113        9599     3911796   83  Linux

/dev/sda15           9600       10086     3911796   83  Linux

Disk /dev/sdb: 42.9 GB, 42949672960 bytes

255 heads, 63 sectors/track, 5221 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

/dev/sdb1               1        5221    41937651   83  Linux
  • Mount the new disk using the mount command: 

First, you’ll need to create a mount point. We’ll use /u02. This is where we’ll mount /dev/sdb1. Enter the following commands:

[root@PawASM ~]# ll  /

[root@PawASM ~]# mkdir /u02

total 178

drwxr-xr-x   2 root   root      4096 Jan 18 02:12 bin

drwxr-xr-x   4 root   root      1024 Jan 18 19:15 boot

drwxr-xr-x  13 root   root      4640 Jan 29 23:51 dev

drwxr-xr-x 137 root   root     12288 Jan 29 23:41 etc

drwxr-xr-x   3 root   root      4096 Jan 18 18:05 home

drwxr-xr-x  11 root   root      4096 Jan 18 02:10 lib

drwxr-xr-x   8 root   root     12288 Jan 18 02:11 lib64

drwx------   2 root   root     16384 Jan 17 23:07 lost+found

drwxr-xr-x   3 root   root      4096 Jan 29 23:41 media

drwxr-xr-x   2 root   root         0 Jan 29 23:37 misc

drwxr-xr-x   3 root   root      4096 Jan 18 02:55 mnt

drwxr-xr-x   2 root   root         0 Jan 29 23:37 net

drwxr-xr-x   4 root   root      4096 Jan 18 19:14 opt

dr-xr-xr-x 236 root   root         0 Jan 29 23:36 proc

drwxr-x---  16 root   root      4096 Jan 29 23:41 root

drwxr-xr-x   2 root   root     12288 Jan 18 19:15 sbin

drwxr-xr-x   2 root   root      4096 Jan 17 23:07 selinux

drwxr-xr-x   2 root   root      4096 Oct  1  2009 srv

drwxr-xr-x  11 root   root         0 Jan 29 23:36 sys

drwxr-xr-x   3 root   root      4096 Jan 17 23:38 tftpboot

drwxrwxrwt  22 root   root      4096 Jan 29 23:41 tmp

drwxrwxrwx   3 oracle oinstall  4096 Jan 18 18:08 u01

drwxr-xr-x   2 root   root      4096 Jan 30 00:34 u02

drwxr-xr-x  15 root   root      4096 Jan 17 23:16 usr

drwxr-xr-x  28 root   root      4096 Jan 18 00:06 var

[root@PawASM ~]# mount /dev/sdb1 /u02

 [root@PawASM ~]# df -h

Filesystem            Size     Used     Avail   Use%    Mounted on

/dev/sda2            30G        23G     4.9G     83%     /

/dev/sda3            5.7G      143M     5.3G      3%     /tmp

/dev/sda1            99M        15M      80M     16%     /boot

tmpfs                1.8G      1.1G     703M     61%     /dev/shm

/dev/sr0             3.6G      3.6G        0    100%     /media/SAI-OS-5U7_64bit

/dev/sdb1             40G      177M      38G      1%     /u02

 Edit /etc/fstab so the new drive will automatically mount to /u02 on reboot

 [root@PawASM ~]# vi /etc/fstab

/dev/sdb1               /u02                    ext3    defaults        1      1

[root@PawASM ~]# mount -a

“OR”

[root@PawASM ~]# init 6

[root@PawASM ~]# df -h

Filesystem            Size      Used     Avail    Use%  Mounted on

/dev/sda2            30G      23G        4.9G      83%   /

/dev/sda3            5.7G     143M       5.3G       3%   /tmp

/dev/sda1            99M      15M         80M      16%   /boot

/dev/sdb1            40G      177M        38G       1%   /u02

tmpfs                1.8G        0       1.8G       0%   /dev/shm

/dev/sr0             3.6G     3.6G         0      100%   /media/SAI-OS-5U7_64bit
  • If Linux file system mounted in Read only mode for repair then it will not allow you to edit /etc/fstab or any other file. So we need to mount linux file system in read write mode by using command.

Thank you for reading… This is Airy…Enjoy:)

 

#fdisk

DNS Server Configuration For Oracle-RAC in RHEL 5/6/7- Airy’s notes

 

DNS Configuration:

IP Addresses and other settings:

DNS Server Details:

paw-racstorage-dns.airydba.com :

eth0 : 192.168.75.10    ---- For Public Network

gateway : 192.168.75.1

subnet : 255.255.255.0

hostname: paw-racstorage-dns.airydba.com

Primary DNS : 192.168.75.10

DNS Search Path : airydba.com

3 Nodes Details:

Node1:

paw-racnode1.airydba.com :

eth0: 192.168.75.11     ---- For Public Network

eth1: 10.0.0.1          ---- For Private Network

gateway : 192.168.75.1

subnet : 255.255.255.0

hostname: paw-racnode1.airydba.com

Primary DNS : 192.168.75.10

DNS Search Path : airydba.com

Node2:

paw-racnode2.airydba.com :

eth0: 192.168.75.12     ---- For Public Network

eth1: 10.0.0.2          ---- For Private Network

gateway : 192.168.75.1

subnet : 255.255.255.0

hostname: paw-racnode2.airydba.com

Primary DNS : 192.168.75.10

DNS Search Path : airydba.com

Node3:

paw-racnode3.airydba.com

eth0: 192.168.75.13     ---- For Public Network

eth1: 10.0.0.3          ---- For Private Network

gateway : 192.168.75.1

subnet : 255.255.255.0

hostname: paw-racnode3.airydba.com

Primary DNS : 192.168.75.10

DNS Search Path : airydba.com

Work To be performed on Machine on which DNS to be configure:

[root@paw-racstorage-dns ~]# mkdir -p /u01/rhel5_rpms

[root@paw-racstorage-dns ~]# chmod 777 /u01/rhel5_rpms

[root@paw-racstorage-dns ~]# cp -ar /media/SAI-OS-5U7_64bit/Server/*.* /u01/rhel5_rpms

[root@paw-racstorage-dns ~]# cd /u01/rhel5_rpms
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh bind-chroot*

warning: bind-chroot-9.3.6-16.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:bind-chroot               ########################################### [100%]
 [root@paw-racstorage-dns rhel5_rpms]# rpm -ivh bind-libs*

warning: bind-libs-9.3.6-16.P1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1: bind-libs              ########################################### [100%]
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh ypbind-1.19-12.el5_6.1.x86_64.rpm

warning: ypbind-1.19-12.el5_6.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

    1: ypbind                ########################################### [100%]
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh bind-9.3.6-16.P1.el5.x86_64.rpm

warning: bind-9.3.6-16.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1: bind-9.3.6           ########################################### [100%]
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh bind-utils-9.3.6-16.P1.el5.x86_64.rpm

warning: bind-utils-9.3.6-16.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1: bind-utils            ########################################### [100%]
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh bind-sdb-9.3.6-16.P1.el5.x86_64.rpm


warning: bind-sdb-9.3.6-16.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:bind-sdb               ########################################### [100%]
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh bind-libbind-devel-9.3.6-16.P1.el5.x86_64

warning: bind-libbind-devel-9.3.6-16.P1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:bind-libbind-devel     ########################################### [ 100%]
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh bind-devel-9.3.6-16.P1.el5.x86_64.rpm

warning: bind-devel-9.3.6-16.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:bind-devel             ########################################### [100%]
[root@paw-racstorage-dns rhel5_rpms]# rpm -ivh caching-nameserver-9.3.6-16.P1.el5.x86_64.rpm

warning: caching-nameserver-9.3.6-16.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:caching-nameserver     ########################################### [100%]
[root@paw-racstorage-dns ~]# rpm -qa bind*

bind-9.3.6-16.P1.el5

bind-utils-9.3.6-16.P1.el5

bind-devel-9.3.6-16.P1.el5

bind-sdb-9.3.6-16.P1.el5

bind-libbind-devel-9.3.6-16.P1.el5

bind-libs-9.3.6-16.P1.el5

bind-chroot-9.3.6-16.P1.el5
[root@paw-racstorage-dns ~]# rpm -qa system-config-bind*

system-config-bind-4.0.3-4.el5

[root@paw-racstorage-dns ~]# rpm -qa ypbind*

ypbind-1.19-12.el5_6.1

[root@paw-racstorage-dns ~]# rpm -qa caching-nameserver*

caching-nameserver-9.3.6-16.P1.el5
[root@paw-racstorage-dns ~]# cd /etc

[root@paw-racstorage-dns etc]# ll named*

lrwxrwxrwx 1 root named 52 May 11 12:21 named.caching-nameserver.conf -> /var/named/chroot//etc/named.caching-nameserver.conf

lrwxrwxrwx 1 root named 42 May 11 12:21 named.rfc1912.zones -> /var/named/chroot//etc/named.rfc1912.zones
[root@paw-racstorage-dns etc]# cp named.caching-nameserver.conf named.caching-nameserver.conf1

[root@paw-racstorage-dns etc]# mv named.caching-nameserver.conf named.conf

[root@paw-racstorage-dns etc]# ll named*

-rw-r----- 1 root root  1230 May 11 12:32 named.caching-nameserver.conf1

lrwxrwxrwx 1 root named   52 May 11 12:21 named.conf -> /var/named/chroot//etc/named.caching-nameserver.conf

lrwxrwxrwx 1 root named   42 May 11 12:21 named.rfc1912.zones -> /var/named/chroot//etc/named.rfc1912.zones

Orignal  “/etc/named.conf” file :

[root@paw-racstorage-dns etc]# cat named.conf

//

// named.caching-nameserver.conf

//

// Provided by Red Hat caching-nameserver package to configure the

// ISC BIND named(8) DNS server as a caching only nameserver

// (as a localhost DNS resolver only).

//

// See /usr/share/doc/bind*/sample/ for example named configuration files.

//

// DO NOT EDIT THIS FILE - use system-config-bind or an editor

// to create named.conf - edits to this file will be lost on

// caching-nameserver package upgrade.

//

options {

        listen-on port 53 { 127.0.0.1; };

        listen-on-v6 port 53 { ::1; };

        directory       "/var/named";

        dump-file       "/var/named/data/cache_dump.db";

        statistics-file "/var/named/data/named_stats.txt";

        memstatistics-file "/var/named/data/named_mem_stats.txt";

        // Those options should be used carefully because they disable port

        // randomization

        // query-source    port 53;

        // query-source-v6 port 53;

        allow-query     { localhost; };

        allow-query-cache { localhost; };

};

logging {

        channel default_debug {

                file "data/named.run";

                severity dynamic;

        };

};

view localhost_resolver {

        match-clients      { localhost; };

        match-destinations { localhost; };

        recursion yes;

        include "/etc/named.rfc1912.zones";

};

 

Modified “/etc/named.conf” file :

[root@paw-racstorage-dns etc]# cat named.conf

//      match-clients      { localhost; };

// named.caching-nameserver.confalhost; };

//      recursion yes;

// Provided by Red Hat caching-nameserver package to configure the

// ISC BIND named(8) DNS server as a caching only nameserver

// (as a localhost DNS resolver only). .conf

//

// See /usr/share/doc/bind*/sample/ for example named configuration files.

//

// DO NOT EDIT THIS FILE - use system-config-bind or an editor

// to create named.conf - edits to this file will be lost on

// caching-nameserver package upgrade.

//

options {

        listen-on port 53 { 127.0.0.1; 192.168.75.10; };

        listen-on-v6 port 53 { ::1; };

        directory       "/var/named";

        dump-file       "/var/named/data/cache_dump.db";

        statistics-file "/var/named/data/named_stats.txt";

        memstatistics-file "/var/named/data/named_mem_stats.txt";

        // Those options should be used carefully because they disable port

        // randomization

        // query-source    port 53;

        // query-source-v6 port 53;


        allow-query     { localhost; any; };

        allow-query-cache { localhost; any; };

};

logging {

        channel default_debug {

                file "data/named.run";

                severity dynamic;

        };

};

view localhost_resolver {

        match-clients      { localhost; any; };

        match-destinations { localhost; any; };

        recursion yes;

        include "/etc/named.rfc1912.zones";

};

Orignal “/etc/named.rfc1912.zones” :

[root@paw-racstorage-dns etc]# cat named.rfc1912.zones

// named.rfc1912.zones:

//

// Provided by Red Hat caching-nameserver package

//

// ISC BIND named zone configuration for zones recommended by

// RFC 1912 section 4.1 : localhost TLDs and address zones

//

// See /usr/share/doc/bind*/sample/ for example named configuration files.

//

zone "." IN {

        type hint;

        file "named.ca";

};

zone "localdomain" IN {

        type master;

        file "localdomain.zone";

        allow-update { none; };

};

zone "localhost" IN {

        type master;

        file "localhost.zone";

        allow-update { none; };

};

zone "0.0.127.in-addr.arpa" IN {

        type master;

        file "named.local";

        allow-update { none; };

};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {

        type master;

        file "named.ip6.local";

        allow-update { none; };

};

zone "255.in-addr.arpa" IN {

        type master;

        file "named.broadcast";

        allow-update { none; };

};

zone "0.in-addr.arpa" IN {

        type master;

        file "named.zero";

        allow-update { none; };

};

Modifed “/etc/named.rfc1912.zones”:

[root@paw-racstorage-dns etc]# cat /etc/named.rfc1912.zones

// named.rfc1912.zones:

//oot@paw-racstorage-dns etc]# vi named.rfc1912.zones

// Provided by Red Hat caching-nameserver package

//

// ISC BIND named zone configuration for zones recommended by

// RFC 1912 section 4.1 : localhost TLDs and address zones

//

// See /usr/share/doc/bind*/sample/ for example named configuration files.

//

zone "." IN {

        type hint;

        file "named.ca";

};

zone "airydba.com" IN {

        type master;

        file "for.zone";

        allow-update { none; };

};

zone "localhost" IN {

        type master;

        file "localhost.zone";

        allow-update { none; };

};

zone "75.168.192.in-addr.arpa" IN {

        type master;

        file "rev.zone";

        allow-update { none; };

};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {

        type master;

        file "named.ip6.local";

        allow-update { none; };

};

zone "255.in-addr.arpa" IN {

        type master;

        file "named.broadcast";

        allow-update { none; };

};

zone "0.in-addr.arpa" IN {

        type master;

        file "named.zero";

        allow-update { none; };

};
[root@paw-racstorage-dns etc]# cd /var/named/chroot/var/named/

[root@paw-racstorage-dns named]# ll

total 44

drwxrwx--- 2 named named 4096 Aug 26  2004 data

-rw-r----- 1 root  named  198 Dec  2  2010 localdomain.zone

-rw-r----- 1 root  named  195 Dec  2  2010 localhost.zone

-rw-r----- 1 root  named  427 Dec  2  2010 named.broadcast

-rw-r----- 1 root  named 1892 Dec  2  2010 named.ca

-rw-r----- 1 root  named  424 Dec  2  2010 named.ip6.local

-rw-r----- 1 root  named  426 Dec  2  2010 named.local

-rw-r----- 1 root  named  427 Dec  2  2010 named.zero

drwxrwx--- 2 named named 4096 Jul 27  2004 slaves


[root@paw-racstorage-dns named]# cp -a named.local for.zone

[root@paw-racstorage-dns named]# cp -a named.zero rev.zone

[root@paw-racstorage-dns named]# ll

total 52

drwxrwx--- 2 named named 4096 Aug 26  2004 data

-rw-r----- 1 root  named 1087 May 11 12:54 for.zone

-rw-r----- 1 root  named  198 Dec  2  2010 localdomain.zone

-rw-r----- 1 root  named  195 Dec  2  2010 localhost.zone

-rw-r----- 1 root  named  427 Dec  2  2010 named.broadcast

-rw-r----- 1 root  named 1892 Dec  2  2010 named.ca

-rw-r----- 1 root  named  424 Dec  2  2010 named.ip6.local

-rw-r----- 1 root  named  426 Dec  2  2010 named.local

-rw-r----- 1 root  named  427 Dec  2  2010 named.zero

-rw-r----- 1 root  named  953 May 11 12:59 rev.zone

drwxrwx--- 2 named named 4096 Jul 27  2004 slaves

 

Orignal “/var/named/chroot/var/named/for.zone”file:

[root@paw-racstorage-dns named]# cat for.zone

$TTL    86400

@       IN      SOA     localhost. root.localhost.  (

                                      1997022700 ; Serial

                                      28800      ; Refresh

                                      14400      ; Retry

                                      3600000    ; Expire

                                      86400 )    ; Minimum

        IN      NS      localhost.

1       IN      PTR     localhost.

Modifed  “/var/named/chroot/var/named/for.zone” file :

[root@paw-racstorage-dns named]# cat for.zone

$TTL    86400

@       IN      SOA     paw-racstorage-dns.airydba.com. root.paw-racstorage-dns.airydba.com.  (

                                      1997022700 ; Serial

                                      28800      ; Refresh

                                      14400      ; Retry

                                      3600000    ; Expire

                                      86400 )    ; Minimum

                        IN      NS      paw-racstorage-dns.airydba.com.

airydba.com.            IN      A       192.168.75.10

paw-racstorage-dns      IN      A       192.168.75.10

paw-racnode1            IN      A       192.168.75.11

paw-racnode2            IN      A       192.168.75.12

paw-racnode3            IN      A       192.168.75.13

paw-racnode1-priv       IN      A       10.0.0.1

paw-racnode2-priv       IN      A       10.0.0.2

paw-racnode3-priv       IN      A       10.0.0.3

paw-racnode1-vip        IN      A       192.168.75.21

paw-racnode2-vip        IN      A       192.168.75.22

paw-racnode3-vip        IN      A       192.168.75.23

paw-rac01-scan          IN      A       192.168.75.101

paw-rac01-scan          IN      A       192.168.75.102

paw-rac01-scan          IN      A       192.168.75.103

 

Orignal “/var/named/chroot/var/named/rev.zone” file:

[root@paw-racstorage-dns named]# cat rev.zone 

$TTL    86400

@               IN SOA  localhost.      root.localhost. (

                                        42              ; serial (d. adams)

                                        3H              ; refresh

                                        15M             ; retry

                                        1W              ; expiry

                                        1D )            ; minimum

        IN      NS      localhost.

Modifed  “/var/named/chroot/var/named/rev.zone” file:

[root@paw-racstorage-dns named]# cat rev.zone

$TTL    86400

@               IN SOA  paw-racstorage-dns.airydba.com. root.paw-racstorage-dns.airydba.com. (

                                        42              ; serial (d. adams)

                                        3H              ; refresh

                                        15M             ; retry

                                        1W              ; expiry

                                        1D )            ; minimum

        IN      NS      paw-racstorage-dns.airydba.com.

10      IN      PTR     paw-racstorage-dns.airydba.com.

11      IN      PTR     paw-racnode1.airydba.com.

12      IN      PTR     paw-racnode2.airydba.com.

13      IN      PTR     paw-racnode3.airydba.com.

21      IN      PTR     paw-racnode1-vip.airydba.com.

22      IN      PTR     paw-racnode2-vip.airydba.com.

23      IN      PTR     paw-racnode3-vip.airydba.com.

101     IN      PTR     paw-rac01-scan.airydba.com.

102     IN      PTR     paw-rac01-scan.airydba.com.

103     IN      PTR     paw-rac01-scan.airydba.com.

Orignal “/etc/resolv.conf” file :

[root@paw-racstorage-dns named]# cat /etc/resolv.conf

; generated by /sbin/dhclient-script

search localdomain

nameserver 192.168.75.2

Modified “/etc/resolv.conf” file :

 [root@paw-racstorage-dns named]# cat /etc/resolv.conf

; generated by /sbin/dhclient-script

search airydba.com

nameserver 192.168.75.10

Orignal “/etc/hosts” file :

[root@paw-racstorage-dns named]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1               paw-racstorage-dns.airydba.com paw-racstorage-dns localhost.localdomain localhost

::1             localhost6.localdomain6 localhost6

Modified “/etc/hosts” file :

[root@paw-racstorage-dns named]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1               localhost.localdomain localhost

::1             localhost6.localdomain6 localhost6

 

Work To be performed on all Nodes (paw-racnode1,paw-racnode2,paw-racnode3):

Orignal “/etc/resolv.conf” file :

[root@paw-racstorage-dns named]# cat /etc/resolv.conf

search localdomain

nameserver 192.168.75.2

Modified “/etc/resolv.conf” file :

 [root@paw-racnode1 named]# cat /etc/resolv.conf

search airydba.com

nameserver 192.168.75.10

 

Orignal “/etc/hosts” file :

[root@ paw-racnode1 named]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1               paw-racnode1.airydba.com paw-racnode1 localhost.localdomain localhost

::1             localhost6.localdomain6 localhost6

Modified “/etc/hosts” file :

[root@ paw-racnode1 named]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1               localhost.localdomain localhost

::1             localhost6.localdomain6 localhost6

 

DNS Testing :

[root@paw-racstorage-dns named]# ping paw-racstorage-dns

PING paw-racstorage-dns.airydba.com (192.168.75.10) 56(84) bytes of data.

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=1 ttl=64 time=0.014 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=2 ttl=64 time=0.029 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=3 ttl=64 time=0.029 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=4 ttl=64 time=0.028 ms

--- paw-racstorage-dns.airydba.com ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3001ms

rtt min/avg/max/mdev = 0.014/0.025/0.029/0.006 ms
[root@paw-racstorage-dns named]# ping paw-racnode1

PING paw-racnode1.airydba.com (192.168.75.11) 56(84) bytes of data.

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=1 ttl=64 time=0.659 ms

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=2 ttl=64 time=0.238 ms

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=3 ttl=64 time=0.245 ms

--- paw-racnode1.airydba.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2000ms

rtt min/avg/max/mdev = 0.238/0.380/0.659/0.198 ms
[root@paw-racstorage-dns named]# ping paw-racnode2

PING paw-racnode2.airydba.com (192.168.75.12) 56(84) bytes of data.

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=1 ttl=64 time=1.13 ms

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=2 ttl=64 time=0.235 ms

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=3 ttl=64 time=0.227 ms

--- paw-racnode2.airydba.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 1999ms

rtt min/avg/max/mdev = 0.227/0.532/1.135/0.426 ms
[root@paw-racstorage-dns named]# ping paw-racnode3

PING paw-racnode3.airydba.com (192.168.75.13) 56(84) bytes of data.

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=1 ttl=64 time=1.14 ms

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=2 ttl=64 time=0.229 ms

--- paw-racnode3.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.229/0.688/1.147/0.459 ms
[root@paw-racstorage-dns named]# dig -x 192.168.75.10

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x 192.168.75.10

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44221

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;10.75.168.192.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:

10.75.168.192.in-addr.arpa. 86400 IN    PTR     paw-racstorage-dns.airydba.com.

;; AUTHORITY SECTION:

75.168.192.in-addr.arpa. 86400  IN      NS      paw-racstorage-dns.airydba.com.

;; ADDITIONAL SECTION:

paw-racstorage-dns.airydba.com. 86400 IN A      192.168.75.10

;; Query time: 0 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:39:53 2016

;; MSG SIZE  rcvd: 118
[root@paw-racstorage-dns named]# dig -x 192.168.75.11

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x 192.168.75.11

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5827

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;11.75.168.192.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:

11.75.168.192.in-addr.arpa. 86400 IN    PTR     paw-racnode1.airydba.com.

;; AUTHORITY SECTION:

75.168.192.in-addr.arpa. 86400  IN      NS      paw-racstorage-dns.airydba.com.

;; ADDITIONAL SECTION:

paw-racstorage-dns.airydba.com. 86400 IN A      192.168.75.10

;; Query time: 0 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:42:10 2016

;; MSG SIZE  rcvd: 131
[root@paw-racstorage-dns named]# dig -x 192.168.75.12

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x 192.168.75.12

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34370

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;12.75.168.192.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:

12.75.168.192.in-addr.arpa. 86400 IN    PTR     paw-racnode2.airydba.com.

;; AUTHORITY SECTION:

75.168.192.in-addr.arpa. 86400  IN      NS      paw-racstorage-dns.airydba.com.

;; ADDITIONAL SECTION:

paw-racstorage-dns.airydba.com. 86400 IN A      192.168.75.10

;; Query time: 0 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:42:16 2016

;; MSG SIZE  rcvd: 131
[root@paw-racstorage-dns named]# dig -x 192.168.75.13

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x 192.168.75.13

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38759

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:

;13.75.168.192.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:

13.75.168.192.in-addr.arpa. 86400 IN    PTR     paw-racnode3.airydba.com.

;; AUTHORITY SECTION:

75.168.192.in-addr.arpa. 86400  IN      NS      paw-racstorage-dns.airydba.com.

;; ADDITIONAL SECTION:

paw-racstorage-dns.airydba.com. 86400 IN A      192.168.75.10

;; Query time: 0 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:42:18 2016

;; MSG SIZE  rcvd: 131
[root@paw-racstorage-dns named]# dig -x paw-racstorage-dns

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x paw-racstorage-dns

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31271

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:

;paw-racstorage-dns.in-addr.arpa. IN    PTR

;; Query time: 30 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:40:29 2016

;; MSG SIZE  rcvd: 49
[root@paw-racstorage-dns named]# dig -x paw-racstorage-dns.airydba.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x paw-racstorage-dns.airydba.com

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 30867

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:

;com.example.paw-racstorage-dns.in-addr.arpa. IN        PTR

;; Query time: 4 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:40:43 2016

;; MSG SIZE  rcvd: 61
[root@paw-racstorage-dns named]# dig -x paw-racnode1

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x paw-racnode1

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 36154

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:

;paw-racnode1.in-addr.arpa.     IN      PTR

;; Query time: 5 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:41:16 2016

;; MSG SIZE  rcvd: 43
[root@paw-racstorage-dns named]# dig -x paw-racnode2

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x paw-racnode2

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 2062

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:

;paw-racnode2.in-addr.arpa.     IN      PTR

;; Query time: 4 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:41:20 2016

;; MSG SIZE  rcvd: 43
 [root@paw-racstorage-dns named]# dig -x paw-racnode3

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> -x paw-racnode3

;; global options:  printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 19888

;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:

;paw-racnode3.in-addr.arpa.     IN      PTR

;; Query time: 4 msec

;; SERVER: 192.168.75.10#53(192.168.75.10)

;; WHEN: Wed May 11 16:41:23 2016

;; MSG SIZE  rcvd: 43
[root@paw-racstorage-dns named]# nslookup paw-racstorage-dns.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racstorage-dns.airydba.com

Address: 192.168.75.10

[root@paw-racstorage-dns named]# nslookup paw-racstorage-dns

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racstorage-dns.airydba.com

Address: 192.168.75.10

[root@paw-racstorage-dns named]# nslookup paw-racnode1.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode1.airydba.com

Address: 192.168.75.11

[root@paw-racstorage-dns named]# nslookup paw-racnode1

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode1.airydba.com

Address: 192.168.75.11

[root@paw-racstorage-dns named]# nslookup paw-racnode2.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode2.airydba.com

Address: 192.168.75.12

[root@paw-racstorage-dns named]# nslookup paw-racnode3

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode3.airydba.com

Address: 192.168.75.13

[root@paw-racstorage-dns named]# nslookup paw-racnode1-priv.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode1-priv.airydba.com

Address: 10.0.0.1

[root@paw-racstorage-dns named]# nslookup paw-racnode2-priv.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode2-priv.airydba.com

Address: 10.0.0.2

[root@paw-racstorage-dns named]# nslookup paw-racnode3-priv.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode3-priv.airydba.com

Address: 10.0.0.3

[root@paw-racstorage-dns named]# nslookup paw-racnode1-vip.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode1-vip.airydba.com

Address: 192.168.75.21

[root@paw-racstorage-dns named]# nslookup paw-racnode2-vip.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode2-vip.airydba.com

Address: 192.168.75.22

[root@paw-racstorage-dns named]# nslookup paw-racnode3-vip.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-racnode3-vip.airydba.com

Address: 192.168.75.23

[root@paw-racstorage-dns named]# nslookup paw-rac01-scan.airydba.com

Server:         192.168.75.10

Address:        192.168.75.10#53

Name:   paw-rac01-scan.airydba.com

Address: 192.168.75.101

Name:   paw-rac01-scan.airydba.com

Address: 192.168.75.102

Name:   paw-rac01-scan.airydba.com

Address: 192.168.75.103

========================================================================

Checking on paw-racnode1 :

[root@paw-racnode1 ~]# ping paw-racstorage-dns

PING paw-racstorage-dns.airydba.com (192.168.75.10) 56(84) bytes of data.

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=1 ttl=64 time=0.172 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=2 ttl=64 time=0.217 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=3 ttl=64 time=0.236 ms

--- paw-racstorage-dns.airydba.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2001ms

rtt min/avg/max/mdev = 0.172/0.208/0.236/0.029 ms

[root@paw-racnode1 ~]# ping paw-racnode1

PING paw-racnode1.airydba.com (192.168.75.11) 56(84) bytes of data.

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=1 ttl=64 time=0.019 ms

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=2 ttl=64 time=0.029 ms

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=3 ttl=64 time=0.030 ms

--- paw-racnode1.airydba.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2000ms

rtt min/avg/max/mdev = 0.019/0.026/0.030/0.005 ms

[root@paw-racnode1 ~]# ping paw-racnode2

PING paw-racnode2.airydba.com (192.168.75.12) 56(84) bytes of data.

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=1 ttl=64 time=1.44 ms

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=2 ttl=64 time=0.529 ms

--- paw-racnode2.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 999ms

rtt min/avg/max/mdev = 0.529/0.986/1.444/0.458 ms

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

[root@paw-racnode1 ~]# ping paw-racnode3

PING paw-racnode3.airydba.com (192.168.75.13) 56(84) bytes of data.

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=1 ttl=64 time=0.754 ms

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=2 ttl=64 time=0.217 ms

--- paw-racnode3.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.217/0.485/0.754/0.269 ms

[root@paw-racnode1 ~]# ping paw-racnode1-priv

PING paw-racnode1-priv.airydba.com (10.0.0.1) 56(84) bytes of data.

64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=1.25 ms

64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.163 ms

--- paw-racnode1-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 999ms

rtt min/avg/max/mdev = 0.163/0.708/1.253/0.545 ms

[root@paw-racnode1 ~]# ping paw-racnode2-priv

PING paw-racnode2-priv.airydba.com (10.0.0.2) 56(84) bytes of data.

64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.25 ms

64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.236 ms

--- paw-racnode2-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.236/0.745/1.255/0.510 ms

[root@paw-racnode1 ~]# ping paw-racnode3-priv

PING paw-racnode3-priv.airydba.com (10.0.0.3) 56(84) bytes of data.

64 bytes from 10.0.0.3: icmp_seq=1 ttl=64 time=0.018 ms

64 bytes from 10.0.0.3: icmp_seq=2 ttl=64 time=0.026 ms

--- paw-racnode3-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.018/0.022/0.026/0.004 ms


========================================================================

Checking on paw-racnode2 :

[root@paw-racnode2 ~]# ping paw-racstorage-dns

PING paw-racstorage-dns.airydba.com (192.168.75.10) 56(84) bytes of data.

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=1 ttl=64 time=0.181 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=2 ttl=64 time=0.517 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=3 ttl=64 time=0.219 ms

--- paw-racstorage-dns.airydba.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2000ms

rtt min/avg/max/mdev = 0.181/0.305/0.517/0.151 ms

[root@paw-racnode2 ~]# ping paw-racnode1

PING paw-racnode1.airydba.com (192.168.75.11) 56(84) bytes of data.

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=1 ttl=64 time=1.58 ms

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=2 ttl=64 time=0.159 ms

64 bytes from paw-racnode1.airydba.com (192.168.75.11): icmp_seq=3 ttl=64 time=0.199 ms

--- paw-racnode1.airydba.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2000ms

rtt min/avg/max/mdev = 0.159/0.649/1.589/0.664 ms

[root@paw-racnode2 ~]# ping paw-racnode2

PING paw-racnode2.airydba.com (192.168.75.12) 56(84) bytes of data.

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=1 ttl=64 time=0.017 ms

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=2 ttl=64 time=0.028 ms

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=3 ttl=64 time=0.031 ms

--- paw-racnode2.airydba.com ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2000ms

rtt min/avg/max/mdev = 0.017/0.025/0.031/0.007 ms

[root@paw-racnode2 ~]# ping paw-racnode3

PING paw-racnode3.airydba.com (192.168.75.13) 56(84) bytes of data.

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=1 ttl=64 time=1.66 ms

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=2 ttl=64 time=0.217 ms

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=3 ttl=64 time=0.219 ms

--- paw-racnode3.airydba.com ping statistics ---

6 packets transmitted, 6 received, 0% packet loss, time 5001ms

rtt min/avg/max/mdev = 0.151/0.447/1.668/0.546 ms

[root@paw-racnode2 ~]# ping paw-racnode1-priv

PING paw-racnode1-priv.airydba.com (10.0.0.1) 56(84) bytes of data.

64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=1.25 ms

64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.163 ms

--- paw-racnode1-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 999ms

rtt min/avg/max/mdev = 0.163/0.708/1.253/0.545 ms

[root@paw-racnode2 ~]# ping paw-racnode2-priv

PING paw-racnode2-priv.airydba.com (10.0.0.2) 56(84) bytes of data.

64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.25 ms

64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.236 ms

--- paw-racnode2-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.236/0.745/1.255/0.510 ms

[root@paw-racnode2 ~]# ping paw-racnode3-priv

PING paw-racnode3-priv.airydba.com (10.0.0.3) 56(84) bytes of data.

64 bytes from 10.0.0.3: icmp_seq=1 ttl=64 time=0.018 ms

64 bytes from 10.0.0.3: icmp_seq=2 ttl=64 time=0.026 ms

--- paw-racnode3-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.018/0.022/0.026/0.004 ms

========================================================================

Checking on paw-racnode3 :

 [root@paw-racnode3 ~]# ping paw-racstorage-dns

PING paw-racstorage-dns.airydba.com (192.168.75.10) 56(84) bytes of data.

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=1 ttl=64 time=0.109 ms

64 bytes from paw-racstorage-dns.airydba.com (192.168.75.10): icmp_seq=2 ttl=64 time=0.221 ms

--- paw-racstorage-dns.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.109/0.165/0.221/0.056 ms

[root@paw-racnode3 ~]# ping paw-racnode1

PING paw-racnode1.airydba.com (127.0.0.1) 56(84) bytes of data.

64 bytes from paw-racnode1.airydba.com (127.0.0.1): icmp_seq=1 ttl=64 time=0.022 ms

64 bytes from paw-racnode1.airydba.com (127.0.0.1): icmp_seq=2 ttl=64 time=0.027 ms

--- paw-racnode1.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 999ms

rtt min/avg/max/mdev = 0.022/0.024/0.027/0.005 ms

[root@paw-racnode3 ~]# ping paw-racnode2

PING paw-racnode2.airydba.com (192.168.75.12) 56(84) bytes of data.

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=1 ttl=64 time=0.725 ms

64 bytes from paw-racnode2.airydba.com (192.168.75.12): icmp_seq=2 ttl=64 time=0.227 ms

--- paw-racnode2.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.227/0.476/0.725/0.249 ms

[root@paw-racnode3 ~]# ping paw-racnode3

PING paw-racnode3.airydba.com (192.168.75.13) 56(84) bytes of data.

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=1 ttl=64 time=0.017 ms

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=2 ttl=64 time=0.026 ms

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=3 ttl=64 time=0.028 ms

64 bytes from paw-racnode3.airydba.com (192.168.75.13): icmp_seq=4 ttl=64 time=0.027 ms

--- paw-racnode3.airydba.com ping statistics ---

4 packets transmitted, 4 received, 0% packet loss, time 3000ms

rtt min/avg/max/mdev = 0.017/0.024/0.028/0.006 ms

[root@paw-racnode3 ~]# ping paw-racnode1-priv

PING paw-racnode1-priv.airydba.com (10.0.0.1) 56(84) bytes of data.

64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=1.25 ms

64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.163 ms

--- paw-racnode1-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 999ms

rtt min/avg/max/mdev = 0.163/0.708/1.253/0.545 ms

[root@paw-racnode3 ~]# ping paw-racnode2-priv

PING paw-racnode2-priv.airydba.com (10.0.0.2) 56(84) bytes of data.

64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.25 ms

64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.236 ms

--- paw-racnode2-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.236/0.745/1.255/0.510 ms

[root@paw-racnode3 ~]# ping paw-racnode3-priv

PING paw-racnode3-priv.airydba.com (10.0.0.3) 56(84) bytes of data.

64 bytes from 10.0.0.3: icmp_seq=1 ttl=64 time=0.018 ms

64 bytes from 10.0.0.3: icmp_seq=2 ttl=64 time=0.026 ms

--- paw-racnode3-priv.airydba.com ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1000ms

rtt min/avg/max/mdev = 0.018/0.022/0.026/0.004 ms

 

Thank you for reading… This is Airy…Enjoy Learning:)

#dns, #rac