Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
Purge binary logs in MySQL
Please do not just delete them in the OS. You need to let mysqld do that for you. Here is how mysqld manages it: The file mysql-bin.[index] keeps a list of all binary logs mysqld has generated and auto-rotated. The mechanisms for cleaning out the binlogs in conjunction with mysql-bin.[index] are: PURGE BINARY LOGS TO […]
kubectl autocomplete – Enabling and Using in Bash
Setting Up Kubectl Autocomplete in Your Shell Environment Setting up kubectl autocomplete depends on the shell you’re using. Here are the options for the most common shells. Remember to replace kubectl with your chosen alias if you’re using one. For instance, if you’ve aliased kubectl as k, replace kubectl with k in the scripts below. […]
Update oVirt hosted-engine host certificates VM if the are expired
Environment: Red Hat Virtualization 4.4 Issue: All the hosted-engine hosts vdsm certificates are expired. The hosted-engine VM is down and it’s unable to start it using hosted-engine –vm-start because of expired certificates. Resolution: Since CA of the RHV environment is the RHV manager which is down, we have to get the CA certificates and keys to the host […]