Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
English us

With Replica 365 you can replicate Business Central (“BC”) tables to Azure Table Storage (“ATS”). In ATS you can store large amounts of data. You can use ATS to query on this set of data using applications like Excel and PowerBI. ATS scales it’s tables automatically as your demand increases.

Replicating your BC tables to ATS will lower the impact on your BC environment, so that your BC environment is not experiencing a significant load when a lot of data is requested for reports. Because the BC data is already available in ATS, reports will also be loaded faster. From ATS you can also use the data as a source for your BI environment, for example in Azure SQL or in your Data Warehouse.

Use the Replica 365 Setup page to configure the app.

...

English us

Prerequisites

  1. A Microsoft Azure environment and Microsoft account with sufficient (admin) permissions to create a Storage account in Microsoft Azure;

  2. A Microsoft Azure Subscription (this may also be a free trial);

  3. The costs for Azure Table Storage can be determined approximately as follows:

    1. Determine the BC tables you want to replicate, by opening the BC page [Table Information]

      1. The column “Data Size (KB)” shows the size in KB’s for each table;

      2. Filter on the tables you are planning to replicate;

      3. Calculate the Sum of the column “Data Size (KB)” for all tables you are planning to replicate.

image-20240326-102043.png
Use the page Table Information to calculate the expected storage space.
  1. Calculate the price for ATS using Microsoft’s Data Storage pricelist. Attention: There is a fee for each GB of data that is being stored in ATS + a fee that’s calculated based on the number of transactions.

Microsoft Azure Setup and Preparations

  1. Setup a Storage account in Microsoft Azure

  2. Setup a Shared Access Signature (“SAS”) and secure the key

1. Setup a Storage account in Microsoft Azure

  1. Sign in to the Azure Portal: https://portal.azure.com

  2. Open the menu on the left side of the screen and click on “Storage accounts”

  3. Click on “Create”

image-20240326-101425.png
Create a new Storage account
  1. The wizard “Create a storage account” opens

    1. Page “Basics”:

      1. Choose a Subscription

      2. Create a new Resource group, for example “BusinessCentralData”

      3. Choose a Storage account name, for example “businesscentraldata”

      4. Choose a Region where you want the data to be stored

      5. Performance: for Replica 365, the “Standard” option is sufficient

      6. Redundancy: the option “Locally-redundant storage” (LRS) is sufficient. If needed, choose “Geo-redundant storage storage” (GRS)

    2. Click on the “Review + create” button

image-20240326-110017.png
Create a new storage account
  1. Once the setup is validated, click on “Create” to proceed with creating the storage account

image-20240326-110151.png
After validation, click on “Create” to create the storage account
  1. Deployment of the storage account starts. Wait untill this process is finished before proceeding. It should not take longer then a couple of minutes.

image-20240326-110415.png
Wait untill the deployment process is finished before proceeding.
  1. Once the deployment is finished, proceed by clicking the “Go to resource” button

image-20240326-110626.png
Go to the resource proceed by clicking the “Go to resource” button

2. Setup a Shared Access Signature (“SAS”) and secure the key

  1. On the left hand menu, click on the “Shared access signature”. This can be found under “Security + networking”

image-20240326-111048.png
Choose “Shared access signature”
  1. Make sure the Shared access signature is configured as follows:

    1. Allowed services: Check all options“Table”

    2. Allowed resource types: Check “Container” and “Object”

    3. Allowed permissions: Check all options

    4. Blob versioning permissions: Check all options

    5. Allowed blob index permissions: Check all options

    6. Start date: Leave as is

    7. End date: <Start date> + 1 year. //war

    8. Allowed protocols: “HTTPS only”

    9. Preferred routing tier: “Basic (default)”

    10. Signing key: “key1”

Note

Do not forget to create a reminder / task to yearly renew the SAS!

  1. Click on the button “Generate SAS and connection string”

image-20240326-143124.png
Configure Shared access signature
  1. Make sure to securely store the generated “Table service SAS URL” in your password manager. You can’t recover those once this page has been closed.

    1. Table service SAS URL: Copy and secure the entire string

image-20240809-093512.png
Securely store the generated Table service SAS URL

Business Central Setup

  1. Sign in to Business Central

  2. Search for the page “Replica 365 Setup”

image-20240326-150159.png
Open the page “Replica 365 Setup” to configure Replica 365
  1. Enter the following values in the setup page:

    1. Table Service SAS URL: The value of “Table service SAS URL”

    2. Enable Error Logging if needed

image-20240809-093806.png
Replica 365 Setup page
  1. Choose the Processor for replication of records:

    1. We advice Job Queue for tables with a limited number of records

    2. And Task Scheduler for tables wit a larger number of records

Tip

Setup is now completed. Close the page and proceed to the Replica365 User Manual to configure the to be replicated tables.

Dutch

Voorbereidingen

  1. Een Microsoft Azure-omgeving en Microsoft-account met voldoende (admin)rechten om een Storage-account aan te maken in Microsoft Azure;

  2. Een Microsoft Azure-abonnement (dit kan ook een gratis proefperiode zijn);

  3. De kosten voor Azure Table Storage kunnen ongeveer als volgt worden bepaald:

    1. Bepaal de BC-tabellen die je wilt repliceren door de BC-pagina [Tabelinformatie] te openen

    2. De kolom “Gegevensgrootte (KB)” toont de grootte in KB’s voor elke tabel;

    3. Filter op de tabellen die je wilt repliceren;

    4. Bereken de som van de kolom “Gegevensgrootte (KB)” voor alle tabellen die je wilt repliceren.

image-20240326-102043.png
Gebruik de pagina Tabelinformatie om de verwachte opslagruimte te berekenen.
  1. Bereken de prijs voor ATS met behulp van de Data Storage-prijslijst van Microsoft. Let op: Er geldt een vergoeding voor elke GB aan data die in ATS wordt opgeslagen + een vergoeding die wordt berekend op basis van het aantal transacties.

Microsoft Azure Setup en Voorbereidingen

  1. Stel een Storage Account in Microsoft Azure in

  2. Stel een Shared Access Signature (“SAS”) in en sla de key veilig op

1. Stel een Storage account in Microsoft Azure in

  1. Meld aan in het Azure Portal: https://portal.azure.com

  2. Open het menu aan de linkerzijde van het scherm en klik op “Storage accounts”

  3. Klik op “Create”

image-20240326-101425.png
Create a new Storage account
  1. De wizard “Create a storage account” opent

    1. Pagina “Basics”:

      1. Kies een Subscription

      2. Creeër een nieuwe Resource group, bijvoorbeeld “BusinessCentralData”

      3. Kies een Storage account naam, bijvoorbeeld “businesscentraldata”

      4. Kies een Regio waar de data opgeslagen dient te worden

      5. Performance: voor Replica 365 voldoet de “Standard” optie

      6. Redundancy: Kies hier De optie “Locally-redundant storage” (LRS) volstaat. Indien gewenst kan er gekozen worden voor “Geo-redundant storage storage” (GRS).

    2. Klik op de “Review + create” button

image-20240326-110017.png
Creeër een nieuw storage account
  1. Wanneer de setup gevalideerd is, kun je klikken op “Create” om door te gaan met het maken van het opslagaccount.

image-20240326-110151.png
Na validatie kun je klikken op “Create” om het storage account aan te maken.
  1. Deployment van het storage account start. Wacht tot dit proces voltooid is alvorens verder te gaan. Dit zou niet langer moeten duren dan enkele minuten.

image-20240326-110415.png
Wacht tot het deployment proces voltooid is
  1. Wacht tot het deployment proces is voltooid voordat je verder gaat. Klik daarna op “Go to the resource”

image-20240326-110626.png
Go to the resource

2. Stel een Shared Access Signature (“SAS”) and sla de key veilig op

  1. Klik in het menu aan de linkerkant op “Shared access signature”. Deze kun je vinden onder “Security + networking”

image-20240326-111048.png
Kies voor “Shared access signature”
  1. Configureer de “Shared access signature” als volgt:

    1. Allowed services: Vink alle opties alleen “Table” aan

    2. Allowed resource types: Vink “Container” en “Object” aan

    3. Allowed permissions: Vink alle opties aan

    4. Blob versioning permissions: Vink alle opties aan

    5. Allowed blob index permissions: Vink alle opties aan

    6. Start date: Laat de waarde staan

    7. End date: <Start date> + 1 jaar.

    8. Allowed protocols: “HTTPS only”

    9. Preferred routing tier: “Basic (default)”

    10. Signing key: “key1”

  2. Klik tenslotte op de knop “Generate SAS and connection string”

Note

Vergeet niet om een herinnering of taak aan te maken om jaarlijks de SAS token te vernieuwen!

image-20240326-143124.png
Configure Shared access signature
  1. Zorg ervoor dat je de gegenereerde “SAS-URL van Table service” veilig opslaat in je wachtwoord manager tool. Je kunt deze niet meer herstellen nadat deze pagina is gesloten.

    1. Table service SAS URL: Kopieer deze gehele waarde

image-20240809-093458.png

Sla de SAS token and Table service SAS URL op een veilige plaats op

Business Central Setup

  1. Meld aan in Business Central

  2. Zoek naar de pagina “Replica 365 Setup”

image-20240326-150159.png
Open de pagina “Replica 365 Setup” om Replica 365 te configureren
  1. Voer de volgende waarden in op de setup page:

    1. Table Service SAS URL: De waarde van “Table service SAS URL”

    2. Activeer Error Logging indien gewenst

image-20240809-093840.png

Replica 365 Setup page
  1. Kies de gewenste Processor voor berichten met te repliceren records

    1. We adviseren Job Queue (Taakwachtrij) voor tabellen met een beperkt aantal records

    2. En Task scheduler voor tabellen met een groter aantal records

Tip

Setup is nu voltooid. Sluit de pagina en ga verder met Replica365 User Manual om de te repliceren tabellen in te richten.