Skip to main content

i4connected Knowledge Base

i4connected Server

Abstract

Check out these articles in order that you can learn how to configure the i4connected Server and organize all the necessary settings to ensure the best-i4connected experience.

  1. In case you haven't performed this step earlier, please copy the Server files on your local machine.

    Server_file.jpg
  2. Next, open the i4connected Server folder and identify the WEBfactory.DWH.Server.exe.config file. Open it with an editor tool and add the correct connection strings for SSAS and SQL.

    Server_file_setup.jpg
Effective Permissions
Abstract

In order that the i4connected effective permissions to be applied to your i4connected portal please follow the RabbitMQ installation and configuration guidelines.

The new i4connected security model enforces a new set of permissions, also known as Effective Permissions. The Server settings for them are stored under the WEBfactory.DWH.Server.exe.config file and can be customized by the user, as follows:

  1. Open the i4connected Server file WEBfactory.DWH.Server.exe.config with an editor tool and proceed with the following settings, under the Effective Permissions section:

    Note

    In case no custom changes are needed, RabbitMQ Server will take the default values for Effective Permissions, which are:

    RabbitMQServer.jpg
    • "rabbitMQ:BulkCopyTimeout" value="00:15:00"

    • "rabbitMQ:SqlOperationTimeout" value="00:15:00"

    • "rabbitMQ:Uri" value="amqp://user:pass@localhost:5297/vs"

    • "rabbitMQ:EffectivePermissionsExchange" value="effective.permissions"

    • "rabbitMQ:EffectivePermissionsQueueName" value="effectivePermissions"

    • "rabbitMQ:RetryTimeout" value="00:05:00"

    However, in case the RabbitMQ Server will be used for more than one i4connected installation, these settings need to be customized for each i4connected setup.

    1. rabbitMQ:BulkCopyTimeout - the custom timeout value for copying the bulk data publishing .

    2. rabbitMQ:SqlOperationTimeout - the custom timeout value for the SQL operation.

    3. rabbitMQ:Uri - the Url pointing towards the RabbitMQ Server.

      Tip

      The Url will be formatted as follows: amqp://user:pass@host:port/vs.

    4. rabbitMQ:EffectivePermissionsExchange - the name of the RabbitMQ Exchange

      Important

      In case you are using your own RabbitMQ server, please provide the WEBfactory team with the name of your RabbitMQ Exchange.

      Please also make sure that yourRabbitMQ Exchange meets the following requirements:

      • Exchange Type - Direct

      • Exchange Durability - Durable

      • Exchange Auto delete - No

    5. rabbitMQ:EffectivePermissionsQueueName - the name of the Queue configured in the RabbitMQ Server application.

    6. rabbitMQ:RetryTimeout - the custom timeout value for retrying the data publishing.

  2. Make sure that the respective lines are enabled (uncommented).

Starting the Server
Abstract

Check out this article and learn more details about the last needed steps in the i4connected installation guide and how to start the server.

After processing all the previous steps, you are now ready to start the i4connected server, as follows:

  1. Open the Command Prompt with Administrative rights and execute the below command line:

    sc create "<Server Name>" start=auto binPath="<Directory>"

    Tip

    The above command will ensure that the server is rolled as a service.

  2. The server will be started and the i4connected application should be up and running.