20.16. kb-00015: Convert Isolated Install to Production Mode¶
20.16.1. Knowledge Base Article: kb-00015¶
The quickstart documentation suggests setting up an
Isolated mode installation for
quick PoC and Trial testing. Should you want to convert to a system managed
install mode, RackN recommends you re-install from scratch. However, the below article
may help you convert or migrate should you choose to not do a fresh install.
There currently is no officually supported migration tool to move from an
Production install mode. However, any existing customizations, Machines, Leases,
Reservations, Contents, etc. can be moved over from the Isolated install directory structure
to a Production install directory, and you should be able to retain your Isolated mode environment.
All customized content is stored in the following default subdirectories as:
drp-data/in the Current Working Directory the installation was performed in
The contents and structure of these locations is the same. Follow the below procedure to safely move from Isolated to Production mode.
backup your current
tar -czvf /root/drp-isolated-backup.tgz drp-data/)
perform fresh install on same host, without the
follow the start up scripts setup - BUT do NOT start the
dr-provisionservice at this point
drp-data/*directories recursively to
unalias cp; cp -ra drp-data/* /var/lib/dr-provision/)
make sure your startup scripts are in place for your production mode (eg:
start the new production version with
systemctl start dr-provision.service
verify everything is running fine
drp-datadirectory (suggest retaining the backup copy for later just in case)
As of DRP Version v4.3.0, content writable objects are no longer stored in raw JSON files in these directories. They have been moved to new WAL (write-ahead-log) journalled database objects.
If you install a new version of the Digital Rebar Provision service, you
must verify that there are no Content differences between the two versions. Should
dr-provision service fail to start up; it’s entirely likely that there may be
some content changes that need to be addressed in the JSON/YAML files prior to the
new version being started. See the Upgrade and Downgrade DRP notes for any version-to-version
20.16.4. Additional Information¶
Additional resources and information related to this Knowledge Base article.
184.108.40.206. See Also¶
v3.x to v4.3.0, but not including v4.3.0
dr-provision, isolated, production, migration, conversion
220.127.116.11. Revision Information¶
KB Article : kb-00015 initial release: Wed Jun 10 11:20:19 PDT 2020 updated release: Wed Jun 10 11:20:19 PDT 2020