HOME | LINUX | CISCO NETWORKING |   
PosgreSQL | Nginx | MariaDB | Bash Shell | GlusterFS | XEN | Cluster | VIM | Iptables | Nagios | Qmail  


XEN 가상화
  • XEN 설치하기

    
    
     # 아래 문자가 없으면 cpu가 가상화를 지원하지 않는것이다. 
     grep '(svm\|vmx)' /proc/cpuinfo  
     
     # 필요 팩키지 설치하기 
     yum -y install bridge-utils libvirt python-virtinst 
     yum -y groupinstall 'Development Tools'
     
     
     
     vi /etc/sysconfig/network-scripts/ifcfg-br0 
     DEVICE="br0"
     NM_CONTROLLED="yes"
     ONBOOT=yes
     TYPE=Bridge
     BOOTPROTO=static
     IPADDR=192.168.10.4
     PREFIX=24
     GATEWAY=192.168.10.1
     DNS1=168.126.63.1
     DNS2=168.126.63.2
     DEFROUTE=yes
     IPV4_FAILURE_FATA=yes
     IPV6INIT=no
     NAME="System br0"
     
     vi /etc/sysconfig/network-scripts/ifcfg-eth0
     DEVICE="eth0"
     NM_CONTROLLED="yes"
     ONBOOT=yes
     TYPE="Ethernet"
     DEFROUTE=yes
     IPV4_FAILURE_FATAL=yes
     IPV6INIT=no
     NAME="System eth0"
     BRIDGE=br0
     
     
     # XEN 팩키지 설치 
     
     # XEN 확인 
     xm list 
     
     Name      ID   Mem VCPUs      State   Time(s)
     Domain-0   0  1024     1     r-----     1.9
    
     virsh list 
     Id    Name                           State
     -----------------------------------------------
     0     Domain-0                       running
     
    
    


  • Home | Linux | Network | About Me |