Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
[root@abiquo-dev ~]# java -Dredis.merge=true -Dredis.src.host=192.168.2.46 -Dredis.dst.host=localhost -jar mergeator-1.0.0.jarNovjar
Nov 26, 2014 1:03:24 PM com.abiquo.mergeator.App getSourceRedisRepository
INFO: Source redis at 192.168.2.46:6379
Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App getDestinationRedisRepository
INFO: Destination redis at localhost:6379Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App merge
INFO: Merging all hypervisors...
Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App merge
INFO: Merging Hypervisor{Id=2, UID=e1209cb5-5bf7-4065-96df-2c82fd8a2a09, Type=digitalocean, End point=ams2#https://api.digitalocean.com}Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moving Hypervisor{Id=2, UID=e1209cb5-5bf7-4065-96df-2c82fd8a2a09, Type=digitalocean, End point=ams2#https://api.digitalocean.com}...Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moved Hypervisor{Id=4, UID=e1209cb5-5bf7-4065-96df-2c82fd8a2a09, Type=digitalocean, End point=ams2#https://api.digitalocean.com}
Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moving Subscription{Id=2, Name=ABQ_3a47401a-60e8-4423-82b8-0984e8f4f990, Hypervisor=e1209cb5-5bf7-4065-96df-2c82fd8a2a09}...Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moved Subscription{Id=5, Name=ABQ_3a47401a-60e8-4423-82b8-0984e8f4f990, Hypervisor=e1209cb5-5bf7-4065-96df-2c82fd8a2a09} (1/2)
Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moving Subscription{Id=3, Name=ABQ_bbf55c16-bf19-47b1-978f-1d869845869b, Hypervisor=e1209cb5-5bf7-4065-96df-2c82fd8a2a09}...Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moved Subscription{Id=6, Name=ABQ_bbf55c16-bf19-47b1-978f-1d869845869b, Hypervisor=e1209cb5-5bf7-4065-96df-2c82fd8a2a09} (2/2)
Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App merge
INFO: Merged Hypervisor{Id=4, UID=e1209cb5-5bf7-4065-96df-2c82fd8a2a09, Type=digitalocean, End point=ams2#https://api.digitalocean.com} (1/2)
Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App merge
INFO: Merging Hypervisor{Id=1, UID=06238858-498d-4846-81de-658da720888e, Type=digitalocean, End point=ams2#https://api.digitalocean.com}Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moving Hypervisor{Id=1, UID=06238858-498d-4846-81de-658da720888e, Type=digitalocean, End point=ams2#https://api.digitalocean.com}...Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App move
INFO: Moved Hypervisor{Id=5, UID=06238858-498d-4846-81de-658da720888e, Type=digitalocean, End point=ams2#https://api.digitalocean.com}
Nov 26, 2014 1:03:25 PM com.abiquo.mergeator.App merge
INFO: Merged Hypervisor{Id=5, UID=06238858-498d-4846-81de-658da720888e, Type=digitalocean, End point=ams2#https://api.digitalocean.com} (2/2)
[root@abiquo-dev ~]#

...

Code Block
[root@abiquo-dev ~]# java -Dredis.merge=true -Dredis.src.host=192.168.2.76 -Dredis.dst.host=localhost -jar mergeator-1.0.0.jarNovjar
Nov 26, 2014 1:03:37 PM com.abiquo.mergeator.App getSourceRedisRepository
INFO: Source redis at 192.168.2.76:6379
Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App getDestinationRedisRepository
INFO: Destination redis at localhost:6379Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App merge
INFO: Merging all hypervisors...
Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App merge
INFO: Merging Hypervisor{Id=1, UID=472f9d72-2129-49de-a42e-a6ddea639f8a, Type=rackspace-cloudservers-us, End point=DFW#https://identity.api.rackspacecloud.com/v2.0/}Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App move
INFO: Moving Hypervisor{Id=1, UID=472f9d72-2129-49de-a42e-a6ddea639f8a, Type=rackspace-cloudservers-us, End point=DFW#https://identity.api.rackspacecloud.com/v2.0/}...Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App move
INFO: Moved Hypervisor{Id=6, UID=472f9d72-2129-49de-a42e-a6ddea639f8a, Type=rackspace-cloudservers-us, End point=DFW#https://identity.api.rackspacecloud.com/v2.0/}Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App move
INFO: Moving Subscription{Id=2, Name=ABQ_2c63c5fa-4fce-49ea-8ff9-260dae6edfbc, Hypervisor=472f9d72-2129-49de-a42e-a6ddea639f8a}...Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App move
INFO: Moved Subscription{Id=7, Name=ABQ_2c63c5fa-4fce-49ea-8ff9-260dae6edfbc, Hypervisor=472f9d72-2129-49de-a42e-a6ddea639f8a} (1/2)Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App move
INFO: Moving Subscription{Id=3, Name=ABQ_a4435eb0-4024-4278-a13a-d48a1aa07ed5, Hypervisor=472f9d72-2129-49de-a42e-a6ddea639f8a}...Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App move
INFO: Moved Subscription{Id=8, Name=ABQ_a4435eb0-4024-4278-a13a-d48a1aa07ed5, Hypervisor=472f9d72-2129-49de-a42e-a6ddea639f8a} (2/2)Nov 26, 2014 1:03:38 PM com.abiquo.mergeator.App merge
INFO: Merged Hypervisor{Id=6, UID=472f9d72-2129-49de-a42e-a6ddea639f8a, Type=rackspace-cloudservers-us, End point=DFW#https://identity.api.rackspacecloud.com/v2.0/} (1/1)

...

Code Block
# redis-cli flushdb

Then start Abiquo tomcat again.

Now run the merging tool to modify the data:

...