<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=OpenStack%3A_Managing_Nova_Compute_Nodes</id>
	<title>OpenStack: Managing Nova Compute Nodes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=OpenStack%3A_Managing_Nova_Compute_Nodes"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=OpenStack:_Managing_Nova_Compute_Nodes&amp;action=history"/>
	<updated>2026-05-04T16:05:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=OpenStack:_Managing_Nova_Compute_Nodes&amp;diff=7331&amp;oldid=prev</id>
		<title>Jon: Created page with &quot;* On &#039;&#039;&#039;server2-a&#039;&#039;&#039;, check OpenStack cloud services are running and registered: &lt;syntaxhighlight&gt; [root@server2-a ~]# nova-manage service list Binary           Host                     ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=OpenStack:_Managing_Nova_Compute_Nodes&amp;diff=7331&amp;oldid=prev"/>
		<updated>2015-04-29T13:00:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;* On &amp;#039;&amp;#039;&amp;#039;server2-a&amp;#039;&amp;#039;&amp;#039;, check OpenStack cloud services are running and registered: &amp;lt;syntaxhighlight&amp;gt; [root@server2-a ~]# nova-manage service list Binary           Host                     ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* On &amp;#039;&amp;#039;&amp;#039;server2-a&amp;#039;&amp;#039;&amp;#039;, check OpenStack cloud services are running and registered:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-a ~]# nova-manage service list&lt;br /&gt;
Binary           Host                                 Zone             Status     State Updated_At&lt;br /&gt;
nova-consoleauth server2-a.example.com                internal         enabled    :-)   2015-04-29 12:41:44&lt;br /&gt;
nova-scheduler   server2-a.example.com                internal         enabled    :-)   2015-04-29 12:41:44&lt;br /&gt;
nova-conductor   server2-a.example.com                internal         enabled    :-)   2015-04-29 12:41:44&lt;br /&gt;
nova-compute     server2-a.example.com                nova             enabled    :-)   2015-04-29 12:41:44&lt;br /&gt;
nova-cert        server2-a.example.com                internal         enabled    :-)   2015-04-29 12:41:43&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On &amp;#039;&amp;#039;&amp;#039;server2-b&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-b ~]# yum -y install openstack-nova-compute openstack-utils&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On &amp;#039;&amp;#039;&amp;#039;server2-b&amp;#039;&amp;#039;&amp;#039;, backup conf &amp;amp; ini files and copy over replacements:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-b ~]# cp /etc/nova/nova.conf /etc/nova/nova.conf.orig&lt;br /&gt;
[root@server2-b ~]# cd /etc/nova/&lt;br /&gt;
[root@server2-b nova]# scp server2-a:/etc/nova/nova.conf .&lt;br /&gt;
[root@server2-b nova]# scp server2-a:/etc/nova/api-paste.ini .&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On &amp;#039;&amp;#039;&amp;#039;server2-b&amp;#039;&amp;#039;&amp;#039;, check ownership settings:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-b nova]# chown root:nova /etc/nova/nova.conf /etc/nova/api-paste.ini &lt;br /&gt;
[root@server2-b nova]# chown -R nova:nova /var/log/nova&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On &amp;#039;&amp;#039;&amp;#039;server2-b&amp;#039;&amp;#039;&amp;#039;, update nova.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-b nova]# crudini --set /etc/nova/nova.conf DEFAULT my_ip 172.25.2.11&lt;br /&gt;
[root@server2-b nova]# crudini --set /etc/nova/nova.conf DEFAULT vncserver_proxyclient_address \$my_ip&lt;br /&gt;
[root@server2-b nova]# crudini --set /etc/nova/nova.conf DEFAULT vncserver_listen 0.0.0.0&lt;br /&gt;
[root@server2-b nova]# crudini --set /etc/nova/nova.conf DEFAULT glance_host 172.25.2.10&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On both &amp;#039;&amp;#039;&amp;#039;server2-a&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;server2-b&amp;#039;&amp;#039;&amp;#039;, update nova.conf:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
crudini --set /etc/nova/nova.conf libvirt virt_type qemu&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On &amp;#039;&amp;#039;&amp;#039;server2-b&amp;#039;&amp;#039;&amp;#039;, start services:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-b nova]# systemctl start libvirtd&lt;br /&gt;
[root@server2-b nova]# systemctl start openstack-nova-compute&lt;br /&gt;
[root@server2-b nova]# grep ERROR /var/log/nova/nova-compute.log&lt;br /&gt;
[root@server2-b nova]# systemctl enable libvirtd&lt;br /&gt;
[root@server2-b nova]# systemctl enable openstack-nova-compute&lt;br /&gt;
ln -s &amp;#039;/usr/lib/systemd/system/openstack-nova-compute.service&amp;#039; &amp;#039;/etc/systemd/system/multi-user.target.wants/openstack-nova-compute.service&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On &amp;#039;&amp;#039;&amp;#039;server2-a&amp;#039;&amp;#039;&amp;#039;, check the new node is registered:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-a ~]# nova-manage host list&lt;br /&gt;
host                     	zone           &lt;br /&gt;
server2-a.example.com    	internal       &lt;br /&gt;
server2-b.example.com    	nova &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On &amp;#039;&amp;#039;&amp;#039;server2-a&amp;#039;&amp;#039;&amp;#039;, check the running services&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-a ~]# nova-manage service list&lt;br /&gt;
Binary           Host                                 Zone             Status     State Updated_At&lt;br /&gt;
nova-consoleauth server2-a.example.com                internal         enabled    :-)   2015-04-29 12:57:54&lt;br /&gt;
nova-scheduler   server2-a.example.com                internal         enabled    :-)   2015-04-29 12:57:55&lt;br /&gt;
nova-conductor   server2-a.example.com                internal         enabled    :-)   2015-04-29 12:57:55&lt;br /&gt;
nova-compute     server2-a.example.com                nova             enabled    :-)   2015-04-29 12:57:54&lt;br /&gt;
nova-cert        server2-a.example.com                internal         enabled    :-)   2015-04-29 12:57:53&lt;br /&gt;
nova-compute     server2-b.example.com                nova             enabled    :-)   2015-04-29 12:57:56&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Disable Nova compute services on server2-a:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-a ~]# nova-manage service disable --host server2-a.example.com --service nova-compute&lt;br /&gt;
Service nova-compute on host server2-a.example.com disabled.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Verify:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@server2-a ~]# nova-manage service list&lt;br /&gt;
Binary           Host                                 Zone             Status     State Updated_At&lt;br /&gt;
nova-consoleauth server2-a.example.com                internal         enabled    :-)   2015-04-29 12:59:45&lt;br /&gt;
nova-scheduler   server2-a.example.com                internal         enabled    :-)   2015-04-29 12:59:45&lt;br /&gt;
nova-conductor   server2-a.example.com                internal         enabled    :-)   2015-04-29 12:59:45&lt;br /&gt;
nova-compute     server2-a.example.com                nova             disabled   :-)   2015-04-29 12:59:54&lt;br /&gt;
nova-cert        server2-a.example.com                internal         enabled    :-)   2015-04-29 12:59:54&lt;br /&gt;
nova-compute     server2-b.example.com                nova             enabled    :-)   2015-04-29 12:59:46&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jon</name></author>
	</entry>
</feed>