TM1RUNTI using CAM Authentication
Posted: Mon Feb 11, 2013 7:14 am
Hi there,
A client that I am supporting needs to kick a TurboIntegrator process from a batch file as this process needs to run more than once a day during monthend, conditional to the data warehouse running its batch successfully - timing of which is not always predictable.
The environment they're working on is TM1 v9.5.2 (64bit) and Cognos BI v10.1(64bit) and they are using CAM security to logon to TM1 (security mode 5) and access is based on Active Directory. When I initially logged on to find the application in the 32bit bin folder, I found an application called TM1ChoreExecute. It turns out that TM1ChoreExecute does not support CAM Authentication. So I created a new folder outside of the bin called "applications" and put in the TM1RUNTI app file from TM1 v10.1 and added the following files with it in the 32bit bin folder:
- libibmcogeay32.dll (from v10.1 folder)
- sslibmcogeay32.dll (from v10.1 folder)
- log4cxxw.dll (from v9.5.2 folder)
- log4cxx.dll (from v9.5.2 folder)
- TM1ULibDll.dll (from v9.5.2 folder)
- tm1api.dll (from v10.1 folder)
I used the following parameters to execute the file (for obvious security reasons, I have renamed them but the convention is exactly the same):
process: Populate_GL_CompanyT PC
adminhost: servername
server: companyT_tm1_dev
user: COMPANYT\Paul Smith (as it appears on TM1, the windows login in this case is PSmith in CompanyT domain; has admin rights to TM1 only)
pwd:Password1
AdminSvrSSLCertAuthority: C:\Program Files (x86)\Cognos\TM1\bin\ssl\applixca.pem
AdminSvrSSLCertID: tm1adminserver
CAMNamespace: companyt.co.za" (as per the namespace ID in Cognos Configuration)
The command is as follows:
C:\Program Files (x86)\Cognos\TM1\applications>tm1runti -process "Populate_GL_CompanyT PC" -adminhost "servername" -server "companyT_tm1_dev" -user "CompanyT\Paul Smith" -pwd "Password1" -AdminSvrSSLCertAuthority "C:\Program Files (x86)\Cognos\TM1\bin\ssl\applixca.pem" -AdminSvrSSLCertID "tm1adminserver" -CAMNamespace "companyt.co.za"
When I try to execute the above command I get the following error:
(TM1 API Error) SystemServerConnectionFailed
Server Connection Failed
Hope someone will be able to pinpoint where the issue lies.
Thanx
Siya
A client that I am supporting needs to kick a TurboIntegrator process from a batch file as this process needs to run more than once a day during monthend, conditional to the data warehouse running its batch successfully - timing of which is not always predictable.
The environment they're working on is TM1 v9.5.2 (64bit) and Cognos BI v10.1(64bit) and they are using CAM security to logon to TM1 (security mode 5) and access is based on Active Directory. When I initially logged on to find the application in the 32bit bin folder, I found an application called TM1ChoreExecute. It turns out that TM1ChoreExecute does not support CAM Authentication. So I created a new folder outside of the bin called "applications" and put in the TM1RUNTI app file from TM1 v10.1 and added the following files with it in the 32bit bin folder:
- libibmcogeay32.dll (from v10.1 folder)
- sslibmcogeay32.dll (from v10.1 folder)
- log4cxxw.dll (from v9.5.2 folder)
- log4cxx.dll (from v9.5.2 folder)
- TM1ULibDll.dll (from v9.5.2 folder)
- tm1api.dll (from v10.1 folder)
I used the following parameters to execute the file (for obvious security reasons, I have renamed them but the convention is exactly the same):
process: Populate_GL_CompanyT PC
adminhost: servername
server: companyT_tm1_dev
user: COMPANYT\Paul Smith (as it appears on TM1, the windows login in this case is PSmith in CompanyT domain; has admin rights to TM1 only)
pwd:Password1
AdminSvrSSLCertAuthority: C:\Program Files (x86)\Cognos\TM1\bin\ssl\applixca.pem
AdminSvrSSLCertID: tm1adminserver
CAMNamespace: companyt.co.za" (as per the namespace ID in Cognos Configuration)
The command is as follows:
C:\Program Files (x86)\Cognos\TM1\applications>tm1runti -process "Populate_GL_CompanyT PC" -adminhost "servername" -server "companyT_tm1_dev" -user "CompanyT\Paul Smith" -pwd "Password1" -AdminSvrSSLCertAuthority "C:\Program Files (x86)\Cognos\TM1\bin\ssl\applixca.pem" -AdminSvrSSLCertID "tm1adminserver" -CAMNamespace "companyt.co.za"
When I try to execute the above command I get the following error:
(TM1 API Error) SystemServerConnectionFailed
Server Connection Failed
Hope someone will be able to pinpoint where the issue lies.
Thanx
Siya