Skip to content

DSI-Universite-Rennes2/hpeva

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hpeva

hpeva external storage module for ganeti

PURPOSE

This modules makes ganeti external storage module to work with HP EVAs Systems

PREREQUISITE

INSTALL :

  • 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

TODO

  • Grow function : It seems that cluiclient does not want to resize a VD with thin provisionning disabled.

About

hpeva external storage module for ganeti

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published