Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
34c5b00336 | ||
|
0dd3c82572 |
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@ -0,0 +1,29 @@
|
||||
# NAME ibm/spclient
|
||||
# VERSION 8.1.8
|
||||
# BUILD docker build -t="ibm/spclient:latest" .
|
||||
|
||||
FROM debian:stretch-slim
|
||||
|
||||
# We need curl to download the install from a website
|
||||
RUN apt-get update \
|
||||
&& apt-get install -yyq curl procps \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
||||
|
||||
# Download and Install client
|
||||
## http://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86_DEB/BA/v818/.
|
||||
RUN SOURCE_URL=http://YOUR_SITE_URL_HERE && \
|
||||
mkdir -p /tmp/build && cd /tmp/build && \
|
||||
curl -SL ${SOURCE_URL}/8.1.8.0-TIV-TSMBAC-LinuxX86_DEB.tar |tar xf - && \
|
||||
apt-get install ./gsk*.deb ./tivsm-api64.amd64.deb ./tivsm-ba.amd64.deb && \
|
||||
rm -rf /tmp/build /var/lib/apt/lists/*
|
||||
|
||||
# Add the TSM default Cert to the client and a default config
|
||||
# This cert is availabe from the cert installation
|
||||
ADD cert256.arm dsm.sys dsm.opt /opt/tivoli/tsm/client/ba/bin/
|
||||
RUN /opt/tivoli/tsm/client/ba/bin/dsmcert -add -server spectrumprotect -file /opt/tivoli/tsm/client/ba/bin/cert256.arm
|
||||
|
||||
# The client stores stuff here, its not important, but we'll preserve it across invocations
|
||||
VOLUME [ "/etc/adsm" ]
|
||||
|
||||
# Set out local time
|
||||
RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
|
21
cert256.arm
Normal file
21
cert256.arm
Normal file
@ -0,0 +1,21 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDcjCCAlqgAwIBAgIITkKn/aFJ5D4wDQYJKoZIhvcNAQELBQAwVzELMAkGA1UE
|
||||
BhMCVVMxDD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JdIIV1VIsxAoMrbgN5PhqsUcxR64fmQj4+bCdqk
|
||||
r/N0cfdBmnmC3AqaMJwfj/FUGZ2gKWggJtSqgP2T/foUBsf0ubaAMRks2kVBd/YL
|
||||
QjDYpfuWO6VN/RtI3Eo5z+KdJDOkmQ==
|
||||
-----END CERTIFICATE-----
|
17
dsm.sys
Normal file
17
dsm.sys
Normal file
@ -0,0 +1,17 @@
|
||||
SErvername docker
|
||||
COMMmethod TCPip
|
||||
* MANAGEDServices schedule
|
||||
TCPPort 1500
|
||||
TCPServeraddress spectrumprotect
|
||||
PASSWORDAccess generate
|
||||
SCHEDMode polling
|
||||
|
||||
ERRORLOGRetention 10,d
|
||||
ERRORLOGName /var/log/tsm/dsmerror.log
|
||||
SCHEDLOGName /var/log/tsm/dsmsched.log
|
||||
SCHEDLOGRetention 10,d
|
||||
|
||||
TCPNodelay Yes
|
||||
TCPBuffsize 32
|
||||
TCPWindowsize 64
|
||||
SSL No
|
Reference in New Issue
Block a user