40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Thu Aug 3 00:59:33 2017, gautam, Update, CDS, NDS2 server restarted, /frames mounted on megatron 
    Reply  Thu Aug 3 10:51:32 2017, rana, Update, CDS, NDS2 server restarted, /frames mounted on megatron 
       Reply  Thu Aug 3 11:11:29 2017, gautam, Update, CDS, NDS2 server restarted, /frames mounted on nodus 
          Reply  Tue Sep 5 14:41:58 2017, gautam, Update, CDS, NDS2 server restarted on megatron 
             Reply  Tue Sep 26 13:40:45 2017, gautam, Update, CDS, NDS2 server restarted on megatron 
Message ID: 13161     Entry time: Thu Aug 3 00:59:33 2017     Reply to this: 13162
Author: gautam 
Type: Update 
Category: CDS 
Subject: NDS2 server restarted, /frames mounted on megatron 

[Koji, Nikhil, Gautam]

We couldn't get data using python nds2. There seems to have been many problems.

  1. /frames wasn't mounted on megatron, which was the nds2 server. Solution: added /frames 192.168.113.209(sync,ro,no_root_squash,no_all_squash,no_subtree_check) to /etc/exportfs on fb1, followed by sudo exportfs -ra. Using showmount -e, we confirmed that /frames was being exported.
  2. Edited /etc/fstab on megatron to be fb1:/frames/ /frames nfs ro,bg,soft 0 0. Tried to run mount -a, but console stalled.
  3. Used nfsstat -m on megatron. Found out that megatron was trying to mount /frames from old FB (192.168.113.202). Used sudo umount -f /frames to force unmount /frames/ (force was required).
  4. Re-ran mount -a on megatron.
  5. Killed nds2 using /etc/init.d/nds2 stop - didn't work, so we manually kill -9'ed it.
  6. Restarted nds2 server using /etc/init.d/nds2 start.
  7. Waited for ~10mins before everything started working again. Now usual nds2 data getting methods work.

I have yet to check about getting trend data via nds2, can't find the syntax. EDIT: As Jamie mentioned in his elog, the second trend data is being written but is inaccessible over nds (either with dataviewer, which uses fb as the ndsserver, or with python NDS, which uses megatron as the ndsserver). So as of now, we cannot read any kind of trends directly, although the full data can be downloaded from the past either with dataviewer or python nds2. On the control room workstations, this can also be done with cds.getdata.

ELOG V3.1.3-