Quantcast
Viewing all articles
Browse latest Browse all 21070

Configuring a SP Development VM Template for Cloning (HyperV)

Howdy!
 
I am looking for advice on how to configure a SharePoint development vm template (Server 2008 r2; SharePoint 2013 Standard; sql 2012) for cloning.
 
Scenario
1 2008 domain controller
1 server 2008 r2 vm template (sharepoint, sql)
22 identical developer vm’s – cloned (hyperV) from the above template
 
We do not want a separate SQL server for multiple reasons.. (22 dev vm’s = 22 instances; developer control over sql; etc)
 
First attempt to clone:

Autospinstaller was used to deploy SP to the template ( and will be used to install/configure sp on each cloned vm if need be, but prefer to automate as much as possible by cloning the vm due to custom branding, post SP install configuration, etc)
 
SQL alias was not configured during autospinstall …. The result on the cloned vm (after manually running psconfig.exe) was that the machine could not connect to the configdb. ULS log showed SharePoint Configdb was using the template vm’s servername…
 
So then I tried to setup the sql alias after the fact… but I believe sql connection strings were already set to the vm template’’s servername, therefore SharePoint tries connecting to the vm template’s original servername).
 
I am going to have autospinstaller add the SQL alias ‘localhost’ next time around..which is an idea to combat the sql hostname which is hard-coded during the sql install (‘localhost’ stores the server machine name in the connection string(s)). Before doing so, I thought I would pose a question and seek advice/feedback..
 
In the above scenario, would there be a need to run stsadm -o renameserver -oldservername <oldServerName>-newservername localhost before cloning? Or, would the SQL alias be enough to get through cloning successfully?
 
Any thoughts or alternative suggestions are welcome….


Viewing all articles
Browse latest Browse all 21070

Trending Articles