ncsa / xcat-tools

Useful tools for xCAT
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

SVCPLAN-2782: Support no_gpfs/no_lustre block files during maintenance #50

Closed billglick closed 1 year ago

billglick commented 1 year ago

Add maintenance postscripts that allow us to support service block files like the following:

This is being tested on mg-adm01 & mgtest05.

jlong1s commented 1 year ago

Functionally, everything looks good.

I was wondering about whether or not we wanted to allow a list of lock_files to be passed to the maintenance_begin script. However, that might open us up to typo errors when setting up for maintenance. Hard coding the lock_files as it is now is probably the better way to go. Then we can just throw an exit at the top of the script when maintenance is completed to force a NO-OP. That would be less prone to mistakes. I think I like things they way they are currently written.

billglick commented 1 year ago

Would we want to add/remove /etc/nologin by default?

Or any other similar files?

billglick commented 1 year ago

To answer a few issues/questions brought up in comments: