1. Hannu Pikkarainen
  2. PowerServer
  3. Wednesday, 4 August 2021 15:07 PM UTC

Hi,

I'm planning to purchase a virtual machine from Azure and install PowerServer 2021 on it.

Should my VM be a Windows 10 or Windows Server 2019? Pros and Cons?

What if I will install also PowerBuilder PowerBuilder 2021 on and develope & compile applications with it.

BR. Hannu

 

 

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 4 August 2021 16:04 PM UTC
  2. PowerServer
  3. # 1

Hi Hannu,

For the development machine where you will be coding, we recommend Windows 10.  This is where you would install the PowerBuilder CloudPro bundle, which includes PowerBuilder IDE and development license of PowerServer.

For the production machine where you will be hosting your app live for your real users, we recommend Windows Server OS.  This is where you install the production license of PowerServer that you buy separately from PowerBuilder CloudPro bundle.

Best regards,
Armeen

 

Comment
  1. Hannu Pikkarainen
  2. Wednesday, 4 August 2021 16:33 PM UTC
Hi Armeen,



Thanks for your quick response.



Now more questions : If I get a Windows Server VM, can I install Power Server on it with that development licence for the testing phase? And will it run there simultaneously while I run PB on my workstation?



Or should I install PB + PowerServer on that Windows server for the test phase and after that uninstall them and install full licence Power Server on it when I go in production?



Or is there a separate test license for PowerServer for this?



BR, Hannu



  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 4 August 2021 16:50 PM UTC
I'm not sure if the development license would meet your testing needs on a Windows Server because it only allows 1 user rather than multiple users. The development license is really designed for your local machine so you can preview changes to your app quickly and easily as you are coding in PB IDE. You can contact trial@appeon.com to get a 30-day testing license or purchase a testing license.

No, I don't recommend you install PB IDE on a Windows Server. PB IDE (including the PowerServer Toolkit that does the Cloud conversion) is only certified on Windows desktop OS.
  1. Helpful
There are no comments made yet.
Zhang JX Accepted Answer Pending Moderation
  1. Thursday, 5 August 2021 03:03 AM UTC
  2. PowerServer
  3. # 2

Generally agree on Armeen's point, while for me, it is working fine with Windows2019 VM server all in one setup on Azure as development environment, for the reason:

1. Acting as VDI deployment environment, connecting to Azure SQL database with better performance;

2. PB 2021/Snapdev2021 are working fine with Win2019 server;

3. VM pricing is same for WIN10pro or Win2019 server on Azure service;

PS2021 Production deployment is on a separate IIS server --- I am also trying on Azure App Service(serverless), still under testing, so far ok.

 

Regards,

JX 

Comment
  1. Armeen Mazda @Appeon
  2. Thursday, 5 August 2021 03:22 AM UTC
Hi JX, I just want to clarify that I never said it won't work... I said it isn't "certified" environment. That means we don't do any testing, and if there are any problems you won't get support from Appeon.
  1. Helpful
  1. Zhang JX
  2. Thursday, 5 August 2021 03:38 AM UTC
Hi Armeen, yes, I understood your point.

Like what I did on Azure App Service deployment, I took the risk on non-supporting, while gaining as "bonus" if successful.

For sure I did deploy to "certified" environment as HA practice concurrently.



Thank you. :-)

JX
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 5 August 2021 03:45 AM UTC
Excellent! You’re welcome! :-)
  1. Helpful
There are no comments made yet.
Hannu Pikkarainen Accepted Answer Pending Moderation
  1. Thursday, 5 August 2021 14:08 PM UTC
  2. PowerServer
  3. # 3

OK, Thank you all for your advices.

I will get now one VM with Windows 10, install PB IDE and PowerServer on it. When the testing is ready, I will get another VM with Windows server 2019, install prod version of PowerServer on it and test performance with several users.

BR, Hannu 

PS. JX : Let me know how your experiment with Azure App Service succeeded.

 

Comment
There are no comments made yet.
Zhang JX Accepted Answer Pending Moderation
  1. Wednesday, 11 August 2021 00:39 AM UTC
  2. PowerServer
  3. # 4

Hi Hannu and all,

Just an update on my Azure App service hosting.

We have deployed the ERP application to Azure App service platform, faced some issues such as transaction/session timeout which I do believe nothing to do with the hosting platform itself.

The setup/configuration is quite simple and straightforward, just subscribe to App service, choose the region/datacenter, WIN or Linux O/S, and go. ==> for now, we have deployed the PS service to both Win and Linux O/S, seems no much different in terms performance.... well Linux hosting is 2/3 - 1/2 cost of Win platform.

Will update again after collecting more feedbacks.

Regards,

JX

Comment
  1. Armeen Mazda @Appeon
  2. Wednesday, 11 August 2021 00:45 AM UTC
Did you enable sticky cookies to the Web API Server? Here is example how to do it for IIS: https://docs.appeon.com/ps2021/bk04ch05s02.html

What are your session/transaction timeout values?
  1. Helpful
  1. Zhang JX
  2. Wednesday, 11 August 2021 01:03 AM UTC
Hi Armeen,

Previous setting at default:

>> Transaction timeout: 100 >> Session Timeout: 3600 >> Request Timeout: 3600

I have amended to double the value, to be: >> 200 / 7200 / 7200

Will monitor the situation to see any improvement or not.

Regards, JX
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Wednesday, 11 August 2021 02:01 AM UTC
Usually, the session timeout does not need to be more than default. But if the way your app is programmed the transactions last long time or problems with the code that the transaction never ends then it is very easy to hit the transaction timeout value of 100 seconds.
  1. Helpful
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.