New Question
0

how to build the metadata server.

asked Apr 16 '16

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Now i install the cloud-init in the windows, but i don't know how to build the metadata server and Specify the metadata server on the windows.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Apr 18 '16

avladu gravatar image

updated Apr 18 '16

Hello,

Can you give some more details on your use case? For example, if you use a VM management system like OpenStack or CloudStack. The metadata providers supported for cloudbase-init are presented here: http://cloudbase-init.readthedocs.org...

Thanks, Adrian.

Preview: (hide)
link

Comments

Now the situation is that I created a VM on the OpenStack, and would like t through the cloudinit change the VM‘hostname configured as the name of this VM automatically.

quanquan gravatar imagequanquan (Apr 18 '16)

But the file didn't tell me ,how to install the metadata server and send the hostname’parameter to the VM which install cloudinit.

quanquan gravatar imagequanquan (Apr 18 '16)

There are multiple configurations for the metadata server, metadata delivery and metadata consumption in OpenStack. From an OpenStack deployment perspective, nova handles the metadata generation. Neutron handles the routing part in the case of the metadata being exposed through a webserver.

avladu gravatar imageavladu (Apr 19 '16)

Cloud-init and cloudbase-init consume the metadata, using it to provision the machine. The metadata in OpenStack can be also exposed through an attached disk to the vm, the so called config drive. Make sure you have the proper metadata setup in both nova and neutron.

avladu gravatar imageavladu (Apr 19 '16)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: Apr 16 '16

Seen: 867 times

Last updated: Apr 18 '16