New Project Deployment

  • Last update: 2025-03-19
  • Overview 

    Version 

    FineOps VersionFunctional Change
    V1.5.5/
    V1.5.6Redundant components including promtail, rocketmq_namesrv, and rocketmq_broker were no longer installed during deployment.
    V1.6.0

    1. To ensure the stability of the stored cluster log:

    • The Elasticsearch suite must be installed during the containerized deployment of a cluster, no longer an optional installation item.

    • Installed the Filebeat component on each project node when installing Elasticsearch.

    2. A help folder was created in the mounting directory of the project during deployment.

    V1.9.0Optimized the interactive effect of the deployment page.
    V1.10.0Optimized the deployment progress page by displaying the image pulling and component deployment progress separately.
    V1.11.0

    1. Relaxed the restrictions on project names by supporting English uppercase and Chinese characters.

    2. Supported the use of external shared directories as file servers for deploying new clusters.

    3. Allowed empty access paths in Project Setting.

    V1.14.0Changed the deployed configuration database component from MySQL 5 to MySQL 8.
    V1.15.0

    1. Allowed filling in an extranet IP address in Node Configuration to adapt to servers where intranet access was supported only when the intranet IP address was mapped to an extranet IP address.

    2. Allowed suspending deployment to stop the deployment and remove the operations made.

    3. Increased the default limit of Xmx of deployed FineBI components to reduce the risk of out-of-memory (OOM) kill error.

    • Before optimization: The default value of Xmx equaled machine memory minus 8 GB.

    • After optimization: The default value of Xmx equaled machine memory minus 10 GB.

    V2.0.0

    1. Lowered the resource requirements as the node_exporter, nginx_exporter, and elasticsearch_exporter components were deleted, whose functions were merged into the OPS Agent component, which could be used to collect the indicator information of the server and components.

    2. Deployed the FanRuan Internal Gateway component by default during standalone deployment to facilitate the subsequent SSL configuration and capacity expansion.

    V2.3.0

    1. Limited the number of application servers of FineOps-deployed projects, with five nodes as the upper limit.

    2. Supported the deployment of dual-node internal gateway components for FineOps-deployed cluster projects.

    3. Optimized the interaction of deploying a new project by adjusting the entry for configuring component ports, avoiding missing configuration checks.

    V2.4.0

    Supported the use of self-prepared Elasticsearch of 8.x and above versions.

    V2.6.0

    Added Environment Check to check the deployment environment and provide prompts.

    V2.7.1Supported the deployment of FineBI V6.1 projects.
    V2.8.0Added a server resource assessment for stability when deploying/loading multiple projects.

    V2.9.0 

    Supported the deployment of new projects with minimal resource demands in the Trial Environment, which was tailored for low-usage scenarios such as product trials and functional testing.

    V2.11.0 

    Deployed the Engine - Metadata Node and MinIO components of FineBI 6.1 projects on the first added main application node.

    V2.12.0 

    1. Added a Deployment Time Zone setting item in Project Setting, with validation in Node Configuration to ensure alignment between the server time zone and the deployment time zone.

    2. Added port conflict prompts and provided available port suggestions in Deployment List.

    V2.16.0 Renamed options in the drop-down list of FanRuan Internal Gateway (a basic component) in Project Setting to prevent confusion between a dual-node internal gateway and a cluster.
    V2.18.0 Supported the use of the self-provided S3 as the data storage service only. The self-provided shared storage directory was no longer supported. 

    Function Description 

    You can use FineOps to deploy and connect brand-new FineReport, FineBI, and FineDataLink projects.

    This document introduces how to deploy new FanRuan FineReport, FineBI, and FineDataLink projects using FineOps.

    icon

    Note

    :

    This document is designed for users with insufficient server resources or high port limits. 

    If you have prepared a new server with sufficient resources, see Quick Start.

    Preparation 


    ProcedureDescription
    1

    FineOps deployment

    Deploy FineOps.

    FanRuan applications rely on FineOps for deployment, which should be deployed in advance.

    2FanRuan product selection

    1. Know various types of O&M projects.

    FanRuan provides multiple products including FineBI, FineReport, and FineDataLink. Confirm the required product type.

    2. Understand the role of each component of O&M projects.

    The projects deployed by FineOps include projects, supporting external configuration databases, clustered components, O&M components, and so on. Understand the role of each component and determine whether to install them.

    3Server preparationPrepare the deployment environment for the selected product.
    • For FineBI project, see: 

    Confirming Server Configuration of the FineBI Project 

    Confirming Server Network of the FineBI Project

    Preparing the FineBI Mounting Directory

    • For FineReport projects, see:

    Confirming Server Configuration of the FineReport Project

    Confirming Server Network of the FineReport Project

    Preparing the FineReport Mounting Directory

    • For FineDataLink projects:

    Confirm the server configuration of the FineDataLink project. 

    Confirm the server network of the FineDataLink project. 

    Prepare the mounting directory of the FineDataLink project.

    4Image repository confirmation

    Confirm that the image repository supports the connection to the FanRuan cloud repository.

    Images are required to deploy components in a new project. Ensure that it is supported to pull images from the cloud or prepare images in the image repository.

    5

    FineOps Xmx configuration

    For details, see O&M Component Management

    Integrating projects with FineOps may consume some FineOps server resources. 

    The new project cannot be deployed if the configured FineOps resources are insufficient. It will prompt "The FineOps configuration has reached the upper limit, and no new projects are supported. Proceed as follows as soon as possible: Increase the Xmx value."

    1. Choose Platform Management > O&M Component, and click the Modify Configuration button of the OPS component. 

    2. Configure the Xmx value as prompted to ensure the new project can be deployed.

    New Project Deployment 

    This section introduces the operations of deploying a new project. Confirm all of the above before starting the deployment, otherwise, the deployment may fail!

    Adding a Project  

    Log in to FineOps as the admin and click Deploy New Project.

    icon

    Note

    :

    Connecting projects to FineOps may consume some FineOps server resources. By default, FineOps supports ten project nodes, including those in clusters.

    FineOps will connect to the new project deployed via FineOps automatically. If insufficient FineOps resources are detected, a prompt will appear during deployment.

    Adjust the configuration as instructed if the Deploy New Project button is grayed out with the message "The FineOps configuration has reached the upper limit, and no new projects are supported. Proceed as follows as soon as possible: Increase the Xmx value."

    Project Setting 

    On the Project Setting page, you can configure the project type, the component to be installed, and the port to be used.

    Enter the Project Setting page, fill in the relevant project information, and click Next, as shown in the following figure.

    The following table explains each configuration item.

    Information

    Description

    Project Name

    You can customize the project name.

    The project name cannot be empty.

    Only Chinese characters, English letters (upper and lower cases), and numbers are supported.

    The project name length cannot exceed 12 digits.

    The project name cannot be duplicated with an existing project name.

    Application Type

    FineOps 2.7.0 and earlier releases support FineReport, FineBI 6.0, and FineDataLink projects. 

    FineOps 2.7.1 and later releases support FineReport, FineBI 6.1, and FineDataLink projects.

    App Service Quantity

    A single FineReport/FineDataLink project can have one to five application service(s) deployed via FineOps.

    For a FineBI 6.1 project, an Engine - Metadata Node component must be deployed. The application services include BI applications and worker components, with a mandatory 1:1 or 1:2 ratio to balance the project.

    Path

    The access link of the application is Domain name/IP address/Path/decision.

    You can customize the path to access the application, which defaults to webroot.

    The path can include English letters and numbers or be left empty.

    icon

    Note

    :

    To access the project through a short domain name or IP address, you must keep Path empty. The configuration cannot be changed once the project is successfully deployed. The access path of the root directory corresponding to the project is http://IP address:Port number/root.
    Deployment Type This setting, added in FineOps 2.9.0 and later releases, enables the deployment of test projects in low-resource environments, suitable for minimal usage scenarios, such as product trials and function testing.
    • Formal Environment: The deployment environment is checked strictly following requirements for production environments to ensure normal functionality.

    • Trial Environment: Choose it with caution! Memory size and disk space of the server required for project deployment are not checked. Functionality is limited, and large data usage is restricted.

    Deployment Time Zone

    Enter the time zone used for deploying components in the standard IANA time zone format.

    You are advised to set it to the time zone of the project server.

    If the input value does not conform to the IANA time zone format, the system will prompt "Enter the correct time zone."

    Basic Component

    You can choose the components to install and decide whether to deploy FanRuan-prepared components and whether to access user-prepared componentsThe components that must be installed are not included here.

    Component

    Note

    Data Storage Service

    It is exclusive to FineBI 6.1 projects, used to store and share data resources within FineBI, ensuring accessibility from each node.

    1. You are advised to use a self-provided simple storage service (S3) such as Alibaba Cloud OSS, Huawei Cloud OBS, Amazon S3, and other cloud storage service systems.

    2. You can install one MinIO component on the first main application node of the project.

    icon

    Note

    :

    1. Starting from V2.18.0, the use of shared external directories as data storage services is no longer supported.  

    2. FineOps 2.18.0 and later releases allow you to change the data storage service. For projects using the shared external directory, you are advised to use an S3 component for data storage instead.  

    3. If MinIO is used as the data storage component, you are advised to format the server's disk with XFS. 

    FanRuan Internal Gateway

    1. FanRuan internal gateway has experienced custom development based on FanRuan business to balance user requests and improve performance. Therefore, self-provided gateways are not supported.

    2. You cannot configure SSL for single-application projects through FineOps if do not deploy the internal gateway component.

    3. The dual-node internal gateway consists of two independent nodes and does not operate as a cluster.

    Log Service

    For single-application projects, Swift (LogDB) that comes with the product will be enabled for log storage if you do not deploy a log service.

    For multi-application projects, you must use a self-provided Elasticsearch component if do not choose Deploy Elasticsearch, or else the project cannot be deployed.

    Elasticsearch 8.x and later releases are supported.

    The link address shall be in a format similar to https://lP address:Port number.

    File Service

    For cluster components, you must use a self-provided file server if do not choose Deploy MinIO, or else the project cannot be deployed.

    The supported file server types include SFTP, FTP, and shared external directories.

    You can log in to the project after it is successfully deployed and switch the file server as needed.  For details, see Introduction to MinIO File Server.

    External Configuration Database

    You must prepare an extra external configuration database if do not install the FineOps MySQL component, or else the project cannot be deployed.

    The supported database types include MySQL 5, MySQL 8, RDS MySQL, and Oracle. (MySQL 8 is not supported by V1.14.0 and earlier versions.)

    You can log in to the project after it is successfully deployed and switch the external configuration database as needed.

    State Server

    For multi-node projects, you must prepare an extra state server if do not deploy the FineOps Redis component, or else the project cannot be deployed.

    The supported state server types include Redis Standalone and Redis Cluster.

    You can log in to the project after it is successfully deployed and switch the state server as needed.

    Pipeline Task

    For FineDataLink projects, the functions related to pipeline tasks are unusable if the Kafka component is not installed.

    You can log in to the project after project deployment and connect to a self-provided Kafka. Only standalone Kafka or a single-node of Kafka clusters is supported. You cannot connect to a Kafka cluster through the load-balancing mechanism.

    Node Configuration - Adding Main Application Node 

    Proceed with node configuration after you have configured the required components and ports.

    Add a main application node and fill in the information of the main application server.

    icon

    Note

    :

    1. A multi-application project has multiple main application nodes, requiring repeated execution of operations described in this section.

    2. For FineBI 6.1 projects, the FineBI - Application Node and Engine - Calculation Node components are evenly deployed across all main application nodes, while the Engine - Metadata Node and FineBI MinIO components are deployed on the first added main application node. Therefore, ensure the first added main application node (server) has sufficient resources.

    1. Click Add Node, set Node Type to Main Application, fill in the information, and click Test Connection.

    The following table describes specific settings.

    Node Setting

    Description

    Node Type

    Select Main Application.

    icon

    Note

    :

    The FanRuan project requires an exclusive server. You are advised not to deploy other projects or contents, including FineOps on a main application server.
    Host

    Enter the host IP address (intranet IP address) of the node.

    icon

    Note:


    You cannot add a host repetitively to the same project. 
    PortEnter the port number of this node, which defaults to 22.
    Username

    Enter a server username with sudo permission.

    Verification Method

    The supported verification methods include Password and Public Key.

    icon

    Note:



    1. The password and the key are solely used for project deployment and are not required post-deployment. The connection between the project and FineOps relies on platform configuration. Therefore, subsequent changes to the server password will not impact O&M and monitoring.

    2. If public key authentication is selected, upload a private key file with the extension .key.pem, or .crt (for example, id_rsa.key). Do not upload private key files with other extensions or public key files such as id_rsa.pub.

    Mounting Path

    Enter the node installation directory on the server, which is the mounting directory set in the pre-preparation phase.

    The default directory is ~/data, which is the data folder in the home directory of the server being used.

    iconNote:
    You can use the user account to access the server in the terminal and enter the echo $HOME command to view the home directory.
    Extranet IP

    Optional

    If the server does not support intranet access unless the intranet IP address is mapped to an extranet IP address, you must fill in a connectable extranet IP address.

    2. Click Test Connection.

    If the host, username, and other information pass the verification, the main application node will be added. After you finish adding multiple nodes, the Node Configuration page is shown in the following figure.

    iconNote:

    1. If the network environment doesn't meet the requirements specified in the preparation phase, node connection errors occur prompting node-adding failure.

    2. If the server configuration doesn't meet the minimum requirements specified in the preparation phase, errors occur prompting node-adding failure.

    3. If the server time zone is inconsistent with the deployment time zone set in Project Setting, a pop-up will appear stating "The node time zone and the deployment time zone are inconsistent." You can click Modify Deployment Time Zone to adjust it.

    Node Configuration-Adding Component Node

    Add the component node, that is, to fill in the information of the component server. If you prepared multiple component servers, repeat operations in this section.

    1. Click Add Node, set Node Type to Component, and fill in the information.

    The following table describes specific settings.

    Node Setting

    Description

    Node Type

    Select Component.

    iconNote:

    1. If multiple component nodes are configured, the components are randomly deployed on these nodes.

    2. The FanRuan project requires an exclusive server. You are advised not to deploy other projects or contents, including FineOps on a component server.

    Host

    Enter the host IP address (intranet IP address) of the node.

    iconNote:
    You cannot add a host repetitively to the same project.
    PortEnter the port number of this node, which defaults to 22.
    Username

    Enter a server username with sudo permission.

    Verification Method

    The supported verification methods include Password and Public Key.

    icon

    Note:


    1. The password and the key are solely used for project deployment and are not required post-deployment. The connection between the project and FineOps relies on platform configuration. Therefore, subsequent changes to the server password will not impact O&M and monitoring.

    2. If public key authentication is selected, upload a private key file with the extension .key.pem, or .crt (for example, id_rsa.key). Do not upload private key files with other extensions or public key files such as id_rsa.pub.

    Mounting Path

    Enter the node installation directory on the server, which is the mounting directory set in the pre-preparation phase.

    The default directory is ~/data, which is the data folder in the home directory of the server being used.

    iconNote:
    You can use the user account to access the server in the terminal, and enter the echo $HOME command to view the home directory.
    Extranet lP

    Optional

    If the server does not support intranet access unless the intranet IP address is mapped to an extranet IP address, you can fill in a connectable extranet IP address.

    2. Click Test Connection.

    If the host, username, and other information pass the verification, the component node will be added. 

    icon

    Note:


    1. If the network environment doesn't meet the requirements specified in the preparation phase, node connection errors occur prompting node-adding failure.

     2: If the server configuration doesn't meet the minimum requirements specified in the preparation phase, errors occur prompting node-adding failure.

    Deployment List 

    Click Next to enter the Deployment List page for confirmation after completing the node configuration.

    In this step, you can adjust the component configuration, and FineOps checks server resources.

    1. You can adjust the component configuration.

    You can adjust the port, username, and password for each component on this page.

    icon

    Note:


    Be sure to modify the passwords of the MySQLRedisMinIOElasticsearchNacos, and Nacos MySQL components as their default passwords are randomly generated and cannot be modified after successful deployment.

    If you forget the username and password of relevant components, you can retrieve them by exporting deployment information. For details, see Exporting Project Deployment Information.

    2. FineOps checks server resources.

    FineOps automatically checks the available resources on each server according to the resources required by the components to be deployed.

    • If server resources, such as memory or disk space, are insufficient, a red prompt will appear and you cannot progress to the next step. You must expand server resources before re-deployment.  

    • If you use a non-root user for node deployment, ports below 1024 are unavailable in the Deployment List step, as non-root users lack the required permission.

    • The prompt "Component ports conflict. Adjust the configuration!" indicates that the specified port is either unavailable or shared by multiple components.

    FineOps automatically detects and lists available ports. You are advised to modify the port based on the prompt.

    Environment Check

    Click Start Inspection after configuration. FineOps will check the deployment environment and generate a report. You can download it to a local directory for viewing.

    If the deployment environment requirements are not met, the Start Deployment button will be grayed out, preventing deployment initiation. Adjust the configuration according to the inspection results and recheck the environment.  

    Starting Deployment 

    Click Start Deployment after the environment passes the check to start the deployment process.

    1. If local component images are unavailable, they will automatically be fetched from the cloud before deployment.

    2. The components are deployed one by one after the images are ready. Failure reasons will be displayed if the deployment fails.

    icon

    Note:


    1. You can click Run in Background during the deployment and perform other operations on FineOps normally.

    2, During deployment, you can click Suspend Deployment to stop the deployment and remove all operations made.

    3. Upon successful deployment, it prompts "The project was deployed successfully."


    Effect Display 

    FineOps-deployed projects are automatically shown on the Project Management page for easy operation and maintenance.

    The access address of the O&M project is shown on the project card. You can click it to access the address in a new browser window and enter the project initialization page.

    Attachment List


    Theme: FanRuan Project Deployment
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read