Giter Site home page Giter Site logo

photon-solidfire's Introduction

open-iscsi RPMs for Photon 4.0 VMs with SolidFire iSCSI SAN

VMware Photon 4.0 comes with iSCSI SRPMs. You can build your own or get these to experiment with

Why? Because then Photon 4.0 can be used with NetApp SolidFire or other iSCSI targets.

Tested with SolidFire 12.3, both direct OS access and containerized apps using NetApp Trident Docker Volume Plugin.

For those who haven't read the documentation: newer Linux systems attaching to SolidFire 12.3 and below must use MD5 as the CHAP authentication algorithm. Set it in iscsid.conf.

Version 2.1.3-2 (recommended)

These binaries were built from VMware Photon OS open-iscsi SRPMs.

Get the v2.1.3-tagged archive file from Releases, unarchive and install with RPM. Configure as usual.

Known issues:

  • sometimes iSCSI reports that only a limited number of iSCSI targets can be logged in to, which is likely Photon OS-related (same problem was reported by RancherOS users). At least one device always works, the second and above you may get errors

Version 2.1.6-2 (experimental)

These were built from open-iscsi from Github using a hacked Photon 4.0 SPEC file. I thought 2.1.6 may work better but I'm not sure if it does (I didn't try enough to be able to tell).

Known issues:

  • sometimes iSCSI reports that only a limited number of iSCSI targets can be logged in to, which is likely Photon OS-related (same problem was reported by RancherOS users). At least one device always works, the second and above you may get errors
  • /usr/lib/systemd/system/iscsid.service, /usr/lib/systemd/system/iscsi.service, /usr/lib/systemd/system/iscsiuio.service have @SBINDIR@ instead of /usr/sbin in them. Just replace former with the latter and reboot before you enable iSCSI services
  • no man pages are included in these RPMs

The last two issues appear because the SRPMS spec file which I modelled after Photon OS's open-iscsi 2.1.3, needs changes to account for changes in open-iscsi 2.1.6:

  • use "sbindir" for path in systemd service files
  • add man page for the iscsi-gen-initiatorname script

UPDATE: I reluctantly documented the above details thinking they won't be needed in the long run, but it didn't take long - Makefile was overhauled so this problem may be gone in post-v2.1.6 releases!

Get the v2.1.6-tagged archive file from Releases, unarchive and install with RPM. Then run a search-and-replace on service files to fix the SBINDIR issue above and you can start, enable and configure iSCSI.

photon-solidfire's People

Contributors

scaleoutsean avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.