Difference between revisions of "MigrateToCinder"
Line 9: | Line 9: | ||
# create a cinder database using `cinder-manage db sync` | # create a cinder database using `cinder-manage db sync` | ||
# copy data from nova database using `cinder-manage migrate import_db --src=$NOVA_SQL_CONN --dest=$CINDER_SQL_CONN` | # copy data from nova database using `cinder-manage migrate import_db --src=$NOVA_SQL_CONN --dest=$CINDER_SQL_CONN` | ||
− | |||
# disable the nova-volume-api in enabled apis in /etc/nova/nova.conf `sed -i "s/osapi_volume,// /etc/nova/nova.conf"` | # disable the nova-volume-api in enabled apis in /etc/nova/nova.conf `sed -i "s/osapi_volume,// /etc/nova/nova.conf"` | ||
# restart nova-api | # restart nova-api | ||
# start cinder-api | # start cinder-api |
Revision as of 17:58, 1 October 2012
Migrate From Nova-Volumes to Cinder
The process for migrating from nova-volumes to cinder is as follows.
- upgrade your nova install to folsom
- upgrade your nova database using `nova-manage db sync`
- install the folsom version of cinder
- create a cinder database using `cinder-manage db sync`
- copy data from nova database using `cinder-manage migrate import_db --src=$NOVA_SQL_CONN --dest=$CINDER_SQL_CONN`
- disable the nova-volume-api in enabled apis in /etc/nova/nova.conf `sed -i "s/osapi_volume,// /etc/nova/nova.conf"`
- restart nova-api
- start cinder-api