Nova en Compute Node

Primero instalaremos los paquetes necesarios de nova.

# yum install openstack-nova-compute

Configuraremos el uso de la base de datos y de la autenticación en keystone.

# openstack-config –set /etc/nova/nova.conf database connection mysql://nova:PASSWD@controller/nova

# openstack-config –set /etc/nova/nova.conf DEFAULT auth_strategy keystone

# openstack-config –set /etc/nova/nova.conf DEFAULT keystone_authtoken auth_uri http://controller:5000

# openstack-config –set /etc/nova/nova.conf DEFAULT keystone_authtoken auth_host controller

# openstack-config –set /etc/nova/nova.conf DEFAULT keystone_authtoken auth_port 35357

# openstack-config –set /etc/nova/nova.conf DEFAULT keystone_authtoken auth_protocol http

# openstack-config –set /etc/nova/nova.conf DEFAULT keystone_authtoken admin_user nova

# openstack-config –set /etc/nova/nova.conf DEFAULT keystone_authtoken admin_tenant_name service

# openstack-config –set /etc/nova/nova.conf DEFAULT keystone_authtoken admin_password PASSWD

Configuramos el uso de QPID.

# openstack-config –set /etc/nova/nova.conf DEFAULT rpc_backend qpid

# openstack-config –set /etc/nova/nova.conf DEFAULT qpid_hostname controller

Configuramos VNC.

# openstack-config –set /etc/nova/nova.conf DEFAULT my_ip 192.168.1.31

# openstack-config –set /etc/nova/nova.conf DEFAULT vnc_enabled True

# openstack-config –set /etc/nova/nova.conf DEFAULT vncserver_listen 0.0.0.0

# openstack-config –set /etc/nova/nova.conf DEFAULT vncserver_proxyclient_address 192.168.1.31

# openstack-config –set /etc/nova/nova.conf DEFAULT novncproxy_base_url http://controller:6080/vnc_auto.html

Configuramos acceso a Glance Image Service.

# openstack-config –set /etc/nova/nova.conf DEFAULT glance_host controller

Comprobamos si la CPU soporta aceleración por hardware, si es 1 o mas el resultado si que soporta, si no, configurar libvirt para que utilice QEMU en vez de KVM.

# egrep -c ‘(vmx|svm)’ /proc/cpuinfo

**********************************************

Configurar libvirt para que use QEMU

# openstack-config –set /etc/nova/nova.conf libvirt virt_type qemu

**********************************************

Iniciar servicios y ejecución en el arranque.

# service libvirtd start

# service messagebus start

# service openstack-nova-compute start

# chkconfig libvirt on

#chkconfig messagebus on

# chkconfig openstack-nova-compute on

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close