Versions Compared

Key

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

eUpdating a program on the sites or on the main office assumes the following stages:

  1. Create an update package of an application.

  2. Upload (publish) the update package into Replicator.

  3. Specify the sites to which the update must be delivered and set the installation time.

Create APM Update Package

To create the APM update package, follow the steps below:

  1. Run the APM setup wizard. In the Install mode dialog, select the Generate update package option:

    Image Added

    Click Next to continue.

  2. In the Choose Adonis Personnel Manager Location dialog, define the directory for saving the update package:

    Image Added

    Click Generate to generate the package.

  3. Wait until the package is generated:

    Image Added

    When completed generating, click Next to continue.

  4. When done, the following dialog appears:

    Image Added

    Click Finish to close the wizard dialog.

Take a minute to watch the following video that will guide you through the procedure of how to create the APM update package:

...

Create APP Update Package

To create the APP update package, follow the steps below:

  1. Open a command line application and enter the following commands:

    start /D <path_to_the_folder_with_the_installation_set> <path_to_APP_installer.exe> /CAB /I=Prod (where I indicates the APP instance name)

    start /D H:\Adonis\Replicator\APP_distribute_via_Replicator AdonisPortalInstall_v2021.10.0.102.exe /CAB

  2. Press Enter.

As a result, the CAB update package will be generated and available in the defined folder: AdonisPortalInstall_v2021.10.0.102.cab.

Distribute and Install Update Package

To publish the update package in Replicator Manager, follow the steps below carefully:

  1. On the left-hand side pane, select the service to which you got connected and navigate to Updatable programs:
    Image Added

  2. Within the Updatable program's workspace, click the Publish update button. The Open dialog then appears on the screen:

    Image Added

  3. Select the CAB file of the program you want to update and click Open to load the file to Replicator Manager. Once clicked, the package publishing is started. If the package is successfully published, you are notified respectively:

    Image Added

  4. Select the sites to which the update package is to be delivered:
    Image Added

Info

Based on whether you want to deliver an update package to a single site or a multiple of them, you can select a single row or a multiple of them accordingly.

Selecting the site(s) enables the Set Install Time button. Click the button to open the Set Update Install Time dialog:

...

Within the dialog, specify the update install time by setting one of the options:

  • Do not install the update automatically. Select the option to deliver the update package without auto-update.

  • Install update as soon as it is delivered to the site. Select the option to allow updating once it is delivered to the sites.

  • Install at a specified date and time. Select the option and specify the date and time values for the update installed on the sites.

Once done, click Ok to apply the changes.

As a result, the update package will be delivered to the selected site(s), and the update will start at the specified time or as soon as the update package is delivered to the site(s). Besides, you must set the connection parameters to the affected site(s) that have been correctly set. For more information, see Set Parameters For Sites.

Take a minute to see the video that will guide you through the procedure of distributing and updating install packages:

...

Anchor
Set_Parameters_for_Sites
Set_Parameters_for_Sites
Set Parameters For Sites

After the program is installed, it is necessary to specify parameters for the Site(s). 

To specify the parameters, follow the steps below:

  1. On the left-hand side pane, select the service to which you got connected and navigate to Updatable programs.

  2. In the Updatable programs node, select the plugin/program to be affected. Right under the selected program/plugin, select Update parameters/Plugin parameters accordingly.

  3. In the Update parameters workspace, select the Site for which you want to add parameters and click the Add button. Clicking the command displays the Add new command dialog where you can enter the parameters one by one:
    Image Added

  4. On entering, click OK to proceed.

Below, you will find the description of the parameters required for both APM and APP.

For APM, the following parameters are required:

Name

Value

APM_FOLDER

Specify the application installation path.

SERVER_NAME

Enter the server name.

DATABASE_NAME

Enter the database name to be used.

USER_NAME

Enter the APM username.

Password

Define the database password.

...

Note

Before updating APM, make sure the following conditions are met:

  • Adonis Control Center is not running.

  • The APM login page is not open.

  • Adonis Replicator task types and tasks are active. In APM, navigate to the Setup tab > Adonis Replicator. In the Adonis Replicator workspace, switch to Replication Tasks and make sure thefollowing tasks are set to Active:

    Image AddedImage Added

    In the Adonis Replicator workspace, switch to Task Direction Types and make sure the following types are set to Active:

    Image Added

    In the Adonis Replicator workspace, switch to Task Types and make sure all the types are set to Active:

    Image Added

Info

If APM is running and Replicator makes an attempt to perform an auto-upgrade, a warning message prompting you to save any changes will be displayed on the screen, and APM will be terminated:

Image Added

For APP, the following parameters are required for the remote installation/upgrade:

Name

Value

REMOTE_SERVER

Specify the name or IP address of the server where to update APP

REMOTE_SERVER_LOGIN

Enter Windows login with admin access rights for \\server\Admin$ resource

REMOTE_SERVER_PASSWORD

Enter the password of the REMOTE_SERVER_LOGIN user

For more information on the remote installation/upgrade, refer to Remote Installation / Update.

Info

Passwords for user AD_UPGRADE must match. Otherwise, the APP site will be upgraded, but the database will remain unchanged.