When I execute drbl -ocs to generate pxe file (OAxxxxx) for specific hosts at the same time (between 1-2 second), some of pxe file (OAxxxxX) will be override by previous drbl-ocs process.
For example:
Task A - To restore win2019_image_A for host 10.6.84.84
/usr/sbin/drbl-ocs --batch -icds -g auto -e1 auto -e2 -r -x -j2 -sc0 -p reboot -h 10.6.84.84 -l en_US.UTF-8 startdisk restore win2019_image_A sda
Task B - To restore win2019_image_B for host 10.6.84.85
/usr/sbin/drbl-ocs --batch -icds -g auto -e1 auto -e2 -r -x -j2 -sc0 -p reboot -h 10.6.84.85 -l en_US.UTF-8 startdisk restore win2019_image_B sda
Task C - To restore win2019_image_C for host 10.6.84.86
/usr/sbin/drbl-ocs --batch -icds -g auto -e1 auto -e2 -r -x -j2 -sc0 -p reboot -h 10.6.84.86 -l en_US.UTF-8 startdisk restore win2019_image_C sda
Sometimes, the PXE file (OAxxxxx) of Task B will be override by Task C or A (or vice versa) as they're using the same default_skeleton.
May I have solution to fix the issue if I have to run drbl -ocs at the same time ?
I tried to reproduce this issue using unstable drbl, and it works well. Is that possible you can try unstable drbl? i.e.,
drbl-4.2.16-drbl1 and clonezilla-4.2.30-drbl1?
You can follow https://drbl.org/installation/#upgrade
to upgrade DRBL.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Steven,
When I execute drbl -ocs to generate pxe file (OAxxxxx) for specific hosts at the same time (between 1-2 second), some of pxe file (OAxxxxX) will be override by previous drbl-ocs process.
For example:
Task A - To restore win2019_image_A for host 10.6.84.84
/usr/sbin/drbl-ocs --batch -icds -g auto -e1 auto -e2 -r -x -j2 -sc0 -p reboot -h 10.6.84.84 -l en_US.UTF-8 startdisk restore win2019_image_A sda
Task B - To restore win2019_image_B for host 10.6.84.85
/usr/sbin/drbl-ocs --batch -icds -g auto -e1 auto -e2 -r -x -j2 -sc0 -p reboot -h 10.6.84.85 -l en_US.UTF-8 startdisk restore win2019_image_B sda
Task C - To restore win2019_image_C for host 10.6.84.86
/usr/sbin/drbl-ocs --batch -icds -g auto -e1 auto -e2 -r -x -j2 -sc0 -p reboot -h 10.6.84.86 -l en_US.UTF-8 startdisk restore win2019_image_C sda
Sometimes, the PXE file (OAxxxxx) of Task B will be override by Task C or A (or vice versa) as they're using the same default_skeleton.
May I have solution to fix the issue if I have to run drbl -ocs at the same time ?
Thanks.
Last edit: KPC 2021-02-03
Mm, please run drbl-bug-report then post the generated file. It will help us to reproduce this issue here.
Thanks.
Steven
Hi Steven,
To achieve our goal, we have modified the three files below:
/usr/sbin/drbl-ocs
/usr/share/drbl/sbin/drbl-conf-functions
/usr/share/drbl/sbin/drbl-functions
We make sure that every requests (drbl-ocs) have an individual “default_skeleton_xxxx” file.
Also attached bug report.
I tried to reproduce this issue using unstable drbl, and it works well. Is that possible you can try unstable drbl? i.e.,
drbl-4.2.16-drbl1 and clonezilla-4.2.30-drbl1?
You can follow
https://drbl.org/installation/#upgrade
to upgrade DRBL.
Steven