
07-13-2011, 08:57 PM
|
|
Disabled
|
|
Join Date: Jun 2007
Location: UK and Hong Kong
Posts: 243
|
|
HyperVM Migration Problem (Large XEN container)
Hello All,
First, if this is the wrong section, I apologize.
Okay, so I used to run a number of 'low-end' servers with HyperVM/XEN. These servers would have Dual or Quad Core CPUs with at most 4GB RAM in them.
I have recently decided to consolidate all my machines into 1.
My new machine sports a 4 core (hyper-threaded) CPU, disks in RAID1 and 24GB of RAM.
Using the very simple 'switch server' feature, I have moved all but 1 VPS container to the new machine.
The remaining VPS container seems too big. I have tried using the 'switch server' feature, but this has failed.
The / and /tmp directory each have 20GB. This applies to both servers. The VPS container is assigned 250GB of which 55GB is in use. I assume this is my problem with regards to migrating? The 55GB wont fit in the / or /tmp directory?
If this is the case, what can I do? The old node has 500GB of disk space while the new node has 2TB, so there is space on each, just not on the LVM holding the / or /tmp partitions....
Also, having attempted to migrate several times now, I have found that the old node's / partition is completely full. This only happened when trying to migrate. Further, the VG of the old node is using 378GB of the 465GB available. I would have expected the usage to be 250GB given this is the size of the container, and the only container still running.
Does anyone have any ideas how to complete the migration?
I have attempted to post help requests on the LXADMIN forums, but there has been no response thus far.
Any help is appreciated.
Thanks everyone!
|

07-13-2011, 09:44 PM
|
|
Will Host for Food
|
|
Join Date: Jul 2002
Location: London, United Kingdom
Posts: 3,679
|
|
go "low tech" and just setup the new VPS with teh settings you want and scp over the data 
|

07-13-2011, 09:46 PM
|
|
Disabled
|
|
Join Date: Jun 2007
Location: UK and Hong Kong
Posts: 243
|
|
Could work, only the VPS I want transfered over is a Cpanel/WHM. I am not sure what the implications are with doing a straight copy in this way...
|

07-13-2011, 09:51 PM
|
|
Web Hosting Master
|
|
Join Date: Jan 2003
Location: SLC
Posts: 727
|
|
create a LVM larger than 55GB & mount it as /tmp
|

07-13-2011, 09:54 PM
|
|
Disabled
|
|
Join Date: Jun 2007
Location: UK and Hong Kong
Posts: 243
|
|
Should I do this on both nodes or just one? If just one, which one?
|

07-13-2011, 10:22 PM
|
|
Web Hosting Master
|
|
Join Date: Jan 2003
Location: SLC
Posts: 727
|
|
if the new server does not have enough room in /tmp (less than 55 GB)
then yes do the same I do believe hypervm migrates from /tmp/ to /tmp and untars the vps image to its lvm
|

07-14-2011, 06:39 AM
|
|
Disabled
|
|
Join Date: Jun 2007
Location: UK and Hong Kong
Posts: 243
|
|
Thanks guys. That did the trick... Sort of. The VPS migrated sucessfully but HyperVM's DB didnt update. Im hoping that will be a minor issue to fix.
|

07-14-2011, 09:33 AM
|
|
Will Host for Food
|
|
Join Date: Jul 2002
Location: London, United Kingdom
Posts: 3,679
|
|
Quote:
Originally Posted by HHKNet
Could work, only the VPS I want transfered over is a Cpanel/WHM. I am not sure what the implications are with doing a straight copy in this way...
|
In which case, even easier - install cpanel (a trial version if necessary at first) and just use the WHM/Cpanel migration tools that are built in 
|

07-14-2011, 11:25 AM
|
|
Disabled
|
|
Join Date: Jun 2007
Location: UK and Hong Kong
Posts: 243
|
|
Quote:
Originally Posted by othellotech
In which case, even easier - install cpanel (a trial version if necessary at first) and just use the WHM/Cpanel migration tools that are built in 
|
Well its not quite that simple. My IP range has had so many trial licenses I cant have any more :-).
In any case, the problem was resolved. I created large LVMs on both servers and it did the trick.. sort of.
I had to manually edit the database but apart from that, the transfer worked fine!
|

07-14-2011, 05:09 PM
|
|
Web Hosting Master
|
|
Join Date: Jan 2003
Location: SLC
Posts: 727
|
|
Welcome 
|

07-15-2011, 08:02 AM
|
|
Disabled
|
|
Join Date: Jun 2007
Location: UK and Hong Kong
Posts: 243
|
|
Quote:
Originally Posted by HostingBig
Welcome 
|
Indeed! Thanks for the tip. Should have been obvious really  , but cheers 
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|