Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

Commented Unassigned: Function AddToHOSTS ($hosts) [22169]

$
0
0
Hello,

first of all I want to tell you that you are doing a great job !!! :)

i have problem with AddToHOSTS function, i use this script for a farm with two servers, i have provisonning Central Administration on one server with his Hostname in url (https://AppServerName) and when i execute script on the second server function add record "127.0.0.1 AppServerName" in host.
This record cause problem for Search Topology configuration because search service admin component is not on this server.

Could you modify script to don't add Central administration url in local host file if Central Administration is not provionned on local server ?

Thank in adavance,
Florent.
Comments: ** Comment from web user: brianlala **

AddToHOSTS should never add the Central Admin URL to the HOSTS file. Have you specified other web apps that are host-named?

Brian


Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>