Here is a fast post sharing a few tips on what I have learnt out of painful experience in forming the ideal sharepoint development environment for a consultant.
Definitely Virtualize
Unless you are a masochist, you will finish up virtualizing. Even within Virtualizing there's lots of choices. I personally like to use VMWare Workstation 6.0 which I feel is a lot better than Virtual Server or Virtual PC. Here is a convincing screenshot -
A Powerful Machine
As a consultant, you have to travel a bit. Even if you don't travel, I have found that the convenience, and portability of laptops trumps the added power of a desktop. I do have a desktop at home with giant displays and full size keyboard, mouse, audio process whatever - but - my main workhorse machine, is a laptop. My laptop is a Dell, 17" (1920X1200), T7500 CPU, Santa Rosa, 160G 7200RPM HDD, 3G RAM, High finish display card machine. The only place it sucks is in an airplane stool - other than that it rocks. Later down the road I will put in a second SSD HDD, so I can virtualize machines on the SSD HDD. You would note that I have 3Gs of RAM, not 4. 4Gs of RAM IMO is waste of $. The extra 300K that you get (Laptops cannot address full 4Gs), is not worth the additional $400.
Operating Technique
: I use Windows Vista 32 bit. Why 32 bit? Because compatibility is important to me, & 64 bit doesn't buy me much as of today. Also, my host OS is purely a business OS, I use it for MS Word, MS Excel, Project, Outlook etc. VMWare Workstation 6.0 runs well on Vista, so all my real work gets virtualized.
The Virtual Machine
: 99% of whatever you wish to do with MOSS2007 can be done on a single machine. No domain controller, No AD. seldom do you need to scale beyond multiple machines, & truthfully, walking multiple VMs is a dog. My main workhorse sharepoint machine runs the following:
1. Win2k3
2. SQL Server Dev edition (not express)
3. IIS/ASP.NET
4. VS2005 (though I do have another three snapshotted on Orcas)
5. Pop3 Server/SMTP ---> No need for full fledged exchange.
6. MOSS 2007 complete install.
7. Use Local accounts instead of AD Accounts.
Other Virtual Machines
: Seldom, but not seldom, do you need a domain. For this purpose, I use three additional virtual setups.
1. The first setup is a PDC with MOSS installed on it. This has significant limitations around search. But if I need to write AD Aware code, say in relationship with profiles etc, I can still get by with a single VM walking.
2. The second setup consists of three machines - three is a PDC with POP3/SMTP & SQL Server, & a MOSS WFE. seldom do I ever need to boot in to this. If ever I have a usecase that needs this specific configuration (example, testing BDC with impersonation over multiple machines - rare case), I wait till I am around my home machine or in office so I can scale multiple VMs on multiple machines. Clearly not my first choice.
1. I have toyed with the idea of getting UMPC & run that as the PDC. Haven't taken that leap of faith yet. Frankly this is not such a huge issue most of the time. The problem with that would be the need to carryover a network hub, cables, or connect on Wifi & accidentally pair with an Airbus A380 in the technique.
When developing as a team
: Use a server based virtualization product such as ESX Server, & leverage domains/seperate sql server/domain seperation etc. Developing as a team is a whole another post frankly.
Sharepoint designer
Is a pig at times. So I frequently find myself walking SPD on the host OS, not on the guest OS.
0 comments:
Post a Comment