• VIP的转移


    首先查看vip在各个节点的状态

    [root@rac2 ~]# ifconfig
    eth0      Link encap:Ethernet  HWaddr 08:00:27:C9:28:D0  
              inet addr:192.168.56.11  Bcast:192.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:999 errors:0 dropped:0 overruns:0 frame:0
              TX packets:624 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:209588 (204.6 KiB)  TX bytes:125712 (122.7 KiB)
    
    eth0:2    Link encap:Ethernet  HWaddr 08:00:27:C9:28:D0  
              inet addr:192.168.56.13  Bcast:192.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
    eth1      Link encap:Ethernet  HWaddr 08:00:27:F0:C2:F7  
              inet addr:10.168.56.11  Bcast:10.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:57279 errors:0 dropped:0 overruns:0 frame:0
              TX packets:63445 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:27548382 (26.2 MiB)  TX bytes:37709875 (35.9 MiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:30547 errors:0 dropped:0 overruns:0 frame:0
              TX packets:30547 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:15141040 (14.4 MiB)  TX bytes:15141040 (14.4 MiB)
    

    [root@rac1 ~]# ifconfig
    eth0      Link encap:Ethernet  HWaddr 08:00:27:40:4A:F0  
              inet addr:192.168.56.10  Bcast:192.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:870 errors:0 dropped:0 overruns:0 frame:0
              TX packets:857 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:171332 (167.3 KiB)  TX bytes:154303 (150.6 KiB)
    
    eth0:1    Link encap:Ethernet  HWaddr 08:00:27:40:4A:F0  
              inet addr:192.168.56.12  Bcast:192.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
    eth1      Link encap:Ethernet  HWaddr 08:00:27:A7:8D:47  
              inet addr:10.168.56.10  Bcast:10.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:65018 errors:0 dropped:0 overruns:0 frame:0
              TX packets:58409 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:38854868 (37.0 MiB)  TX bytes:28643501 (27.3 MiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:35333 errors:0 dropped:0 overruns:0 frame:0
              TX packets:35333 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:16898183 (16.1 MiB)  TX bytes:16898183 (16.1 MiB)

    然后关掉节点二 :

    [root@rac2 ~]# shutdown -h now
    
    Broadcast message from root (pts/2) (Thu Jan 21 11:13:21 2016):
    
    The system is going down for system halt NOW!

    查看节点一:

    [root@rac1 ~]# ifconfig
    eth0      Link encap:Ethernet  HWaddr 08:00:27:40:4A:F0  
              inet addr:192.168.56.10  Bcast:192.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:890 errors:0 dropped:0 overruns:0 frame:0
              TX packets:892 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:172644 (168.5 KiB)  TX bytes:159278 (155.5 KiB)
    
    eth0:1    Link encap:Ethernet  HWaddr 08:00:27:40:4A:F0  
              inet addr:192.168.56.12  Bcast:192.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
    eth0:2    Link encap:Ethernet  HWaddr 08:00:27:40:4A:F0  
              inet addr:192.168.56.13  Bcast:192.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
    eth1      Link encap:Ethernet  HWaddr 08:00:27:A7:8D:47  
              inet addr:10.168.56.10  Bcast:10.168.56.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:65022 errors:0 dropped:0 overruns:0 frame:0
              TX packets:58411 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:38855261 (37.0 MiB)  TX bytes:28643623 (27.3 MiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:35407 errors:0 dropped:0 overruns:0 frame:0
              TX packets:35407 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:16981099 (16.1 MiB)  TX bytes:16981099 (16.1 MiB)

    尽管知道结果。但看到预料到的结果,还是非常happy

  • 相关阅读:
    496. 下一个更大元素 I
    20200516文献速递
    20200510文献速递
    beta,or, p value计算zscore
    20200503文献速递
    古人以及其他灵长类动物基因组数据
    20200420-0426文献速递
    使用snpflip校正基因组正负链
    使用qqman对曼哈顿图(Manhattan plot )多个显著位点标志不同颜色,拒绝屎一样的绿色
    RAEdb:基于STARR-seq和MPRA数据的enhancers和Epromoters可视化
  • 原文地址:https://www.cnblogs.com/yjbjingcha/p/6984726.html
Copyright © 2020-2023  润新知