1. Jeyakumar Chinnapillai
  2. PowerServer
  3. Wednesday, 24 July 2024 16:25 PM UTC

We have deployed 100+ applications in 30+ containers in AKS. All our API calls go through the Application Gateway load balancer (e.g., https://mydomain.com/app1api, https://mydomain.com/app2api, etc.). We want to monitor the PowerServer user sessions from all the containers. Are there any tools available for this?

Jeyakumar C

Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 24 July 2024 16:44 PM UTC
  2. PowerServer
  3. # 1

Hi Jeyakumar,

There are some APIs that allow you to monitor and manage a PS Application sessions, but they work on an instance-level. So you would have to access them for each one of your containers and there's currently no way to do so in an aggregate manner.
However, having access to the API for each container a solution can be developed that aggregates the sessions from all the containers into a single place.

Here's the documentation for the PS Management APIs: https://docs.appeon.com/ps2022r3/Use_PowerServer_Management_APIs.html

 

HTH

Regards,
Francisco

Comment
There are no comments made yet.
Jeyakumar Chinnapillai Accepted Answer Pending Moderation
  1. Friday, 26 July 2024 11:48 AM UTC
  2. PowerServer
  3. # 2

Thank you, Francisco!

After looking into the documentation below, I thought Appeon was providing a PowerServer Monitoring tool

https://docs.appeon.com/ps2019/server_configuration_guide_for_net/Appeon_Server_Monitor.html

 

Thanks & Regards,

Jeyakumar

 

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Friday, 26 July 2024 12:23 PM UTC
  2. PowerServer
  3. # 3

Hi.

That help you've seen doesn't refer to the new PowerServer (Cloud Apps), but to PowerServer Web - Mobile which was offered until PowerBuilder 2019.

Which one are you using? Are your applications developed in PowerBuilder 2019 R3 or earlier?

PS: Always mention the version of Powerbuilder you are using when creating a new question. That way you may receive more accurate answers faster.

Andreas.

Comment
There are no comments made yet.
Jeyakumar Chinnapillai Accepted Answer Pending Moderation
  1. Friday, 26 July 2024 12:30 PM UTC
  2. PowerServer
  3. # 4

We are using PowerServer 2022 R3 ( Cloud Pro).

Now I understand that I have to create my own tool to monitor PowerServer sessions in PS 2022 R3 (Cloud Pro).

Thanks for the clarification.

Regards,

Jeyakumar

 

Comment
  1. Francisco Martinez @Appeon
  2. Friday, 26 July 2024 14:19 PM UTC
Appeon does offer an example for a solution: https://community.appeon.com/index.php/codeexchange/powerserver/297-server-management-console

However, this only works for a specific instance of a Web API, if you want it to aggregate the status from several instances you will have to make some changes, but it might work as a starting point.
  1. Helpful 2
  1. Jeyakumar Chinnapillai
  2. Tuesday, 30 July 2024 17:11 PM UTC
Thank you, Francisco! for the demo application; it will be helpful for developing the dashboard for our requirements.



I have another question regarding the PowerServer license. Does Appeon use any additional API to monitor the user session count from our customer environment? If so, could you please provide the endpoint details so that we can whitelist it in our customer environments?



Additionally, could you let us know what information is captured and how frequently the API is invoked? We need to explain this to our customer for whitelisting.



Thanks & Regards,

Jeyakumar
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 31 July 2024 18:34 PM UTC
Check the swagger project in the Web APIs for all the open interfaces: https://docs.appeon.com/ps2022r3/Use_PowerServer_Management_APIs.html
  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Friday, 26 July 2024 14:43 PM UTC
  2. PowerServer
  3. # 5

fwiw, we log both the session id and the address of the web api for that session in a database (also datetime, user login name, etc).  Also log the datetime when they log OUT so we have an idea how many users are in the system at any one time.

That allows you to check things faster/more easily for a specific session since you don't have to look for it over several webapi servers.  

 

You may still need to check all of them if you are looking in aggregate. 

This logging approach provides the server addresses of all in use webapi servers - allowing you to use tools that automatically spin up (scale) the webapi servers.  this way you can check each server without knowing (hard coding) webapi server addresses.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.