Dry-run mode for monitoring


  • Hi,
    We use FOG to deploy training room at ENAC.
    To monitor the process with promotheus, we plan to deploy some images in dry-run mode to preserve hard disk and compact-flash memories and to reduce test image size.
    Parsing documentation I didn’t see :

    1. Command line interface to engage task in FOG and to get their status.
    2. Dry-run mode to simulate :
      1. upload image
      2. deploy image

    Any link to help ?

    Thanks,
    Luc.


  • @sebastian-roth Thanks for this reply.
    I will try un inventory task to check bi-directional data exchange.
    Luc.

  • Senior Developer

    @Luc-Novales What part of the task would you like to “dry-run”?

    The whole process consists of many steps (as you see from the output in screen) and pretty much all of the steps depend on others. For example with the image set to resizable FOS needs to shrink filesystems and partitions before it can capture the new partition layout. There is not much point in dry-running the shrinking and then capture the partition table.

    Or if you look at deployment. How would you not touch the existing partition table because it’s a dry-run but then try to test partclone deployment of the data. Simply impossible.

293
Online

8.5k
Users

15.3k
Topics

143.3k
Posts