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 almost 4 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

Also available in: Atom PDF