Preliminary study on ovirt-cleaning ovirt environment

Source: Internet
Author: User
Tags ovirt

Preliminary study on ovirt-cleaning ovirt environment

2015/10/13 Time 13:49

1) Clean up Ovirt related services (including ha,engine): Deactivate and uninstall Ovirt,vdsm,libvirt related services. yum remove *ovirt* *vdsm* *libvirt* *rhev* *glusterfs* *postgresql*rm  /etc/ovirt* /etc/vdsm /etc/libvirt* /etc/pki/vdsm /etc/pki/libvirt /etc/pki/ca/ cacert.pem*  /var/run/vdsm /var/run/libvirt /var/lib/vdsm /var/lib/libvirt /var/ lib/ovirt* /var/lib/pgsql /var/log/*ovirt* /var/log/vdsm /var/log/ Libvirt If you need to clean up VDSM managed Multipath: First, view the list: multipath -l empty: Multipath -f Remove Package: Yum remove *multipath * *) Clean up the network card and firewall configuration "NIC" Take em1 bridging ovirtmgmt,em2+em3=bond0 bridging BR1 as an example # cd /etc/sysconfig/network-scripts/ #  brctl delbr \;vdsmdummy\; # brctl delif br1 bond0 &&  ifdown br1 && brctl delbr br1 && echo -bond0  >/sys/class/net/bonding_masters && mv ifcfg-bond0 ifcfg-br1 /tmp/ && cat << ' _eof '  >ifcfg-em2 && ifup em2device= em2type=ethernetonboot=yesnm_controlled=yesbootproto=noneipaddr=10.60.200.86netmask=255.255.255.0_eof#  cat << ' _eof '  >ifcfg-em3device=em3type=ethernetonboot=nonm_controlled=yesbootproto=dhcp_eof#  brctl delif ovirtmgmt em1 && ifdown ovirtmgmt &&  brctl delbr ovirtmgmt && cat << ' _eof '  >ifcfg-em1  && ifup em1 && mv *ovirt* /tmp/device=em1type=ethernetonboot=yesnm_ Controlled=yesbootproto=noneipaddr=10.50.200.86netmask=255.255.255.0gateway=10.50.200.1_eof "Firewall" # cat  << ' _eof '  > /etc/sysconfig/iptables && service iptables  Reload*filter:input accept [0:0]:forward accept [0:0]:output accept [0:0]-a  input -m state --state related,established -j accept -a input -p icmp -j accept  -a input -i lo -j accept -a input -p tcp -m state  --state new -m tcp --dport 22 -j accept -a input -j  reject --reject-with icmp-host-prohibited -a forward -j reject -- Reject-with icmp-host-prohibited commit_eof


Preliminary study on ovirt-cleaning ovirt environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.