-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Commvault Galaxy 11 #2937
Conversation
usr/share/rear/restore/COMMVAULT/default/400_restore_with_galaxy.sh
Outdated
Show resolved
Hide resolved
usr/share/rear/restore/COMMVAULT/default/400_restore_with_galaxy.sh
Outdated
Show resolved
Hide resolved
usr/share/rear/verify/COMMVAULT/default/400_start_galaxy_daemons.sh
Outdated
Show resolved
Hide resolved
usr/share/rear/verify/COMMVAULT/default/420_login_to_galaxy_and_setup_environment.sh
Outdated
Show resolved
Hide resolved
usr/share/rear/verify/COMMVAULT/default/420_login_to_galaxy_and_setup_environment.sh
Outdated
Show resolved
Hide resolved
Thanks a lot @jsmeix for your review, I still have to go over the code and will take all of your remarks into consideration. |
usr/share/rear/verify/COMMVAULT/default/420_login_to_galaxy_and_setup_environment.sh
Outdated
Show resolved
Hide resolved
@schlomo Now it's weekend time for me. I wish you all a relaxed and recovering weekend! |
Just an observation: I think that most of the developers who worked on this code before didn't realise that during rescue system startup we also read the ReaR configuration in rear/usr/share/rear/skel/default/etc/scripts/system-setup Lines 69 to 77 in ea900c4
which makes it super simple to tweak the rescue startup for specific configurations, e.g. mounting a Also, I think modifying the PATH should be done on a system level and not per-ReaR-run level. I'll see what can be done with that. |
usr/share/rear/verify/COMMVAULT/default/420_login_to_galaxy_and_setup_environment.sh
Outdated
Show resolved
Hide resolved
usr/share/rear/verify/COMMVAULT/default/420_login_to_galaxy_and_setup_environment.sh
Outdated
Show resolved
Hide resolved
usr/share/rear/verify/COMMVAULT/default/500_select_backupset.sh
Outdated
Show resolved
Hide resolved
In general regarding new so called "boolean" config variables In this case here it is USE_RAMDISK: I suggest to avoid new so called "boolean" config variables
will For new config variables I recommend explicit coding Then default.conf could be like
and
I also exchanged by the way "MB" by "MiB" FYI |
@schlomo I did not know that initramfs behaves fundamentally different I am reading now things like Ugh! |
@jsmeix I had similar thoughts and was also considering introducing 2 variables:
Or maybe we should use a numeric value and only use a I'm also really not sure where in the long |
Regarding the place in default.conf |
Regarding two variables for "one thing": I introduced several variables with "ternary semantics", cf. It makes all simpler in practice because From a theoretical point of view "ternary semantics" E.g. if USE_RAMDISK would be the size in GiB then
to specify 1 GiB ramdisk size (or free space) Spontaneously I like In particular because the variable name tells what it does
|
Sounds good, however I'd like to keep the size in MiB and not GiB |
@schlomo Furthermore any non-integer numbers call for problems |
…r tools that need to check for free disk space. rework GALAXY11 to use ramdisk feature and set PATH globally
…de paths with option to override this.
…ning in Rescue system
…specific configuration
…se host ReaR configuration
Relax-and-Recover (ReaR) Pull Request Template
Please fill in the following items before submitting a new pull request:
Pull Request Details:
Type: Enhancement
Impact: Normal
Reference to related issue (URL):
#2918
Manual tests with Comvault 11
Clone GALAXY10 integration and adjust for Commvault Galaxy 11
I'm creating this PR for visibility and will continue to work on it, no need to review it while in DRAFT state