[Openstack] Adding another compute node in two tier method.

dhanesh1212121212 dhanesh1212 at gmail.com
Tue Jul 15 10:16:54 UTC 2014


Hi All,

Compute node is showing in Dashboard now after installing all the packages
and made required changes

1. Editing nova.conf file

Now machine is not getting network.

and its not starting.


2. Shall i give the same network configuration for compute node2 ( changed
the IP ).

3. Do i need to execute bridge information

Please let me know how to continue with this.



Example:

[root at compute1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE="em1"
BOOTPROTO="static"
HWADDR="00:26:B9:61:34:C2"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
IPADDR=192.168.0.33
NETMASK=255.255.255.0
UUID="18a6743e-fb2f-47be-bd93-6028496ab506"


[root at compute1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-em2
DEVICE="em2"
BOOTPROTO="none"
HWADDR="00:26:B9:61:34:C4"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
UUID="c41a06ef-79eb-448b-bc32-dbeb49c785d3"


Regards,
Dhanesh M


On Mon, Jul 14, 2014 at 1:27 PM, dhanesh1212121212 <dhanesh1212 at gmail.com>
wrote:

> Hi All,
>
> I have installed enabled icehouse repo, installed openstack utils,
> installed nova packages.
>
> 1.yum install openstack-utils
> 2.yum install openstack-selinux
>
> 3.yum upgrade
> 4.reboot
> 5.yum install openstack-nova-compute
>
> 6.copied nova.conf from compute1 and chnaged the ipaddress.
>
> 7.restarted the services.
>
> 8.checked the services and found status is dead and in dashboard its not showing the added hypervisor.
>
> 9. compute2 is showing the below outputs.
>
> [root at compute2 ~]# nova image-list
> +--------------------------------------+-----------------------------------------+--------+--------------------------------------+
>
> | ID                                   | Name                                    | Status | Server                               |
> +--------------------------------------+-----------------------------------------+--------+--------------------------------------+
>
> | 91af0ec0-552b-43df-94b0-f25be1c2364b | Opencascade_Centos6.3_OpenGL_OS_IMAGE   | ACTIVE | 58482234-fc67-44b2-8397-d7587cb09aa8 |
> | 9e435727-ebeb-4535-83f1-07c2dfbfc8d1 | Windows Server 2012 R2 Std Eval         | ACTIVE |                                      |
>
> | 0b8df68e-0e20-4277-a6ba-cc8ee83089ca | Windows_dhanesh_Server 2012 R2 Std Eval | ACTIVE |                                      |
> | 163be637-b906-47fc-b53f-e961c77c5a82 | centos-6.3-x86_64                       | ACTIVE |                                      |
>
> | b7be8da1-c0ac-4245-970e-34339b9284db | centos-6.4                              | ACTIVE |                                      |
> | 3fe36e23-4541-4e33-9c8f-f695309206a0 | cirros-0.3.2-x86_64                     | ACTIVE |                                      |
>
> | b3244398-3fd4-497a-8c46-6820d05ccfc1 | cirros-ubuntumachine-test-swift1        | ACTIVE |                                      |
> | a909945a-902a-4ca0-9365-721c1f50e21c | opencascade                             | ACTIVE | acb88055-e1f0-4599-8578-1d7a3d327354 |
>
> | 0ecd66bc-1683-4a51-abb5-27c64b4d082b | ubuntu12.04_desktop                     | ACTIVE |                                      |
> | 52387ac8-8833-47fd-81bb-f8b4867b2e8a | ubuntu12.04_server                      | ACTIVE |                                      |
>
>
> Please let me know wer i missed?
>
> Note my hypervisor is kvm "lsmod and network output is given below.
>
>
> [root at compute2 ~]# lsmod | grep kvm
>
> kvm_amd                41551  0
> kvm                   314739  1 kvm_amd
>
>
>
>
> [root at compute2 ~]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:1B:FC:8F:B6:EB
>           inet addr:192.168.0.44  Bcast:192.168.0.255  Mask:255.255.255.0
>
>           inet6 addr: fe80::21b:fcff:fe8f:b6eb/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:252946 errors:1 dropped:0 overruns:0 frame:1
>           TX packets:140590 errors:0 dropped:0 overruns:0 carrier:0
>
>           collisions:0 txqueuelen:1000
>           RX bytes:360265350 (343.5 MiB)  TX bytes:10960766 (10.4 MiB)
>           Interrupt:22
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:24 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
>
>           collisions:0 txqueuelen:0
>           RX bytes:1568 (1.5 KiB)  TX bytes:1568 (1.5 KiB)
>
> virbr0    Link encap:Ethernet  HWaddr 52:54:00:48:D8:25
>           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:11 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>
>           RX bytes:0 (0.0 b)  TX bytes:2123 (2.0 KiB)
>
>
> Regards,
>
> Dhanesh
>
>
>
>
> On Mon, Jul 14, 2014 at 11:42 AM, Jitendra Bhaskar <jeetuindian at gmail.com>
> wrote:
>
>> Hi Dhanesh,
>>
>> You can follow the same instruction as compute one and just change IP
>> according to the second system. Restart services.
>> or
>>  Just installed required software for compute node and copy the nova.conf
>> from first one and change the Local Ip .
>>
>>
>> On Mon, Jul 14, 2014 at 11:33 AM, dhanesh1212121212 <
>> dhanesh1212 at gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I have followed the installation of icehouse and successfuly completed
>>> the configuration.
>>>
>>> Requirement is to add another compute node.
>>>
>>>
>>> Please share a document to add the compute node to ice house.
>>>
>>>
>>>
>>>
>>>
>>> Regards,
>>> Dhanesh.
>>>
>>> _______________________________________________
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to     : openstack at lists.openstack.org
>>> Unsubscribe :
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>
>>
>>
>> --
>> * Thanks & Regards   *
>> *Jitendra Kumar Bhaskar*
>> Cell:- +91 7306311531
>>       :- +91 9989743042
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140715/8479e07e/attachment.html>


More information about the Openstack mailing list