|
-
vSphere Client Hostname Issue
I can access some of my stacks via hostname and some via IP address like so:
1. ssh root@stack1.vm.org.net
2. ssh root@130.72.86.13
What config changes do I need to make so I can access all my stacks via Hostname? I get this error message when trying to access a stack using option 1 above. "Could not resolve hostname stack1.vm.org.net: Name or service not known"
Here's what I've done so far:
1. I looked at an old stack and compared network settings with a new stack
2. I checked firewall settings
-
-
Where do you think is this name set? The problem here is quite easy. Set a entry in your /etc/hosts that point to your VM.
so far
akendo
Feel free to follow my blog.
-
-
 Originally Posted by Akendo
Where do you think is this name set? The problem here is quite easy. Set a entry in your /etc/hosts that point to your VM.
so far
akendo
Thank you Akendo. I fixed the problem by manipulating DNS (forward and reverse). It's the hard way to fix this type of problem, but lucky me I have rockstar co-workers.
-
-
That would my next point ;-). Glad you could solve it by yourself.
so far
akendo
Feel free to follow my blog.
-
-
You should need to edit /etc/hostname although I'm not sure if that would work for you. Sometimes you need to edit the sysconfig network settings I believe.
-
-
You could try with this:Run this command to set the IP address:[root@server root]# esxcfg-vswif -i a.b.c.d -n w.x.y.z vswif0
where a.b.c.d is the IP address and w.x.y.z is the subnet mask.
Note: In this example, vswif0 is the Service Console adapter that is the interface to which you are applying the IP address change.
Open the /etc/hosts file with a text editor and modify it so that it reflects the correct IP address and hostname.Note: You may also need to verify and change the file /etc/vmware/esx.conf file for the hostname and IP address.
To change the default gateway address and the hostname, edit the /etc/sysconfig/network file and change the GATEWAY and HOSTNAME parameters to the proper values.
For the changes to take place, restart the network service with the command:[root@server root]# service network restart
-
-
Connect to your host using vSphere client, go to the configuration and then select "DNS and Routing" option.
You would see your host name and domain under "Host Identification" section.
Press "Properties" and change your host name.
Related screen shot has been attached.
-
Similar Threads
-
By Rory Glenn Pascua in forum General Linux
Replies: 0
Last Post: 02-27-2012, 11:14 AM
-
By Rory Glenn Pascua in forum General Linux
Replies: 3
Last Post: 02-16-2012, 03:45 PM
-
By Fred in forum Linux News
Replies: 0
Last Post: 11-27-2011, 08:28 PM
-
By Fred in forum Linux News
Replies: 1
Last Post: 11-15-2011, 12:31 AM
-
By Fred in forum Linux News
Replies: 0
Last Post: 11-11-2011, 04:40 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Check out Linux Central for Linux software and other goodies!
» Recent Threads
» Stats
Members: 3,573
Threads: 3,920
Posts: 9,442
Top Poster: Fred (1,486)
» Links
|
Bookmarks