Block Storage

 View Only

Running CCI within Docker Containers

By Vinod Subramaniam posted 2 hours ago

  

How to run CCI in a docker container

CCI can be run within docker containers. Why would you want to do this ? 

Maybe you are on MacOS where there are no CCI binaries available.

Sometimes you don't want to install any CCI binaries and/or run multiple versions of CCI.

Here's how you can do this.

  1. Pull the container down from the Docker Hub

    (.venv) visubramaniam@MQ7HY4M9M0 b85_cci % docker pull docker.io/subramaniamvi/azure-ee:latest
    latest: Pulling from subramaniamvi/azure-ee
    Digest: sha256:62f31722aec5e751044d58108696a931191384d9672b0a704ec347b19b0af641
    Status: Image is up to date for subramaniamvi/azure-ee:latest
    docker.io/subramaniamvi/azure-ee:latest
  2. Run the container as below

    (.venv) visubramaniam@MQ7HY4M9M0 b85_cci % docker run -it azure-ee:latest bash             
    bash-5.1$
  3. Edit horcm100.conf and add your controller IP and the headers with appropriate timeouts.
    Note:- If you are working from home over a VPN connection and there is no firewall blocking port 31001 you may have to increase the default timeout of 3000 as shown below.

    bash-5.1$ cat /tmp/horcm100.conf
    HORCM_MON
    127.0.0.1          70249          1000              30000
    HORCM_CMD
    \\.\IPCMD-192.168.52.21-31001
  4. Start up HORCM instance 100 as below

    bash-5.1$ HORCMINST=100 HORCM_CONF=/tmp/horcm100.conf /HORCM/usr/bin/horcmstart.sh
    starting HORCM inst 100
    HORCM inst 100 starts successfully.

  5. Test the HORCM instance with a raidcom get resource command
    bash-5.1$ raidcom get resource -I100
    User for Serial#[970249] : maintenance
    Password : 
    RS_GROUP            RGID   stat      Lock_owner     Lock_host      Serial#
    meta_resource          0   Unlocked  -              -               970249
    HDIDProvisioning       1   Unlocked  -              -               970249
  6. Instructions on building the container itself is here
    https://github.com/visubramaniam/b85_cci/blob/main/README.md

#VSPOneBlock
#VSPOneBlockHighEnd
#VSPOneSDSBlock
#VSPOneBlockManagementSoftware
#VSP5000Series
#VSPG130G/F350G/F370G/F700G/F900
#VSPESeries
#VSPG1X00andVSPF1500
#VSPGx00/Fx00/NSeries
#VirtualStorageSoftwareBlock
#StorageVirtualizationOS-SVOS
#ThinImage
#UniversalReplicator
#TrueCopy
#GlobalActiveDevice
#CommandControlInterface
0 comments
2 views

Permalink