Skip to content

Kimchi Fibre Channel Pools

Rodrigo Trujillo edited this page Jan 13, 2014 · 3 revisions

Requirements:

  • Create and support storage pools based on Fibre Channel (FC) technology and using Libvirt.
  • Auto-mount used FC devices (which are the pre-configured LUNs) in the host.
  • Auto discover (refresh) new LUNs.

Use Cases

  1. As a kimchi and sysadmin I want to store qcow2 guest images in a given FC/SCSI LUN
  • the storagepool is the FC LUN. Type is 'fs'
  1. As a kimchi and sysadmin I want to set up a FC/SCSI LUN as a guest disk
  • the storagepool here is the FC SCSI host adapter. Type 'SCSI'

Proposed UI flow for use cases:

  1. In the new STORAGE POOL window, user inputs the name and select Fibre Channel as type
  • FC Hosts adapters found in the host are shown to user
  1. User selects which adapter to use
  • 2 options shown to user: (1)Use a LUN as pool. (2)Use FC Host Adapter as pool;
  • LUNs of the FC Host adapter are shown to user
  1. (1) User selects option 1 and MUST select a LUN to create the pool
  • a 'fs' pool is created, using the system device mapped from selected LUN;
  • a file system should be created if does not exist
  1. (2) OR User selects option 2
  • a SCSI pool is created
  • User should then choose a LUN from this pool to assign to a VM, when creating it

The LUNS refresh system should be implemented and triggered any time before LUNs be shown.
A button can also be implemented.