Ask Your Question
0

Can Cinder attach volumes to physical server?

asked 2014-12-10 03:55:06 -0500

randy gravatar image

How can we use Cinder to attach volumes to physical server? Can Cinder and Ironic finish the job and how?

edit retag flag offensive close merge delete

Comments

My real question is now we have a physical server, the physical server is not the instance of the Openstack, how can we use Cinder service to add storage to this physical server?

randy gravatar imagerandy ( 2014-12-11 02:06:19 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-12-10 07:04:43 -0500

tahder gravatar image

updated 2014-12-10 07:07:24 -0500

Yes, via nfs and glusterfs. Or even using ceph. I even tried iscsi connected to hyper-v, you can use this one . Via nfs you can append /etc/cinder/cinder.conf at the last

[nfs]
volume_driver=cinder.volume.drivers.nfs.NfsDriver
volume_backend_name=NFS
nfs_shares_config=/etc/cinder/nfs_shares
nfs_mount_point_base=/var/lib/cinder/nfs

and put enabled_backends=lvm,nfs and volume_driver=cinder.volume.drivers.nfs.NfsDriver while the content of your file,

/etc/cinder/nfs_share

is on the ff format (server_name or fqdn):/(shared_folder_name) example tahder:/xunil

besure to define also lvm in the enable_backends or you may omit it if not using lvm.

edit flag offensive delete link more

Comments

Thank you for your quick answer! Do you mean we can use physical server's storage as the backend of Cinder service? But my real question is now we have a physical server, the physical server is not the instance of the Openstack, how can we use Cinder service to add storage to this physical server?

randy gravatar imagerandy ( 2014-12-11 02:04:56 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-10 03:52:49 -0500

Seen: 279 times

Last updated: Dec 10 '14