DB2 instance always crashes on Red Hat Enterprise Linux 7.2

When you fresh deploy IBM® Cloud Manager with OpenStack on Red Hat Enterprise Linux® 7.2, the DB2® instance might always crash.

Problem

If you deploy IBM Cloud Manager with OpenStack on Red Hat Enterprise Linux 7.2, the DB2 instance might always crash. You can manually run db2start to start the instance, but the instance auto stops after a short while, and it causes all openstack services to not access databases. Red Hat Enterprise Linux 7 started using the systemd facility, and RemoveIPC=yes is defined in /etc/systemd/logind.conf as a default from Red Hat Enterprise Linux 7.2. IBM DB2 and some other DBMS reported that it might cause instance crash.

See more information in http://www-01.ibm.com/support/docview.wss?uid=swg21977093.

Resolution

When this problem happens, add RemoveIPC=no to /etc/systemd/logind.conf on the DB2 server node and reboot the operating system.