Ask Your Question
0

Access instances by hostname instead of IP

asked 2016-07-12 03:00:01 -0500

laurentiusoica gravatar image

Hello,

If I have 2 or more instances created inside the openstack deployment, on the same network, is it possible to make the instances accessible between them by hostname , and not only by IP ?

instance_2 IP is 192.168.100.43 and local hostname is instance_2 .

[cloud-user@instance_1 ~]$ ping 192.168.100.43
PING 192.168.100.43 (192.168.100.43) 56(84) bytes of data.
64 bytes from 192.168.100.43: icmp_seq=1 ttl=64 time=0.074 ms

[cloud-user@instance_1 ~]$ ping instance_2
ping: unknown host instance_2

I don't want to locally modify the /etc/hosts.

Is there an internal DNS service on the controller node ?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-12 05:23:50 -0500

have a look to openstack designate service:

http://docs.openstack.org/developer/d...

Regards, Amedeo

edit flag offensive delete link more

Your Answer

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

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-07-12 03:00:01 -0500

Seen: 287 times

Last updated: Jul 12 '16