This blog provides an introduction to IBM Storage Scale CES S3 (Simple Storage Service) - 5.2.1 GA features and then describes a procedure that is followed for installing and configuring IBM Storage Scale CES S3 protocol using the Ansible Toolkit.
Introduction:
IBM Storage Scale CES S3 provides high-performant and scalable S3 object access to data, which is stored in IBM Storage Scale file systems. It is integrated with Cluster Export Services (CES) to provide highly available S3 access service in an IBM Storage Scale cluster. It enables clients to access data that is stored in IBM Storage Scale file systems, mapping files to S3 objects and directories to S3 buckets, and vice versa.
With IBM Storage Scale 5.2.1 , The IBM Storage Scale Ansible Toolkit allow user to install and configure CES S3 protocol using Ansible Toolkit.
Ansible Toolkit CES S3 Deployment Workflow:
The deployment workflow for Installing and enabling CES S3 protocol using the IBM Storage Scale installation toolkit is well-defined and user-friendly. The blog provides a step-by-step guide, starting from setting up the installer node, issuing relevant commands, and configuring CES S3 protocol. The inclusion of screenshots and command-line examples enhances the clarity of the process.
Steps for installing and enabling IBM Spectrum Scale CES S3 using Ansible Toolkit:
# Download and extract the IBM Spectrum Scale self-extracting package on the installer node.
root@cess3test-31:~# ./Storage_Scale_Advanced-5.2.1.0-x86_64-Linux-install
# Go to the IBM Spectrum Scale installation toolkit directory.
root@cess3test-31:~# cd /usr/lpp/mmfs/5.2.1.0/ansible-toolkit/
# Issue the spectrumscale setup command to set up the new installer node.
root@cess3test-31:/usr/lpp/mmfs/5.2.1.0/ansible-toolkit# ./spectrumscale setup -s <InstallerNodeIP>
# Use the IBM Storage Scale Ansible based installation toolkit Install to create a cluster or you can directly use deploy to install and configure CES S3 protocols if cluster is already exists.
CES S3 configuration of IBM Storage Scale by using the installation toolkit
# Use the Ansible based toolkit cli config to define CES config to define CesShared root and export IP. so the toolkit knows what to act upon.
[root@cess3test-31 ansible-toolkit]# ./spectrumscale config protocols -f cesSharedRoot -m /mnt/cesSharedRoot
[ INFO ] Setting filesystem to cesSharedRoot
[ INFO ] Setting mountpoint to /mnt/cesSharedRoot
[ INFO ] Tip :Enable NFS, S3, SMB or HDFS protocols as appropriate:./spectrumscale enable nfs|s3|smb|hdfs
[root@cess3test-31 ansible-toolkit]# ./spectrumscale config protocols -e 192.168.3.100,192.168.3.101,192.168.3.103, 192.168.3.104
[ INFO ] Setting export_ip_pool to ['192.168.3.100', '192.168.3.101’, '192.168.3.102', '192.168.3.103’]
[ INFO ] Tip :Enable NFS, S3, SMB or HDFS protocols as appropriate:./spectrumscale enable nfs|s3|smb|hdfs
# Use the Ansible based toolkit cli to enable s3 protocol. so the toolkit knows what to act upon.
[root@cess3test-31 ansible-toolkit]# ./spectrumscale enable -h
usage: spectrumscale enable [-h] {s3,smb,nfs,hdfs} [{s3,smb,nfs,hdfs} ...]
positional arguments:
{s3,smb,nfs,hdfs} Specify the protocols to be enable or disable; either enable or disable one of the protocols, or enable or disable multiple protocols separated by space.
[root@cess3test-31 ansible-toolkit]# ./spectrumscale enable s3
[ INFO ] Enabling S3 on all protocol nodes.
[ INFO ] Tip :If all node designations and any required protocol configurations are complete, proceed to check the installation configuration:./spectrumscale deploy --precheck
# Use the Ansible based install toolkit node list cli to check if S3 is defined

# Use the Ansible based install toolkit to run deploy precheck and ensure the environment is ready for CES S3
root@cess3test-31:/usr/lpp/mmfs/5.2.1.0/ansible-toolkit# ./spectrumscale deploy --precheck

# Run the Deploy process by using the ./spectrumscale deploy command.
root@cess3test-31 :/usr/lpp/mmfs/5.2.1.0/ansible-toolkit# ./spectrumscale deploy
[root@cess3test-31 ansible-toolkit]# ./spectrumscale deploy --precheck
[ INFO ] Logging to file: /usr/lpp/mmfs/5.2.1.0/ansible-toolkit/logs/DEPLOY-PRECHECK-06-08-2024_10:39:48.log
[ INFO ] Validating configuration
[ INFO ] protocol precheck OK
[ INFO ] Performing S3 checks.
[ INFO ] Running environment checks for S3
[ INFO ] S3 precheck OK
[ INFO ] Performing NFS checks.
[ INFO ] Running environment checks for NFS
[ INFO ] NFS precheck OK
For more information, See the Installing IBM Storage Scale on Linux nodes with the installation toolkit section in the IBM Storage Scale Knowledge Center.