How to change configurations for PAW

Post Reply
User avatar
macsir
MVP
Posts: 782
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

How to change configurations for PAW

Post by macsir »

Hi,
After reading the guide below,
https://www.ibm.com/support/knowledgece ... _file.html
If I change any configuration in paw.ps1, and I open up the administration tool to click on Update button,
The PAW is restarted, but change still hasn't been made? Any idea?
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
User avatar
paulsimon
MVP
Posts: 808
Joined: Sat Sep 03, 2011 11:10 pm
OLAP Product: TM1
Version: PA 2.0.5
Excel Version: 2016
Contact:

Re: How to change configurations for PAW

Post by paulsimon »

Hi

Further down that guidance it says you can change the parameters by either editing paw.ps1 or by using the PAW Admin Tool. I would suggest using the PAW Admin Tool. That seems to work for us.

Regards

Paul Simon
User avatar
macsir
MVP
Posts: 782
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: How to change configurations for PAW

Post by macsir »

Alright, what I want to modify is the following bits:
# The PAW login session timeout. Default is 60 minutes.
# Amount of time a session can go unused before it is no longer valid.
# Specify a positive integer followed by a unit of time, which can be hours (h),
# minutes (m), or seconds (s). For example, specify 30 seconds as 30s.
# You can include multiple values in a single entry. For example, 1m30s is
# equivalent to 90 seconds.
$env:SessionTimeout="60m"
I put
$env:SessionTimeout="2h"
into paw.ps1 which is supposed to overwrite the default 1 hour and restart the PAW. It looks like the change hasn't take effect after testing. The session was still timeout in one hour.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
User avatar
macsir
MVP
Posts: 782
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: How to change configurations for PAW

Post by macsir »

Even after reloading the docker image, it still doesn't work. How do I make changes which are not in the PAW admin tool?
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
dr.nybble
MVP
Posts: 160
Joined: Wed Aug 17, 2011 3:51 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: Excel 2007

Re: How to change configurations for PAW

Post by dr.nybble »

Run scripts/paw.ps1

Any impacted containers will be re-created with the updated environment variables.

This is the equivalent of clicking the "Start" button in the Admin Tool.
User avatar
macsir
MVP
Posts: 782
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: How to change configurations for PAW

Post by macsir »

dr.nybble wrote: Thu Aug 23, 2018 6:23 pm Run scripts/paw.ps1

Any impacted containers will be re-created with the updated environment variables.

This is the equivalent of clicking the "Start" button in the Admin Tool.
Thanks for your advice. I executed scripts/paw.ps1 successfully but the session still failed with authentication error in one hour.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
User avatar
macsir
MVP
Posts: 782
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: How to change configurations for PAW

Post by macsir »

The error msg is saying "Unable to refresh contents of widgets. ....httpStatusCode:401,authenticate..."
Looks like the http request of keeping-alive is fixed to 60 minutes currently.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
dr.nybble
MVP
Posts: 160
Joined: Wed Aug 17, 2011 3:51 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: Excel 2007

Re: How to change configurations for PAW

Post by dr.nybble »

What authentication mode is configured?
User avatar
macsir
MVP
Posts: 782
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: How to change configurations for PAW

Post by macsir »

CAM Security with SSO enabled in this version.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
dr.nybble
MVP
Posts: 160
Joined: Wed Aug 17, 2011 3:51 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: Excel 2007

Re: How to change configurations for PAW

Post by dr.nybble »

Since the 401 you received was from TM1, not PAW, it appears that the underlying CAM passport timed out. You may need to also adjust that on the CA/BI side.
User avatar
macsir
MVP
Posts: 782
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: How to change configurations for PAW

Post by macsir »

dr.nybble wrote: Tue Aug 28, 2018 12:22 pm Since the 401 you received was from TM1, not PAW, it appears that the underlying CAM passport timed out. You may need to also adjust that on the CA/BI side.
Thanks for that. I tried to change "Inactivity timeout in seconds" in Cognos configuration. It still didn't work.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
Post Reply