Alpha Video Training
Results 1 to 7 of 7

Thread: Load balancing applications with Zebra hosting

  1. #1
    Member
    Real Name
    Larry mandras
    Join Date
    Nov 2010
    Posts
    89

    Default Load balancing applications with Zebra hosting

    I have a web application running v10 that I was going to host with Zebra Host. I was going to have three hyper v's under a load balancer. My application stores images and files to a directory on the web server. Has anyone had experience with this type of configuration. I am concerned that the images will be saved to one of the three machines depending on the machine serving up the request and the other machines will not see the images. I would also welcome any suggestions on how better to handle this situation so I could use the load balancing and still store the images to the file system.

  2. #2
    "Certified" Alphaholic chadbrown's Avatar
    Real Name
    Chad Brown
    Join Date
    Aug 2007
    Location
    Aurora, Ontario, Canada
    Posts
    1,412

    Default Re: Load balancing applications with Zebra hosting

    I have a similar issue to this where we upload a pdf file for later viewing and every 3min I ftp the files back and forth bettween my two servers. Depending on how fast you need this to happen it could be an answer. Have you asked Clive at zebra about this?
    Chad Brown

  3. #3
    Member
    Real Name
    Elbee
    Join Date
    May 2010
    Posts
    130

    Default Re: Load balancing applications with Zebra hosting

    Is it possible to have a shared network drive?
    Calyxte

  4. #4
    Member
    Real Name
    Scott Lines
    Join Date
    Aug 2007
    Posts
    129

    Default Re: Load balancing applications with Zebra hosting

    Each of the hyper V's will be running an instance of the Alpha Five Web Application Server (WAS).
    However, one of the hyper V's (primary) must have the main disk drive that houses the A5Webroot. The other two hyper V's (secondary) have to have a drive mapped to this main disk drive. AND the WAS on these secondary hyper V's must be pointed to the A5Webroot on the primary.

    This main disk drive and the mappings to it on the secondary hyper V's must all have the same drive letter. For example, on the primary it is called drive M: The secondary hyper V's then have a drive M: mapped to the primary's drive M: So all three hyper V's have a drive "M:" that are pointed to the primary's drive M:

    This allows there to be a single A5Webroot that all of the WAS instances utilize (ie M:\A5Webroot).

    Your image storage directory is placed on the primary hyper V's M: drive. Let's call it M:\images

    Your application now saves and retrieves its images from M:\images

  5. #5
    "Certified" Alphaholic chadbrown's Avatar
    Real Name
    Chad Brown
    Join Date
    Aug 2007
    Location
    Aurora, Ontario, Canada
    Posts
    1,412

    Default Re: Load balancing applications with Zebra hosting

    I agree, The nice thing about the M: would be that you would only need to publish to one webroot. The only problem I see with that setup is that if that M: is down you loose all your hyper v's at once. I personally like running all of them seperately. Both have there advantages and disadvantages.
    Chad Brown

  6. #6
    Member
    Real Name
    Elbee
    Join Date
    May 2010
    Posts
    130

    Default Re: Load balancing applications with Zebra hosting

    Chad,
    You could have separate HyperV's with separate storage and then manage the syncing of the images and documents between the 3. A program that can do this is called goodsync.
    I am kinda curious though, Chat how often do your servers go down? Would it not be better to build in some fault tolerance for all of your system instead of all the constant syncing of images and documents?
    Perhaps all that syncing in away is a poor mans or simple kind of data tolerance.
    Calyxte
    PS On your servers what are your WAS thread settings set at?

  7. #7
    "Certified" Alphaholic chadbrown's Avatar
    Real Name
    Chad Brown
    Join Date
    Aug 2007
    Location
    Aurora, Ontario, Canada
    Posts
    1,412

    Default Re: Load balancing applications with Zebra hosting

    I have one hyperv and one main server which is not hyper its a 8 core 6gb which serves mysql and one was. Servers dont go down very often at all, I have only been down for about 2 hrs in the last 2 yrs. I dont mind the syncing its all run in the background, once its been set and I dont have to touch it. WAS settings are double the normal settings.
    Chad Brown

Similar Threads

  1. zebra tlp 2844 label printer in w7
    By martinwcole in forum Alpha Five Version 10 - Desktop Applications
    Replies: 4
    Last Post: 03-07-2011, 04:25 PM
  2. Load Balancing
    By David Brown in forum Application Server Version 10 - Web/Browser Applications
    Replies: 2
    Last Post: 02-17-2011, 08:34 PM
  3. load balancing functionality of apache?
    By Jordans17x in forum Application Server Version 10 - Web/Browser Applications
    Replies: 3
    Last Post: 04-01-2010, 08:41 AM
  4. Hosting Non-US Web Applications on an US ISP
    By René Stout in forum Web Application Server v7
    Replies: 2
    Last Post: 04-17-2006, 12:15 PM

Bookmarks

Posting Permissions

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