The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
What is the functionality of ESD service & FSG service on App Portal server.
1. We will be creating 2 App Portal Web servers & connect load balancer to it. will App Portal supports 2 Web servers connected via Load balancer?
2. Simultaneously2 ESD services will update the records in Database which will be common (only one database server). will it work properly?
3. App Portal daily syncs with SCCM as per time we have set up. in our new environment how can we handle this where we will be having 2 Web servers & one common database server?
4. if we stop the ESD service on one server then how application will function on this server?
5. How Flexera Serviced Gateway works? do we need to install FSG on both App Portal server? if we stop FSG on one server then how will it work?
‎Aug 28, 2019 01:45 AM
‎Aug 28, 2019 07:26 AM
‎Aug 28, 2019 07:26 AM
@CharlesW Thank you very much for the detailed elaboration. much appreciated!
So App Portal administration (like changin settings, adding Catalogs) will be done from only one server on which ESD service & FSGService is running & the other server will be just to share the extra load?
‎Aug 29, 2019 04:13 AM
@CharlesW wrote:
1. If you install multiple instances of App Portal, each tied to the same DB, then you need to ensure that the ESD Service is shut down on one instance.. You can only have one instance of the ESD Service running against a given App Portal DB. Beyond that, App Portal would not really know that it is being load balanced. I’m not aware of any special configuration which needs to be done from an App Portal perspective.
The other thing to be aware of is that some files get written to the web server during the course of operations (e.g. when you add a new icon or upload a new command script). In addition to ensuring that the ESDService is disabled on all nodes except one, you also need to set up some kind of directory synchronization process that will keep those files/folders in sync across the multiple App Portal nodes. One way you could do this would be to use the mirror capability of Robocopy set up as a Windows scheduled task. If you don't do this, then any time you are accessing a web server that isn't the one where the file was uploaded, you won't see your icons on the catalog items (missing image) or you won't be able to execute the command scripts that may be tied to your workflow events.
@CharlesW wrote:
5. You only need a single gateway... FNMS registers with the gateway to advertise its web service API calls.. App Portal queries the gateway to find out if FNMS is registered... If FNMS has registered with the gateway, then App Portal knows where FNMS is located. The location of the gateway is written to the App Portal DB. As such, any instance of App Portal will know how to find the gateway from the database.
I'll qualify Charlie's response a bit. Within Flexera Services, we normally install the FSG role on the App Portal server. In a load-balanced configuration, you may want to install the FSG role on each node and register FNMS with both FSG's. Then when you configure the FSG server within App Portal, you can specify "localhost" instead of the actual server name. This will allow each node to look for the FSG role locally when querying for the FNMS endpoint. If you only install the FSG on one server, then if that server goes down, you lose your resilience that you've added by load-balancing the App Portal server. This isn't strictly required, but something to consider.
Note: The FSG is really only used to lookup the endpoint URL's for other Flexera products on the network, and that only happens when you save/refresh the settings on that Flexera Integration page. Once the endpoint is looked up, the endpoint URL is saved in the database and reused each time it's needed until you save the settings on that page again. Then we do the lookup again and save the new results to the database. So strictly speaking, once you've configured the FSG and see the endpoints listed in the Flexera Integration settings UI, you don't really need the FSG role again unless you change settings on that page and save them.
‎Aug 29, 2019 09:54 PM