search for: migrate

Displaying 20 results from an estimated 18613 matches for "migrate".

2013 Sep 13
21
Suggestion for merging xl save/restore/migrate/migrate-receive
Hi, As we talked in http://lists.xen.org/archives/html/xen-devel/2013-09/msg00211.html , I have a suggestion: what about merging xl save/restore/migrate/migrate-receive? Here is the description: xl-migrate.rst Also there is a workaround for the xl migration daemon example: xl-migrate-socat.rst Patch for the example: xen-xl-migrate-socat.patch (I don''t have enough knowledge to implement the merge.) Thanks, Zhigang ________________...
2008 Apr 03
3
Branchable migrations -- A plugin to let you organize your migrations
I just put a new plugin named branchable_migrations on Github. Branchable migrations lets you separate your migrations into "branches" (i.e., a director under db/migrate) that each have their own version. Using the forthcoming UTC timestamped migrations and this plugin, you can separate migrations by table or feature. Doing so should alleviate many of the problems that seem to pike up when working on teams and using migrations for everything. For example, if you...
2006 May 25
5
rake migrate VERSION=0 doesn''t appear to execute
...ead and built the migration that would have created them from scratch, and I made sure that there was a self.down section to drop them. I wanted to verify that I could roll back so I figured I would use rake to drop these pre-existing tables before I recreated them. Sure enough, if I run rake migrate, I get the error that says the tables already exist. Great - that means rake can find my migration and the "up" section is probably valid. However, if I do rake migrate VERSION=0 which I am understanding should undo the first migration, nothing happens. Here is the output of a tra...
2006 Jun 29
9
Handling multiple developers making migrations and using svn
..., the problem.... We are both making migrations and checking them into SVN. So, if in our checkout we have migrations up to 10 and we each make one, we both now have the 11th migration. So, when we check-in, there are no problems and things workout just fine. But, after a checkout and a "rake migrate" a problem occurs. Since there are now two 11 migrations, the migrate barfs and dies. My solutions so far look like this: 1. Manually make sure that the migrations are numbered in numerical order 2. Some how figure out a way to check and see if there has already been an 11 when d...
2019 Jul 29
24
turn the hmm migrate_vma upside down
Hi Jérôme, Ben and Jason, below is a series against the hmm tree which starts revamping the migrate_vma functionality. The prime idea is to export three slightly lower level functions and thus avoid the need for migrate_vma_ops callbacks. Diffstat: 4 files changed, 285 insertions(+), 602 deletions(-) A git tree is also available at: git://git.infradead.org/users/hch/misc.git migrate_...
2015 Jun 11
2
Migrating guests
Hi, I'm experimenting with the migration function of virsh. I'm doing the migrate with following commands: virsh migrate --life --persistent --copy-storage-all --verbose --abort-on-error domain qemu+ssh://root@destination/system virsh migrate-setmaxdowntime domain 20000 However sometimes at the end of the migration, the guest isn't started on the destination host. So I'...
2006 Jun 21
3
rake migrate says table already exists
Hi all, I used the generate script to make a bunch of table migrations, resulting in files like 002_bookmarks.rb, 003_tags.rb, etc. When I did the ''rake migrate'', the db was set up but more migration files appeared, now called 009_create_bookmarks.rb, 010_create_tags.rb, etc. Now when I want to change the database (add a table or column, alter the schema) I do ./script/generate migration do_something_new and rake migrate gives me: (in /ho...
2019 Jul 29
0
[PATCH 1/9] mm: turn migrate_vma upside down
There isn't any good reason to pass callbacks to migrate_vma. Instead we can just export the three steps done by this function to drivers and let them sequence the operation without callbacks. This removes a lot of boilerplate code as-is, and will allow the drivers to drastically improve code flow and error handling further on. Signed-off-by: Christop...
2019 Aug 14
0
[PATCH 01/10] mm: turn migrate_vma upside down
There isn't any good reason to pass callbacks to migrate_vma. Instead we can just export the three steps done by this function to drivers and let them sequence the operation without callbacks. This removes a lot of boilerplate code as-is, and will allow the drivers to drastically improve code flow and error handling further on. Signed-off-by: Christop...
2006 Sep 05
0
rake craziness with Migrate as a dependency
Hi everyone, For one of our projects we have a need to deploy and maintain a demo. As a result I''ve attempted to setup a set of rake tasks for the job. My goal is have one rake task called "deploy_demo" which purges the database, migrates to the current schema, and loads the db from a set of fixture files in a specified location. I''ve written two new tasks the perform portions of this task: db:purge - purges the db set in RAILS_ENV. load_my_fixtures - loads the db using fixtures from a directory specified by the SRC env...
2019 Jul 31
1
[PATCH 1/9] mm: turn migrate_vma upside down
On 7/29/19 7:28 AM, Christoph Hellwig wrote: > There isn't any good reason to pass callbacks to migrate_vma. Instead > we can just export the three steps done by this function to drivers and > let them sequence the operation without callbacks. This removes a lot > of boilerplate code as-is, and will allow the drivers to drastically > improve code flow and error handling further on. >...
2019 Aug 14
20
turn hmm migrate_vma upside down v3
Hi Jérôme, Ben and Jason, below is a series against the hmm tree which starts revamping the migrate_vma functionality. The prime idea is to export three slightly lower level functions and thus avoid the need for migrate_vma_ops callbacks. Diffstat: 7 files changed, 282 insertions(+), 614 deletions(-) A git tree is also available at: git://git.infradead.org/users/hch/misc.git migrate_...
2011 Oct 24
2
How to use "virsh migrat" with p2p option?
Hi libvirt support, Can you please give me some example of how to use "virsh migrate --live" with p2p option including both source host and target host? I try to get some info from your website, but no info with migrate. [root at vmoactive02 qemu]# virsh help migrate NAME migrate - migrate domain to another host SYNOPSIS migrate [--live] [--p2p] [--direct] [-...
2010 Dec 20
8
Mutiple virtualmachines Live migration at the same time with Xen
Dear all The following process is about trying to do the " live migration at the same time with 5 Virtual machines ", but there is somthing problem with it. Process: yogi-pc2: # xm migrate --live vm01 pc2 & xm migrate --live vm02 pc2 & xm migrate --live vm03 pc2 & xm migrate --live vm04 pc2 & xm migrate --live vm05 pc2[1] 29983 [2] 29984 [3] 29985 [4] 29986 Error: /usr/lib/xen-3.2-1/bin/xc_save 43 2358 0 0 1 failed Usage: xm migrate <Domain> <Host> Migrat...
2010 Mar 18
3
rake db:migrate -> uninitialized constant
Hi-- I''m trying to do a first migration (2.3.5). I generated a model "Video", but when I try to migrate I get "uninitialized constant Videos". Why is it trying to find a plural class name? Here''s more complete output: trans@logisys:models$ rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake...
2006 Apr 05
16
Migration won''t rollback to specific version?
Hi all, I''m confused about how migrations work. I''ve been using them for a couple of weeks but haven''t had any serious rollback issues yet. Just now I added a field to a table with a migration and ran "rake migrate", which added the field as expected. This was in the file db/migrate/007_mymigration.rb, making it version 7. Later I changed my mind and decided to rollback to the previous schema, so what I entered was rake migrate VERSION=006 ...which proceeded to drop all the tables in my database....
2011 Oct 10
1
Live Migration using Libvirt migrate()
Hi, This is a follow up of the mail regd migration I'd posted a few days ago. My scenario: I'm creating two virtual machines images from an Ubuntu 10.10 iso of RAM size 128 and 700 MB. Using the migrate() , I migrate it from the current physical machine to the destination machine via a 100 Mbps switch LAN connection. BOTH migrations take the same amount of time. Checking out the eth0's transmitted and received bytes after and before the migration, I find that there's NO change in the rea...
2010 Mar 07
6
some love for migrations
...rails.lighthouseapp.com/projects/8994/tickets/4120 I thought the whole point of timestamp version numbers was to be able to combine different development branches. That seems like it should run migrations older than the most recent one. I guess the alternative would be a new rake task: db:migrate:all that would run the lower-numbered versions that would otherwise be skipped. I know there is a potential for confusion, but I don''t think that confusion is any worse than now with some migrations never being run. 2. Include the contents of schema_migrations in schema.rb The curr...
2008 Aug 26
8
Migration Error
When trying to migrate my db using rake I get the following error message: rake aborted! No migration with version number 3 I am using sqlite3 as my database server. Any help is much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Gr...
2012 Jan 10
5
6 fundamental migration problems for beginners
...s FootballLeague and ruby cretaed "create_football_leagues.rb") ---------- 2 - What is the rules of naming ruby for creating a class in that file ? ( Ruby created a "CreateFootballLeague" class in "create_football_leagues.rb") ---------- 3 - After I use rake db:migrate , although I had 3 migration, I just see such a image in cmd : ( I attached this image ) and I didn''t any migration for another 3 migrations whereas sometimes ago when I run a migration with rake db:migrate, all my migrations are migrated. ---------- 4 - After I type rake db:migrate an...