Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

My vip ip and host not pinging each other.

aamir4u
Regular Advisor

My vip ip and host not pinging each other.

Hi,

 

My vip ip and host not pinging each other.

 .

my host entry is:-uatdata1

 

##***Cluster Node IP Address ***

192.168.6.5     uatdata1        uatdata1.mpmkvvcl.com

192.168.6.6     uatdata2        uatdata2.mpmkvvcl.com

##***Private IP Addresses ***

15.1.1.1        uatdata1-priv   uatdata1-priv.mpmkvvcl.com

15.1.1.2        uatdata2-priv   uatdata2-priv.mpmkvvcl.com

## *****Cluster VIP's*****

192.168.6.25    uatdata1-vip    uatdata1-vip.mpmkvvcl.com

192.168.6.26    uatdata2-vip    uatdata2-vip.mpmkvvcl.com

##*************application server****************

192.168.5.5     uatapp1         uatapp1.mpmkvvcl.com

192.168.5.6     uatapp2         uatapp2.mpmkvvcl.com

 

 

My another host entry is uatdata2:-

127.0.0.1       localhost       loopback

 192.168.4.5    prodata1     prodata1.mpmkvvcl.com

192.168.4.6    prodata2      prodata2.mpmkvvcl.com

##***Cluster Node IP Address ***

192.168.6.5  uatdata1           uatdata1.mpmkvvcl.com

192.168.6.6 uatdata2          uatdata2.mpmkvvcl.com

 ##***Private IP Addresses ***

15.1.1.1        uatdata1-priv          uatdata1-priv.mpmkvvcl.com

 15.1.1.2        uatdata2-priv          uatdata2-priv.mpmkvvcl.com

 ## *****Cluster VIP's*****

192.168.6.25  uatdata1-vip           uatdata1-vip.mpmkvvcl.com

192.168.6.26   uatdata2-vip          uatdata2-vip.mpmkvvcl.com

 ##******application server****************

192.168.5.5     uatapp1          uatapp1.mpmkvvcl.com

 192.168.5.6     uatapp2          uatapp2.mpmkvvcl.com

192.168.2.3     appsdev2         appsdev2.mpmkvvcl.com

 

 

Example:

ping uatdata1-vip.mpmkvvcl.com

not reply

 

(Both nodes are proper host entry but not vip addresses pinging each other )

other address ping each other but vip address not pinging

(VIP address is a cluster ip address)

Its a cluster ip

 

How can resolved that problem.

Thanks

 

Thanks
aamir uddin
13 REPLIES
Patrick Wallek
Honored Contributor

Re: Host name ping to another ip.

You probably need to check your DNS set up.  My guess is that the system is querying a DNS server that has an incorrect entry for this host.

 

Try using 'nslookup' or 'nsquery' to see what exactly is happening.  For example:

 

nslookup uatdata1-vip.mpmkvvcl.com

 

or

 

nsquery uatdata1-vip.mpmkvvcl.com

 

You should also check your /etc/resolv.conf file and see what DNS server(s) you are using.  You can also check /etc/nsswitch.conf to see what order things are queried in (probably DNS, then files).

 

If you are querying DNS first the you need to check the DNS servers specified in /etc/resolv.conf and make sure they have the correct IP addresses configured for these hosts.

Torsten.
Acclaimed Contributor

Re: My vip ip and host not pinging each other.

I don't know about your network, but it looks like you have more than 1 NIC on the same subnet - this causes problems!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Patrick Wallek
Honored Contributor

Re: My vip ip and host not pinging each other.

Check my reply in your other thread: http://h30499.www3.hp.com/t5/Networking/Host-name-ping-to-another-ip/m-p/5434741

 

I think you may have host to IP resolution problems.

Patrick Wallek
Honored Contributor

Re: My vip ip and host not pinging each other.

Can you ping via the IP address rather than the host name?

aamir4u
Regular Advisor

Re: My vip ip and host not pinging each other.

hello.

 

I try to ping to ip address but its also not pinging.(only vip address)another ip ping each other.

 

How can ping servers each other to vip address.

 

Please help me.

 

 

Thanks
aamir uddin
aamir4u
Regular Advisor

Re: My vip ip and host not pinging each other.

 

I dont know what are you saying.

 

I already send my ip host file on trail mail.

 

day after Yesterday its was ping each other.

but today i restarted serviceguard on both nodes(uatdata1 and uatadata2)

after restarted serviceguard its vip address not ping each other

 

and

nslookup shows all details properly.

 

What is a problem.how can we solve that problem.

 

Thank for future

Thanks
aamir uddin
aamir4u
Regular Advisor

Re: My vip ip and host not pinging each other.

Hi,

 

Please give me proper solution as soon as possible.

 

Thanks for future

Thanks
aamir uddin
Patrick Wallek
Honored Contributor

Re: My vip ip and host not pinging each other.

Are you sure your packages and their virtual IP addresses are up and configured?

 

If you do a 'netstat -in' on each server in the cluster do you see the appropriate IP addresses?

 

Does 'cmviewcl -v' show all packages to be up and running?

aamir4u
Regular Advisor

Re: My vip ip and host not pinging each other.

Hi,

When i run that commands the output are following:..

 

 

uatdata1 /#netstat -in

Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll lan3      1500 15.1.1.0        15.1.1.1        1992               0     0                  0     0 lan0      1500 192.168.6.0     192.168.6.5     6183               0     7188               0     0 lo0      32808 127.0.0.0       127.0.0.1       25828              0     25828              0     0

 

 uatdata1 /#cmviewcl -v

CLUSTER        STATUS

 uat            down  

ODE           STATUS       STATE  

 uatdata1       down         unknown

Cluster_Lock_LVM:

    VOLUME_GROUP          PHYSICAL_VOLUME       STATUS

    /dev/vglock                   /dev/disk/disk31                     unknown

 

 Network_Parameters:  

   INTERFACE    STATUS           PATH   NAME    

 PRIMARY      unknown  0/3/0/0/0/0         lan0    

 PRIMARY     unknown          0/4/2/1             lan3

 

NODE           STATUS       STATE

   uatdata2       down         unknown

 

Cluster_Lock_LVM:  

   VOLUME_GROUP          PHYSICAL_VOLUME       STATUS   

  /dev/vglock           /dev/disk/disk29                  unknown

  Network_Parameters:   

  INTERFACE    STATUS           PATH                NAME  

   PRIMARY      unknown          0/3/0/0/0/0         lan0  

   PRIMARY      unknown          0/4/2/1             lan3

 

uatdata1 /#ioscan -C lan

0/3/0/0/0/0                  lan     HP AD337-60001 PCIe 1000Base-T Dual-port Adapter

0/3/0/0/0/1                  lan     HP AD337-60001 PCIe 1000Base-T Dual-port Adapter

 0/4/2/0                lan           HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core

 0/4/2/1                lan           HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core

 

is first service guard up than

vip address ping each others ?

So,

How can solved that.

Thanks

 

Thanks
aamir uddin
Patrick Wallek
Honored Contributor

Re: My vip ip and host not pinging each other.

Your cluster is down.  It needs to be started.

aamir4u
Regular Advisor

Re: My vip ip and host not pinging each other.

O.K.Its ping

But how can cheak the logs serviceguard and

please tell us  monitoring commands of service guard.

 

Thanks for help..

 

Thanks
aamir uddin
aamir4u
Regular Advisor

Re: My vip ip and host not pinging each other.

Hi,

When is kill the services of cluster (crs) its restart the new process id.

 

ps -ef |grep crs

 

kill -9 perticular service

 

But restart that daemon (crsd)

 

 

 

Thanks
aamir uddin
Patrick Wallek
Honored Contributor

Re: My vip ip and host not pinging each other.

To manually check the status of your cluster the 'cmviewcl' command is a good one.  'cmvieiwcl -v' will give more verbose information.