I realised that when i reboot my VMs, all the pods were not restarting.
Then I realised it was because my DB2 was not auto-started.
To start DB2 upon boot: https://www.ibm.com/support/pages/configure-db2-instance-start-automatically-boot-time
To determine if an instance is enabled to automatically start at boot time, execute this command logged in as the instance owner:
db2set DB2AUTOSTART -i db2inst1
A return of "YES" means the instance is set to start automatically. Otherwise it is not set.
To configure the instance to start automatically at boot:
db2iauto -on <instance name>
In the instance file <InstanceHome>/sqllib/profile.env there will be an entry like this:
DB2AUTOSTART='YES'
If there is an issue starting the DB2 instance, take a look at the following file:
<InstanceHome>/sqllib/db2dump/db2diag.log
No comments:
Post a Comment