-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Approach for gluster brick creation from disks. #49
Comments
The steps and the best practices to be considered while creating a gluster brick, so as to get an optimal performance from the bricks are as follows. These are obtained from Gluster admin guide. The tool that we use and the approach that we take must follow these gludelines. Summary of steps involved in creating a gluster brick from a diskLVM layer:
XFS Layer:
|
Current approach taken by Ovirt:
|
Summary of analysis of few tools:
NOTE: None of these have capability to detect hardware raid volume related details. I guess good number of customers might be using this. Raid specific details like RAID leval, stripe count, disk count are requirement to provision the bricks considering best practices wrt performance. |
Conclusion:Considering the analysis mentioned above Blivet seems to be more appropriate for our use case. Blivet can be used to get the list of all the disks available on the node and provision the bricks. But when user is using raid, blivet will not be able to get the raid specific details . User will have to provide the raid specific details like:
With these details provided by user, we can use blivet and provision the bricks as per the best practices. Also blivet is being used by ovirt for the same purpose and there is no major concern about using blivet for brick provisioning. We can reuse some of the work from there, which in turn will speed up out development. |
Requirements of a tool that can be used to provision gluster bricks:
|
UPDATE: we had a discussion with blivet team and the summary of the discussion is as follows: |
We are exploring a possibility of getting the feature of brick provisioning into gdeploy and consuming that feature from tendrl. |
This issue is to arrive at a suitable approach to be taken for creating gluster bricks form the disks. To achieve that few of the available tools like pyudev, blivet, pyudevDAG, storaged and udisks will be investigated and most suitable tool will be picked. Also the current approach used by Ovirt project to create bricks will be investigated and the positive points will be considered.
The text was updated successfully, but these errors were encountered: