Modern and innovative protection of your company data.
Overview Data Protection
Managed-Service solutions tailored to your needs
Overview Empalis Service Plus
Maximum productivity at minimum cost. Efficient and resource-saving.
Overview System Services
Well-founded know-how transfer to you and your employees.
Overview Competence Center
Professional competence and technical expertise down to the last detail.
Overview Services
IT specialists of today and tomorrow.
Overview Company
Oliver Ladage — 02. February 2022Reading time: 1:15 minutes
You can run macros in IBM Spectrum Protect (ISP) on Windows via Cmd and use them to run automated commands in ISP.
When you set up a new ISP server, it usually has the same initial situation. It has a Stgp archivepool, backuppool and spacemgpool. These are usually no longer required. The stgps that are created during the installation correspond to the traditional world. With the containers one has now Dedup and Compression directly with on board. This saves space and also license costs.
For this we have created a batch file that calls the DSMADMC and executes the macro.
cd "C:\Program Files\Tivoli\TSM\baclient" dsmadmc.exe -id=ispadmin -pass=password123 -itemcommit macro "C:\Temp\TSM-commands-after-installation.mac".
Read more about DSMADMC and its parameters
The parameter -itemcommit is important here, otherwise it would execute the macro too fast before the ISP server would be done with the task from the first line. With the parameter it makes a commit with every command. Otherwise, you could also set a commit in the macro after each command.
The macro contains some standard commands that one performs on a fresh installation.
Here is an excerpt of them:
register license file=tsmee.lic del stgp archivepool del stgp backuppool del stgp spacemgpool def stgp container stgt=dir def stgpooldirectory container E:\ispdata\stg01,E:\ispdata\stg02,E:\ispdata\stg03,E:\ispdata\stg04 def devc dbb devtype=file directory=E:\ispdata\dbbackup\dbb
Using these steps, standard executions no longer need to be done manually. You save costs and time.
Oliver Ladage joined Empalis Managed Service in 2019. As a junior service engineer, the computer scientist is versatile in environments such as Windows, Microsoft and VMWare. In the area of backup and recovery management, his main focus is on IBM Spectrum Protect, IBM Spectrum Protect Plus and Veeam - also in the cloud.