Install dscli for stor2rrd into docker container
Hi all
First thanks to all for this great software.
I have an issue installing the dscli into the official Linux Alpine xorux/stor2rrd docker image. First I create a dockerfile as a following:
This dockerfile install libc and openjdk8 as requirements for dscli install bin file to work.
But, when I try to run the dscli installer, this fail, maybe due java issues.``
The second option that we have to make dscli installer works is change the openjdk java for ibm java.
But the IBM java installer fail when I try to install into the alpine stor2rrd docker image container.
Any clue or suggestion to have the IBM dscli running into the official stor2rrd docker image?
I will apreciate any help.
Regards
Victor S.
Comments
-
Hi,
I am affraid it would not be easy, any chance to use any stand-alone Linux or our virtual appliance instead?
-
Hi All
I will put the recipe here, maybe someone need it.
I have a success to install the dscli client into the container crafting a Dockerfile to create the container.
I will share the requiered code.
IMPORTANT STEP: All the dscli CD MUST be compress as a .tar file with the name IMAGES.tar and reside in the instaladores directory.
Regards.,
Victor
Dockerfile
=======
FROM xorux/stor2rrd
ENV http_proxy http://xxx.xx.xx.xx:3128
ENV https_proxy http://xx.xx.xx.xxx:3128
RUN apk update && apk add openjdk8-jre
#RUN echo "INSTALLER_UI=silent" >> silent
#RUN echo "LICENSE_ACCEPTED=TRUE" >> silent
WORKDIR /
COPY ./Instaladores .
RUN tar -xvvf /IMAGES.tar
RUN /IMAGES/HMC/Disk1/InstData/Linux/NoVM/dsclisetup.bin -i silent
docker-compose.yml
==================
version: '3'
services:
stor2rrd_1_java:
container_name: stor2rrd_1_java
restart: always
build: .
volumes:
- stor2rrd-data_2:/home/stor2rrd
ports:
- "7070:80"
environment:
TIMEZONE: "America/Lima"
volumes:
stor2rrd-data_2:
external: true
name: stor2rrd-data_2
===============
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 150 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle