1. Jon Tzeng
  2. PowerServer
  3. Wednesday, 8 February 2023 17:02 PM UTC

Hello,

We plan to migrate our web application from PowerServer 2020 t0 PowerServer 2022. Here we come up a few questions.

  1. Is there any documents on how we can set up multi servers, that means to have web server and cluster servers setup?
  2. How may users can have access on production license and test license?
  3. For PowerServer 2022 App deployment, is there a better way that we can set the app to connect to different database environments during the deployment process?

Thank you.

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 8 February 2023 17:26 PM UTC
  2. PowerServer
  3. # 1

Hi Jon,

For future reference, it is best to separate multiple questions in separate posts... it aids other people in searching and also each question can be marked as resolved and correct answer.

Anyway here are answers to your questions:

1. Please read the PowerServer documentation set, it is covered: https://docs.appeon.com/ps2022/Load-balancing_PowerServer_Web_APIs.html

2. Please contact your sales rep since you have an existing legacy license they need to look up your license details and advise you accordingly.  If purchasing new licenses, PowerServer is now licensed in tiers with no restriction on # of servers or test vs. production usage: https://www.appeon.com/pricing#powerserver

3. There are generally two ways to go about this: 

a. Configure your project for your development environment DB connection when you are working in PB IDE.  Then when you move it to other environments (e.g. testing, production, etc.), modify the DB connection info in the Applications.JSON file of the compiled Web APIs (no need to use C# IDE even though doc says so... just use text editor for the JSON file): https://docs.appeon.com/ps2022/Managing_database_caches_in_the_PowerServer_solution.html

b. Configure your project for all the different environment DB connections when you are working in the PB IDE.  In other words, you will setup multiple connection profiles in your project object, but note that your machine must be able to connect to all these different DBs.  Then in your code you would dynamically switch during runtime which DB connection your app uses: https://docs.appeon.com/ps2022/Dynamically_mapping_transaction_object_with_cache.html

Best regards,
Armeen

Comment
  1. Carl Bolduc
  2. Tuesday, 20 June 2023 18:05 PM UTC
Hi Armeen,



Regarding point 3 solution a, the password is encrypted in the .json file. When moving from environment to environment, is there a way to generate the encrypted password so that I can modify it using my text editor?



Thanks!

Carl
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 21 June 2023 15:30 PM UTC
Yes, all this info is in the documentation: https://docs.appeon.com/ps2022/Encrypt_password.html
  1. Helpful 1
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 8 February 2023 17:19 PM UTC
  2. PowerServer
  3. # 2

Hi Jon,

I can contribute to 1): We currently have a guide on how to deploy a PowerServer 2022 Web API onto a Kubernetes cluster. Since the resulting Server APIs are a simple .NET Core 3.1/.NET 6 application, they can be easily containerized and deployed to Kubernetes

Hopefully this is what you're after.

As for 2) for licensing information, the team over at sales@appeon.com can help you with that. I suggest you hit them up.

Regards,
Francisco

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.