Project

General

Profile

Actions

action #60374

closed

action #60152: [sle][Migration][backlog] Automation the RMT test

[sle][Migration][SLE15SP3] Automation the RMT test - export and Import repositories

Added by leli over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
New test
Target version:
-
Start date:
2019-11-28
Due date:
% Done:

100%

Estimated time:
48.00 h
Difficulty:

Description

1.Log in on the server sun.

rmt-cli sync
rmt-cli mirror

  1. Connect a USB drive, assumed to be /dev/sdb and mount it, for example in /mnt/external.

mount /dev/sdb1 /mnt/external

  1. a. Export the data about available repositories and products.

rmt-cli export data /mnt/external/

b. Export the list of enabled repositories. The exported file is required for exporting the repositories in the next step.

rmt-cli export settings /mnt/external/

c. Export mirrored RPM packages. Depending on the size of mirrored repositories, this can take a long time.

rmt-cli export repos /mnt/external/

  1. Unmount and unplug the disk from sun and go to sirius.

umount /mnt/external

  1. Connect the USB drive to sirius and mount it in /mnt/external.

mount /dev/sdb1 /mnt/external

  1. a. Import the meta data about available repositories and products

rmt-cli import data /mnt/external/

b. Import mirrored RPM packages. Depending on the size of mirrored repositories, this can take a long time.

rmt-cli import repos /mnt/external/

  1. Enable repositories and check the repositories
Actions #1

Updated by leli over 4 years ago

Machine A as repo source, Machine B import repos data from machine A, both migrate to SLE15SP2 and setup RMT server.
On machine A mirror and sync, enable repos such as Web-Scripting. Then export data and repos to an exist folder and create a tar file.
Then on machine B to import the tar file, list and verify the import data successfully.

Actions #2

Updated by leli over 4 years ago

  • Status changed from New to In Progress
Actions #3

Updated by leli over 4 years ago

  • Assignee changed from leli to tinawang123
Actions #4

Updated by leli about 4 years ago

  • Priority changed from Normal to Low
Actions #5

Updated by tinawang123 almost 4 years ago

  • Subject changed from [sle][Migration][SLE15SP2] Automation the RMT test - export and Import repositories to [sle][Migration][backlog] Automation the RMT test - export and Import repositories
Actions #6

Updated by coolgw almost 4 years ago

  • Subject changed from [sle][Migration][backlog] Automation the RMT test - export and Import repositories to [sle][Migration][SLE15SP3] Automation the RMT test - export and Import repositories
Actions #7

Updated by tinawang123 almost 4 years ago

  • % Done changed from 0 to 70
  • Estimated time changed from 16.00 h to 48.00 h
Actions #10

Updated by tinawang123 almost 4 years ago

  • % Done changed from 70 to 90
Actions #11

Updated by tinawang123 over 3 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF