Author Topic: Running Sparx on Windows 10 multi session  (Read 10193 times)

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1084
  • Karma: +28/-8
    • View Profile
Running Sparx on Windows 10 multi session
« on: March 26, 2020, 02:34:17 am »
I know Sparx runs fine on Windows 10. However, does anybody know if it runs as well on Windows 10 multi session. According to https://docs.microsoft.com/en-us/azure/virtual-desktop/windows-10-multisession-faq:
"[Windows 10 multi session] formerly known as Windows 10 Enterprise for Virtual Desktops (EVD), is a new Remote Desktop Session Host that allows multiple concurrent interactive sessions."

Is anybody aware of any potential issues?

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Running Sparx on Windows 10 multi session
« Reply #1 on: March 26, 2020, 07:58:58 am »
From a quick read, if the profile management includes the users' registry hives and they're set to persistent you should be fine.  That would be fun to have a play with. 

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13274
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running Sparx on Windows 10 multi session
« Reply #2 on: March 26, 2020, 03:32:32 pm »
We tested that on both Windows 10 as Windows Server, and it works just fine.

Geert

BruceTOGAF2

  • EA User
  • **
  • Posts: 74
  • Karma: +0/-0
    • View Profile
Re: Running Sparx on Windows 10 multi session
« Reply #3 on: June 11, 2020, 02:45:05 am »
Is there a similar discussion about Running Sparx on an Azure Virtual Server?  What is the recommended architecture and Sparx product to support 20 simultaneous Sparx EA users on Azure?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13274
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running Sparx on Windows 10 multi session
« Reply #4 on: June 11, 2020, 03:15:37 am »
Is there a similar discussion about Running Sparx on an Azure Virtual Server?  What is the recommended architecture and Sparx product to support 20 simultaneous Sparx EA users on Azure?
We are running EA on Azure using WVD with 45 floating licenses.

No complaints so far.

Geert

BruceTOGAF2

  • EA User
  • **
  • Posts: 74
  • Karma: +0/-0
    • View Profile
Re: Running Sparx on Windows 10 multi session
« Reply #5 on: June 11, 2020, 11:24:00 pm »
When you run Sparx EA on Azure using Windows Virtual Desktop;
1. Is the Sparx EA client installed in each user's workstation?
2. Is the Sparx EA client installed once only in the Azure VM?
3. Are you using a Sparx Floating License Server?
4. Are you having an individual Sparx license number for each user?
5. Does the Sparx EA client 'Connect to Server' or Connect to Cloud'
6. Do you have an Azure RDS instance installed with the DB Server containing the Sparx Repository DB?
7. Are you using Sparx Cloud Service, Sparx Pro Cloud Server or neither?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13274
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running Sparx on Windows 10 multi session
« Reply #6 on: June 11, 2020, 11:43:43 pm »
When you run Sparx EA on Azure using Windows Virtual Desktop;
1. Is the Sparx EA client installed in each user's workstation?
No, EA is only installed on the Azure Virtual Machine, and exposed to WVD
Quote
2. Is the Sparx EA client installed once only in the Azure VM?
Yes, only once
Quote
3. Are you using a Sparx Floating License Server?
Yes, installed locally on the same Azure Virtual Server
Quote
4. Are you having an individual Sparx license number for each user?
No, we use floating licenses
Quote
5. Does the Sparx EA client 'Connect to Server' or Connect to Cloud'
They connect to an SQL server database
Quote
6. Do you have an Azure RDS instance installed with the DB Server containing the Sparx Repository DB?
The SQL Server is installed on a different Azure Virtual Server. We didn't choose for Azure SQL because of issues with the Active directory integration.
Quote
7. Are you using Sparx Cloud Service, Sparx Pro Cloud Server or neither?
Neither, we don't really have a use for the cloud server.

Geert

BruceTOGAF2

  • EA User
  • **
  • Posts: 74
  • Karma: +0/-0
    • View Profile
Re: Running Sparx on Windows 10 multi session
« Reply #7 on: June 16, 2020, 06:50:54 pm »
Hi Geert,

My client is moving from PostgreSQL in AWS to MS-SQL Server in Azure. I am considering the various architecture options.

There seems to be little benefit in the traditional archiecture of Sparx EA client and ODBC installed on each user's workstation.

The Sparx EA client installed once only in the Azure VM sounds like the ideal environment especially if this integrates well with the Floating License Server and Windows Active Directory. 
Does the Azure VM have to be a very high specification (memory and CPU) to enable 50 users to simultaneously run a Sparx session in the Azure VM?
Would this architecture support Sparx Pro Cloud Server?

In my last contract I created new Sparx users by importing users from Windows Active Directory.  Does this Azure VM environment complicate this import process?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13274
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running Sparx on Windows 10 multi session
« Reply #8 on: June 16, 2020, 09:10:50 pm »
At this one client (45 floating licenses) we definitely didn't go for the highest tier.
I don't know the details, but I believe they went for a specification just above the minimal, something like 8 core 16 MB ram for the server hosting EA

With v15.1 you don't even have to import users from Active Directory, you can simply link EA groups to AD groups.
Users are then automatically added/removed when they try to log-on.

Apparently there is an option to "merge" (federate?) your local AD with the Azure AD. For some reason (external companies maintaining the infrastructure) they wasn't finished in time, so we had to setup a separate users for our Azure environment. With proper planning (and a cooperative sub-contractor :-X) this could be avoided (or so I have been told, I'm not a specialist)

Pro Cloud Server can also be installed in Azure, but it seems logical to do that on another VM.

Geert

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1356
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Running Sparx on Windows 10 multi session
« Reply #9 on: May 16, 2022, 06:47:52 pm »
Hello,

A client is looking at moving from an On Premise EA + central DBs to a full Cloud solution using Ms Azure services to host both the DB and EA application.
- EA will no longer have to be installed and updated on each user's PC
- It will be possible to install and provide third party add-ins (like EA, it won't have to be installed on each PC)

I gathered some answers from this thread i.e. I understand that Azure Virtual Desktop works well to run EA.
For the DB, has anyone successfully used Azure SQL to host the EA dbs, and connect from EA via the Pro Cloud Server ? What are the alternatives in Azure,  MySQL ?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13274
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running Sparx on Windows 10 multi session
« Reply #10 on: May 16, 2022, 07:13:43 pm »
Hello,

A client is looking at moving from an On Premise EA + central DBs to a full Cloud solution using Ms Azure services to host both the DB and EA application.
- EA will no longer have to be installed and updated on each user's PC
- It will be possible to install and provide third party add-ins (like EA, it won't have to be installed on each PC)

I gathered some answers from this thread i.e. I understand that Azure Virtual Desktop works well to run EA.
For the DB, has anyone successfully used Azure SQL to host the EA dbs, and connect from EA via the Pro Cloud Server ? What are the alternatives in Azure,  MySQL ?

Thanks

I believe Azure SQL works for EA, but the problem (a few years ago) was that we couldn't get the security based on our Active directory working for Azure SQL.
We opted back then to install an SQL server in Azure.
If in fact Azure SQL fully supports AD security, or you can live with SQL Server logins, you can definitely use Azure SQL.
We don't use PCS

Geert

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1356
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Running Sparx on Windows 10 multi session
« Reply #11 on: May 16, 2022, 07:29:23 pm »
Hi Geert,

Thank you for the information. If I understood well, the AD issue was related with the access from EA to the Azure DB via ODBC, not with the EA Security pemission itself.
Since we will use the PCS, I believe that SQL user logins will be used for the ODBC access from the PCS. EA will connect via the "Cloud Connection" to the PCS via https.

Thanks
Guillaume
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13274
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Running Sparx on Windows 10 multi session
« Reply #12 on: May 16, 2022, 07:37:42 pm »
Hi Geert,

Thank you for the information. If I understood well, the AD issue was related with the access from EA to the Azure DB via ODBC, not with the EA Security pemission itself.
Since we will use the PCS, I believe that SQL user logins will be used for the ODBC access from the PCS. EA will connect via the "Cloud Connection" to the PCS via https.

Thanks
Guillaume
Yes indeed.

Geert

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1084
  • Karma: +28/-8
    • View Profile
Re: Running Sparx on Windows 10 multi session
« Reply #13 on: May 16, 2022, 07:43:20 pm »
Hi Guillaume,

A service account is used to run the PCS windows service, this service account must have permissions to access the repository. Your client is going to have to run PCS on a server VM, so having PCS and SQL Server running on the same VM makes sense and will work fine.

If model security is a requirement, AD is the easiest way to achieve this on Azure but your client could use Sparx EA users (not that I recommend it).

From memory, Azure SQL supports AD but I have never had Sparx EA and PCS running on an environment architected the way you described.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1356
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Running Sparx on Windows 10 multi session
« Reply #14 on: May 18, 2022, 03:37:06 pm »
Thanks for your feedback
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com