Why does DB2 instance not start automatically on boot? (DB2 v11.1.3.3 CentOS 7.5.1804)

Ian Masters

Why does DB2 instance not start automatically on boot? (DB2 v11.1.3.3 CentOS 7.5.1804)

Hi folks

1st time poster and a DB2 newbie so please bear with me.

I have DB2 v11.1.3.3  installed on CentOS 7.5.1804 and I can't get my instance to autoboot on system start.

I've been through a load of IBM pages and I feel like I'm just going round and round.

After system boot, my service looks like this:

[[login to unmask email] ~]# systemctl status db2fmcd
● db2fmcd.service - DB2 v11.1.3.3
Loaded: loaded (/etc/systemd/system/db2fmcd.service; enabled; vendor preset: disabled)
Active: active (running) since 木 2018-11-29 16:38:16 JST; 22h ago
Main PID: 662 (db2fmcd)
Tasks: 1
CGroup: /system.slice/db2fmcd.service
└─662 /opt/ibm/db2/V11.1/bin/db2fmcd

Any ideas on how I can get my instance up automatically would be gratefully received.

Thanks

ian

 

 

 

Jan Moeyersons

RE: Why does DB2 instance not start automatically on boot? (DB2 v11.1.3.3 CentOS 7.5.1804)
(in response to Ian Masters)

db2fmcd is just the plumbing service that will start any instance you tell it to start.

Did you run

db2iauto on <instance name> 

against the instance you want auto-started?

Cheers,

Jantje.

Ian Masters

RE: Why does DB2 instance not start automatically on boot? (DB2 v11.1.3.3 CentOS 7.5.1804)
(in response to Jan Moeyersons)

Hi Jan

Thanks for the reply.

Yes I did enter that command, both as root and as db2inst1 user. 

After that, when I enter the [db2fm -s -S] command, I still get:
"Gcf module 'fault monitor' is NOT operable
Gcf module '/opt/ibm/db2/V11.1/lib64/libdb2gcf.so' is INSTALLED PROPERLY but NOT ALIVE"

I've been using these pages:
https://www-01.ibm.com/support/docview.wss?uid=swg22008168
http://www-01.ibm.com/support/docview.wss?uid=swg21209001

Any idea what my problem could be or how I can debug this further?


Thanks

ian