Create your own bucket on Spectrum Protect

minio

· spictera,spectrum protect

Create your own bucket using IBM Spectrum Protect

This guide will show you how easy it is to setup your own bucket using IBM Spectrum Protect

The required softwares are:

  • IBM Spectrum Protect Client API
  • spictera
  • spfs
  • gsk encryption packages

 First one have to decide where they want to install the minio server, and administrative panels. It is where you need the above components installed

Installation SPFS and Spectrum Protect

# rpm -i gsk*

# rpm -i TIVsm-API64*.rpm

# rpm -i spictera*.rpm

# rpm -i spfs*.rpm

Or 

# dpkg -i gsk*.deb

# dpkg -i tivsm-api64*.deb

# dpkg -i spictera*.deb

# dpkg -i spfs*.deb

Decide where you want to mount the SPFS filesystem?

Decide what type of objects you aim to use archive or backup?

- backup is where the last unique objectname is stored forever, and previously names has a retention policy

- archive is where every object stored has a retention policy set

Configuration SPFS and Spectrum Protect

Configure Spectrum Protect Client

# vi /opt/tivoli/tsm/client/api/bin64/dsm.sys

SERVERNAME spfs

TCPSERVERADDRESS tsm.backup.com

ERRORLOGNAME /var/log/dsmerror_spfs.log

# vi /etc/spfs/dsm.opt

SERVERNAME spfs

Configure Spectrum Protect Server

SP> DEFINE DOMAIN minio

SP> DEFINE POLICYSET minio standard

SP> DEFINE COPYGROUP minio standard 30days TYPE=ARCHIVE DESTINATION=archivepool RETMIN=30

SP> DEFINE COPYGROUP minio standard 30days DESTINATION=backuppool VERE=NOL VERD=NOL RETE=30 RETO=30

SP> ASSIGN DEFMGMT minio standard 30days

SP> ACTIVATE POLICYSET minio standard

SP> REGISTER NODE spfs secretpwd

Configure SPFS

# vi /etc/spfs/spfs.opt

MOUNTPOINT /archive

NODENAME spfs

NODEPWDFILE /etc/spfs/TSM.PWD

OPTIONFILE /etc/spfs/dsm.opt

*

DATATYPE ARCHIVE

MOUNTPOINT /backup

NODENAME spfs

NODEPWDFILE /etc/spfs/TSM.PWD

OPTIONFILE /etc/spfs/dsm.opt

DATATYPE BACKUP

# mkdir /archive

# mkdir /backup

# mount.spfs /backup

# mount.spfs /archive

You are now ready to start installing the minio server that will respond for bucket requests

Install minio

# wget https://dl.min.io/server/minio/release/linux-amd64/minio

# chmod +x minio

# ./minio server -v /archive -v /backup

Configure firewall rules

# firewall-cmd --get-active-zones

# firewall-cmd --zone=public --add-port=9000/tcp --permanent

# firewall-cmd --reload

If one has iptables rules active

# iptables -A INPUT -p tcp --dport 9000 -j ACCEPT

# service iptables restart

You are now ready to start using IBM Spectrum Protect as a bucket service

Dashboard

 

All Posts
×

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!

OKSubscriptions powered by Strikingly