You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/man2rwl/oltpsetup.2rwl
+25Lines changed: 25 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -662,6 +662,31 @@ If the procedure is not declared, the following will be used
662
662
.P
663
663
implying rwloadsim will be started locally.
664
664
This is always used for process number 1, as it must run locally.
665
+
.SH "REMOTE REPORT REPLICATION"
666
+
.P
667
+
When \fBrwloadsim\fR is running on a machine that cannot host a webservice, it may be useful to replicate the report data to a remote machine. This can be achieved by setting the \fBawr_replication_cmd\fR parameter to a custom command that replicates the data after the report is generated. By default, \fBawr_replication_cmd\fR is not set, so no replication occurs.
668
+
.P
669
+
If \fBawr_replication_cmd\fR is defined, it will be executed each time a report is generated, allowing automated replication to the specified remote machine. The command typically uses \fBrsync\fR to securely copy the report data. Below is an example of how to configure \fBawr_replication_cmd\fR with \fBrsync\fR:
- \fB-avz\fR options enable archive mode (preserving file permissions, timestamps, etc.), verbose output, and compression during transfer.
681
+
.IP
682
+
- \fB-e\fR specifies the SSH command, here with a custom identity file (\fI/path/to/identity\fR).
683
+
.IP
684
+
- \fB--rsync-path\fR is used to ensure that the remote directory structure exists by creating the necessary directories with \fBmkdir-p\fR before starting the transfer.
685
+
.IP
686
+
- The path variables \fI$subdir\fR and \fI$runnumber\fR dynamically set the subdirectory and run number for replication, creating an organized directory structure on the remote machine.
687
+
.P
688
+
This approach ensures that the report data is replicated to the specified path on the remote host, facilitating centralized data access even when \fBrwloadsim\fR is executed on a machine without webservice capabilities.
689
+
665
690
.SH "SAVING PASSWORDS IN KEYRING"
666
691
If you have gnome keyring available, you can use that to save passwords rather than having them
0 commit comments