Results 1 to 21 of 21

Thread: How to simulate complex network

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    How to simulate complex network

    I'm not sure if this is the appropriate forum, and if it isn't please move it.

    I'm developing a client server .NET application which is designed to handle complex distributed network configurations.

    As a one man shop, I don't have access to these actual resources for testing, but I'd like to somehow simulate this in a virtual environment somehow. So that I can simulate different network scenarios to make sure my app runs okay in these environments, complete with one or more domain controllers providing Windows user accounts, for example \\Corp1, \\Corp2, each having their own users, etc. It would also be nice to somehow simulate network latency on some of the virtual machines.

    Can I use Microsoft Virtual PC for something like this? Any feedback/guidance on this topic would be very much appreciated.

    Visual Studio 2010

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

    Re: How to simulate complex network

    I use vmware for testing! Although, I haven't tried getting one virtual operating system to talk to another one but I think all you would need in that case is to make sure the virtual machine network settings are correct.
    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

  3. #3
    Frenzied Member tr333's Avatar
    Join Date
    Nov 2004
    Location
    /dev/st0
    Posts
    1,605

    Re: How to simulate complex network

    Download VMWare Server (it's free!) and set up Host networking for the virtual machines.

    http://www.petri.co.il/virtual_creat...lab_vmware.htm

    EDIT: This might also be possible with VMWare Player but I've never tried.
    CSS layout comes in to the 21st century with flexbox!
    Just another Perl hacker,

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

    Re: How to simulate complex network

    I use virtual pc. I have found that I have an environment for everything these days and the only thing I use the PC for is to switch and maintain environments. I suppose an beta with a few trusted friends/employees would be a good option too as you would get closer to the actual environment the app will live in!

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    Hey,

    There used to be a big gap in the virtualization world between VMWare and Microsoft offerings. This gap is no longer as big as it was, and you can easily set up environments with either product. What it comes down to is what sort of environment are you wanting to create.

    If you need to take multiple snapshots of your VM's, in order to test different conditions, and roll back to different places, then VMWare Server might not be the best bet for you, as this only allows one snapshot. In which case, you might want to think about ESXi. This is also free, and it is a stripped down version of VMWare's ESX Server (now I believe called VSphere). This has a very limited set of hardware that it is supported on, but you can find a list on the VMWare Website.

    As for communicating between VM's, this is definitely possible. We actually connect a suite of VM's to a domain, and communicate between them as though they were "real" machines. So you can set up very complicated environments.

    One thing I should say, although VM's are great, they are essentially "real" machines, so you should really make sure that you have appropriate licences to cover all the software that is installed on them.

    Gary

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Re: How to simulate complex network

    Quote Originally Posted by gep13 View Post
    Hey,

    There used to be a big gap in the virtualization world between VMWare and Microsoft offerings. This gap is no longer as big as it was, and you can easily set up environments with either product. What it comes down to is what sort of environment are you wanting to create.

    If you need to take multiple snapshots of your VM's, in order to test different conditions, and roll back to different places, then VMWare Server might not be the best bet for you, as this only allows one snapshot. In which case, you might want to think about ESXi. This is also free, and it is a stripped down version of VMWare's ESX Server (now I believe called VSphere). This has a very limited set of hardware that it is supported on, but you can find a list on the VMWare Website.

    As for communicating between VM's, this is definitely possible. We actually connect a suite of VM's to a domain, and communicate between them as though they were "real" machines. So you can set up very complicated environments.

    One thing I should say, although VM's are great, they are essentially "real" machines, so you should really make sure that you have appropriate licences to cover all the software that is installed on them.

    Gary
    Good advice guys, thanks! As to the domain controller that you mention, is that too a virtual machine? So VMWare is free? I know Virtual PC is too, but I didn't know VMWare was. I know VMWare is the defacto standard so maybe it's good I get experience with this and not mess with Virtual PC??

    Visual Studio 2010

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    Hey,

    In our case, the Domain Controller is a physical machine, but equally, it could be a VM.

    Yes, some products within the VMWare suite are free.

    VMWare Player - Free
    VMWare Server - Free - needs to be registered
    VMWare WorkStation - Not free
    VMWare ESXi Server - Free - needs to be registered - limited set of hardware it works on
    VMWare ESX Server (VSphere) - Start saving your pennies, this isn't cheap

    We have been dabbling with VMWare for the a couple years now, and so far, it has stood up to everything that we have thrown at it. We are actually now thinking about implementing some Microsoft Hyper-V servers. This is due to the fact that as a Gold Partner, we get some licenses for free, so we are thinking about using them.

    Gary

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How to simulate complex network

    If you have the dough, get yourself an MSDN subscription. It makes managing licences much easier.

  9. #9
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How to simulate complex network

    Also, in my experience with virtual machines, the GUI is the most expensive part. You will find that the most important trick is to manage resource allocation effectively. If your application can be run in command-line mode, you might want to investigate running something like Windows Server Core rather than a full GUI environment on each virtual machine.

    In terms of resources, the cheapest enviromment you can run is a minimal installation of Linux. The "leanest" modern Windows client environment is XP. I don't have experience with Server Core, but ostensibly that ought to be closer to a Linux.

  10. #10
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    Hey,

    You can run VMWare Server on a Linux machine. Or, ESXi, which is free, is a linux based environment.

    Gary

  11. #11
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How to simulate complex network

    Yes, but I meant the virtualised system rather than the host.

  12. #12
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    Ah, sorry, I misread your post

  13. #13

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Re: How to simulate complex network

    Is there a difference between the VMWare Workstation and Server? Seems the Server is free, but the Workstation is not. Which one do I really need, or do they do the same thing?

    Visual Studio 2010

  14. #14
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    Hey,

    They perform a very similar function, however, one of the main differences is that VMWare Workstation allows you to create a full snapshot hierarchy so that you can take multiple snapshots of your VM and revert back to any point in time. With VMWare Server, you can only take one snapshot. Depending on what you are doing, this isn't a problem.

    The other main difference is that VMWare Workstation is a thick client application, where as, VMWare Server is administered through a web interface.

    Gary

  15. #15

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Re: How to simulate complex network

    I like the snapshot idea so that I can make multiple configurations on the same vm, as opposed to making multiple vm's representing different configurations. I might end up just purchasing the workstation as it is relatively cheap anyways.

    Visual Studio 2010

  16. #16

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Re: How to simulate complex network

    What about Sun's VirtualBox? Anyone have experience with this? Looks pretty capable, provides snapshots and is free.

    Visual Studio 2010

  17. #17
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    Nope, can't say I have played with that one.

    How much is workstation nowadays, I haven't looked for a while.

    Gary

  18. #18
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How to simulate complex network

    Quote Originally Posted by dbassettt74 View Post
    What about Sun's VirtualBox? Anyone have experience with this? Looks pretty capable, provides snapshots and is free.
    I tried it about a year ago on a Fedora host. Had trouble creating a display under X11. Didn't get much further than that. Perhaps it's better now.

  19. #19
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    dbassettt74,

    It will be interesting to hear about how you get on with VirtualBox. I am going to stick with VMWare for just now as I have no reason to need to switch, but always nice to keep options open.

    Gary

  20. #20

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    Re: How to simulate complex network

    Seems to have all the features of VMWare, most notably, snapshots which come in real handy. I got it up and running without a hitch and seems work pretty good. I have a Ubuntu Linux vm running on a WinXP host. Although, I'm not (or can't) go much further than that at this point because I need some better iron. I will most likely be purchasing an HP Elite i7 with 9GB ram and 1TB hard drive pretty soon. Then I will go all out on this.

    Visual Studio 2010

  21. #21
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: How to simulate complex network

    Hey,

    Sounds like I might have to give VirtualBox a try at some point.

    Glad to hear you got things up and running the way you want it, and good luck with the new rig!! Very jealous

    Gary

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