Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeEmacs
languagebash
service mongod start

4. Check the folders are correct

Check that all the folders are the same. Run these commands and make sure that everything is pointing to the right spot.

Code Block
grep logfile /usr/local/etc/flowd.conf
grep opflow_dir /usr/local/opmantek/conf/opFlow.nmis 
grep mongodbpath /etc/init.d/mongod

It is especially important that the logfile which flowd uses is picked up by opFlow which is the "flowd_data" configuration and this is combined with "<opflow_dir>" to get the path.

Code Block
grep logfile /usr/local/etc/flowd.conf
logfile "/data/opflow/flowd"
 

grep opflow_dir /usr/local/opmantek/conf/opFlow.nmis 
 '<opflow_dir>' => '/data/opflow',
 'flowd_data' => '<opflow_dir>/flowd',
 
grep mongodbpath /etc/init.d/mongod 
 mongodbpath=/data/mongodb

5. Check your diskspace

Make sure where ever you are putting the flow data and the Mongo DB, you have quite alot of disk space.

Code Block
df -h /data
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_data-lv_data
           247G  86G  148G  37% /data