VMWare Hostnames


#1

Hi, I’m very new here. My company uses CloudForms on a fairly large scale so I know my way around it, but I have decided to setup MIQ on my cluster at home to try and learn more and try things in a non-production environment. I have 4 node vsan cluster at home with esxi 6.5. I got MIQ up and running this morning and mostly configured all though now there is much to do going forward. The first thing it told me is one of my hosts was non-contactable - and it was, network card is a little flaky gave me a change to take the host down and blow all the dust out of it anyway and it came back up fine.

Anway, my question is why are all my hosnames called localhost in MIQ? They have full DNS setup - I run a windows domain with AD integrated DNS and the vcenter has all the correct host names which is where I thought MIQ would get the names. I am going through and setting the hostname and validating credentials now, but just curious as to why it got localhost.xxxx.local for the domain names. Thanks, looking forward to learning much.

Bill


#2

@jogdial

After you ssh login into miq appliace as root,
What is output from “ap”(/usr/local/bin/appliance_console) command ?


#3

sorry for late reply, got pulled onto other projects…

Hostname: manageiq
IPv4 Address: 192.168.10.27/255.255.255.0
IPv4 Gateway: 192.168.10.1
IPv6 Address:
IPV6 Gateway:
Primary DNS: 192.168.10.2
Secondary DNS: 192.168.10.4
Search Order: mydomain.local
MAC Address: 00:50:56:96:89:7f
Timezone: America/Denver
Local Database Server: running (primary)
ManageIQ Server: running
ManageIQ Database: localhost
Database/Region: vmdb_production / 0
External Auth: not configured
ManageIQ Version: gaprindashvili-2


#4

Hi @jogdial

following is my ap output

Welcome to the ManageIQ Virtual Appliance.

To modify the configuration, use a web browser to access the management page.

Hostname:                miqr99wk01
IPv4 Address:            192.168.1.171/255.255.255.0
IPv4 Gateway:            192.168.1.1
IPv6 Address:            2601:248:100:68:250:56ff:fe80:45e8/64
IPV6 Gateway:            fe80::6238:e0ff:fe0a:f1
Primary DNS:             192.168.1.40
Secondary DNS:           192.168.1.1
Search Order:            test.lan
MAC Address:             00:50:56:80:45:e8
Timezone:                America/New_York
Local Database Server:   not initialized
ManageIQ Server:         running
ManageIQ Database:       miqr99db01
Database/Region:         vmdb_production / 99
External Auth:           not configured
ManageIQ Version:        gaprindashvili-2


Press any key to continue.

Can you post screenshot of where “localhost.xxxx.local” show up at ?

why it got localhost.xxxx.local for the domain names