We had an issue which was the result of our "Organization" changing when we renewed our Certificate (to add entitlements). It was a seemingly harmless change, which caused some huge issues. Basically the person that created our Certificate capitalized all of the letters in our Organization name, whereas everything had been originally created with mixed-case letters.
I.e. What a Bummer != WHAT A BUMMER
Anyhow - I recommend doing this as part of your daily backup procedure regardless...
tar -cvf ${BACKUPDIR}/var_lib_rhn_kickstarts_upload.tar /var/lib/rhn/kickstarts/upload/
You will know that kickstart profiles are screwed up when you attempt to modify them and you get an error, followed by a blank profile the next time you attempt to modify it.
The recovery:
rhn-satellite stop
cp var_lib_rhn_kickstarts_upload.tar /
tar -xvf var_lib_rhn_kickstarts_upload.tar
rm /var/lib/cobbler/config/profiles.d/
rhn-satellite start
I.e. What a Bummer != WHAT A BUMMER
Anyhow - I recommend doing this as part of your daily backup procedure regardless...
tar -cvf ${BACKUPDIR}/var_lib_rhn_kickstarts_upload.tar /var/lib/rhn/kickstarts/upload/
You will know that kickstart profiles are screwed up when you attempt to modify them and you get an error, followed by a blank profile the next time you attempt to modify it.
The recovery:
rhn-satellite stop
cp var_lib_rhn_kickstarts_upload.tar /
tar -xvf var_lib_rhn_kickstarts_upload.tar
rm /var/lib/cobbler/config/profiles.d/
rhn-satellite start
Comments
Post a Comment