hpeva external storage module for ganeti
This modules makes ganeti external storage module to work with HP EVAs Systems
- cluiclient downloadable in HP Replication Solution Manager Software (http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=3807693&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3DswItem%253Dco_51723_1&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken)
- openjdk-jre (for cluiclient)
-
Copy this directory in ExtStorage Providers search path (/srv/ganeti/extstorage, /usr/local/lib/ganeti/extstorage, /usr/lib/ganeti/extstorage, /usr/share/ganeti/extstorage)
-
Copy and complete eva.conf in /etc/ganeti/extstorage/
-
Copy cluiclient wherever you want and adapt config file
-
Patch function NewUUID() in /usr/share/ganeti/ganeti/utils/io.py to match this one :
def NewUUID(): """Returns a random UUID. @note: This is a Linux-specific method as it uses the /proc filesystem. @rtype: str """ return ReadFile(constants.RANDOM_UUID_FILE, size=18).rstrip("\n")
-
(ganeti < 2.12) Patch function GenerateDiskTemplate() in lib/cmdlib/instance_storage.py :
# Only for the Ext template add disk_info to params if template_name == constants.DT_EXT: params[constants.IDISK_PROVIDER] = disk[constants.IDISK_PROVIDER] + params[constants.IDISK_NAME] = disk[constants.IDISK_NAME]
-
restart ganeti
- Grow function : It seems that cluiclient does not want to resize a VD with thin provisionning disabled.