How To Create A Web Service Testing Environment (mini Production Enviroment)
Jul 15, 2009
I want to create a testing environment that is a miniature replication of a full production environment for a web service. From what I understand I'll need three components:
1. A web server
2. PIX firewall
3. DB server
Is there anything else I'll need or anything else I should be mindful of? Looking forward to insight/feedback.
I'm not sure if i posted this in the right place - but couldn't find a better place. Here is my problem.
I am converting my current site [URL] ... from one software to another. I am testing it on a temporary domain name [URL] .....
Once i finish testing i want to move the .co site to the .com site and i don't know the best way to do this.
An obvious way would be to move all of the files and databases to the .com site after first deleting all of the files at the .com site. I would also have to do a few tweaks to the software to make sure it's pointing to the .com and not .co where iI tested.
but this method seems clunky.
Is there a way to just point the .com to the .co when I'm ready to 'move' and therefore nothing would actually get 'moved'?? both the .com and .co are on the same VPS.
I have a USB drive with Uniserver, XAMP, and WOS portable webservers installed.
The problem is that I would like to have a "test" directory that is independent of these three servers, but still accessible by typing something like "localhost/test" into the browser, regardless of which package I'm running.
Each server package has its own neat little pros and cons and I'd like to be able to play around with all of them and still have the same common access to the same test directory.
I've got the following Issue with Apache 2.4.7: <OS 5> Zugriff verweigert: AH00370: Failed to create WinNT Service Profile
Well i should mention, that the same Packages are running properly configured in a Virutal Machine (same configuration as my Livemachine) without any problems whatsoever.
Its my Livemachine, where Apache keeps returning this Message while attempting to install Apache as a Service.
I utilized xammp to set up a local hosting enviroment on my desktop. It included Apahe, mysql and php. Apparently php support has not been properly installed on my web server.
I'm have installed windows 2003 on a VMware installation as a virutal server. Now it's time to set up my customers home pages but i don't know what way that will be the best. What option do you think is the best?
1. Make a new partion inside the virutal mashine.
2. Install another virutal mashine as a file server and mount efterything from UNC network.
We have setup and are currently testing a load balanced cluster using heartbeat and ldirectord. One of the problems we have come across is that we are unable to reliably use the same web server for connections from the same user. As a result the php sessions are getting in a bit of a muddle.
Obviously its not something that we can easily sync between servers like the customers other web content. We are looking at either storing the sessions in a database or NFS.
The site is pretty busy and we are a bit worried that when the site goes live both these options will slow everything down.
Apart from using different load balancing software is there any other solutions we could use for this? Has anyone stored php sessions in a database on a busy site or on a NFS?
One of our customer is looking to use wild card SSL on one of his site hosted with us, he needs clarification on following.
Quote:
We want to have load balanced site serving contents from three different Apache on different physical machines. Site needs SSL security and we will have wildcard SSL for it. However, since the CSR is generated from one apache, will the SSL certificate give errors or alerts if the request is transferred to other apache?.
This is something I am not aware of, infact no such need come thru.
to do a small cdn with servers located in 5 locations. The cdn will be used to serve video, images, but might require also serving other types of files, or even host applications.
Is there a ready to install cdn software/architecture that is tested and works or I will have to start from scratch?
Noticed they have a High Availability version coming out soon and was wondering how dependable their products have been over time and how responsive their tech support are.
Apple just released a new version of the Mac Mini specifically designed for running as a server. They have removed the optical drive and added a second hard drive (2x500GB).
In my opinion this is really exciting. These little machines rock.
Apple's website does not specifically say, but I assume you can run RAID-1 using those two SATA disks...
Seems like a far price when you bundle Mac OS X Server software.
We are in good 'ol Europe very much hit by electricity and surface prices in the last 2-3 years. Shure is that power prices do climb in all the world, but the increases are very steep in some countries like France, Austria or extremely in Switzerland where also surface prices are horrendous. This makes tower or midi cases housing for dedicated servers actually impossible in such places.
My question here; does anyone know, or have the good heart (as this can be seen as business secrecy) to tell where and which kind of servers with standard cpu's (not mobile cpu's) can be bought which have the most little sizes existing? I'm not talking about 1HE servers or Shuttle's, I'm talking about PC's with standard components, which are less big than even Shuttles.
I just read about this Mac Mini colocation service. I currently have a dedicated server, but the pricing of this option is very attractive.
Can this be done effectively from a Mac Mini? I'd be running a number of MySQL databases and about a dozen websites (which I'm currently doing from my dedicated server with no problems).
Anyone have any experience or advice to offer on this path?
I would like to set up a quick and dirty mail server for my production machine.
Basically, I just need to send emails to myself when I'm testing php scripts that use mail(). My solution right now is to comment the instances of mail() out until the site goes live, which is a pain.
I'm on a Windows Vista(64) box, I'm running Apache2, PHP5, and MySQL5. What (free) mailserver could I use that has a relatively quick setup.
This is not as much a complete and full review as some, but I would like to review my current host because they have been very good. As a small prelude, I have been a customer of burstnet a few times and generally got very frustrated with their billing and verification system. Sometimes I only need a server for a month or two then cancel it just as a temporary stop gap for some bandwidth or web space need. I don’t know why but every server I get with them seems to take just under three days to setup where as other companies I have been with achieve setup much, much faster. Don’t get me wrong I am a big fan of burst net for cheap bandwidth, and have voiced my opinion on this before on this forum. They are a good company overall especially for the price you pay.
I was searching for a burstnet reseller, one with a good billing system etc. Just so I didn’t have to deal with that terrible piece of rubbish they have. And I have been with my current host for a few months now. Obviously, knowing they are a reseller will put many people off, as they can go straight to the source. But in my experience, the support they provide (if its not something that requires the burstnet team) and the customer / billing interface available make it all worth while.
Like I said, not a complete review. You can make up your own mind about the burstnet service / network. But I like this reseller and I would recommend them to anyone.
How I do put a website of a client that is in production and give them access it to view it while preventing search engines from indexing it? I had the production site on a sub domain but search engines would inevitably index it. I could a no-index robot text but if people had the domain, they'd still find it. I want to just put it on my server and the client can login with a PW and view the status.
After several issues with our shared hosting provider, I have decided to recommend we move our site to a VPS solution.
We are a video/media production house and although our actual site does not demand many cpu/memory resources, we have a huge need for ample disk space and FAST data transfers up and down.
We are constantly uploading video files for client approval, receiving files from animators/designers/etc., delivering files to clients, etc. and need FAST and RELIABLE hosting to accomplish this.
I may end up using a content management system for the site itself, probably Drupal, but our actual web content is minimal. Most of our traffic takes place behind the scenes as data transfer.
I simply don't have the bandwith onsite to run my own server, so I would like to try the VPS route. I don't think we have money to budget for a dedicated server.
One last question. Do any VPS solutions offer a media streaming server for Flash streaming?
For learning purposes, I'd like to purchase a switch to network at least 4 servers. Based on your knowledge of switches and the ones you currently use in production, could you recommend some switches that, while initially for development use, could be transitioned to production?
I'd like a switch that specifically isn't meant for home use, because a big part of the reason for purchasing it is to get experience configuring, using, and troubleshooting a production-quality switch that has anywhere from 8-32 ports.
For those of you that actually network 32 devices together in production, do you have one mega 32-port switch, or multiple smaller (e.g. 8-port) switches? What setup, in your experience, have you determined to be ideal?
What criteria are very important to consider when purchasing a switch that, as a newbie to this area, I may not have otherwise considered? Most resources on this topic give pretty basic information, but don't highlight the real 'gotcha' areas.
Have run through a bunch of threads on mod_proxy race conditions, possible causes, and potential solutions.
What is the status? Is there a fix for this, maybe in 2.4.7?
On 2.4.3 in production we literally have 10K errors in the past 2 months along the lines of:
Code : AH00898: Error reading from remote server returned by...
Application server (JVM webapp) issues no errors at the time of mod_proxy error occurring. It seems then that mod_proxy is sporadically broken, which is horrible for end users accessing an otherwise rock solid production application.
I don't think it got any security feature that allow you to lock the server with key or some sort. what do you guys with SuperMicro mini 14" 1u server do when you deploy it?
what does the bracket do? do i need rails for colo or can the server be mounted on the rack and where do i get the rails for it?
edit: i just read the comment by one buyer.
"Pros: No expenssive rackmount rails required, mounts using the intergrated ears, very good airflow for such small case. Very well built, pretty solid for price range. "
so no rails is required...by intergerated ears i assume he mean the two handle on each side and the bracket can be use to mount the server. how strong are they? Can they really hold the server?
co-location of a mini tower PC I have that hosts a couple of websites. I live in Redmond, WA so anywhere near there or down in Seattle will be fine. Bandwidth wise I only need about 500GB per month. anything fancy just a secure facility with power and network connection.
The 2848's can be had at pretty good prices these days. Don't think I'll be needing any fancy features out of these guys aside from vlaning, spanning tree, port channeling and some other basic commodities -- all of which should be cake for this switch.
I was going to pickup some 2950's, but considering these are only ~600 each in most cases..might as well.
I have two servers - one serves dynamic content (PHP) and the other serves static content (images and other files).
The PHP needs to have access to the images and files on the other server so at the moment I execute SSHFS manually to mount a directory containing the contents of the remote server. Permissions are set up so PHP can access and modify the images and files as if they're local files.
This works fine until the server needs restarting or network problems occur. I'd like to rectify this by using an daemon auto-mounter to make sure the directory is remounted if it ever becomes unmounted for any reason, including after a server reboot.
I understand that SSHFS is solid and secure, and both AFUSE and AutoFS offer suitable auto-mounting functionality, but I can't find any solid information on how suitable AFUSE or AutoFS are for a production server - my main concern being whether it's going to cause some unforeseen security issues.
Is AFUSE or AutoFS suitable for a production server?