Monday, July 18, 2016

Host lost its virtual interface to DOM on Oracle Linux 
[root@host1 ~]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
140.85.50.16    0.0.0.0         255.255.255.240 U         0 0          0 eth0
144.20.63.32    10.225.160.1    255.255.255.224 UG        0 0          0 eth1
140.85.21.0     10.225.160.1    255.255.255.128 UG        0 0          0 eth1
144.20.110.128  10.225.160.1    255.255.255.128 UG        0 0          0 eth1
144.20.116.128  10.225.160.1    255.255.255.128 UG        0 0          0 eth1
10.224.124.0    10.225.160.1    255.255.255.0   UG        0 0          0 eth1
144.20.118.0    10.225.160.1    255.255.255.0   UG        0 0          0 eth1
144.20.54.0     10.225.160.1    255.255.255.0   UG        0 0          0 eth1
140.85.2.0      10.225.160.1    255.255.254.0   UG        0 0          0 eth1
140.85.12.0     10.225.160.1    255.255.252.0   UG        0 0          0 eth1
10.225.160.0    0.0.0.0         255.255.248.0   U         0 0          0 eth1
10.224.96.0     10.225.160.1    255.255.248.0   UG        0 0          0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1
0.0.0.0         140.85.50.17    0.0.0.0         UG        0 0          0 eth0

 [root@host1 ~]# ping 10.225.160.1
PING 10.225.160.1 (10.225.160.1) 56(84) bytes of data.
From 10.225.161.133 icmp_seq=1 Destination Host Unreachable
From 10.225.161.133 icmp_seq=2 Destination Host Unreachable
From 10.225.161.133 icmp_seq=3 Destination Host Unreachable


[root@host1 ~]# ping abc12stor12-nas
PING abc12stor12-nas.us.oracle.com (10.225.163.240) 56(84) bytes of data.

--- abc12stor12-nas.us.oracle.com ping statistics ---
0 packets transmitted, 0 received

[root@host1 ~]# 

[root@host1 ~]# ping abc12osb12-nfs
PING abc12osb12-nfs.us.oracle.com (10.225.164.135) 56(84) bytes of data.
From host1-nfs.us.oracle.com (10.225.161.133) icmp_seq=2 Destination Host Unreachable
From host1-nfs.us.oracle.com (10.225.161.133) icmp_seq=3 Destination Host Unreachable
From host1-nfs.us.oracle.com (10.225.161.133) icmp_seq=4 Destination Host Unreachable

--- abc12osb12-nfs.us.oracle.com ping statistics ---
5 packets transmitted, 0 received, +3 e


On DOM --- 

[root@audom11 ~]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
45476_host1                           5  8192     2     r----- 1881798.9
45481_server1                           6 16384     4     -b---- 2652174.1
45486_server2                           7 16384     4     -b---- 1111889.1
45491_server3                          12 32768     8     -b---- 1285069.8
45496_server4                           14  8192     2     -b----  15698.7
Domain-0                                     0  2048    24     r----- 1462970.9
[root@audom11 ~]

 its possible the vm has "lost" the link to the dom0.
First get dom0 details for the host
 i'm checking out all the bridges and bonds (bond1 is usually NFS interface)
its definately a dom0 problem cos that dom0 runs 4 other Vm's .. all with the same issue

[root@audom11 ~]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
45476_host1                           5  8192     2     -b---- 1880611.3
45481_server1                           6 16384     4     -b---- 2652141.5
45486_server2                           7 16384     4     -b---- 1111874.7
45491_server3                          12 32768     8     -b---- 1285042.4
45496_server4                           14  8192     2     -b----  15683.1
Domain-0                                     0  2048    24     r----- 1462740.8

[root@audom11 ~]# xm network-list 45476_host1
Idx BE     MAC Addr.     handle state evt-ch tx-/rx-ring-ref BE-path
0   0  00:16:3E:14:0B:02    0     4      13    1280 /1281    /local/domain/0/backend/vif/5/0  
1   0  00:16:3E:38:24:93    1     4      14    1282 /1283    /local/domain/0/backend/vif/5/1  

[root@audom11 ~]# xm network-detach 45476_host1 1

[root@audom11 ~]# xm network-list 45476_host1
Idx BE     MAC Addr.     handle state evt-ch tx-/rx-ring-ref BE-path
0   0  00:16:3E:14:0B:02    0     4      13    1280 /1281    /local/domain/0/backend/vif/5/0  

[root@audom11 ~]# xm network-attach 45476_host1 bridge=br93 mac=00:16:3E:38:24:93

[root@audom11 ~]# xm network-list 45476_host1
Idx BE     MAC Addr.     handle state evt-ch tx-/rx-ring-ref BE-path
0   0  00:16:3E:14:0B:02    0     4      13    1280 /1281    /local/domain/0/backend/vif/5/0  
2   0  00:16:3E:38:24:93    2     4      14    1282 /1365    /local/domain/0/backend/vif/5/2  

Fixed after doing above.

No comments:

Post a Comment