您好,登錄后才能下訂單哦!
在使用雙機軟件過程中,如果系統是centos 5.x 默認系統安裝完成后為xen內核,那么xen內核引導啟動后就會有虛擬網卡(vethx、vif0.x、virbr0、xenbr1等)存在。
這就會直接導致雙機軟件的兩臺機器中都會有相同的IP地址存在(virbr0網卡的IP地址都為192.168.122.1)。所以會導致雙機系統中的主機關機時,備機不會接管的現象。所以,需要將virbr0卸載掉:
執行命令:yum remove -y libvirt*,用ifconfig -a查看網卡virbr0是否卸載。
如果執行yum報錯, 可以vi /etc/yum/plugincon.d/rhnplugin.conf然后將文件中的enable=1改成enable=0,目的是先禁用此功能,再執行yum remove libvirt進行卸載。
重啟系統
yum remove NetworkManager –y
設置關閉圖形化界面(安裝圖形化界面,是為了可以應用eclipse,一般應用服務器不會選擇安裝圖形化)
systemctl set-default multi-user.target
chkconfig nfs off chkconfig pcmcia off chkconfig lpd off chkconfig autofs off chkconfig anacron off chkconfig portmap off chkconfig isdn off chkconfig nfslock off chkconfig sendmail off chkconfig cups off chkconfig smartd off chkconfig bluetooth off chkconfig netfs off chkconfig rpcgssd off chkconfig rpcidmapd off chkconfig rpcbind off chkconfig pcscd off chkconfig smolt off chkconfig cups off chkconfig isdn off chkconfig ip6tables off systemctl disable nfs systemctl disable pcmcia systemctl disable lpd systemctl disable autofs systemctl disable anacron systemctl disable portmap systemctl disable isdn systemctl disable nfslock systemctl disable sendmail systemctl disable cups systemctl disable smartd systemctl disable bluetooth systemctl disable netfs systemctl disable rpcgssd systemctl disable rpcidmapd systemctl disable rpcbind systemctl disable pcscd systemctl disable smolt systemctl disable cups systemctl disable isdn systemctl disable ip6tables systemctl disable firewalld
yum -y install gcc yum -y install gcc-c++ yum -y install net-snmp yum -y install ntp yum -y install unzip yum -y install vim-enhanced yum -y install wget yum -y install telnet yum -y install kernel-devel yum -y install finger yum -y install ssh yum -y install nslookup yum -y install zlib-devel yum -y install krb5-devel yum -y install sysstat yum -y install lsof yum -y install fuser yum -y install bind-utils yum -y install glances yum -y install dstat yum -y install net-tools yum -y install vim yum -y install wget
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。