What is the best practice to set up development environment of SharePoint 2010 through 5 virtual machine. How to configure same settings in each machine and to update code in source control?
what VM do you use? I'm using Virtual Box of Oracle and it works quite well. YOu can create as many VMs as you wish but it will cost you in a lots of RAM on your machine.
For my development purposes I have 24GB of RAM and three-tier farm with:
- Front-end (4GB)
- Application services (4GB)
- Database server (50% of all avalable PC RAM - in my case it is 8GB)
Rest of RAM is used by my host PC.
For best practices there is MS deployment guide which is very usefull when follow it. You can find it here.
Hope it helps,
You could possible make all major configurations in one virtual machine, and then copy that harddrive file (.vhd-file in Hyper-V) and use it as the base for the other virtual machines.
(By pasting the .vhd in new folders for each machine, and then create new virtual machine from existing harddrive, Link)
In my team what we usually do when we have a new project is create a Base SharePoint Image. This image will then be provided to the different developers that will be added in the project. The base SharePoint image we have is usually done with the following steps:
- Installing the OS of your choice
- Updating the configuration of the server so that
- the shutdown tracker is removed
- Updating the machine name
- Enable the remote desktop connection
- Disable IEEC
- After that we typically the AD services and create a new forest for the server
- Install Visual Studio
- Install Office Client if needed
- Install SharePoint Designer
- Install SQL Server
- Install SharePoint
- Install all other items needed for the project (3rd party tools)
Once this is done each developer will be provided the same copy of this image so that all of us will have the same setup. As for the source control just setup an SVN or a TFS and connect your visual studio there.
You can find best practices here,
Here's recommended topologies by Microsoft,