Inter-Server Synchronization version 2
If you have more than one Uyuni installation, you will need to copy contents between servers. Inter-Server Synchronization (ISS) allows you to export data from one server (source) and import it on another (target) server. This is useful for hub deployment scenarios or disconnected setups.
1. Install Inter-Server Synchronization packages
To use ISS you need to install the inter-server-sync
package on source and target servers.
2. Content synchronization
Use |
-
On the source server, on the command line execute the ISS export command. The
-h
option provides detailed help:inter-server-sync export -h
The export procedure creates an output directory with all the needed data for the import procedure.
-
Contents from the source server needs to be synchronized to the target server. On the command line, as root, execute:
rsync -r <PATH_EXPORTED_DIR> root@<TARGET_SERVER>:~/
When all contents is copied, start importing it.
-
On the target server, on the command line execute the ISS import command. The
-h
option provides detailed help:inter-server-sync import -h
3. Database connection configuration
Database connection configuration is loaded by default from /etc/rhn/rhn.conf
.
Properties file location can be overridden with parameter --serverConfig
.
4. Known limitations
-
Source and target servers need to be on the same version.
-
Export and import organization should have exactly the same name. The organization name is case sensitive.