Results 1 to 16 of 16

Thread: how to Set up a standard devlopment enviorment

  1. #1

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    how to Set up a standard devlopment enviorment

    Hey all

    I have a new project at work that I wanted to get your opionions on.


    we have been running into problems where something devloped on system a will work but can be edited on system b

    my boss asked me to think something up where each devloper would have a clean slate each time he or she started a new project


    and that the "slate" would be the same across the board


    so naturally I think of setting up some sort of virtual machine but it raises a few qustions


    Right now im trying to use vmware server 1.0.8


    but i'm not sure how to have one image and have everyone start there vm using that image.


    also


    I don't have a lot of powerfull hardware so i would prefer that they use something like vmware player to run the vm on there machine (thus useing there software)

    but it has also accured to me that i could set up a few machines and have them RDP in the machine remotely.



    anyway if anyone has any thoughts on this i would love to hear how you have done something like this.

  2. #2
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: how to Set up a standard devlopment enviorment

    To be honest as long as the development directory is kept free of any unnecessary clutter I don't see the need for any sort of virtual machine. For instance I use both my laptop and my two PC's for development. Both would have music, pictures etc on them. Each of my stations have a disk or partition that looks Identical to the next. I ensure that this disk or partition is only used for development.

    Lets be honest software, even LOB software is going to be ran on less than ideal machines so as long as the development machine is backed up and relatively clean any third party software or hardware is not needed.

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: how to Set up a standard devlopment enviorment

    I think "clean" might mean the registry, System32, etc.

  4. #4
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: how to Set up a standard devlopment enviorment

    And again does it REALLY matter to the point where you would set up a VM?

  5. #5
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: how to Set up a standard devlopment enviorment

    I think VmWare is the perfect solution for this. You create a readonly snapshot available on the network that gives users the basic environment. They can then create a linked snapshot to that root, which lets them have the changes stored on their machine. You can create any number of VMs from this root, which will not change. The root vm will have your basic software needed installed and nothing else.

    We use VMWare Workstation in our environment, so I don't know which features are available in server versus workstation. I beleive workstation has more features when it comes to snapshotting.

  6. #6
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: how to Set up a standard devlopment enviorment

    @ Crash 893

    There is software (or feature built-in to Windows?) that allows the system to basically restore its original settings according to what thy were originally. It is possible say if your system has the programs/settings needed for development then someone changes the environment you can then get a program to revert the system back to the original program/settings before the user was one the computer. Something like System Restore although, I'm not sure if System Restore has an automatic reset setting!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  7. #7
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: how to Set up a standard devlopment enviorment

    System Restore just isn't practical for this.

    VirtualPC supports "undo disks" that make it easy to roll a VM back when necessary.

  8. #8
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: how to Set up a standard devlopment enviorment

    I have a fairly new machine at work dual core with 3 gig of Ram and i run VM's for Build machines and the like using MS Virtual PC and even with a Good PC it slows it right down (i have set the VM to use 1 gig of ram so it's reasonably quick) .

    Many of my Colleague's have inferior machines to mine and would refuse to use VM's as a Dev environment because it would be to slow !!!

    Before you decided upon this route i would check that you Hardware is up to it particularly if you want to run the VM's Locally. Also if you run the VM's off the server then you will really need a fairly Beefy server so serve VM's to all your developers at a reasonable speed.

    I still don't quite understand why this is necessary, as long as you have a good Source Control system in place to manage your code you should be fine.

    This way all your code resides on a server (which is backed-up) and developers are just checking out the files that they need. If there is a problem with a file you can always retrieve an earlier version that didn't have the problems.

    If your other consideration is that your Dev machines need specific software to edit / compile certain work that you do, create either a build document for a Dev machine so support should know how to build one, or if you have the software, get a basic image created for Development with all the standard thing a developer would need.
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  9. #9
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: how to Set up a standard devlopment enviorment

    @crash: We do all our development on Citrix Terminal Servers. each of these servers is configured exactly the same as the production environment with the exception of development tools being available on Citrix.

    So each developer is working in the same environment, regardless of whatever "crap" he has installed on his personal laptop.

    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  10. #10

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Re: how to Set up a standard devlopment enviorment

    Quote Originally Posted by abhijit
    @crash: We do all our development on Citrix Terminal Servers. each of these servers is configured exactly the same as the production environment with the exception of development tools being available on Citrix.

    So each developer is working in the same environment, regardless of whatever "crap" he has installed on his personal laptop.


    We have a citrix servers as well. I really think thats the way to go but it comes down to a capital expense for additonal servers to make a farm for development

    One could argue that it woud save us some licence fees but that doesn't realy apply to anyhting but vs i guess

  11. #11
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: how to Set up a standard devlopment enviorment

    That is the thing, if you have budget for this then you will be ok, Citrix would work well but you do need them to run at a reasonable speed.

    Can i ask, do you use some sort of Source Control where you work like VSS ??
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  12. #12
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: how to Set up a standard devlopment enviorment

    Quote Originally Posted by dilettante

    A Citrix (Terminal Server) solution can be just a miserable thing to work with. It helps enormously if you are "close to" the server network-wise and have very lightly loaded networks in your shop though.
    I agree with this.

    Quote Originally Posted by dilettante
    The big headache with this Citrix idea is it doesn't buy you rollback. It also buys you nothing in terms of test platforms. Whether using VB or .Net you have to consider registry or GAC pollution over time. Most of us need to be sure our software can install and run right on several OSs as well.
    That's not true. You could have a machine in the farm that is dedicated to testing. The guy who does windows administration should be able to overwrite the disk on that specific machine anytime.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  13. #13
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: how to Set up a standard devlopment enviorment

    But I find it pretty convenient to have VMs for Win7, 2008 Server, Vista, 2003 Server R2, XP, and Win2K for testing. I even have a Win95 OSR2 VM I test a few things on.

    Afterward I can roll back any installs I've made, and any changes that testing made to disk. The next test run can be made against a clean system and I don't have to worry about which things have been left over from earlier testing. This is much easier and quicker than restoring a clean image onto a Citrix server that might be shared by 12 other people.

    The nice thing is I can run a server in one VM and a client in another, test installs in both, and test them running together.

    The main reason I'm considering moving to a 64-bit host OS is to handle more RAM, which makes running simultaneous VMs more practical.

  14. #14
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: how to Set up a standard devlopment enviorment

    Quote Originally Posted by dilettante
    System Restore just isn't practical for this.

    VirtualPC supports "undo disks" that make it easy to roll a VM back when necessary.
    Yeah, I know System Restore probably wouldn't have worked! I couldn't remember the name of the software used. The software I am thinking of automatically resets the setting during system shutdown.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  15. #15
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: how to Set up a standard devlopment enviorment

    Quote Originally Posted by dilettante
    But I find it pretty convenient to have VMs for Win7, 2008 Server, Vista, 2003 Server R2, XP, and Win2K for testing. I even have a Win95 OSR2 VM I test a few things on.

    Afterward I can roll back any installs I've made, and any changes that testing made to disk. The next test run can be made against a clean system and I don't have to worry about which things have been left over from earlier testing. This is much easier and quicker than restoring a clean image onto a Citrix server that might be shared by 12 other people.

    The nice thing is I can run a server in one VM and a client in another, test installs in both, and test them running together.

    The main reason I'm considering moving to a 64-bit host OS is to handle more RAM, which makes running simultaneous VMs more practical.
    I haven't tried the VM approach to development. One day I might give it a shot.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  16. #16
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,657

    Re: how to Set up a standard devlopment enviorment

    Yes we use VM's for Build machines & Testing were i work too, it works very well.

    We use it for Build machines as we have more than 1 version of the software to support so instead of having the problem of having to try to install all the code bases on you local machine (which would be a nightmare) i have the latest code base locally (just check out the files from SourceSafe) and then have VM's for the others and i can just copy the changes across.

    Obviously work great for testing to as you can setup standard VM's of all the different operating systems.

    I still wouldn't want to do all my development through VM's or Citrix though as it slows you down.

    I don't fully see the need for having a development environment that can be rolled back or restored, as people have already said it is best used for testing, where it is a definite advantage. And if you are testing your software properly you shouldn't ever come across the "works on my machine" scenario !
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width