ver. 1.0.0

The application requires JVM 1.8

Install Tivoli Storage Client with TSM Administrative clients (dsmadmc) (recommend the use version 7.x or above);

windows
=====================
1. extract zip file to any directory
2. install_service.cmd as Administrator from cmd (shift+right click mouse run “run as different user”)
3. check status windows service “TSM Rest”

if you don’t have administrative rights can start the application as standalone from cmd
>java -Xmx64m -jar tsmrest.jar start

unix (AIX, LINUX, OSX, SOLARIS)
======================
1. extract zip file to any directory
2. copy key.lic to application path
3. set chmod 0755 for tsmrest.rc
4. change variable PATH_TSMREST to absolute path in tsmrest.rc
5. run ‘tsmrest.rc start’ for start service
– run ‘tsmrest.rc stop’ for stop service
– run ‘tsmrest.rc status’ show status service
– run ‘tsmrest.rc restart’ restart service

For autostart you can use inittab file or set tsmrest.rc to /etc/init.d

example
========
tsmagent::once:/usr/tivoli/tsm/tsmrest/tsmrest.aix.rc start > /dev/console 2>&1 # TSM Rest

The application has started

Update
=======
– stop application service
– update all files and path except app.cfg and tsmrest*.rc

Problem
=======
If you can’t connect to TSM server ver 8.x try “upd admin tsmadmin SESSIONSECuri=TRANSitio”

Rest API
========================================

adsm result (query or select)

=============================

request

POST https://address:port/request

{
“address” : “10.100.130.13”
“port”: “1500”,
“admin” : “admin”,
“password” : “tsmpassword”,
“request”: “select domain_name from domains”
}

response

{
“request”: “select domain_name from domains”,
“message”: “”,
“code”: “0”,
“server”: “south”,
“result”: [
{
“DOMAIN_NAME”: “AAA1”
},
{
“DOMAIN_NAME”: “AD”
},
{
“DOMAIN_NAME”: “AIX_SB”
}
}

adsm command (define/update and etc)
====================================

request

POST https://address:port/command

{
“address” : “10.100.130.13”
“port”: “1500”,
“admin” : “admin”,
“password” : “tsmpassword”,
“command”: “define domain aaa1”
}

response

{
“command”: “define domain aaa1”,
“message”: “ANR1500I Policy domain AAA1 defined.\r\n”,
“code”: “ANR1500I”,
“server”: “south”
}

Close Menu