Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 55 to 55 | ||||||||
# chkconfig libvirtd on # /etc/init.d/libvirtd restart | ||||||||
Changed: | ||||||||
< < | Servizi nova | |||||||
> > | Servizio nova | |||||||
| ||||||||
Line: 198 to 198 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Gruppi di sicurezza: abilitazione di SSH e ICMP | |||||||
> > | Gruppi di sicurezza: abilitazione di SSH e ICMP | |||||||
Il servizio Compute usa i concetti di gruppi di sicurezza per controllare che i protocolli di rete (TCP, UDP, ICMP), le porte e gli indirizzi IP permettano di accedere alle istanze.
| ||||||||
Line: 232 to 232 | ||||||||
| ||||||||
Changed: | ||||||||
< < | Installare e impostare l'avvio automatico dei servizi legati a ISCSI | |||||||
> > | Installare e impostare l'avvio automatico dei servizi legati a ISCSI | |||||||
| ||||||||
Line: 246 to 246 | ||||||||
-- PaoloVeronesi - 2012-08-30 \ No newline at end of file | ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 37 to 37 | ||||||||
Configurazione del servizio Compute | ||||||||
Added: | ||||||||
> > | Servizio libvirtd
# OPENSTACK LIVE MIGRATION listen_tls = 0 listen_tcp = 1 auth_tcp = "none"
LIBVIRTD_ARGS="--listen"
Servizi nova | |||||||
| ||||||||
Line: 178 to 197 | ||||||||
| ||||||||
Deleted: | ||||||||
< < | Configurazione degli indirizzi IP Floating pubbliciIndirizzi IP pubblici e privati
| |||||||
Deleted: | ||||||||
< < | Abilitazione di IP forwarding
Creazione di una lista di IP Floating pubblici disponibili
| |||||||
Gruppi di sicurezza: abilitazione di SSH e ICMPIl servizio Compute usa i concetti di gruppi di sicurezza per controllare che i protocolli di rete (TCP, UDP, ICMP), le porte e gli indirizzi IP permettano di accedere alle istanze. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 263 to 263 | ||||||||
service iscsid force-start | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < | xxx | |||||||
> > | #!/bin/bash
# Source function library.
. /etc/rc.d/init.d/functions
case "$1" in
start)
service iscsid force-start
;;
stop)
service iscsid stop
;;
restart)
service iscsid stop
service iscsid force-start
;;
status)
service iscsid status
;;
*)
echo "Usage: force-iscsid {start|stop|restart|status}"
exit 1
esac
exit 0
| |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 91 to 91 | ||||||||
fixed_range = 192.168.122.0/24 # NOVNC CONSOLE | ||||||||
Changed: | ||||||||
< < | #novncproxy_base_url=http://192.168.206.130:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_listen = | |||||||
> > | vnc_enabled = true vncserver_listen = 0.0.0.0 vncserver_proxyclient_address = 131.154.100.111 novncproxy_base_url=http://openstack-01.cnaf.infn.it:6080/vnc_auto.html xvpvncproxy_base_url=http://openstack-01.cnaf.infn.it:6081/console | |||||||
# Qpid qpid_hostname = openstack-01.cnaf.infn.it |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 254 to 254 | ||||||||
Installare e impostare l'avvio automatico dei servizi legati a ISCSI | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
yum install iscsi-initiator-utils |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 74 to 74 | ||||||||
#s3_host=192.168.206.130 # GLANCE | ||||||||
Changed: | ||||||||
< < | #image_service=nova.image.glance.GlanceImageService #glance_api_servers=192.168.206.130:9292 | |||||||
> > | image_service=nova.image.glance.GlanceImageService glance_api_servers=192.168.206.130:9292 | |||||||
# NETWORK network_manager = nova.network.manager.FlatDHCPManager |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 251 to 251 | ||||||||
| ||||||||
Added: | ||||||||
> > |
Installare e impostare l'avvio automatico dei servizi legati a ISCSI
| |||||||
-- PaoloVeronesi - 2012-08-30 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (Nova) | ||||||||
Line: 154 to 154 | ||||||||
# nova-manage service list Binary Host Zone Status State Updated_At | ||||||||
Changed: | ||||||||
< < | nova-scheduler stack-03.cnaf.infn.it nova enabled ![]() ![]() ![]() ![]() ![]() | |||||||
> > | nova-cert openstack-01.cnaf.infn.it nova enabled ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||||
|
Line: 1 to 1 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
Changed: | |||||||||||
< < | Installazione e configurazione del servizio Compute (NOVA) | ||||||||||
> > | Installazione e configurazione del servizio Compute (Nova) | ||||||||||
Configurazione dell'Hypervisor (KVM) | |||||||||||
Line: 35 to 35 | |||||||||||
Nota bene: non viene mostrato nessun output ma modificato il file di configurazione. | |||||||||||
Added: | |||||||||||
> > | |||||||||||
Configurazione del servizio Compute
| |||||||||||
Line: 169 to 170 | |||||||||||
1 192.168.122.0/24 None 192.168.122.2 8.8.4.4 None None None 052f9b4b-e6d7-4ad9-a3f1-929e80008372 | |||||||||||
Changed: | |||||||||||
< < | Configurazione degli indirizzi IP (Floating) pubblici | ||||||||||
> > | Configurazione degli indirizzi IP Floating pubblici | ||||||||||
Indirizzi IP pubblici e privati | |||||||||||
Changed: | |||||||||||
< < | Ad ogni istanza virtuale viene automaticamente assegnato un IP privato (appartenente alla sottorete creata al punto precedente). E' possibile assegnare indirizzi pubblici alle istanze. In tal caso verificare la presenza della seguente riga nel file nova.conf
If you plan to use this feature, you must add the following to your nova.conf file to specify which interface the nova-network service will bind public IP addresses to: | ||||||||||
> > |
| ||||||||||
public_interface = eth0 | |||||||||||
Changed: | |||||||||||
< < | Restart the nova-network service if you change nova.conf while the service is running. | ||||||||||
> > | Far ripartire il servizio nova-network dopo aver cambiato il nova.conf . | ||||||||||
Changed: | |||||||||||
< < | Enabling IP forwardingBy default, the IP forwarding is disabled on most of Linux distributions. The floating IP feature requires the IP forwarding enabled in order to work, you can check if the forwarding is enabled by running the following command: | ||||||||||
> > | Abilitazione di IP forwarding
| ||||||||||
# sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 0 | |||||||||||
Changed: | |||||||||||
< < | In this example, the IP forwarding is disabled. You can enable it on the fly by running the following command: | ||||||||||
> > | In questo esempio è disabilitato. e' possibile abilitarlo al volo usando il seguente comando: | ||||||||||
Changed: | |||||||||||
< < | $ sysctl -w net.ipv4.ip_forward=1 | ||||||||||
> > | # sysctl -w net.ipv4.ip_forward=1 | ||||||||||
Changed: | |||||||||||
< < | In order to make the changes permanent, edit the /etc/sysctl.conf and update the IP forwarding setting :
/verbatim> | ||||||||||
> > | Al fine di rendere permanente questa modifica, editare il file /etc/sysctl.conf inserendo o modificando la seguente riga:
| ||||||||||
net.ipv4.ip_forward = 1 | |||||||||||
Changed: | |||||||||||
< < | Creating a List of Available Floating IP AddressesNova maintains a list of floating IP addresses that are available for assigning to instances. Use thenova-manage floating create command to add entries to this list, as root. For example:
nova-manage floating create 131.154.101.220
The following nova-manage commands apply to floating IPs.
Adding a Floating IP to an InstanceAdding a floating IP to an instance is a two step process:
| ||||||||||
> > | Creazione di una lista di IP Floating pubblici disponibili
| ||||||||||
Changed: | |||||||||||
< < | # nova floating-ip-create
+-----------------+-------------+----------+------+
| ||||||||||
> > | # nova-manage floating create --ip_range=
| ||||||||||
Changed: | |||||||||||
< < | # nova add-floating-ip 63c5b9ba-3308-43ce-af61-d7b5dbc08c15 131.154.101.220 | ||||||||||
> > | Gruppi di sicurezza: abilitazione di SSH e ICMPIl servizio Compute usa i concetti di gruppi di sicurezza per controllare che i protocolli di rete (TCP, UDP, ICMP), le porte e gli indirizzi IP permettano di accedere alle istanze. | ||||||||||
Changed: | |||||||||||
< < | # nova-manage floating list c10d9c9f296b47f8a1212dd7a98357e0 131.154.101.220 63c5b9ba-3308-43ce-af61-d7b5dbc08c15 nova eth0 | ||||||||||
> > |
| ||||||||||
Changed: | |||||||||||
< < | If the instance no longer needs a public address, remove the floating IP address from the instance and de-allocate the address: | ||||||||||
> > |
| ||||||||||
Changed: | |||||||||||
< < | # nova remove-floating-ip 63c5b9ba-3308-43ce-af61-d7b5dbc08c15 131.154.101.220 # nova floating-ip-delete 131.154.101.220 | ||||||||||
> > | # nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
+-------------+-----------+---------+-----------+--------------+
| ||||||||||
Changed: | |||||||||||
< < | Automatically adding floating IPsThenova-network service can be configured to automatically allocate and assign a floating IP address to virtual instances when they are launched. Add the following line to nova.conf and restart the nova-network service | ||||||||||
> > |
| ||||||||||
Changed: | |||||||||||
< < | auto_assign_floating_ip=True | ||||||||||
> > | # nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
+-------------+-----------+---------+-----------+--------------+
| ||||||||||
Changed: | |||||||||||
< < | Note that if this option is enabled and all of the floating IP addresses have already been allocated, the nova boot command will fail with an error. | ||||||||||
> > | |||||||||||
-- PaoloVeronesi - 2012-08-30 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Compute (NOVA) | ||||||||
Changed: | ||||||||
< < | Configurare l'Hypervisor (KVM)
| |||||||
> > | Configurazione dell'Hypervisor (KVM)
| |||||||
# yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client bridge-utils # yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools" # yum install openstack-utils memcached qpid-cpp-server openstack-nova dnsmasq-utils python-keystone-auth-token | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Deleted: | ||||||||
< < | # ifconfig virbr0 | |||||||
virbr0 Link encap:Ethernet HWaddr 52:54:00:54:65:A1 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | ||||||||
Line: 23 to 22 | ||||||||
RX bytes:0 (0.0 b) TX bytes:7585 (7.4 KiB) | ||||||||
Deleted: | ||||||||
< < | ||||||||
| ||||||||
Changed: | ||||||||
< < |
Configuring OpenStack ComputeDa modificare due file in/etc/nova :
<--/twistyPlugin twikiMakeVisibleInline--> | |||||||
> > |
| |||||||
Added: | ||||||||
> > | Configurazione del servizio Compute
| |||||||
[DEFAULT] # LOG/STATE | ||||||||
Line: 61 to 58 | ||||||||
iscsi_helper = tgtadm # DATABASE del Cloud Controller | ||||||||
Changed: | ||||||||
< < | sql_connection=mysql://nova:XXXXXX@hostname1.domain/nova | |||||||
> > | sql_connection = mysql://nova: | |||||||
# COMPUTE libvirt_type = kvm | ||||||||
Line: 100 to 97 | ||||||||
vncserver_proxyclient_address = | ||||||||
Changed: | ||||||||
< < | qpid_hostname = | |||||||
> > | qpid_hostname = openstack-01.cnaf.infn.it | |||||||
rpc_backend = nova.rpc.impl_qpid # OTHER | ||||||||
Line: 114 to 111 | ||||||||
root_helper = sudo nova-rootwrap remove_unused_base_images = True | ||||||||
Changed: | ||||||||
< < | <--/twistyPlugin-->
<--/twistyPlugin twikiMakeVisibleInline--> | |||||||
> > | Dove:
| |||||||
[...] | ||||||||
Line: 141 to 135 | ||||||||
admin_user = nova
admin_password = | ||||||||
Changed: | ||||||||
< < | <--/twistyPlugin-->
| |||||||
> > | Dove:
| |||||||
# for svc in api objectstore compute network volume scheduler cert; do echo openstack-nova-$svc; service openstack-nova-$svc stop ; chkconfig openstack-nova-$svc on; done | ||||||||
Deleted: | ||||||||
< < | ||||||||
# nova-manage db sync | ||||||||
Deleted: | ||||||||
< < | ||||||||
# for svc in api objectstore compute network volume scheduler cert; do echo openstack-nova-$svc; /etc/init.d/openstack-nova-$svc start ; done | ||||||||
Line: 152 to 148 | ||||||||
# for svc in api objectstore compute network volume scheduler cert; do echo openstack-nova-$svc; /etc/init.d/openstack-nova-$svc start ; done | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
# nova-manage service list | ||||||||
Line: 162 to 158 | ||||||||
nova-network stack-03.cnaf.infn.it nova enabled ![]() ![]() ![]() | ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
# nova-manage network create private --multi_host=T --fixed_range_v4=192.168.122.0/24 --bridge_interface=virbr0 --num_networks=1 --network_size=256 | ||||||||
Line: 173 to 167 | ||||||||
# nova-manage network list id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid 1 192.168.122.0/24 None 192.168.122.2 8.8.4.4 None None None 052f9b4b-e6d7-4ad9-a3f1-929e80008372 | ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < | Configuring Public (Floating) IP AddressesPrivate and Public IP AddressesEvery virtual instance is automatically assigned a private IP address. You may optionally assign public IP addresses to instances. OpenStack uses the term floating IP to refer to an IP address (typically public) that can be dynamically added to a running virtual instance. OpenStack Compute uses Network Address Translation (NAT) to assign floating IPs to virtual instances. | |||||||
> > | Configurazione degli indirizzi IP (Floating) pubbliciIndirizzi IP pubblici e privatiAd ogni istanza virtuale viene automaticamente assegnato un IP privato (appartenente alla sottorete creata al punto precedente). E' possibile assegnare indirizzi pubblici alle istanze. In tal caso verificare la presenza della seguente riga nel filenova.conf | |||||||
If you plan to use this feature, you must add the following to your nova.conf file to specify which interface the nova-network service will bind public IP addresses to:
public_interface=eth0 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | Installing and Configuring the Compute service (NOVA) | |||||||
> > | Installazione e configurazione del servizio Compute (NOVA) | |||||||
Changed: | ||||||||
< < | Configuring the Hypervisor (KVM) | |||||||
> > | Configurare l'Hypervisor (KVM) | |||||||
# yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client bridge-utils | ||||||||
Line: 26 to 24 | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Configuring OpenStack Compute | ||||||||
Changed: | ||||||||
< < | Da modificare due file:
| |||||||
> > | Da modificare due file in /etc/nova : | |||||||
%TWISTY{ mode="div" showlink=" nova.conf " hidelink=" nova.conf " | ||||||||
Changed: | ||||||||
< < | remember="off" firststart="hide" | |||||||
> > | remember="off" firststart="show" | |||||||
showimgright="/twiki/pub/TWiki/TWikiDocGraphics/toggleopen.gif" hideimgright="/twiki/pub/TWiki/TWikiDocGraphics/toggleclose.gif" }% | ||||||||
Line: 57 to 56 | ||||||||
#compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler # VOLUMES | ||||||||
Changed: | ||||||||
< < | volume_group = vg_vol01 | |||||||
> > | volume_group = | |||||||
#volume_name_template = volume-%08x iscsi_helper = tgtadm # DATABASE del Cloud Controller | ||||||||
Changed: | ||||||||
< < | sql_connection=mysql://nova:XXXXXX@131.154.101.242/nova | |||||||
> > | sql_connection=mysql://nova:XXXXXX@hostname1.domain/nova | |||||||
# COMPUTE libvirt_type = kvm | ||||||||
Line: 86 to 85 | ||||||||
dhcpbridge_flagfile = /etc/nova/nova.conf firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver # Change my_ip to match each host | ||||||||
Changed: | ||||||||
< < | my_ip = 131.154.101.186 | |||||||
> > | my_ip = | |||||||
public_interface = eth0 #vlan_interface = eth0 flat_network_bridge = virbr0 | ||||||||
Line: 97 to 96 | ||||||||
#novncproxy_base_url=http://192.168.206.130:6080/vnc_auto.html # Change vncserver_proxyclient_address and vncserver_listen to match each compute host | ||||||||
Changed: | ||||||||
< < | vncserver_listen = 131.154.101.186 vncserver_proxyclient_address = 131.154.101.186 | |||||||
> > | vncserver_listen = | |||||||
# Qpid | ||||||||
Changed: | ||||||||
< < | qpid_hostname = stack-01.cnaf.infn.it | |||||||
> > | qpid_hostname = | |||||||
rpc_backend = nova.rpc.impl_qpid # OTHER | ||||||||
Line: 122 to 121 | ||||||||
mode="div" showlink=" api-paste.ini " hidelink=" api-paste.ini " | ||||||||
Changed: | ||||||||
< < | remember="off" firststart="hide" | |||||||
> > | remember="off" firststart="show" | |||||||
showimgright="/twiki/pub/TWiki/TWikiDocGraphics/toggleopen.gif" hideimgright="/twiki/pub/TWiki/TWikiDocGraphics/toggleclose.gif" }% | ||||||||
Line: 132 to 131 | ||||||||
[filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory service_protocol = http | ||||||||
Changed: | ||||||||
< < | service_host = 131.154.101.242 | |||||||
> > | service_host = | |||||||
service_port = 5000 | ||||||||
Changed: | ||||||||
< < | auth_host = 131.154.101.242 | |||||||
> > | auth_host = | |||||||
auth_port = 35357 auth_protocol = http | ||||||||
Changed: | ||||||||
< < | auth_uri = http://131.154.101.242:5000/![]() | |||||||
> > | auth_uri = http://![]() | |||||||
admin_tenant_name = service admin_user = nova | ||||||||
Changed: | ||||||||
< < | admin_password = XXXXXXX | |||||||
> > | admin_password = | |||||||
</> <--/twistyPlugin--> |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 177 to 177 | ||||||||
Added: | ||||||||
> > | Configuring Public (Floating) IP AddressesPrivate and Public IP AddressesEvery virtual instance is automatically assigned a private IP address. You may optionally assign public IP addresses to instances. OpenStack uses the term floating IP to refer to an IP address (typically public) that can be dynamically added to a running virtual instance. OpenStack Compute uses Network Address Translation (NAT) to assign floating IPs to virtual instances. If you plan to use this feature, you must add the following to yournova.conf file to specify which interface the nova-network service will bind public IP addresses to:
public_interface=eth0Restart the nova-network service if you change nova.conf while the service is running.
Enabling IP forwardingBy default, the IP forwarding is disabled on most of Linux distributions. The floating IP feature requires the IP forwarding enabled in order to work, you can check if the forwarding is enabled by running the following command:# sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 0In this example, the IP forwarding is disabled. You can enable it on the fly by running the following command: $ sysctl -w net.ipv4.ip_forward=1In order to make the changes permanent, edit the /etc/sysctl.conf and update the IP forwarding setting :
/verbatim>
net.ipv4.ip_forward = 1
Creating a List of Available Floating IP AddressesNova maintains a list of floating IP addresses that are available for assigning to instances. Use thenova-manage floating create command to add entries to this list, as root. For example:
nova-manage floating create 131.154.101.220
The following nova-manage commands apply to floating IPs.
Adding a Floating IP to an InstanceAdding a floating IP to an instance is a two step process:
# nova floating-ip-create +-----------------+-------------+----------+------+ | Ip | Instance Id | Fixed Ip | Pool | +-----------------+-------------+----------+------+ | 131.154.101.220 | None | None | nova | +-----------------+-------------+----------+------+ # nova add-floating-ip 63c5b9ba-3308-43ce-af61-d7b5dbc08c15 131.154.101.220 # nova-manage floating list c10d9c9f296b47f8a1212dd7a98357e0 131.154.101.220 63c5b9ba-3308-43ce-af61-d7b5dbc08c15 nova eth0If the instance no longer needs a public address, remove the floating IP address from the instance and de-allocate the address: # nova remove-floating-ip 63c5b9ba-3308-43ce-af61-d7b5dbc08c15 131.154.101.220 # nova floating-ip-delete 131.154.101.220 Automatically adding floating IPsThenova-network service can be configured to automatically allocate and assign a floating IP address to virtual instances when they are launched. Add the following line to nova.conf and restart the nova-network service
auto_assign_floating_ip=TrueNote that if this option is enabled and all of the floating IP addresses have already been allocated, the nova boot command will fail with an error. | |||||||
-- PaoloVeronesi - 2012-08-30 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 166 to 166 | ||||||||
Added: | ||||||||
> > |
# nova-manage network create private --multi_host=T --fixed_range_v4=192.168.122.0/24 --bridge_interface=virbr0 --num_networks=1 --network_size=256 # nova-manage network list id IPv4 IPv6 start address DNS1 DNS2 VlanID project uuid 1 192.168.122.0/24 None 192.168.122.2 8.8.4.4 None None None 052f9b4b-e6d7-4ad9-a3f1-929e80008372 | |||||||
-- PaoloVeronesi - 2012-08-30 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 10 to 10 | ||||||||
# yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools" | ||||||||
Changed: | ||||||||
< < | # yum install openstack-utils memcached qpid-cpp-server openstack-nova dnsmasq-utils | |||||||
> > | # yum install openstack-utils memcached qpid-cpp-server openstack-nova dnsmasq-utils python-keystone-auth-token | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 31 to 31 | ||||||||
| ||||||||
Added: | ||||||||
> > | Configuring OpenStack ComputeDa modificare due file:
<--/twistyPlugin twikiMakeVisibleInline--> [DEFAULT] # LOG/STATE logdir = /var/log/nova verbose = True state_path = /var/lib/nova lock_path = /var/lib/nova/tmp # AUTHENTICATION auth_strategy = keystone # SCHEDULER #compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler # VOLUMES volume_group = vg_vol01 #volume_name_template = volume-%08x iscsi_helper = tgtadm # DATABASE del Cloud Controller sql_connection=mysql://nova:XXXXXX@131.154.101.242/nova # COMPUTE libvirt_type = kvm connection_type = libvirt #instance_name_template = instance-%08x #api_paste_config=/etc/nova/api-paste.ini #allow_resize_to_same_host=True # APIS #osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions #ec2_dmz_host=192.168.206.130 #s3_host=192.168.206.130 # GLANCE #image_service=nova.image.glance.GlanceImageService #glance_api_servers=192.168.206.130:9292 # NETWORK network_manager = nova.network.manager.FlatDHCPManager force_dhcp_release = True dhcpbridge_flagfile = /etc/nova/nova.conf firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver # Change my_ip to match each host my_ip = 131.154.101.186 public_interface = eth0 #vlan_interface = eth0 flat_network_bridge = virbr0 flat_interface = eth0 fixed_range = 192.168.122.0/24 # NOVNC CONSOLE #novncproxy_base_url=http://192.168.206.130:6080/vnc_auto.html # Change vncserver_proxyclient_address and vncserver_listen to match each compute host vncserver_listen = 131.154.101.186 vncserver_proxyclient_address = 131.154.101.186 # Qpid qpid_hostname = stack-01.cnaf.infn.it rpc_backend = nova.rpc.impl_qpid # OTHER dhcpbridge = /usr/bin/nova-dhcpbridge injected_network_template = /usr/share/nova/interfaces.template libvirt_xml_template = /usr/share/nova/libvirt.xml.template libvirt_nonblocking = True libvirt_inject_partition = -1 vpn_client_template = /usr/share/nova/client.ovpn.template credentials_template = /usr/share/nova/novarc.template root_helper = sudo nova-rootwrap remove_unused_base_images = True <--/twistyPlugin-->
<--/twistyPlugin twikiMakeVisibleInline--> [...] [filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory service_protocol = http service_host = 131.154.101.242 service_port = 5000 auth_host = 131.154.101.242 auth_port = 35357 auth_protocol = http auth_uri = http://131.154.101.242:5000/ admin_tenant_name = service admin_user = nova admin_password = XXXXXXX <--/twistyPlugin-->
# for svc in api objectstore compute network volume scheduler cert; do echo openstack-nova-$svc; service openstack-nova-$svc stop ; chkconfig openstack-nova-$svc on; done | |||||||
Added: | ||||||||
> > | # nova-manage db sync
# for svc in api objectstore compute network volume scheduler cert; do echo openstack-nova-$svc; /etc/init.d/openstack-nova-$svc start ; done
# nova-manage service list Binary Host Zone Status State Updated_At nova-scheduler stack-03.cnaf.infn.it nova enabled :-) 2012-08-31 09:46:24 nova-compute stack-03.cnaf.infn.it nova enabled :-) 2012-08-31 09:46:26 nova-network stack-03.cnaf.infn.it nova enabled :-) 2012-08-31 09:46:25 nova-cert stack-03.cnaf.infn.it nova enabled :-) 2012-08-31 09:46:24 nova-volume stack-03.cnaf.infn.it nova enabled :-) 2012-08-31 09:46:24 | |||||||
-- PaoloVeronesi - 2012-08-30 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 13 to 13 | ||||||||
# yum install openstack-utils memcached qpid-cpp-server openstack-nova dnsmasq-utils | ||||||||
Deleted: | ||||||||
< < | Ensure auth=no is set in /etc/qpidd.conf.
# openstack-config --set /etc/nova/nova.conf DEFAULT force_dhcp_release FalseNon viene mostrato nessun output ma modificato il file di configurazione. # openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_inject_partition -1Non viene mostrato nessun output ma modificato il file di configurazione. | |||||||
# ifconfig virbr0 | ||||||||
Line: 39 to 26 | ||||||||
Added: | ||||||||
> > |
| |||||||
-- PaoloVeronesi - 2012-08-30 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 20 to 20 | ||||||||
Non viene mostrato nessun output ma modificato il file di configurazione. | ||||||||
Added: | ||||||||
> > | # openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_inject_partition -1Non viene mostrato nessun output ma modificato il file di configurazione. | |||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 10 to 10 | ||||||||
# yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools" | ||||||||
Changed: | ||||||||
< < | # yum install openstack-utils memcached qpid-cpp-server openstack-nova | |||||||
> > | # yum install openstack-utils memcached qpid-cpp-server openstack-nova dnsmasq-utils | |||||||
Ensure auth=no is set in /etc/qpidd.conf. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 13 to 13 | ||||||||
# yum install openstack-utils memcached qpid-cpp-server openstack-nova | ||||||||
Added: | ||||||||
> > | Ensure auth=no is set in /etc/qpidd.conf.
# openstack-config --set /etc/nova/nova.conf DEFAULT force_dhcp_release FalseNon viene mostrato nessun output ma modificato il file di configurazione. | |||||||
# ifconfig virbr0 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 13 to 13 | ||||||||
# yum install openstack-utils memcached qpid-cpp-server openstack-nova | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
# ifconfig virbr0 virbr0 Link encap:Ethernet HWaddr 52:54:00:54:65:A1 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:45 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:7585 (7.4 KiB) | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA) | ||||||||
Line: 9 to 9 | ||||||||
# yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client bridge-utils # yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools" | ||||||||
Added: | ||||||||
> > | # yum install openstack-utils memcached qpid-cpp-server openstack-nova | |||||||
Added: | ||||||||
> > | ||||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA)Configuring the Hypervisor (KVM) | ||||||||
Changed: | ||||||||
< < | ||||||||
> > |
| |||||||
Changed: | ||||||||
< < | yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client bridge-utils yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools" | |||||||
> > | # yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client bridge-utils | |||||||
Added: | ||||||||
> > | # yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools" | |||||||
Added: | ||||||||
> > |
| |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installing and Configuring the Compute service (NOVA)Configuring the Hypervisor (KVM) | ||||||||
Added: | ||||||||
> > | yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python python-virtinst libvirt-client bridge-utils yum groupinstall Virtualization "Virtualization Client" "Virtualization Platform" "Virtualization Tools" | |||||||
-- PaoloVeronesi - 2012-08-30 \ No newline at end of file |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Installing and Configuring the Compute service (NOVA)Configuring the Hypervisor (KVM)-- PaoloVeronesi - 2012-08-30 |