Solved

Localhost not resolving to proper computer name in

Posted on 2015-02-04
6
104 Views
Last Modified: 2015-02-05
We have a XenDesktop 7.5 environment running two DDC's on Windows Server 2012 and SQL Server 2012 running on Server 2012.

We are having issues with DDC01 talking/syncing/going out on dates with DDC02. The error logs show DDC01 trying to contact an endpoint (DDC02) but it can't reach it via the supplied URL.
(http://testDDC.domain.com:80/etc/etc/etc) The URL SHOULD say something like (http://DDC02.domain.com:80/etc/etc/etc)

I have swept the registry and hosts file of the DDC's and the SQL server and the name of testDDC is not there.
The computer name of DDC02 is correct and DNS is correct. SQL Server only shows DDC01$ and DDC02$ as the machine names which have security rights to the database.

The Citrix configuration settings show that URL (listed above) as being http://localhost:80/etc/etc/etc which tells me that something is making the localhost name resolve to testDDC and not DDC02. Since all Windows related tasks/functions seem to be fine and resolve to DDC02, it tells me that Citrix or SQL is probably making that change but I don't know where to look.

Question:
Where should I start to ensure that localhost properly resolves to DDC02 and not testDDC?
0
Comment
Question by:Paul Wagner
  • 3
  • 2
6 Comments
 
LVL 39

Expert Comment

by:footech
Comment Utility
localhost is defined in your HOSTS file on each machine to point to 127.0.0.1 (and ::1 if using IPv6) by default.  HOSTS is located under C:\Windows\System32\drivers\etc\
0
 
LVL 3

Author Comment

by:Paul Wagner
Comment Utility
@footech
Right, but the hosts list has the right name (DDC02)
0
 
LVL 39

Expert Comment

by:footech
Comment Utility
If at a command prompt you type
ping localhost
and it comes back with the name of the local computer, then there is nothing messed up with name resolution.  At that point it's probably something with the Citrix config, but I can't help you there.
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly‚ÄĒanytime, anywhere. Grab this deal now before it disappears!

 
LVL 3

Author Comment

by:Paul Wagner
Comment Utility
ping localhost works properly.

I already knew that the issue lied somewhere in the Citrix or SQL config but didn't want to leave out a possible Windows issue. Windows doesn't seem to be the issue so hopefully a Citrix or SQL guru can propose a solution.
0
 
LVL 23

Accepted Solution

by:
Dirk Kotte earned 500 total points
Comment Utility
would try to remove the second ddc from the pool and rejoin with ddc02.
0
 
LVL 3

Author Closing Comment

by:Paul Wagner
Comment Utility
That worked.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

After several days of searching and hunting for limited documentation, I wanted to share this guide to hopefully save someone the hassle of trying to figure this out on their own. I have tested this on Xendesktop 7.1 and PS 4.5 running simultaneous…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now