Skip to content

Commit

Permalink
reorder so we rsync from low side before sshing to high side
Browse files Browse the repository at this point in the history
  • Loading branch information
kincl committed May 1, 2024
1 parent 751d9d0 commit 819b62c
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions content/modules/ROOT/pages/lab03.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,55 @@ Examples of alternative _image registries_ include.

The tasks in this lab include:

{counter:overview}. Connecting to the [.highside]#highside# system and proving that its disconnected

{counter:overview}. Transfering the installation content to the [.highside]#highside# system using `rsync`

{counter:overview}. Connecting to the [.highside]#highside# system and proving that its disconnected

{counter:overview}. Installing the `mirror-registry`

* Trusting the generated TLS certificate
* Logging in and creating a _pull secret_

{counter:overview}. Uploading the `.tar` file's contents into the `mirror-registry`

== Moving the installation content onto highside

[WARNING]
Ensure that your `oc mirror` command has completed successfully before proceeding with this lab.
You can confirm the mirroring has finished by looking in your `tmux` pane to see if your prompt has returned.

[.output]
----
...
info: Mirroring completed in 2m47.63s (135.1MB/s)
Creating archive /mnt/low-side-data/mirror_seq1_000000.tar
[lab-user@jump low-side-data]$
----

After the `oc-mirror` command has completed, use `rsync` on the [.lowside]#jump# system to copy the installation content into `/mnt/high-side-data` on the [.highside]#highside# system.

[WARNING]
--
Please run the `rsync` command in your `tmux` screen.
This will allow you to keep working on the next section while `rsync` moves ~25 GB of data.
The `rsync` tasks should complete in about 5 minutes.
--

[.lowside,source,bash,role=execute,subs="attributes"]
----
rsync -avP /mnt/low-side-data/ highside:/mnt/high-side-data/
----
[.output]
----
...
publish/
publish/.metadata.json
332,183 100% 332.37kB/s 0:00:00 (xfr#66, to-chk=0/127)
sent 30,795,621,525 bytes received 1,565 bytes 131,324,618.72 bytes/sec
total size is 30,788,095,434 speedup is 1.00
----

== Log into the highside system

In your workshop environment you cannot log into the [.highside]#highside# system directly because its in a disconnected network.
Expand Down Expand Up @@ -99,44 +137,6 @@ Server: nginx/1.20.1
Date: Mon, 29 Apr 2024 20:15:51 GMT
----

== Moving the installation content onto highside

[WARNING]
Ensure that your `oc mirror` command has completed successfully before proceeding with this lab.
You can confirm the mirroring has finished by looking in your `tmux` pane to see if your prompt has returned.

[.output]
----
...
info: Mirroring completed in 2m47.63s (135.1MB/s)
Creating archive /mnt/low-side-data/mirror_seq1_000000.tar
[lab-user@jump low-side-data]$
----

After the `oc-mirror` command has completed, use `rsync` on the [.lowside]#jump# system to copy the installation content into `/mnt/high-side-data` on the [.highside]#highside# system.

[WARNING]
--
Please run the `rsync` command in your `tmux` screen.
This will allow you to keep working on the next section while `rsync` moves ~25 GB of data.
The `rsync` tasks should complete in about 5 minutes.
--

[.lowside,source,bash,role=execute,subs="attributes"]
----
rsync -avP /mnt/low-side-data/ highside:/mnt/high-side-data/
----
[.output]
----
...
publish/
publish/.metadata.json
332,183 100% 332.37kB/s 0:00:00 (xfr#66, to-chk=0/127)
sent 30,795,621,525 bytes received 1,565 bytes 131,324,618.72 bytes/sec
total size is 30,788,095,434 speedup is 1.00
----

== Creating a Mirror Registry

[TIP]
Expand Down

0 comments on commit 819b62c

Please sign in to comment.