-
1. Re: How can we check which Presentation Server in HA mode is active?
Bhuvaneswaran Ekanathan Dec 6, 2017 2:45 AM (in response to Mariusz Cwiklinski)Suppose you have installed TSPS in HA on servers TSPS1 and TSPS2 and Load balancer is configured with GTM
You can check which instance is active and standby by accessing individual URLs,
At given point in time, when both instances are up and running, only one will be active which will redirect to 'login' page and other instance will route to 'standby' page
Alternate way to check is, if you perform nslookup of Load balancer GTM name it will provide details of active instance. Note, this is based on your Load balancer design and could differ whether you are using GTM or LTM.
Thanks,
Bhuvan
-
2. Re: How can we check which Presentation Server in HA mode is active?
Mariusz Cwiklinski Dec 6, 2017 3:12 AM (in response to Bhuvaneswaran Ekanathan)Accessing URL with HTTP request return 302 code for active and 302 code for standby.
302 code is URL redirection to Remedy SSO. Both nodes TSPS1 and TSPS2 are redirecting URLs to Remedy SSO. It is not possible to tell which one is active and which one is passive.
Here are the URL response from my environment (I replaced real name servers):
Active node:
curl -I -X GET http://tsps1:8090/
HTTP/1.1 302
Location: http://rsso:8090/rsso/start?goto=http%3A%2F%2Ftsps1%3A809 0%2F&tenant=*@*
Content-Length: 0
Date: Fri, 17 Nov 2017 08:20:52 GMT
Standby node:
curl -I -X GET http://tsps2:8090/
HTTP/1.1 302
Location: http://rsso:8090/rsso/start?goto=http%3A%2F%2Ftsps2%3A809 0%2F&tenant=*@*
Content-Length: 0
Date: Fri, 17 Nov 2017 08:21:35 GMT
Can you show some examples to prove what you have written?
-
3. Re: How can we check which Presentation Server in HA mode is active?
Bhuvaneswaran Ekanathan Dec 6, 2017 3:24 AM (in response to Mariusz Cwiklinski)http is not enabled by default, use https
Thanks,
Bhuvan
-
4. Re: How can we check which Presentation Server in HA mode is active?
Mariusz Cwiklinski Dec 6, 2017 3:39 AM (in response to Bhuvaneswaran Ekanathan)In our environment we have already enabled HTTP.
-
5. Re: How can we check which Presentation Server in HA mode is active?
Bhuvaneswaran Ekanathan Dec 6, 2017 3:57 AM (in response to Mariusz Cwiklinski)In TrueSight 11, TSPS is routed via RSSO, hence the redirection
Make sure cookie domain used to access TSPS is same as the one used during RSSO installation.
If you are able to access TSPS URL with Load balancer name FQDN, try TSPS URL with FQDN
If you are not able to access TSPS using LB name also, you need to check cookie domain and RSSO configuration. RSSO & TSPS HA documentation are very primitive and do not provide any details on TSPS re-direction or Load balancer configuration.
Refer below KA that could help, tssh ha status command also will give details of which instance is active
The Pulse: TrueSight Operations Management - High Availability – Frequently Asked Questions
Thanks,
Bhuvan
-
6. Re: How can we check which Presentation Server in HA mode is active?
Mariusz Cwiklinski Dec 6, 2017 4:29 AM (in response to Bhuvaneswaran Ekanathan)I'm using FQDN.
Cookie domain is correctly set (all servers and LB are in the same domain).
TSPS active node is working correctly with RSSO. No problem here. Users are able to logon.
The command tssh ha status doesn't work in version 11.0:
cd ../pserver/truesightpserver/bin
tssh ha status
+-------------------------------------------------------------------------------------------+
| BMC TrueSight Presentation Server - Command Line Interface 2017 version 11.0 |
| Copyright 2014-2017. BMC Software, Inc. as an unpublished work. All rights reserved. |
+-------------------------------------------------------------------------------------------+
[Usage : tssh ha [copysnapshot | disable | sbreconfigure | configure {master | standby}]]
I suspect that something related to HA has been changed in Presentation Server version 11.0 and the documentation and FAQ are still describing the version 10.7.
When I want to access the TSPS via load balancer then after successful logon in RSSO I'm sometimes redirected to standby node, because we don't know how to tell LB which TSPS node is active (there is no URL, no command line).
-
7. Re: How can we check which Presentation Server in HA mode is active?
Bhuvaneswaran Ekanathan Dec 6, 2017 5:11 AM (in response to Mariusz Cwiklinski)We are using 10.7, so not sure on above issues
We faced similar issue during initial configuration and is a known issue though it was with ASSO. See if below helps for TSPS 11 as well [restart of RSSO],
Troubleshooting a high-availability deployment - BMC TrueSight Operations Management 11.0
If you can find resolution and more details on re-direction and Load balancer configuration, it would help everyone if you can share the details.
Thanks,
Bhuvan
-
8. Re: How can we check which Presentation Server in HA mode is active?
Sachin AruDec 6, 2017 6:49 PM (in response to Mariusz Cwiklinski)
1 of 1 people found this helpfulHI Mariusz,
We Acknowledge this as defect for Truesight Presentation Server 11.
Both node showing status 302.
R&D team is working on this , YOU will soon hear workaround/fix for this.
-
9. Re: How can we check which Presentation Server in HA mode is active?
Mariusz Cwiklinski Dec 19, 2017 2:39 AM (in response to Mariusz Cwiklinski)1 of 1 people found this helpfulIt looks like there is no defect.
The correct answer is:
https://TSPS1/LogoutUser.jsp - active node will return HTTP 200 code
https://TSPS2/LogoutUser.jsp - standby node will return HTTP 502 code
There is a file rsso-agent.properties located in <install_path>/truesightpserver/modules/tomcat/webapps/ROOT/WEB-INF/classes/
This file contains "excluded-url-pattern" variable with the URL patterns excluded form RSSO redirection.
PS.
rsso-agent.properties file exist also in TrueSight Infrastructure Manager 11, so it is possible to check correct probing URL for TSIM.
-
10. Re: How can we check which Presentation Server in HA mode is active?
Sachin AruDec 20, 2017 8:46 PM (in response to Mariusz Cwiklinski)
yes you will have to monitor logout url instead.