xe0nic.ansible_isp_server
IBM Spectrum Protect Server
This guide describes how to set up the IBM Spectrum Protect Server for Kodo for Endpoints.
Requirements
- A minimal installation of CentOS Stream or RHEL 8, along with public key authentication between the command host and the target machine.
Role Variables
Defaults:
---
isp_server_version: "8.1.12.000"
isp_short_version: "{{ isp_server_version | regex_replace('([0-9]+)[.]([0-9]+)[.]([0-9]+)[.].*', 'v\\1r\\2') }}"
isp_server_installer_filename: "{{ isp_server_version }}-IBM-SPSRV-Linuxx86_64.bin"
isp_server_download_url: "http://ftp.software.ibm.com/storage/tivoli-storage-management/maintenance/server/{{ isp_short_version }}/Linux/{{ isp_server_version }}/x86_64/{{ isp_server_installer_filename }}"
isp_server_installer_local_dir: "/tmp/isp"
isp_server_installer_local_path: "{{ isp_server_installer_local_dir }}/{{ isp_server_installer_filename }}"
iim_dir: "/opt/IBM/InstallationManager/eclipse"
iim_shared_dir: "/opt/IBM/IBMIMShared"
isp_dir: "/opt/tivoli/tsm"
isp_limits_file: "/etc/security/limits.d/21-isp.conf"
isp_port: 1500
isp_port_ssl: 1501
isp_admin_port: 1502
isp_admin_port_ssl: 1503
isp_instance_name: "tsminst1"
isp_server_name: "isp1"
isp_user: "{{ isp_instance_name }}"
isp_uid: 1111
isp_user_home: "/home/{{ isp_user }}"
isp_server_service_script_template_path: "{{ isp_dir }}/server/bin/dsmserv.rc"
isp_group: "tsmadmin"
isp_data_dir: "/isp"
isp_data_fs_type: "xfs"
isp_data_mkfs_opts: "-K"
isp_data_resizefs: true
isp_data_fs_mount_opts: "defaults,inode64"
isp_instance_path: "{{ isp_data_dir }}/{{ isp_instance_name }}"
isp_db_disk: "/dev/sdb"
isp_db_path: "{{ isp_data_dir }}/db"
isp_db_fs_type: "{{ isp_data_fs_type }}"
isp_db_mkfs_opts: "{{ isp_data_mkfs_opts }}"
isp_db_resizefs: "{{ isp_data_resizefs }}"
isp_db_fs_mount_opts: "{{ isp_data_fs_mount_opts }}"
isp_activelog_disk: "/dev/sdc"
isp_activelog_path: "{{ isp_data_dir }}/activelog"
isp_activelog_fs_type: "{{ isp_data_fs_type }}"
isp_activelog_mkfs_opts: "{{ isp_data_mkfs_opts }}"
isp_activelog_resizefs: "{{ isp_data_resizefs }}"
isp_activelog_fs_mount_opts: "{{ isp_data_fs_mount_opts }}"
isp_archlog_disk: "/dev/sdd"
isp_archlog_path: "{{ isp_data_dir }}/archlog"
isp_archlog_mkfs_opts: "{{ isp_data_mkfs_opts }}"
isp_archlog_resizefs: "{{ isp_data_resizefs }}"
isp_archlog_fs_type: "{{ isp_data_fs_type }}"
isp_archlog_fs_mount_opts: "{{ isp_data_fs_mount_opts }}"
isp_dbbackup_disk: "/dev/sde"
isp_dbbackup_path: "{{ isp_data_dir }}/dbbackup"
isp_dbbackup_fs_type: "{{ isp_data_fs_type }}"
isp_dbbackup_mkfs_opts: "{{ isp_data_mkfs_opts }}"
isp_dbbackup_resizefs: "{{ isp_data_resizefs }}"
isp_dbbackup_fs_mount_opts: "{{ isp_data_fs_mount_opts }}"
isp_dbbackup_maxcap: "50G"
isp_dbbackup_devclass: "dbbackup"
isp_dbbackup_schedule: "{{ isp_dbbackup_devclass }}"
isp_dbbackup_script: "{{ isp_dbbackup_devclass }}"
isp_dbbackup_script_template_path: "dbbackup.script.mac.j2"
isp_storage_disks:
- "/dev/sdf"
isp_storage_paths:
- "{{ isp_data_dir }}/storage1"
isp_storage_fs_type: "{{ isp_data_fs_type }}"
isp_storage_mkfs_opts: "{{ isp_data_mkfs_opts }}"
isp_storage_resizefs: "{{ isp_data_resizefs }}"
isp_storage_fs_mount_opts: "{{ isp_data_fs_mount_opts }}"
isp_stgpool_name: "bdata"
isp_domain: "kodo"
isp_mgmtclass: "kodo-nolimit"
isp_policyset: "{{ isp_domain }}"
isp_create_extra_mgmt_classses: true
isp_extra_mgmt_classses:
- name: "7days"
vere: "7"
verd: "7"
rete: "nolimit"
reto: "nolimit"
- name: "30days"
vere: "30"
verd: "30"
rete: "nolimit"
reto: "nolimit"
isp_schedule_dbbackup: "10:00"
isp_schedule_expire: "17:00"
isp_dbmgropt_servername: "TSMDBMGR"
isp_db_activelogsize: 32768
isp_admin_user: "tsmadmin"
isp_admin_pass: "passw0rd"
isp_admin_pass_exp: 0
isp_setopt_template_path: "setopt.mac.j2"
isp_setopt_actlogretention: "30 m=d"
isp_setopt_expinterval: 0
isp_setopt_maxsession: 999
isp_setopt_deduprequiresbackup: no
isp_setopt_dnslookup: no
isp_setopt_commtimeout: 360
isp_setopt_idletimeout: 360
isp_setopt_allowreorgtable: yes
isp_setopt_allowreorgindex: yes
isp_setopt_reorgbegintime: "06:00"
isp_setopt_reorgduration: 4
isp_setopt_clientdeduptxnlimit: 2048
isp_setopt_serverdeduptxnlimit: 2048
isp_setopt_deduptier2filesize: 1024
isp_setopt_deduptier3filesize: 9999
isp_setopt_dateformat: 3
isp_setopt_numopenvolsallowed: 50
isp_setopt_backupinitiationroot: "off"
isp_create_service_node: true
isp_service_node_name: "storware"
isp_service_node_password: "St0rw@re"
isp_service_node_maxnump: 100
isp_service_node_dedup: "client"
dsmadmc: "source ~/.bashrc && dsmadmc -id={{ isp_admin_user }} -pa={{ isp_admin_pass }}"
db2icrt_bin: "{{ isp_dir }}/db2/instance/db2icrt"
db2ilist_bin: "{{ isp_dir }}/db2/bin/db2ilist"
Key Variables Overview
- isp_server_download_url: The URL to download the ISP server. If it’s slow, you can download it manually and upload it.
- iim_dir: Directory for IIM installation.
- iim_shared_dir: Directory for shared IIM files.
- isp_dir: Directory for ISP installation.
- isp_ports: Various ISP ports for admin and client connections.
- isp_instance_name: Name of the ISP server instance.
- isp_user: User account for ISP server.
- isp_data_dir: Root directory for ISP mount points.
- isp_db_disk: Disk designated for the ISP database.
- isp_storage_disks: List of disks for the storage pool.
- isp_extra_mgmt_classses: Optional management class definitions.
Dependencies
Not applicable.
Example Playbook
The following playbook will deploy the Kodo server on the specified server
host and multiple agents on agent
hosts.
- hosts: isp
roles:
- xe0nic.ansible_isp_server
Example Hosts Inventory
Ensure that SSH public key authentication is set up for the user listed in the inventory:
[all:vars]
ansible_user = root
[isp]
192.168.155.233
License
MIT
Author Information
For more details, visit the product website: https://storware.eu/products/kodo-for-endpoints
Documentation can be found at: https://storware.gitbook.io/kodo-for-endpoints
Informazioni sul progetto
IBM Spectrum Protect role for Kodo for Endpoints
Installa
ansible-galaxy install xe0nic.ansible_isp_server
Licenza
Unknown
Download
1.8k
Proprietario
Ensuring data availability and business continuity at every level, in all circumstances.