Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Audience

System Administrators

Version/ Date

v0.1 | Nov 25/2022

v0.2 | Sep 11/2022 - small edits

Collection

DHIS2 PSI SOPs

 Effective date

 

DHIS2 configurations are created and modified on designated development/testing environment. Only after a full testing cycle, and with the final approval from the product owner during UAT, they can be moved to a production environment.

Moving a configuration

Moving a configuration (DHIS2 Program or Dataset) consist in obtaining an export configuration file (also referred as metadata) in the form of a JSON file from the /wiki/spaces/DHM/pages/13271088, to be subsequently imported into another DHIS2 server, including the /wiki/spaces/DHM/pages/13271088.

Configuration (metadata) export

You can export a DHIS2 configuration by using the build-in metadata export, with dependancies, or PSI’s Program Configuration App (PCA). If you use the build-in metadata export, you will need to ensure that you exclude sharing data, Org Unit assignments and any other UIDs that may not exist in the production server. If you use the PCA, simply select ‘clean export’, option that produce a file that can be imported into any server.

Ensure that your destination server uses the same Default Cat Option/ Cat Combo/ Cat Option Combo - otherwise, edit your export file before attempting to import it.

Configuration (metadata) import

Very few users have the rights to import a metadata file into PSI’s production environment. The permission is only granted Global System Admins. You should test your metadata file in either PSI’s DHIS2 Clone or Staging /wiki/spaces/DHM/pages/13271088. If your program or dataset perform adequately, you should submit a request ticket to PSI’s help desk with the request “DHIS Production Deployment” . You can attach your source file to the ticket, or provide the link/name of the server and program/ dataset that needs to be moved.

Data move

Normally, there is no need to move data from a testing/staging environment to a production machine. If you need to move data, see [future link].

See also

Testing DHIS2 configurations and apps

https://psi.atlassian.net/wiki/pages/resumedraft.action?draftId=52723718

Versions

0.1

Nov 29/ 2022

R. Melia - first draft

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.