When you finish developing and testing your solution, you can deploy the runtime application so it can be used by end-users. Solutions can be deployed to run locally on a stand-alone computer or embedded device, in a client-server distributed architecture, on the cloud, or using Hot-Standby Redundant systems.
This section explains the architecture of the solution deployment, including the relationship between the development and runtime environments. It reviews how to use the Execution Profiles feature, which allows the same Solution configuration file to be shared on the Development, Testing, and Production installations. This organization simplifies the maintenance and the quality assurance of your solutions.
On this page:
The development environment is where you design, configure, and test your Solution. It provides a comprehensive set of tools for building HMI, SCADA, and MES applications, including graphical editors, scripting support, and debugging capabilities.
The runtime environment, on the other hand, is where the deployed application runs and interacts with the actual devices, data sources, and end-users. It executes the solution's logic, collects and processes data, and manages the user interface based on the configuration created in the development environment.
The primary goal of the deployment process is to transfer the solution from the development environment to the runtime environment, ensuring that all necessary settings, configurations, and resources are correctly transferred and applied.
Execution Profiles enable you to manage different stages of your solution lifecycle efficiently. By using profiles, you can apply settings and configurations specific to the Development, Test, and Production environments without having to create separate solution files.
Each profile can have its own set of configurations, such as database connections, device communication settings, and user access permissions. This allows you to test and validate your solution in different environments without affecting the production system.
To leverage profiles effectively:
By using Execution Profiles, you can ensure a smooth transition between solution stages and minimize potential issues caused by environment differences.
FrameworX uses a client-server architecture on its execution processes.
Those Server and Clients processes can run on the same computer, when running both the data-acquisition and the graphical displays on the same computer, or you can have an Distributed System, where the Solution file in installed in a server, and remote clients, with no local installation of the process, can access the Graphical Displays and interact with communication with the server.
In this section, we will discuss various deployment architecture options and scenarios available in this software platform. Each scenario has its benefits and is suited for different situations, depending on factors such as network topology, available hardware, and performance requirements. Explore the following scenarios to find the best fit for your application:
By understanding the different deployment scenarios, you can choose the most suitable architecture for your specific application requirements and ensure a smooth deployment process.
Standalone deployment involves running both the development and runtime environments on a single computer. This scenario is ideal for small-scale applications, testing, and development purposes. In standalone mode, the application communicates directly with the devices and data sources, and end-users access the user interface locally on the same computer.
Edge and embedded deployment scenarios involve running the runtime environment on edge devices, such as industrial PCs, IoT gateways, or embedded systems. In this case, the application is deployed close to the data sources and devices, providing lower latency and reduced network traffic. This scenario is suitable for applications that require real-time data processing and decision-making at the edge of the network.
Client-server deployment involves running the runtime environment on a dedicated server, with multiple clients connecting to the server to access the user interface and interact with the application. This scenario allows for better resource utilization, centralized management, and improved scalability. In a client-server architecture, the server is responsible for data collection, processing, and execution of solution logic, while clients display the user interface and provide user interaction capabilities.
Redundant deployment involves running the runtime environment on multiple servers, with each server acting as a backup for the others. This scenario provides high availability and fault tolerance, ensuring that the application continues to operate even if one server fails. Hot-standby systems consist of primary and secondary servers, where the secondary server takes over if the primary server fails, ensuring minimal downtime.
Cloud deployment allows running the runtime environment on a cloud-based server, enabling improved scalability, flexibility, and reduced infrastructure costs. In this scenario, the application is hosted on a cloud provider, and clients can access the user interface and interact with the application through the internet. Cloud deployment also simplifies management and maintenance, as the cloud provider takes care of the underlying infrastructure.
The Secure WebGateway deployment scenario allows remote access to the application over the internet, without exposing the server directly to external networks. This approach provides enhanced security and enables remote monitoring, control, and management of the application. The Secure WebGateway acts as a proxy between clients and the runtime environment, handling authentication, encryption, and communication between the two.
This section guides you through the process of preparing your solution for deployment. It focuses on key considerations and best practices related to installation, licensing, and system requirements while referencing the relevant chapters in the product documentation for detailed information. The topics covered include:
This section summarizes the deployment process on various platforms, such as Windows, Linux, and Docker environments. It includes references to the specific documentation topics on installation steps and platform platform-specific instructions.
Platform Overview > System Requirements: introduces the various platforms and its requirement, where you can deploy your Solution solution.
Solution Development > Installation and Licensing: central point for details information on installation procedures.
Solution Development > installation and Licensing > Managing License and License Server setups presents the licensing methods.
Solution Development > Deploying the Application > Deployment Checklist and product models: Basic verifications when preparation to deploy in production, including if the License Family and Model in the Target Computer will be able to execute the model selected in your solution configuration.
In a production environment, a streamlined installation and configuration process is crucial. While detailed instructions for FrameworkX installation are available in the "Installation and Licensing" chapter, this section zeroes in on the Solution Configuration layer.
Running as a Service:
Setting up FrameworkX to run as a service ensures consistent and uninterrupted operation. You can view the setup in Service Verification page.
Server AutoStartup Options & Startup Parents:
These features enable automatic initialization of specific components and maintain parent-child hierarchies in the solution structure.
Embedded Devices:
Deploying FactoryStudio on embedded devices comes with its own set of challenges and benefits. Ensure you understand the nuances and considerations.
Redundancy Systems:
Designing a robust solution often involves setting up redundancy. Learn how FactoryStudio handles failover mechanisms and maintains data integrity. Please see the Redundancy Configuration page.
Additional Configurations:
Each production environment is unique. Dive deeper into specialized configurations tailored for specific use cases.
A solution is installed on the server as a single file, either the main configuration file (with the "tproj" extension ) or a read-only file (with the "trun" extension) if you have created one.
The Solution Management utility allows you to connect with remote servers and download the solution file to remote computers.
Although one file contains the entire solution configuration, you should use the following checklist to ensure that any external dependencies are also taken care of.
<< The description above is good. The Deployment checklist should not repeat all of it, in the other chapter, but must have a checkbox to Verify the Solution files installation, which points to this section. >>>>
<< Or the other way around, in this section describe the various scenario in a higher level, and add a link to the CheckList for the details >>>
Licensing:
Installation:
Web Server:
Product and License Details:
For more Information about product and license models, refer to Managing Licenses and Licensing and Activation pages.
This section focuses on setting up client displays for the application. It covers various client configurations, remote access options, and guidance on how to optimize the user experience for end-users. The topics covered include:
This section presents the setup and configuration processes for remote clients, including the various technologies support by the platform
Go to chid page <Remote Clients Setup> for detailed information.
FrameworX has the ability to automatically start the client application, either using .NET or HTML5, when it detects the Server is available.
The child page Display Client Types has information on how to configure and use that features.
This section summarizes aspects software platform, which addresses the importance of user authentication and security settings for client displays, role-based access control, secure communication protocols, and best practices for maintaining a secure client environment. It also includes the links on platform-specific security considerations for different client types.
Platform Overview > Security and Compliance: high level view of security and compliance features in FrameworX.
Solution Development > Security, Users and Roles: configuration of development and runtime users, definition of User Roles and access on Displays and Commands.
Solution Development > Security → Windows AD / LDAP Servers: explains about Active Directory integration and alternate security models for non-Windows targets.
Solution Development > Displays > (Need to create): explain how to customize the built-in Logon page for remote clients and operators.
Secure Multi-Port WebGateway: explains the built-in to route data across Network Security zones, and create application level protection for intrusions.
Discuss options for deploying and managing applications remotely, including any web-based tools or remote access features. Explain built-in tools and features for monitoring the performance and health of the deployed application, as well as troubleshooting any issues that may arise.
It's vital to regularly monitor your software's performance and health for reliability and optimal functionality.
Best Practices:
For strategies to optimize system performance, see our: Best Practices Guide
Troubleshooting:
For solutions to common challenges, refer to our: Troubleshooting Guide
Using these resources ensures that your FactoryStudio systems are robust and efficient.
Discuss strategies for managing version control and upgrading deployed applications, including any recommended workflows and tools.
Managing version control for Product core and Solution
Recommended workflows, tools and techniques.
Upgrading Deployed Applications
<< Mention Troubleshooting common issues with pointer to main chapter on that>
In this section: