Hi,
I have found out what was the problem. On Windows in my case there is 'DB2 Workgroup Server Edition v8.2' and on Linux there is 'DB2 Enterprise Server Edition v8.2'.
On DB2 Enterprise Edition (Linux in my case) if there exist /home/db2inst1/sqllib/db2nodes.cfg file and it is not empty then nodenum must be specified in 'db2gov start' command. In my case in db2nodes.cfg file there is one line info: 0 myhost_name 0
First number is node number (0 in my case), so starting governor needs the following command:
Code:
db2gov start <database_name> nodenum 0 <rules_file.cfg> <logfile.log>
Stopping governor:
Code:
db2gov stop <database_name> nodenum 0
Logs on Linux are written to sqllib\log directory and on Windows there is sqllib\db2\log directory. Don't understand why IBM is not using the same directory structure! Because nodenum is specified on 'db2gov start' log file gets '.0' at the end of file name so log file name in my case is 'logfile.log.0'.
BTW, on forums I have found DFT_MON_UOW dbm cfg parameter should be set to on to use 'uowtime' command in cfg file, but in my case this was not needed - it just works with this parameter off. Just pointing if someone will need this parameter.
On Linux check parameter setting: db2 get dbm cfg | grep DFT_MON_UOW
On Windows check parameter setting: db2 get dbm cfg | find DFT_MON_UOW
On Linux/Windows set parameter: db2 update dbm cfg using DFT_MON_UOW on
Hope this helps to anyone out there,
Grofaty