Take An Image Of The Server And Reload It Again If Need Be
Dec 17, 2008
i have set up a sever with certain software exactly the way i want it. However, there is some extra stuff i need to install on it.
I am running Centos 5.1 and would like to run some command possibly via ssh which would create an entire image of the server in a disk format such as ISO and then if need be, reinstall the basic operating system and restore the ISO back up if need be.
Is this possible?
If so how and how would i restore the image as well?
I haven't been able to find much about this searching, but are people using NAS storage to deliver website images? I've never used NAS before and am not familiar with their performance.
I need to find out what would be the best software to run an image website for one of my clients, there is only one domain so I've considered using LiteSpeed Standard (Free)... What server do you think would be the best?
All I need is PHP support for the image viewer software.
I am working on a website that is running on IIS that cannot load any images larger than say 4KB to an outside connection. On the local LAN that this box is connected to the page loads without any issues. However, as soon as it goes out through our Microsoft ISA 2006 server to a public site it will not load images or you get only some of the image loading.
I own a social network generating over 50 million page views a month. Currently, I use only one massive server. I want to add in a new server just for image serving, as my current server is killing me with high bandwidth costs.
Server A runs the website and the logic Server B runs runs the images
What would be a good architecture between the two servers, given that they ARE NOT IN THE SAME hosting infrastructure (SoftLayer is not a great option if you want alot of bandwidth)
If a user changes his photo on Server A which runs the site, somehow Server B must be notified and gets a hold of the new image..... what would be the most technically feasible and optimum way to achieve this?
I just got a new server, and for some reason it is as though it always sends out codes to your browser to completely reload (like hard refresh) all images... Even if you hit "Refresh" in firefox, it wants to reload ALL Images. I uploaded the same EXACT files/webpage that it is doing this to on another server and it treats it normally, Firefox caches it. But on my server it wants to reload the images each and every time.
Tried on multiple computers, same thing.
Anyone know where this 'setting' might be? I do have full access to the server, though I was not the one to set it all up initially.
I have a dedicated that is oversized for the task (Q6600, 8gig RAM, Sata Raid-10 array), which is running a medium/small vBulletin site.
I have thought about providing free image hosting for the members, so I could have 100-300 people hosting sig images and other graphics on the server, which they in turn would link into forums and other places which could create quite a few requests for those graphics.
Is there anyway to quantify what type of load this static, image hosting would create?
The server currently is typically around .05 to .1 server load with nearly flatlined CPU's.
I have had 2 drives fail on me in 2 weeks, and had to completely redo my server's configuration and security.
I would like to tell my tech to make an image of the current server, just so that the firewall and settings are all saved, and can be restored if this happpens again.
How should I go about doing this, and what can I tell my tech to do so that he does this in the best, most efficient way?
I have 2 live websites on there now (not an insane amountt of traffic), so I am assuming the sites current state will be in the image, which I don't mind, as I can just restore a recent site backup if the site happens to go down again.
Please let me know your thoughts!
( i am assuming i should try to delete as much junk off of the server as possible to make the image smaller)
Anyone know where i could find some software like this, it looks about 6 years old www.hallogram.com/leadtool/imgsrv ( see meta tags )
the software is for generating images like this through the querystring localhost/images/53065_383.fpx?wid* =167&ftr=8&effect=dropshadow,0x000* 000,10,8,120,8&cvt=jpeg
the closest i have found is www.scene7.com/solutions/dynamic_imaging.asp (its only a web service) and over 10k yearly
I have a solution on how remotely using IP KVM and WinPX to install images-based windows server.
But we need a solution that can automate this process.
This is because I need to provide a hight availably service, and if our web cluster is taking hight load I want to be able to clone a new server for master image and get it work in a cluster.
What is a reasonable expectation for how long a host should take to reload an OS?
Read on for my story if you want details behind my questions...
Due to a logical but unfortunately incorrect mistake on my part, we ordered a dedicated Windows server with a 64-bit OS. We just found out that the 64-bit OS isn't compatible with a software package and we needed to get the 32-bit OS reloaded in a hurry.
I understand that urgency on my part doesn't necessarily mean it's an urgency on their part, but I am also paying additional for the server reload. I submitted a ticket with the hosting company yesterday around 7PM to get it reloaded ASAP. As of 9AM this morning I didn't hear anything from them one way or another so I signed in to my hosting account only to find that they left a reply to my ticket asking to confirm that I really indeed want a reload with the selected reload options. I never received any type of an email notification of the reply. I was a little miffed that I didn't get any e-mail, but oh well so I confirmed that was indeed what I wanted.
At 10:30 I get an e-mail asking me to reconfirm that my server's physical specs and there is a discrepancy on the memory installed as their records were outdated and showed 1/2 what was really installed. I have to contact my account exec to get that straightened out and I finally get notified that the reload has started around 11:30AM.
I was originally told informally 3-4 hours in a support chat. Here it is 12+ hours after the reload supposedly started and I have heard nothing from them. I tried checking at 5:30PM tonight before I left work what the status was, but the lady I spoke with just repeated the message I got at 11:30AM saying things were underway and that she couldn't give me an ETA on when things would be finished.
Am I unreasonable in thinking 24 hours after I submit the ticket with an priority of "ASAP" is too long? I'll cut some slack for the miscommunication on confirming that I indeed want a reload but even then it's been 12+ hours after they said that they have started and the server when down.
I asked my host to reload/rebuild my dedicated server as I wanted to clear my entire server so that I can used it for a brand new project but I was told that it would cost me $75 per server.
Am I able to engage a freelancer to do it rather than getting my hosting provider? I would also need to change the server hostname from www1.xxx.com to www1.yyy.com and the name server to be changed to ns1.yyy.com and ns2.yyy.com instead of ns1/2.xxx.com. In short, I do not want yyy.com to be traced back to xxx.com at all. I do not want a traceroute, cpanel or other means to link the two site together.
I'm using ddclient. When the external ip change, ddclient update the A register.
I see that A register updated in the control panel interface.
But that updated IP does not propagate. I have waited more than one hour and do not see the changes spread.
Only when I change the A register inside the control panel for any value and then I change it again into the real value the change is spread and everything works well.
Looks like ddclient not force reload my zone, only when change the ip in the control panel.
If the disk of my dedicated server is corrupt and i ask for a new disk+reload of OS, this reload should be free or i have to pay for it? (the server is from layeredtech)
Our DC is replacing our hard drive and doing an OS reload... how long should this take? Its been 60 minutes already, I was expecting it to take between 1-3 hours.
Can anyone fill me in on their previous experiences?
I've a dedicated server at ThePlanet / Servermatrix for the past few years and for the most part the service has been okay. Uptime has been good and support used to be fairly swift.
Early wednesday morning the primary hard drive in my server started dying. Throughout the day various services kept going up and down and overall the entire server was very unstable. I didn't get much movement from ThePlanet's support team - they would reboot the server, SSH and other services would come back online, and so they would close the ticket.
Thirty minutes after the reboot the HD would switch to read-only and stuff would start dying. So they finally recommended that I replace the HD and do an OS reload. I said fine as I had a backup of all of the accounts on a 2nd hard drive.
Well it took until 6am this morning for the OS reload to finally be completed, but when it was done apache was *completely* screwed up. WHM was up and running but if you went to the server IP address in the browser you got an error.
It turns out that something really badly went wrong with the OS reload but it took them hours before they even admitted that there was something wrong that needed more action. It's now 10pm and while email and other services are up, apache is still nonexistent.
When I try to run easyapache it barely starts before it errors out with a bunch of missing dependencies. I cannot instal GD and a bunch of other items, and I keep getting error messages that SSL isn't installed either.
Please visit [url] for help with this error.! No original working apache backup to restore! Executing '/scripts/initfpsuexec'! Executing '/scripts/initsslhttpd'! Compiling report... Sending report (6304 bytes)... If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '741873'! Report processed. Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1212079281' ---- seems the yum repo being used has bad files: Error: Missing Dependency: zlib = 1.2.3-0 is needed by package zlib-devel Error: Missing Dependency: libjpeg = 6b-0 is needed by package libjpeg-devel --- -0 isn't a normal package id.
I can't even transfer my accounts off the server as that's also broken - I was going to all of the accounts off to my KnownHost VPS but I keep getting an authentication error ("sshcmdpermissiondeny") even though I'm definitely entering the correct root password.
I have only tried to "switch on" the jail item "apache-badbots" and get a red box with:
Unable to switch on the selected jails: f2bmng failed: ERROR No file(s) found for glob /var/www/*/logs/access_log ERROR Failed during configuration: Have not found any log file for apache-badbots jail ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload']' returned non-zero exit status 255 ERROR:f2bmng:Failed to reload following jails due to errors in configuration .Click to expand...
I recently changed my small image hosting website to a dedicated server.
My previous server was a cPanel.
Current server is Directadmin.
I've restored the database and files, however I've noticed that the URL upload (Where you input the URL to a image file, and the script grabs the image and reuploads on the server) doesn't seem to work.
Half of the admin panel is distorted and missing half of the options.
I am not sure if many of you have been getting this same spam. But I've been getting spam about sexual topics and the email is just an image with words written on it.
Sometimes the email has words too such as what is written below.
Quote:
Doees Using sexual Body Langauge to Attract Women Really Works? www. med72. com. Chicago Bulls' Masecot Sued For Baad High-Five
I was wondering if you know of a way to block those emails.
I installed imagemagick perl module but it is still giving off this error
Can't locate Image/Magick.pm in @INC (@INC contains: /home/user/real/mgmt/perl /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /home/user/real/mgmt/perl/real/Image.pm line 33. BEGIN failed--compilation aborted at /home/user/real/mgmt/perl/real/Image.pm line 33. Compilation failed in require at gallery.pl line 42. BEGIN failed--compilation aborted at gallery.pl line 42.
I have developed website which will allow user to upload 1-2 photos and also allow to see other users photo and rate them. For this I have planned to go for VPS. I am also thinking of another alternative of using image hosting service, where I will keep all user photos on image hosting server and embed links given by image server in my webpage.
Now my question is.
1) Using image hosting is faster(respone time for each user) than VPS?
2) How exactly using image hosting works. when user request web page from my server, will my server go and fetch entire image from image server and then send final result to user brower?
where I can host images for my site. It will be thousands of smaller image like 5k - 30k. I am looking at free sites like imageshak. They say in their terms of service that I can host images for my site as long as I don't host all my images. So do you think that I could put like 20 thousand images on their site? These images would not get accessed too much so it won't slam their servers or anything.
I created a 4GB disk image for a virtual machine in Xen. (I have root on the physical box, so please don't tell me to contact my VPS provider!)
The disk was filling up, so I took the advice online and created a 6GB file with dd (zero-filled), cat'ed it to the end of my disk file, and then...
[matt@babe centos]$ sudo resize2fs -f ./cent.img resize2fs 1.39 (29-May-2006) resize2fs: Bad magic number in super-block while trying to open ./cent.img Couldn't find valid filesystem superblock. Of course, fsck won't take a disk image, only an actual partition. And I can't mount it, since I get the same error about a bad superblock.
The VM actually boots up fine, but it only sees 4GB of what's now a 10GB file.
I can use losetup to mount it on a /dev, but still get fsck errors:
[matt@babe centos]$ sudo fsck.ext3 -b 8193 /dev/loop3 e2fsck 1.39 (29-May-2006) fsck.ext3: Bad magic number in super-block while trying to open /dev/loop3
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
I don't know what blocksize was used, so I don't know where to look for a superblock... (I'm out of my league on fsck'ing virtual disks.)
The thing boots fine and is non-mission-critical right now, so worst-case, I can just mount it, rsync the data to the host, and then set up a new machine and rsync that in... I'd just rather not go through that hassle if I don't have to.