Skip to content

Dockerizing LSI Storage Authority, the replacement for MegaRaid Storage Manager, to manage MegaRAID cards.

Notifications You must be signed in to change notification settings

MeCJay12/lsi-storage-authority

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized LSI Storage Authority

LSI Storage Authority (LSA) is the successor to MegaRaid Storage Manager (MSM) for managing MegaRAID cards from inside the OS. LSA improves on MSM by including a web server instead of the old MSM java client that was run locally. LSA features both local and remote server management from one interface.

Using the Container

Docker Run

docker run \
	--detach \
	--privileged \
	--volume /DataDir:/opt/lsi/LSIStorageAuthority/conf \
	--publish 2463:2463 \
	--publish 9000:9000 \
	--env TZ=America/New_York \
	--env ROOT_PASSWORD="password" \
	--env ADD_USERS_RW="readWriteUser:password user2:password" \
	--env ADD_USERS_RO="readOnlyUser:password" \
	--env WEB_PORT=2463 \
	--env LSA_PORT=9000 \
	mecjay12/lsa

Docker Compose

version: "3.3"
services:
  lsa:
    privileged: true
    volumes:
      - /DataDir:/opt/lsi/LSIStorageAuthority/conf
    ports:
      - 2463:2463
      - 9000:9000
    environment:
      - TZ=America/New_York
      - ROOT_PASSWORD=password
      - ADD_USERS_RW=readWriteUser:password user2:password
      - ADD_USERS_RO=readOnlyUser:password
      - WEB_PORT=2463
      - LSA_PORT=9000
    image: mecjay12/lsa

Command Reference

Docker Run Required On* Effect
Docker Compose
--detach
All Run the container in the background
N/A
--privileged
Client Required on the host with the RAID card. Grants the container access to hardware PCI devices. If there is a more specific way to do this (like with --device) please let me know in a ticket.
privileged: true
--volume /DataDir:/opt/lsi/LSIStorageAuthority/conf
Server Mounts the config files to make the configuration persistant.
volumes:
- /DataDir:/opt/lsi/LSIStorageAuthority/conf
--publish 2463:2463
Server Opens the port for the web interface. The default is 2463. This should match WEB_PORT if it is set.
ports:
- 2464:2463
--publish 9000:9000
Client, Optional Opens the port for remote management. The default port is 9000. This should match LSA_PORT on the client if it is set.
ports:
- 9000:9000
--env TZ=America/New_York
Optional Sets timezone inside the container.
environment:
- TZ=America/New_York
--env ROOT_PASSWORD="password"
Optional Sets the password for the root user to login to the web interface.
environment:
- ROOT_PASSWORD=password
--env ADD_USERS_RW=
"readWriteUser:password user2:password"
Optional Creates additional users with read/write permission in the web interface. Users should be in username:password format with spaces between users.
environment:
- ADD_USERS_RW=
readWriteUser:password user2:password
--env ADD_USERS_RO=
"readOnlyUser:password"
Optional Creates additional users with read-only permission in the web interface. Users should be in username:password format with spaces between users.
environment:
- ADD_USERS_RO=
readOnlyUser:password
--env WEB_PORT=2463
Server, Optional Set the port for the web interface. Defaults to 2463 if not set.
environment:
- WEB_PORT=2463
--env LSA_PORT=9000
Client, Optional Set the port for remote management. Defaults to 9000 if not set.
environment:
- LSA_PORT=9000
mecjay12/lsa
All Pulls the latest stable version of this container.
image: mecjay12/lsa
  • Client refers to the machine with the RAID card, Server refers to the machine hosting the web interface. A single machine can be both.

Links

Docker Hub

GitHub

Change Log

8/15/2024

  • Fixed a bug in entrypoint.sh that overwrote newer versions of LSA on upgrade with a mounted config. Please add /conf to the end of your mount point if upgrading from a previous version.
  • Added LSA 007.020.016.000 and 007.019.006.000.

4/17/2024

  • Inital commit with version 007.018.004.000 of LSA on Ubuntu.

About

Dockerizing LSI Storage Authority, the replacement for MegaRaid Storage Manager, to manage MegaRAID cards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages