Virgo Logbook
UTC--:--:--
GPS-

Search results

964 results Latest activity first Clear
6 / 39

Words are matched anywhere in the title or body and all must appear. Put a phrase in "quotes" to keep it together, or separate spelling variants with commas to match any of them (65Hz, 65 Hz).

Reset
Computers Network›Network Updated · comment 17 Jun · 21:42 dibiase 17 Jun 2021 · 15:37 #52180

Failure of some Virtul Machine hosted on the same HW Enclosure

Reboot needed to some Virtual Machines hosted in Chassis8 due to Failure. Please restart services on those machines.

Virtual machine envolved are:

  • ctrl6
  • ctrl22
  • farmn1
  • farmn13
  • ctrl12
  • farmn2
  • farmn5
  • farmn7
  • olserver111
  • olserver121
  • olserver130
  • stol04
  • mysql2.ego-gw.it
  • olserver116
  • olserver139
  • olserver140
  • olserver142
  • datagw
  • olserver132 - Mysql
  • dbserver01
  • igwacc-ego.virgo-gw.eu
  • ctrl16
  • farmn10
  • farmn14
  • farmn15
  • seiscomphost
  • rdserver2
  • cvmfs0
  • cvmfsmgr
  • pub14 
  • swtest3
  • condorcl-test
  • olsvn
  • seevogh01
  • submit-test
  • w6
  • dataldr
  • cvmfsclient
  • swtest6
  • olnode1-test
  • olnode2-test
  • olnode3-test
  • olnode4-test
  • lscgw
  • cvmfs1
  • swtest5
  • win-vtf
  • vCenter VMware

 

 

1
berni, carbognani · 17 Jun 2021 · 20:42 #52183

The python processes running on the Virtual Machine involved in the failure did not restart, in particular:

- olserver130: SusDAQBridge, SatServer, PduServer;

- olserver137: DMSserver.

We spent about two hours to understand that the processes were complaining about the leap-second file;  indeed inside /virgoData/LeapSeconds there was not a leap-seconds.list but only .old or _old files.

The problem was solved copyng the leap-seconds.list_old (the most recent one) into leap-seconds.list.

 

At around 16:46  UTC everything was restarted and back normal.

AdV-COM›automation Updated · comment 9 Jun · 19:24 bersanetti, boldrini, carbognani 9 Jun 2021 · 18:24 #52095

New ARMS_LOCK Metatron node and modifications to managed nodes

Today we put in operation the new node ARMS_LOCK, which now manages automatically the nodes NARM_LOCK, WARM_LOCK, ALS_NARM and ALS_WARM. It does a similar job to what CARM_DARM_LOCK did in O2 and O3, the name change is due to the fact that its code is vastly different and, for consistency, I am keeping the names of the Metatron nodes not exceeding two fragments.

Here I am reporting the small changes done today to the four managed nodes, then a full description of the ARMS_LOCK node.


NARM_LOCK and WARM_LOCK: with respect to the last update (#51820), the changes are minimal: the new state OFFLOADED_TO_MANAGER has been kept, and it is asked by the new node before switching to the CARM/DARM lock with the beating signals; while doing the transition to this new state, the IR drift control is disengaged and in this state nothing is done or even checked, hence the name.


ALS_NARM and ALS_WARM:

  • we removed from the DOWN state any reset of the CARM/DARM logic, as it now happens in the DOWN state of the ARMS_LOCK node;
  • the switch from the triggers in transmission (CEB) to the triggers in reflection (ENEB/EWEB) has been removed from the LOCKED state (it only happened in one of the two nodes anyway); there is a new state, LOCKED_BEATING_ON, which is only requested by the manager; in this state (the final one as of now) we change the trigger as described above; the thresholds have been taken and checked from the manual script we were using until now for CARM/DARM, and stored in the [VCO_LOCK] section (dc_trig_refl_* parameters) of the configuration files;
  • an overall check of the nodes code has been done, it could be worth to add a timeout in LOCKING in case we lock on a HOM in order to automatically unlock/relock again, to be done.

ARMS_LOCK: here is the description of the main states of the node; as usual, the "not requestable" ones can be requested only from the full states window and not from the drop-down menu;

  • DOWN : anything related to CARM/DARM is reset here, then the four managed nodes are requested to go to DOWN as well; from here we can go to one of the following 4 paths:
  • 1) MISALIGNED_END_MIRRORS: ALS nodes in DOWN, IR nodes requested to misalign their end mirrors;
  • 2) MISALIGNED_ALL_BUT_NI : NI Single Bounce configuration;
  • 3) MISALIGNED_ALL_BUT_WI (not requestable) : WI Single Bounce configuration;
  • 4) ALIGNED_ARMS (not requestable) : ALS nodes in DOWN, IR nodes in ALIGNED_[NORTH/WEST]_ARM;
  • LOCKED_ARMS_IR : with the arms aligned, ALS nodes are still kept DOWN, and the IR nodes are in LOCKED_ON_B[7/8]_BOOST_ON; it's the same as the old LOCKED_ARMS state;
  • SCAN_ARMS_ALS : once the arms are locked on the IR, the two ALS nodes are put in the SCAN state; from here we can go in two paths, the first one is auxiliary and completely not requestable:
  • 1) LOCKED_ARMS_ALS : the IR nodes are unlocked and put back in the ALIGNED_[NORTH/WEST]_ARM state, while the ALS nodes are locked on the cavities; from here we can add the old reallocation of the VCO correction on the cavity mirrors with the state LOCKED_ALS_REALLOCATION; this path ends here;
  • 2) from now on we are on the main lock acquisition path:
    • LOCKED_ARMS_IR_ALS : cavities are locked on the IR beam (LOCKED_ON_B[7/8]_BOOST_ON) and ALS are LOCKED on the cavities; this is the last state where this node does little else than asking the managed nodes to do what they can do by themselves, but in a coordinated way; in the following states ARMS_LOCK does most of the job itself;
    • ACQUIRE_ARMS_BEATING (not requestable): here NARM_LOCK and WARM_LOCK are asked to go the OFFLOADED_TO_MANAGER state it was described above, and the same happens to the ALS_NARM and ALS_WARM nodes which are requested to go to the LOCKED_BEATING_ON state (triggers moved to reflection); then we move down the ATR Flip Mirror and we setup the CARM and DARM loops with the beating signals: CARM/DARM_FREQ in the sensing, loop filters, gains. IMPORTANT: the computation of the offsets for CARM and DARM is done in the same way as before in the script (but using the ezca library now), but the offsets are not applied to the CARM/DARM loops, but directly on the ALS_CEB_[CARM/DARM]_FREQ signals. This means that on the IR resonance CARM_SET = DARM_SET = 0; after that, the LOCKING_ state does the change of sensors, loops and driving, and finally disables any leftovers of the single arms control loops still hanging around;
    • LOCKED_ARMS_BEATING : here we have CARM and DARM locked on the beating signals, with the initial filters and loop gains, on the IR resonance;
    • LOCKED_BEATING_BOOST_ON : the final boost filter is engaged (in two steps, to avoid too large glitches in the loops, as usually done by hand);
    • LOCKED_CARM_OFFSET_[HIG/MID/LOW] : these states are basically identical, and they are used to set the desired CARM offset, starting from the -3000 Hz necessary for the lock acquisition of the DRMI; the offsets and the number of ramptimes used for each transition are tentatively defined in the configuration file; this is the last set of states of the node, and the one which will be modified more heavily as they reach the point of the lock acquisition where we stand right now.

A few side notes:

  • as hinted above, from when we move from the 4 indpendent locks to the lock on the beating signals we do not check anymore the status of the IR lock, as B7/B8_DC become at first very noisy (before the boosts) and then negligible once we put a CARM offset; once we are effectively locked on the beating signals the checks done by the ALS nodes are enough (as an unlock of one of them will unlock everything), but there is a small time window between ACQUIRE_ARMS_BEATING and LOCKED_ARMS_BEATING where we could unlock the IR and not notice for a few seconds until we actually try to lock on the beating signals; it will be monitored if this is a problem and devise a countermeasure in case;
  • we added a few smart decorators with state checks and state fallbacks declared as variables; these should help to not return in DOWN for all the managed nodes if only one unlocks; this of course makes sense until just before the CARM/DARM lock with the beating signals, where everything becomes entangled;
  • a useful repetition: the CARM and DARM offsets needed by the beating signals to have the IR on resonance are not applied anymore to the CARM/DARM loops but upstream, before the sensing, in the definition of the ALS_CEB_[CARM/DARM]_FREQ_SET setpoints; therefore, when we are -3 kHz away from the IR resonance, LSC_CARM_SET = -3000 and LSC_DARM_SET = 0;
  • as explained above, in the ACQUIRE_ARMS_BEATING we turn down the ATR Flip Mirror; for the time being we do NOT turn it back up at each unlock; the lock thresholds and triggers for ALS should be fine either case, to be decided if we want to flip it down and up at each lock acquisition;
  • the flags LSC_ALS_{N/W}Arm_SW are still needed to be one when moving to the beating signals; an overall check of the CARM logic will be done together with the channel renaming review;
  • the "CARM to MC" logic has not been included yet, it will be done after we recheck that last part of the lock acquisition we were commissioning two weeks ago;
  • everything has been set up in terms of DAQ integration, desktop menus and so on;
  • please report any bug or misbehaviour.

The new layout of the 5 nodes involved is attached.

5
AdV-COM›automation Updated · comment 8 Jun · 15:25 carbognani, masserot 8 Jun 2021 · 14:25 #52072

Setting CPU affinity on the metatron threads

On Alain suggestion, today I have added the following line:

taskset  -cp 13-31 ${$}

into the metatron top level script: /virgo/ext/metatron/metatron-1.6/bin/metatron in order to force all metatron nodes threads to run only on the CPU ids  from 13 to 31. This is order to achive a better CPU load balancing on the heavily loaded olserver52 machine.

After restarting two crashed nodes (SUS_NI and NARM_LOCK) it looks like the affinity is correctly set for the corresponding threads:

virgod@olserver52[~]:  ps -ef | grep SUS_NI
root     37144     1  0 14:18 ?        00:00:00 sudo -i -u virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/Metatron.cfg SUS_NI
virgod   37146 37144  0 14:18 ?        00:00:00 /bin/bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/Metatron.cfg SUS_NI
virgod   37207 37146  1 14:18 ?        00:00:07 python -u -m guardian.__main__ SUS_NI
virgod   37224 37207 16 14:18 ?        00:02:06 python -u -m guardian.__main__ SUS_NI

virgod@olserver52[~]: taskset -pc 37146
pid 37146's current affinity list: 13-31
virgod@olserver52[~]: taskset -pc 37207
pid 37207's current affinity list: 13-31
virgod@olserver52[~]: taskset -pc 37224
pid 37224's current affinity list: 13-31

 

Computers Network›Name Server activity Updated · comment 20 Apr · 10:25 carbognani, masserot 20 Apr 2021 · 09:25 #51470

Cm Cascina domain ports range expansion

Since we were hitting the limitation in number of ports for the Cascina domain (most probably we had already at least an event were port requests spilled over the allocated range), this morning we have expanded the range (as seen in the CmDomains file entry) from:
Cascina     cmns.virgo.infn.it     29000 29001 899 /virgoData/Cm
to:
Cascina     cmns.virgo.infn.it     28000 28001 1899 /virgoData/Cm
pushing down the start to 28000 and extending to 1899 ports.
This implyed a stop/restart of the NameServer wich went quite fast and smootly.
Checking the situation afterward with some processes restart / new processes start (including the restart of the VirgoOnline VPM instance) everything looked fine.

AdV-SBE›MultiSAS controls Updated · comment 15 Apr · 14:06 carbognani 15 Apr 2021 · 13:06 #51433

SIB2 MultiSAS Stepper Motors Control

With the suspension of the SIB2 bench planned for next week, we had to integrate the control of the corresponding Stepper motors.
This implied the setup of the:

  • remote ON/OFF control
  • communication to the motor controller (realized via a Moxa NPort 5130A Ethernet/Serial RS485 bridge)

Remote ON/OFF control setup steps:

  • The connection of the dS1242 Ethernet 2 x 16A Ethernet relay mezzanines to the site network switch
  • Finding the MAC address via the vendor DevantechModuleFinder.jar application
  • Addition into DNS (relais-sib2-01)
  • Once the dS1242 mezzanine were reachable from their web interface http://relais-sib2-01.virgo.infn.it/_config.htm (to be noted that those setting are only allowed if an USB cable is connected to the dS1242 mezzanine):
    • The communication protocol has been set from the ASCII default to Modbus over the standard 502 port in the TCP/IP box
    • The password protection has been disabled in the Webpage Security box  by uncheking Enable _pw.htm
  • The addition into VPM of the new instances of the PySb server named SIB2_MotSwitch

Remote communication setup steps

  • Connection to a small extra ethernet switch (like a netgear FS105), find the device via the Moxa NPort_administrator application running on a laptop attached to the small switch and change the network setting to DHCP (essential step, otherwise the device will not work while attached to the site network switch). Also the MAC address can be found from the NPort_administrator.
  • Addition into DNS (ethsib2-01)
  • Connection to the to the network switch and check that it is pingable
  • The Window machine olserverwin has been set, using the Moxa NPort_administrator application as root, so that the virtual COM13 port is now associated with the ethsib2-01 bridge.
  • The global new virtual COM association is then:
  1. COM2 -> ethsdb201
  2. COM6 -> ethsprb01
  3. COM7 -> ethsneb01
  4. COM8 -> ethsweb01
  5. COM9 -> ethsqb1-01
  6. COM10 -> ethsqb2-01
  7. COM11 -> ethfcem-01
  8. COM12 -> ethfcim-01
  9. COM13 -> ethsib2-01

The next step will be to use the application TMCL-PC provided by Trinamics to configure the controllers via a download.

Online Computing›Virgo Platforms and Services Updated · comment 7 Apr · 14:16 carbognani, cortese 7 Apr 2021 · 13:16 #51341

Cleanup of /virgoLog disk area (files older than 2 years now available in /data/prod/logs/virgoLog)

From the time the /virgoLog area was expanded a cleanup procedure was not put back in operation. In the last weeks /virgoLog occupation went over several time to 90% and was time to restore such a procedure.

So, in order to prevent (as far as possible) the fill up of the /virgoLog area, a cronjob has been (re)introduced (it was there in the past) in the olmonitor dedicated machine running as virgorun user.
The actions taken are:
- Removal of core files older than 5 days
- Relocation of log files older than two year (no access in writing for two year) into the dedicated area /data/prod/logs/virgoLog (in accordance with the general reorganization and naming convention of the /data areas)

The main corresponding entries of the crontab file looks like this:

  • 5 10 * * * find /virgoLog -name '*.*log*' -mtime +730 -type f -exec cp --parent -p {} /data/prod/logs/ \;
  • 50 10 * * * find /virgoLog -name '*.*log*' -mtime +730 -type f -exec rm -f {} \;

After the first occurrence of this cleanup, the /virgoLog occupation is back to a more healty value of 62%

fcarbogn@ctrl25[/virgoLog]: df -k .
Filesystem          1K-blocks      Used Available Use% Mounted on
virgodata:/virgoLog 361112576 210048000 132718592  62% /virgoLog

So, main info, if you are looking for log files older than 2 years, you can find them, from now on, under /data/prod/logs/virgoLog (with the same directories structure )

AdV-COM›automation Updated · comment 8 Mar · 16:56 carbognani 4 Mar 2021 · 21:47 #50987

Reduce verbosity of SUS Automation nodes

Also linked to the introduction of the new PySat applications, the logging verbosity of the SUS_* automation nodes had become exessive and impacting avaiable disk space on /virgoLog which went over the 90% occupation thershold.
In particular the most frequent messages are the ones associated to the suspension_controlled() check and corresponding reading of the relevant gnames
In order to mitigate the problem, this afternoon I have modified the SUS.py code for disabling the INFO messages with the following new logging setting:
root.setLevel('WARNING')
log_to_console('WARNING')
log_to_cfg('INFO')

then I have stopped and restarted the SUS_BS, SUS_WI, SUS_WE, SUS_NI and SUS_NE nodes.

In order to gain some space I have also moved some of the biggest files, namely:
./SUS_WE/META_SUS_WE_2021-02-07-12h18m06-UTC.log
./SUS_NE/SUS_NE_2021-01-05-13h46m30-UTC.log
./SUS_NE/SUS_NE_2021-02-07-12h18m07-UTC.log
./SUS_BS/META_SUS_BS_2021-02-07-12h18m00-UTC.log
./SUS_BS/SUS_BS_2021-02-07-12h18m04-UTC.log
./SUS_BS/SUS_BS_2021-01-05-13h46m30-UTC.log
./SUS_WI/SUS_WI_2021-01-05-13h46m30-UTC.log
./SUS_WI/SUS_WI_2021-02-07-12h18m05-UTC.log
./SUS_WI/META_SUS_WI_2021-02-07-12h18m04-UTC.log
./SUS_NI/SUS_NI_2021-01-05-13h46m30-UTC.log
./SUS_NI/SUS_NI_2021-02-07-12h18m04-UTC.log
./SUS_WE/SUS_WE_2020-12-24-07h17m43-UTC.log
./SUS_WE/SUS_WE_2021-01-27-17h13m37-UTC.log
./SUS_WE/META_SUS_WE_2021-01-05-13h46m26-UTC.log
./SUS_NE/SUS_NE_2021-01-27-17h13m35-UTC.log
./SUS_NE/META_SUS_NE_2021-01-05-13h46m25-UTC.log
./SUS_NE/SUS_NE_2020-12-24-07h17m43-UTC.log
./SUS_NE/META_SUS_NE_2021-02-07-12h18m05-UTC.log
./SUS_BS/SUS_BS_2021-01-27-17h13m30-UTC.log
./SUS_BS/META_SUS_BS_2021-01-05-13h46m23-UTC.log
./SUS_BS/META_SUS_BS_2019-11-13-11h22m36-UTC.log
./SUS_BS/SUS_BS_2020-12-24-07h17m42-UTC.log
./SUS_WI/SUS_WI_2021-01-27-17h13m34-UTC.log
./SUS_WI/SUS_WI_2020-12-24-07h17m42-UTC.log
./SUS_WI/META_SUS_WI_2021-02-07-12h18m04-UTC.log
./SUS_WI/META_SUS_WI_2021-01-05-13h46m25-UTC.log
./SUS_NI/META_SUS_NI_2021-01-05-13h46m24-UTC.log
./SUS_NI/SUS_NI_2021-01-27-17h13m33-UTC.log
./SUS_NI/SUS_NI_2020-12-24-07h17m42-UTC.log
./SUS_NI/META_SUS_NI_2021-02-07-12h18m02-UTC.log

into /data/dev/logs/Automation/ (in case of need to analize the corresponding time period, they can be found there)

This has brought back the virgoLog area occupation to 76%

The same procedure should be applied to the PR and SR nodes (but since there are ongoing modifications I was not fully sure of the right state transitions to unperturb the mirrors positions)
 

1
bersanetti · 8 Mar 2021 · 16:56 #51012

SUS_PR and SUS_SR were restarted today around 15:37 UTC; the optics were already misaligned, and a new request to the MISALIGNED state actually did nothing, as the new gNAMEs for parking such optics were already set to zero.

END mirror and suspension ready for pre-commissioning

In the last week we worked on the END mirror and suspension:
- all the electrical signals of the suspension have been checked: 1 horizontal LVDT and 1 horizontal stepper motor were not working properly;
- the microtower has been opened and we found the LVDT wire cut, the cable has been dismantled, fixed in the lab and re-installed;
- the failure of the stepper motor has been found on the electronic board and fixed, meanwhile some network-electrical troubles popped up, they have been checked and now everything is working properly;
- the viewports used for the optical levers needed for the local control system have been prepared and installed on the vacuum tank ;
- the wires of the ring heater have been properly connected;
- the first contact has been removed;
- the marionette has been rebalanced;
- the microtower has been closed.
Suspension and mirror are ready for the implementation of the controls.
6

FCIM and FCEM Ring Heaters Power Supplies on and monitored

The FCIM and FCEM Ring Heaters Power Supplies have been installed on the dedicated racks in the past days.

Today, after adding them to the DNS (tcs-ampli-fcim, tcs-ampli-fcem) those have been switched on and correct connection to the network verified.

The corresponding new instances of the monitoring server have been put in operation from VPM in the FCIM and FCEM groups. Those two servers are named:

  1. FCIM_ RingHeater
  2. FCEM_ RingHeater

FbsMoni configuration has been also updated and those new channels are now available on the DAQ (Fig. 1):

  • TCS_FCIM_RH1_VOLT
  • TCS_FCIM_RH1_CURR
  • TCS_FCIM_RH2_VOLT
  • TCS_FCIM_RH2_CURR
  • TCS_FCEM_RH1_VOLT
  • TCS_FCEM_RH1_CURR
  • TCS_FCEM_RH2_VOLT
  • TCS_FCEM_RH2_CURR

At the moment those power supply are not yet connected to the corresponding ring heaters.

1
AdV-FLT›Installation Updated · comment 17 Feb · 16:19 vardaro 18 Jan 2021 · 16:22 #50484

FLT End: mSAS electonic and DAQ boxes on the rack

The mSas electronic is now on the rack Rack FLTout1

The actual configuration is slightly different with the configuration described in   VIR-0543B-20.

Whe have:

  • 6U  for Network switches
  • 1U empty
  • 2U DAQ BOX 68
  • 2U empty for a cable holder
  • 2U DAQ BOX 69
  • 2U empty for cable holder
  • 2U for timing distribution box
  • 1U empty
  • 11U  for mSAS electronic:
    • 1U fan module
    • 3U the first mSAS crate 
    • 1U spacer
    • 6U the second mSAScrate

Side note: the rack is attached to the wall of the tube thus ther will be some troubles during the cabling

1 1
carbognani, cortese, vardaro · 17 Feb 2021 · 16:19 #50808

With the Filter Cavity Input Mass (FCIM) and End Mass (FCEM) mSAS electronic installation we had to integrate the control of the corresponding Stepper motors.
This implied the setup of the:

  • remote ON/OFF control
  • communication to the motor controller (realized via a Moxa NPort 5130A Ethernet/Serial RS485 bridge)

Remote ON/OFF control setup steps:

  • The connection of the dS1242 Ethernet 2 x 16A Ethernet relay mezzanines to the site network switch
  • Finding the MAC address via the vendor DevantechModuleFinder.jar application
  • Addition into DNS (relais-fcim-01, relais-fcem-01)
  • Once the dS1242 mezzanine were reachable from their web interface http://relais-fcim-01.virgo.infn.it/_config.htm http://relais-fcem-01.virgo.infn.it/_config.htm (to be noted that those setting are only allowed if an USB cable is connected to the dS1242 mezzanine):
    • The communication protocol has been set from the ASCII default to Modbus over the standard 502 port in the TCP/IP box
    • The password protection has been disabled in the Webpage Security box  by uncheking Enable _pw.htm
  • The addition into VPM of the new instances of the PySb server named FCIM_MotSwitch and FCEM_MotSwitch

Remote communication setup steps

  • Connection to a small extra ethernet switch (like a netgear FS105), find the device via the Moxa NPort_administrator application running on a laptop attached to the small switch and change the network setting to DHCP (essential step, otherwise the device will not work while attached to the site network switch). Also the MAC address can be found from the NPort_administrator.
  • Addition into DNS (ethfcim-01, ethfcem-01)
  • Connection to the to the network switch and check that it is pingable
  • The Window machine olserverwin has been set, using the Moxa NPort_administrator application as root, so that the virtual COM11 port is associated with the ethfcem-01 bridge and the virtual COM12 port is associated with the ethfcim-01 bridge.
  • The global new virtual COM association is then:
  1. COM2 -> ethsdb201
  2. COM5 -> ethsib201
  3. COM6 -> ethsprb01
  4. COM7 -> ethsneb01
  5. COM8 -> ethsweb01
  6. COM9 -> ethsqb1-01
  7. COM10 -> ethsqb2-01
  8. COM11 -> ethfcem-01
  9. COM12 -> ethfcim-01

The next step will be to use the application TMCL-PC provided by Trinamics to configure the controllers via a download.

AdV-COM›automation Updated · comment 8 Feb · 08:37 carbognani, masserot 22 Jan 2021 · 17:56 #50550

Largely fluctuating latency of Automation nodes

It has been known for some time (back already in O3) that the Automation nodes were characterized by a strange oscillating, increasing and then resetting back latency impacting the downstream DAQ (See Daq_FbmAlpTest_TESTTRON2_latency channel on Fig. 1 and 2).
This behaviour has been investigated and traced back to the way the metatron nodes are plugged in into the DAQ chain within the ezca library.
Modifications have been made on the main metatron/DAQ integration loop making it more similar to the one implemented into the PyALP application and boling down into respecting the following order while dealing with frames in the loop:

  1. frame.close()
  2. frame = fdio.get_frame()
  3. out_frame = frame.copy()
  4. out_frame.write_sms_prefix(.....)
  5. fdio.put_frame(out_frame)

Those modification have been implemented into metatron-1.5 and tested within the VirgoOnlineTest framework. Results can be seen on Fig. 3 were the latency of the TESTTRON2 node is now fluctuating around an average value (approx 2.2sec). The behaviour of the channels accessed into the user code seems unaffected (as shown by the count/COUNTER channels).
We intend to put in operation this new version of metatron on the dedicated shift next Monday afternoon

6 3
bersanetti, carbognani, poulton · 25 Jan 2021 · 23:22 #50570

During this afternoon shift we attempted to put in operation the new metatron version as tested offline.
We soon discovered that the fixing of the latency was corresponding to the writing of metratron specific channel (like the node _index) with a second of additional delay (Fig.1) respect to the previous metatron version (See Fig.2)
After deep investigations, we resorted in spitting the frames interaction between check_connections() and the new manage_connections() ezca method to replicate the same situation in PyALP corresponding to the sequence:

  • check_connections()
    • frame = fdio.get_frame()
    • out_frame = frame.copy()
  • user code
  • manage_connections()
    • out_frame.write_sms_prefix(.....)
    • fdio.put_frame(out_frame)
    • frame.close()


Many tests involving nodes stop/restart and NARM_LOCK + WARM_LOCK driving to locked were done from single user installation.
Then at the end of the shift a site installation of metatron 1.5 (containing the updated version 1.4 of guardian and ezca) was done and a last locking of the arms performed.
Fig 3 show the fixed latency of all restarted nodes and Fig. 4 show the absence of the additional one sec delay.

 

bersanetti · 26 Jan 2021 · 17:53 #50579

Something very unexpected seems to have happened, which is most probably related to yesterday's activity, although the reason is still unclear. Anyway, for the time being, do not pause Metatron nodes, or they will eat up all the memory of olserver52 (this is probably the cause of the sudden death of many *Moni processes earlier this afternoon).

Verifications ongoing.

carbognani · 26 Jan 2021 · 23:30 #50585
Problem analyzed, fully understood, and new version of metatron in development.
For the time being is better to roll back to the previous metatron version (1.4) and then goes as far as possible with testing offline of the new version which should be possible on the TESTTRON nodes.
I will check with the control room or agree during the next daily on the best short time slot for a restart of all automation nodes.
bersanetti, carbognani · 27 Jan 2021 · 21:32 #50599

This afternoon we rolled back to Metatron version 1.4, the one in use up until monday afternoon, restoring the previous situation (nodes are pausable, latency can fluctuate). After some more offline tests, the new version will be re-deployed in a dedicated time slot.

carbognani · 7 Feb 2021 · 16:37 #50708

Today I have put in operation release 1.6 of metatron (corresponding to ezca v1r6 and guardian v1r5) fixing the large latency fluctuations without introducing memory leaks.
This has been done by adding a flag, at the level of the guardian library, in the worker.py main loop running the user code. The flag triggers the execution of manage_connections(), at the very beginning of the loop, in case this has not happened at the previous cycle because of any reason (automation node in pause, exceptions in the user code, etc.).
The solution has been verified first on the TESTRON2 node. In Fig. 1 the memory leak is immediately evident from the memory increase reports on the node logs in VPM, and the on Fig. 2 the memory leak is not anymore there when the node is paused. Fig. 3 show that the latency is back to a normal behaviour and unaffected during the pause period.

All running automation nodes have been then brought to DOWN, restarted on top of the new 1.6 release and then brought back to the upper possible states namely:

  • INJ_MAIN: IMC_RESTORED
  • NARM_LOCK: LOCKED_ON_B7_BOOST_ON
  • WARM_LOCK: LOCKED_ON_B8_BOOST_ON
  • SQZ_MAIN: LOCKED_PLL_INT

without problems.
Fig. 4 show the latency of all running node back to normal and it can be also compared with the FbmMain (from which the nodes are getting the frames) one.
Fig. 5 provide a snapshot of the situation whit a couple of nodes (INJ_MAIN, SQZ_MAIN) put in pause. Nodes latency and olserver52 (the nodes running machine) memory are not effected.
I leave the interferometer with both arms locked on the IR beam as I found it this morning.

masserot · 8 Feb 2021 · 08:37 #50711

The latency reduction can be seeing in the attached plot

AdV-SIN›Installation Updated · comment 1 Feb · 15:27 passaquieti, tacca, bertolini 21 Jan 2021 · 00:26 #50523

SQB2 multisas work

In the last days we worked on the leveling and balancing of the SQB2 multisas:
- we installed the dummy load;
- we unblocked the vertical Filter 1;
- we added small masses both on the dummy load and on the F1 in order to have both the vertical filters, F0 and F1, around the proper vertical working point and to balance them;
- we unblocked the inverted pendulum IP;
- we tuned the IP legs in order to have them around the proper working point.
At the end of the activity, everything was floating and free to move.
Unfortunately, we could not connect all the cables inside the minitower since some of them are too short and do not reach the feedthrough. We already ordered the missing parts and we should be able to complete the installation and acquire data in the second half of the next week. Once everything is set up, Nikhef people could work remotely on the control loops of the suspension and perform tests and characterization.
The final balancing and fine tuning will be done once the optical bench is installed.
2 4
In the last few days Fabio and Francesco prepared the patch cables to connect the original cables to the feedthrough (many thanks).
Yesterday we plugged all the cables and we checked the signals of sensors and actuators (DAQ configuration file was prepared in the past).
At first, we observed a strange behavior on the geophone signals and we realized that the one installed on the multisas was without the last needed modification to power it. Therefore, we asked Beatrice to make the needed modification (many thanks) and we replaced it.
We replugged all the cables and we checked again the signals. We discovered that one LVDT and the seismometer were not working as expected. Meanwhile, also all the actuators have been tested and they were working properly (many thanks to Franco and Stefano for the SW configuration to use the stepper motors prepared in the past).
On Monday, we will check the LVDT and the seismometer to fix the problem.
tacca, bertolini, vardaro, montanari · 1 Feb 2021 · 15:27 #50631
We checked the troubles on the multisas devices not working properly:
- for the seismometer there was a problem on the electronic board at the level of the rack. Replacing the board solved the problem;
- for the LVDT, we discovered that 1 wire of 1 coil was unwelded. Beatrice welded the wire to the connector solving the problem (name thanks).
Now everything works properly and tests on the suspension control can start.

Pre-tests for new python core packages baseline

As agreed on Friday daily meeting, I have performed this afternoon some preparatory tests (via single user install, no site installation were performed) for the new python baseline ( PyCm: v7r1p1, PyFd: v4r1p1, PythonVirgoTools: v5r0p3)  to be put in operation as precondition for proceeding with the overall python3 porting in Cascina.

Everything is fine if running heavily data or cm command loaded servers like the PySat ones: SusDAQBridge and SatServer (and BTW, once again it could be seen that the automation  nodes are able to manage correcty a restart of the SatServer, with the WARM_LOCK node, for example, remaining undistrurbed and in locked state).

Instead, it looks like that automations nodes themselves cannot run on top of the new baseline.

While trying to diagnose the problem offline using the VirgoOnlineTest TESTTRON2 node, we put then on hold the deployment of the new baseline planned for Monday.

AdV-DAQ›Data collection Updated · comment 22 Jan · 11:15 masserot, mours 21 Jan 2021 · 23:16 #50539

RawFull - Missing frame

Since 18hLT there is some missing frames into the RAWFULL stream built on the stol03 host

This plot show the number of ADCs and the throughput  for the RAW stream and the RAWFULL one : for the RAWFULL stream the  throughput  changed from  145MB/s to reach 150MB/s

The last plot  show the ganglia network report on the stol03 host  : there is an increase of 40MB/s on the input flow not compatible with the DAQ data flow increase .

Investigations inprogress

3 2
masserot · 22 Jan 2021 · 10:05 #50543

The troubles stopped this morning in coincidence with a decrease of the stol03 network activities and without any change in the DAQ flow. So we don't known why

There was an error in the RAW_FULL  throughput computation: it 's 75MB/s and not 150MB/s

The first plot show the standard RAW streams and RAWFULL stream

The second plot show the network activities reported by ganglia for the stol03 host

masserot · 22 Jan 2021 · 10:18 #50544

In fact the increase of network activity was due to an heavy readout of some files in the RAWFULL stream  launched by F.Carbognani

Anyway it s strange to see that this kind of readout is able to slowdown the writing of the frame files.

carbognani · 22 Jan 2021 · 11:15 #50545
Indeed I confirm that on request of INJ group we proceeded in saving apart rawfull data for the GPS period 1294854320 - 1294870520. Since we are short in archiving space the copy was done only for the relevant subset of channels (INJ_* PSL_* PSTAB_*) via an FdIOServer running on olserver53 on the time interval mentioned by Alain.
We had to organize this quickly since that time period was being soon overwritten and sorry for not reporting it right away on the logbook.
Since we saw a similar problem on the past with a plain copy of files out of the rawfull buffer we will investigate if there is a possibility for some tuning able to have the reading agent not impacting the performances of the writing agent.
As a note, we are currently in the process of expanding (doubling the size) the rawfull buffer hopefully reducing the needs of archiving aside the data contained there.

AdV-ALS›End arm injection Updated · comment 19 Jan · 13:52 carbognani 15 Jan 2021 · 17:07 #50458

FlipMirror_NE, FlipMirror_WE and FlipMirror_ATR moved to VirgoOnline VPM

Since being routinely used and in need to be integrated with the subsystem automation, the ALS Flippers servers: FlipMirror_NE, FlipMirror_WE and FlipMirror_ATR have been moved from the VirgoOnlineTest VPM instance to the VirgoOnline production instance and integrated into ISC subsystem, correspondingly into ALS_NEB, ALS_WEB and ISC groups. This has been the occasion also to move to the last version of PySbEth (v1r2p1) default in VirgoOnline.
1
carbognani · 19 Jan 2021 · 13:52 #50494
Those servers have also been added inside FbsISC and now the channels ALS_CEB_REL1-8, ALS_NEB_REL1-8 and ALS_WEB_REL1-8, are now available on the DAQ (See Fig. 1)
AdV-COM›automation Updated · comment 7 Jan · 11:03 bersanetti, carbognani 6 Jan 2021 · 01:50 #50366

Automation shift: system-wide PySat installation, PythonVirgoTools upgrade, reactivation of the *ARM_LOCK Metatron nodes, minor works on INJ_MAIN

At the beginning of the shift we made:

  • site installation of PythonVirgoTools v5r0p2 (for both anaconda python2 and python3)
  • installation in /virgoApp and run from there of PySat v2r1

Made quick check for automation restarting all SUS nodes and driving them to ALIGNED or MISALIGNED; note that PySat is still logging verbosely, to verify that all is working as expected; still, the logs are outside the /virgoLog/ area (in /data/dev/logs/VirgoOnlineTest/SatServer/) to avoid any issue about disk space. After further checks, it will be reverted to standard logging in the standard place.

We made also some tests steering with the AlignementUI GUI confirming good behavior but also the presence of the Cm reply processing errors, further investigations are needed but this is confirmed as a minor problem.

In order to be compliant with PythonVirgoTools v5r0p2 the statement:

sender = pvt_utils.native_str(sender)

needed to be added into all Cm handlers of python based servers to solve "returned non-string (type bytes)" error

For this reasons the following updated version of packages were also installed, made default in VPM config and corresponding servers stopped/restarted:

  • PySb v4r2
  • PySbEth v1r2p1
  • PyLnfs100 v2r1p1
  • PyAgilis v3r1p1
  • PyGenie v2r1p1
  • PyArtic v2r0p1

For some of the servers (ex: SWEB_MotSwitch) , non impacting commands were sent in order to double check correct commands management.

During the whole test session no occurrences of the tango timeout error were reported into the PySat server logging. Few occurrences of NaN response from GetGain() could be spotted but those were managed by the automation nodes without problems.

Then we worked on the reactivation of some Metatron nodes:

  • we reactivated the NARM_LOCK and WARM_LOCK nodes and managed to robustly lock the arm cavities with them; a few notes:
    • the engagement of the lock was smooth; also the boost filters and the drift control were tested and worked reliably, especially the latter as we are now using the new PySat server;
    • we updated the configuration files with the last used parameters from the ISC shift of Mon 4th;
    • we did not update, upgrade or polish the code of the nodes, as at first we want to check that everything is in order before starting any development; any future development will need consideration about backward compatibility with the O3 configurations;
    • from now on the nodes SUS_NI, SUS_NE, SUS_BS, SUS_WI and SUS_WE are managed again by the appropriate arm node; this means that the corresponding suspensions will be automatically steered as needed;
    • SUS_PR and SUS_SR are not managed and have to be checked manually; in particular, the aligned/misaligned positions of SUS_SR are to be considered as work in progress and not usable without a preliminary check;
    • as this feature was managed by upper, still un-commissioned nodes, bringing the arm nodes to DOWN will NOT bring the general safety switch LSC_ENABLE to zero, so it has to be done manually via iPython/VPM; this will avoid unlocking both nodes at the same time when only one is asked to, and it is not a safety issue as we don't need it with these very basic configurations: the safety switches of the single loops in the DOWN state should be enough, but it is best to document it anyway;
    • the "single bounce from NI" configuration is achievable by using the two nodes and selecting the states MISALIGNED_WEST_ARM and MISALIGNED_NORTH_END in the appropriate node.
  • then we did some minor work on the INJ_MAIN node:
    • we checked the first part of the FmodErr procedure manually, namely the check of the mistuning itself, and the actuation on the LNFS;
    • we changed the way we change the modulation frequency via the LNFS: since now we have cm handlers for that, we replaced all the calls to external scripts with the corresponding cm command; the underlying code of the two is essentially the same, so this change is transparent;
    • the logic of both the check and the tuning via the LNFS are working, while the calibration of the latter obviously changed over time and will need to be updated; since we can steer the LNFS only up to a point, this will probably be done in coincidence with the future work on the mechanical tuning, which has been in any case hardcodedly bypassed for the time being;
    • INJ_MAIN is still not managed by any node, and it has to be checked manually before using it or other nodes. IMC_RESTORED is the target state, as usual when the node is moved manually.
1
bersanetti · 7 Jan 2021 · 11:03 #50377

The note about the LSC_ENABLE flag also applies to ASC_ENABLE, as it was also managed to upper nodes. It has to be = 1 for any alignment to work (drift control included) and it is not set to zero automatically but, again, the loops are sufficiently safe on their own. While there is no need for LSC_ENABLE, ASC_ENABLE needs instead to be put back to 1 manually in case of process restart,

Online Computing›Virgo Platforms and Services Updated · comment 29 Dec · 14:59 dibiase 28 Dec 2020 · 10:32 #50321

Olservers and others service down for hw issues

Due to Hw issues on the Xen Server Host machines (xenserver128, xenserver130,xenserver131, xenserver135) some virtual machines have gone down:

  • olserver137
  • mysql1
  • tangohost1
  • olserver114
  • olserver123
  • olserver129
  • olserver133
  • olserver134
  • olserver135
  • olserver37
  • olserver38
  • olserver226
  • pub24
  • pub25

I restarted them on others Xen Server Hosts and service are again available.

 

3
carbognani · 28 Dec 2020 · 13:03 #50323
Since olserver129 was also involved, it was needed to restart there the Tango database server (DataBaseds) serving the INJ subsystem.
Running also the Tango Starter all INJ Tango process were automatically resumed. At this point it was possible to rerun the corresponding DAQ bridges SL_TempController and Lnfs100
dibiase · 29 Dec 2020 · 10:44 #50328

To fix some issues pending after HW failure I needed to restart Network module (Power Recycling on MXL A1,A2) on Chassis 6.

After this operation I needed to restart also:

  • olserver129
  • olserver136
  • olserver137
  • olserver143
  • olserver144
fcarbogn · 29 Dec 2020 · 14:59 #50331
Also in this case I have restarted all Tango processes on olserver129 and the corresponding DAQ bridges SL_TempController and Lnfs100.
AdV-SAT›Suspension control upgrade Updated · comment 24 Dec · 14:18 carbognani 25 Aug 2020 · 14:58 #49270

Communication problem with suspensions is back

As reported by the operator: "During the afternoon we experienced a series of disconnection errors of the code created to align the North cavity that seemed related to the Suspension software"
it seems that our old  Communication problem with suspensions ( See: 46810, 46698 ) is back.

Making the problem very evident does not need any script running or any attempt of communication. By just using the standard Tango tools (from Jive) you can set to monitor the nodes creating problem and it can be seen that the corresponding attributes (and the status flag itself) become gray and sometime a timeout error is reported. The same kind of timeout is what get seen from any stand alone python script (or automation node) as disconnection error.

The fact that the problem is uccurring while all Automation nodes are completely off, is a further demonstration that the additional load generated by the queries coming from it is not a factor in this problem.

As usual, for trying to improve the situation, I attempted the whole tango servers bundle restart, but unfortunately, this did not improve the situation. In Fig. 1 and 2 the status of the NI, NE and PR SatServers before and after the restart. No improvement.

I also had a look to the health state of the hosting machine (olserver120) without spotting anything pathological (Fig.3 - 8)

Most probably, the deeper investigation process suspended during O3 need to be resumed.

10 8
boschi, carbognani, tacca, tapia · 27 Aug 2020 · 19:06 #49277
Today we have attempted to make some further changes to diagnose the problem.
All servers were progressively moved from olserver120 (virtual machine)  to olserver53 (physical machine) in groups (the tango so called levels) without major effects.
When we tried moving to olserver53 also the DataBaseds process (so making olserver53 the new TANGO_HOST) that seemed to make the difference.
Trying to then swap back to olserver120 we thought to see a repeatable worsening effect but then we realized we were again fooled by the initial transition effect that seems to be there when the SatServer get restarted.
It seems we reached a slightly better situation and probably the most important action was the restart of the DataBaseds more than anything else. We leave anyway the rest of the process on olserver53 and we may attempt going back in the future.
We made some attempts to try to use GUI interfaces (mirror steering) and python locking scripts which were still inconclusive to see if we are in a workable situation.
boschi, carbognani · 28 Aug 2020 · 17:34 #49286
Today we have made the following activities:
- We tryied if splitting the SatServer/ALL instance into towers instances would make any difference thus creating three server instances: SatServer/NI, SatServer/NE, SatServer/PR.
It turned out that no big gains could be achieved with this splitting with the behaviour of each single instance very similar to the SatServer/ALL so we stepped back.
- Then we started looking at the available errors messages from the LcuServer and we acted on the code in order to eliminate the timeouts generated by periodically reading the runningSoftware attribute. The reading is stopped as soon at least a succesfull reading is made. This eliminated those error reporting on the LcuServer and seemed improving the situation.
Also, little modification was done on the SatServer in order to reduce the frequency of LcuServer status reading. No relevant improvement could be spotted.

In this status some commissioning could proceed as reported. Those investigations and limited improvements are not conclusive. To be resumed next week.
carbognani · 11 Sep 2020 · 13:55 #49401

During the activities triggered by yesterday network problem we realized that some of the Tango applications were showed as stopping/restarting by themselves from the astor interface.

Looking at the /var/logs/messages on olserver53 we realized that those corresponded to crashes of processes caused by segmentation violation errors:

[Sep11 09:33] python[27274]: segfault at 38 ip 00007fa2f070750d sp 00007fa2e739ecd0 error 4 in libomniORB4.so.2.1[7fa2f0616000+1ac000]
[Sep11 10:25] DspServer[31774]: segfault at 0 ip 00007f736c40f901 sp 00007f7361ff97c8 error 4 in libc-2.17.so[7f736c2a1000+1c2000]
[Sep11 10:37] DspServer[32598]: segfault at 0 ip 00007f62a3c70901 sp 00007f62997f87c8 error 4 in libc-2.17.so[7f62a3b02000+1c2000]
[Sep11 10:58] DspServer[34099]: segfault at 0 ip 00007f995b9ed901 sp 00007f99517f87c8 error 4 in libc-2.17.so[7f995b87f000+1c2000]
[Sep11 11:22] python[35878]: segfault at 10 ip 00007fa34eae716c sp 00007fa330f38e50 error 4 in libtango.so.9.2.2[7fa34e78e000+5b3000]


Since moving the whole SAT Tango bundle to olserver53 did not make a big difference and since we did not recall observing such kind of problems on olserver120 we have rolled back this config change and restored previous situation moving back all Tango SAT Servers to olserver120

The swap has been performed during lunch time

In terms of the communication problems it lseems we are in a relatively good state since it is not possible to immediately reproduce it, at least for an ipython interface were data reading statement like this:
In [224]: for i in range(0,1000):
...: print(PR.MAR_TX_SET)

can be executed without triggering timeout errors.

To be confirmed by checking the situation while running locking scripts

carbognani · 27 Oct 2020 · 19:07 #49759

This afternoon I have continued the activities of debugging on this problem. Actions included:

  • Removal of the always_executed_hook and read_attr_hardware general methods inside SatServer.py: no effect
  • Modification of the polling period (poll_period) of all satserver devices from 2 sec to 5 sec: no apparent effect
  • Set to 0 of the poll_period of all satserver, implying no more polling: A much shorted initial transient of the SatServer could be observed and some improvement for some towers but still on some towers such as PR timeouts were still there, observable from ipython or from the AlignementUI.


So, results are still inconclusive but all investigations so far kind of converge on the suspect that those timeouts are embedded into the (probably too many) levels of DeviceProxy indirection:

Application (DAQ bridge, Automation) -> DeviceProxy -> SatServer -> DeviceProxy -> LCuServer -> DeviceProxy -> DspServer 

I have now restored the standard parameters (2 sec polling) and restarted the standard version of the SatServer which runned during O3 (v1r3):
fcarbogn@olserver120[~/packages/Sa/SatServer/v1r3p2]: ps -ef | grep SatServer
virgod 3265 1 2 18:22 ? 00:00:26 python /virgoApp/Sa/SatServer/v1r3/src/SatServer ALL

 

bersanetti, boschi, carbognani, vardaro · 2 Nov 2020 · 09:53 #49805
On Thursday Oct. 29 afternoon, a debugging session on this problem was carried out with Diego and Valerio.
As usual, interpreting the logging outcome is not easy but we confirmed the suspect that the problem are occurring at the level of SatServer and LcuServer DeviceProxy and that the DspServer level seems working fine.
We did not revert some of the testing conditions, specifically the inhibit of the 2sec polling of all gnames in the SatServer. Interacting with Marco Vardaro it seems that in this conditions (were the major solicitation of the system is not there) the Alignement GUIs are much better responsive and running locking python scripts seems now possible with the rate of communication errors much lower.

There seems to be negative side effect in the data collection via the DAQ bridge but, since this have much lower effects on the current activities, we keep this setup for the moment while keep working on this offline.
carbognani · 11 Nov 2020 · 21:43 #49901

As discussed at the last meeting dedicated to this issue, being few weeks of further debugging inconclusive, I have proceeded in implementing a new server with the aim of substituting the existing TangoDAQBridge and provide interface role for the virgotools library and the Automation scripts.
This new server (corresponding to the PySat package) is bypassing the Tango SatServer and LcuServers and interface directly to the Tango DspServers via the standard Tango DeviceProxy mechanism.

After some offline testing on the VirgoRD domain (including data collection from a single tower), this morning I have substituted the existing SatServer DAQ bridge (an instance of the TangoDAQSmsBridge):
https://vpm.virgo.infn.it:40000/main.html?subsystem=Suspension&process=SatServer
with the new PySat implementation.

Even if further monitoring is needed, things looks good so far with data being continuously acquired and no sign of data missing because of timeouts. This can be clearly seen from the DMS were the corresponding flags did not become gray anymore since the restart using PySat (See Fig. 1-2).

As far as the Tango SatServer, the standard parameters (2 sec polling) have been restored (which set to 0 ultimately did not provide any improvement, as it seemed at the beginning) and the standard version which run during O3 (v1r3) has been restarted.

The next steps in this activity will be the development in PySat of the Cm handlers able to regenerate the interface to virgotools and the corresponding modifications inside the PythonVirgoTools library. Once those finalized, it will be possible to test against automation scripts and user interfaces such as the mirrors steering GUI (alignementUI).
 

carbognani · 19 Nov 2020 · 15:48 #49980
This morning at around 09:30 LT I have restarted the PySat server to put in operation the new version (v2r0) that include the interface toward virgotools and the Automation/GUIs
Valerio and Paolo have  provided the TEST_COM test gname in Sc_SR and reading/writing tests against it have been positive so far with no sign of timeout errors.
Next step is the modifications of PythonVirgoTools to make it compliant with the new interface. As mentioned by Bas at last coordination meeting, those modifications should be relatively easy to implement.
 
 
boschi, carbognani, swinkels · 21 Dec 2020 · 22:01 #50296
This morning we have progressed in the tests of PySat v2r1 and PythonVirgoTools v5r0 implementing the interface toward GUIs and Automation.

We have made stress tests in writing and reading back of Sc_SR TEST_COM both from the Cm interface and the virgotools one (basically via SR.TEST_COM) at increasing rate for increasing number of times with good results.
We had a crash of PySat at very high speed with the plain Cm interface. To be investigated.
We made also some tests steering the WE and PR mirrors from the AlignementUI GUI and the interface was well responsive with no timeout occurrences. We got few times some reply processing errors, but then all commands and mirror steering completed correctly, with no effect on the actual ongoing actions.
With further investigation, it seems that those errors are associated to the way specifically cm_send_receive was originally implemented inside PythonVirgoTools.
Those problems were not evident before most probably because the different nature of the virgotool interface toward Tango SAT. This will be further investigated but is totally unrelated with the timeout problems and does not prevent keep testing with the current virgotools version.
bersanetti, carbognani, melo, swinkels · 23 Dec 2020 · 17:05 #50313
This morning we have made good progress in testing PySat v2r1 and PythonVirgoTools v5r0 against the Automation.

We started with the INJ_MAIN automation node, and by updating few configuration parameters we have been able to achieve IMC_RESTORED state without problems.
We refrained to attempt the start of the FMODERR tuning sequence that we considered would need a dedicated shift for proper tuning.

Then we attempted the restart of all SUS node (adding also the missing SUS_SR node) and there we experience that the sporadic crashes of PySat observed in the past became fully repeatable every time we attempted the transition to SAVE_ALIGNED.
We were then able to trace that the crashes were linked to the periodic query of data for the DAQ made in parallel and we have solved the problem by having a 2 separate processes (also conceptually more correct), one for the DAQ bridging (called SusDAQBridge) and one for the interfacing with Automation/GUI, still named, for the moment, SatServer (we will change most probably also this name for not making confusion with the Tango SatServer).

We experienced also one occurrence of a NaN while reading gnames which implied the triggering of an USER_CODE error inside the automation. This will need to be more gracefully managed similarly to the EzcaConnectError.
Since, most probably, introducing this error management at the level of user code is cumbersome, it need to be done at metatron code level itself (will be done and tested soon).

We made also some tests steering with the AlignementUI GUI confirming good behaviour but also the reply processing errors, and alternative implementations of cm_send_receive are currently investigated (not a blocking problem)

We leave the automation with INJ_MAIN and all SUS nodes up and running (See Fig. 1) since it´s quite interesting to verify the long term behaviour (SUS nodes are periodically exercising the system by checking that the suspensions are controlled). Currently the SatServer logging is quite verbose and we leave like this for this initial tests phase.
carbognani · 24 Dec 2020 · 14:18 #50316

As far as a sporadic occurrence of a NaN or in general errors on DSP interfacing, I verified (actually failed to remember....) that they could be easily managed by simply adding the new corresponding exceptions (DSPGetError/DSPSetError from virgotools) into the available (in META_library.py) handle_exceptions() decorator already embedded everywhere into the user code for the purpose.

An example of the resulting error management of a NaN occurrence is below, leading to the resuming of SUS_BS node afterward:
2020-12-24-08h00m20-UTC>INFO...-gname F0_DC_ENBL has value nan
2020-12-24-08h00m20-UTC>INFO...-cm_send(b'SUS_BS', b'get_value_reply', nan)

2020-12-24T08:00:20.442Z SUS_BS [ALIGNED.run] USERMSG 0: EZCA CONNECTION ERROR: DSP Get Error: Did not receive a finite gname value: nan
[ALIGNED.run] USERMSG 0: EZCA CONNECTION ERROR: DSP Get Error: Did not receive a finite gname value: nan
2020-12-24T08:00:20.549Z SUS_BS CONNECTION ERROR. attempting to reestablish...
CONNECTION ERROR. attempting to reestablish...


This error resilience can be quickly made evident by stopping/restarting the SatServer. As seen in Fig.1-2, all SUS nodes are able to correctly resume running after the event.

I restarted all SUS nodes after the modifications and so far, no more blocking USER_CODE errors were experienced.
I´ll leave all SUS nodes running and I will keep monitoring the situation in the coming days.

So, knoking wood, those deployment tests results are quite positive, confirming what observed when deploying only the DAQ bridging with the frequent timeouts not occurring anymore.

AdV-TCS›Acoustic enclosures Updated · comment 4 Dec · 09:34 Ballardin, Ciardelli, Menzione, Nardecchia, Lumaca 8 Sep 2020 · 11:04 #49373

Switch on of WI CO2 laser

This morning we turned on the WI CO2 laser, for the first time with the upgraded cooling system (entry  49285). The set points of the chillers in the chiller room have been set:
- WI chiller = 19°C
- BCK chiller = 19°C
- NI chiller = 25°C

The channels to monitore the chiller's temperatures are:

  • TCS_GUA_WI_TE
  • TCS_GUA_NI_TE
  • TCS_GUA_BCK_TE

Also the thresholds to activate the Guardian have been upadated (figure attached).

At 10:50 LT we switch on the WI CO2 laser.
Also the CINOGY has been turned ON to be used during the work in the afternoon.

TO DO:
- Include the new BCK chiller process in the VPM tochange the set point
- Update the theresholds in the DMS.

2 1
dattilo, nardecchia · 14 Sep 2020 · 11:50 #49410
On Friday 11th afternoon, the flags concerning TCS chillers and guardian have been accordingly updated with the new tresholds. After that, the flag "Chillers" is green again.
carbognani · 4 Dec 2020 · 09:34 #50126

After the finalization of CO2 Lasers Backup Chiller RS232 connection to the ethadvtcs2 Ethernet/Serial bridge I have added a new dedicated instance of the PyArtic server, TCSChillerBCK, on the VPM inside the TCS group.

After updating the baud rate on the port 2 of the ethadvtcs2 bridge to 19200 (as for port 1 and 3), I could run the server and immediately communicate correctly with the Chiller.

The new channels made available are the following:

  • TCSR_TE_BCK_Chiller
  • TCSR_TE_BCK_Chiller_Set

The new process name has been added into FbsMoni and those channels are currently available on the DAQ (See Fig. 1). The DMS need to be correspondingly updated to take into account the new channels.

Creuzet PLC interface software upgrade for Auxiliary laser interlocks support

As part of the activities for the Auxiliary laser interlock installation, I have put in operation this afternoon the version v2r0 of the PyPlc software able to manage a configurable number of PLC registers and the corresponding channels names.
This version is able to support the 8 registers/channels coming from the NI/WI and NI/WI Auxiliary Lasers interlocks.
The new channels names are the following:

  • NI_CO2_OverTempTrig
  • WI_CO2_OverTempTrig
  • NI_TE_CO2Laser
  • WI_TE_CO2Laser
  • NI_AUX_OverTempTrig
  • WI_AUX_OverTempTrig
  • NI_TE_AUXLaser
  • WI_TE_AUXLaser


For the occasion also the process name has been changed from TCSPlc to LaserGuardianTCS.
The process name has been updated into FbsMoni and those channels are currently available on the DAQ (See Fig. 1). The DMS need to be correspondingly updated to take into account the new channels and the new naming convention.
 

1
IT infrastructure›Network Updated · comment 25 Sep · 15:10 cortese 10 Sep 2020 · 16:43 #49388

NAC (Network Authentication and Control) problem

Today since midnight many physical devices started to disconnect from the network apparently randomly until when the majority was not reachable this morning ( see this entry ) both in the experiment network and the general network (thin/vdi clients and phones).
The problem was related to the centralized infrastructure that assigns the devices to the vlan/IP_networks according to their ethernet mac-address: this has been traced down to the primary RADIUS server which started to deny access requests randomly.
After having reconfigured the LAN switches to point to the secondary RADIUS server the NAC assigment was working again around 13AM LT.
Since the current SL6.x RTPCs depend on this infrastructure to allow for their mobility, they also have been affected and required to be rebooted.
Some other devices whose dhcp client is not resilient to server outages needed to be either restarted manually by Franco (Netcom eth/serial bridges) or their interface flapped remotely from the switches (Hameg PSUs , env monitoring boxes).

(in NEB, the link of a device, probably ipcam05 , has been disabled since it floods the network with multiple source ethernet addresses causing load on the radius servers; at the moment it is not possible to point it as the cause of the NAC problem)

The primary radius server will stay offline until when the investigations will be completed.

6
carbognani · 11 Sep 2020 · 06:35 #49395
As mentioned, as side effect of this problem, I had to unplug/plug the Netcom eth/serial bridges in the TCS room, EERoom and INJ Elab and restart the corresponding servers, namely:
TCSChillerNI
TCSChillerWI
Lnfs100 (Tango side)
SL_TempController (Tango side)

I also attempted the reset of the Netcom present on the half rack on the CEB entrance (serving the Piezos and Translation Stages) but they would not connect to the dedicated switch on the rack (no communication leds blinking). They are not currently in use and Stefano confirmed they were not present on the network for some time. To be further investigated.
cortese · 14 Sep 2020 · 16:15 #49413

The problem has been traced down to an abnormal behaviour of ipcam05 (indeed in NEB and not WEB as previously written) and, to a lesser extent, of ipcam37 (in WEB).

Since end of August these devices started to flood the network with ethernet frames with unauthorized, apparently random, ethernet source addresses.

They finally increased the flooding to a rate of 2M packets per day in the first week of september.

Although the primary radius server was denying the access to these packets, the log of the transactions in the end filled its disk space until the point that it started to deny all the request (legitimate or not) that it could not log so causing the progressive/random kick out of many ITF devices and RTPCs.

To avoid similar problems in the future the two radius servers have just been put under monitoring/alarming for their disk space, and the log files rotation augmented with safety measures.

Investigation is ongoing by LAPP to solve this weird behaviour of the ipcams.

 

cortese · 16 Sep 2020 · 09:09 #49431

The anomalous behaviour of the D-Link ipcams in the terminal buildings has been found to be caused by the UPnP service defined on them and their loss of configuration occurred a few months ago due to electricity interruptions.

Thierry is going to disable this service on all the ipcams, since it is unneeded.

masserot,bouedo,pacaud · 21 Sep 2020 · 14:50 #49456

The  same troubles occurred once more this morning around 05hUTC due to the camera  "SNEB_FrontRight" - ipcam37 even if the   UPnP service  was disable on all IP cameras last week.

There is  a camera spare available  in the CEB-LAPP-office to replace  with the faulty  one . It will helpful if the swap could be done soon .

As consequence all  the ITF Ethernet devices have to be reconnected to the network.

cortese · 22 Sep 2020 · 10:13 #49465

The problem was the same occurred last week  caused by ipcam37 having the UPnP service still enabled as it was originally on ipcam05.
I disabled it yesterday morning.

Unfortunately the disk space check we put last week on the radius servers to warn of the flooding didn't work because of a typo and therefore the disk filled again.

Now the alarming has been corrected.

pacaud, tacca · 25 Sep 2020 · 14:10 #49501

The ipcam37 has been replaced by the ipcam42 and the Telescreen configuration upgraded . These operations were done yesterday (2020-09-24) at  the beginning of the afternoon

AdV-COM›automation Updated · comment 23 Sep · 14:45 carbognani, chiummo 23 Sep 2020 · 13:45 #49479

Restart of INJ_MAIN node

After double checking the configuration stored on the corresponding .ini file, made in the past days by Antonino, this morning we have attempted the restart of the INJ_MAIN automation node dedicated to the INJ subsystem.
Apart few initial problems of communication with the MC tower when entering in the DOWN State (the usual ones, but encountered only when trying to write gnames, not while reading) , we could proceed step by step on the intermediate states  (checking the performed actions) until IMC_RESTORED without problems.
We also checked the FmodErr tuning logic (requesting manually the FMODERR_TUNED State) which was fully performed once, with both MC_Z and LNFS tuning loops engaged. Multiple repetition of the state transitions cycles, including switch off of the node and restart from INIT, were also done.
We leave the INJ_MAIN node up and running available for usage (and more stress tests).
Considering the positive outcome, the restart of further nodes will be soon attempted
AdV-SBE›MultiSAS controls Updated · comment 16 Sep · 16:42 carbognani, cortese, Nikhef Team 16 Sep 2020 · 15:42 #49433

SQB1 MultiSAS Stepper Motors Control

With the SQB1 MultiSAS electronic installation we had to integrate the control of the corresponding Stepper motors.
This implied the setup of the:

  • remote ON/OFF control
  • communication to the motor controller (realized via a Moxa NPort 5130A Ethernet/Serial RS485 bridge)

Remote ON/OFF control setup steps:

  • The connection of the dS1242 Ethernet 2 x 16A Ethernet relay mezzanine to the network switch and addition into DNS (relais-sqb1-01)
  • Once the dS1242 mezzanine was reachable from its web interface http://relais-sqb1-01.virgo.infn.it/_config.htm (to be noted that those setting are only allowed if an USB cable is connected to the dS1242 mezzanine):
    • The communication protocol has been set from the ASCII default to Modbus over the standard 502 port in the TCP/IP box
    • The password protection has been disabled in the Webpage Security box  by uncheking Enable _pw.htm
  • The addition into VPM of a new mSAS group SQB1 and a new instance of the PySb server named SQB1_MotSwitch

Remote communication setup steps

  • Connection to the to the network switch and setup the Moxa NPort 5130A bridge (MAC address: 00:90:E8:71:A5:3C) networking in DHCP mode and assigning the name  ethsqb1-01(Ethernet bridge 01 for SQB1).
  • The Window machine olserverwin has been set, using the Moxa NPort_administrator application as root, so that the virtual COM9 port is associated with the ethsqb1-01 bridge.
  • The new virtual COM association is then:
  1. COM2 -> ethsdb201
  2. COM5 -> ethsib201
  3. COM6 -> ethsprb01
  4. COM7 -> ethsneb01
  5. COM8 -> ethsweb01
  6. COM9 -> ethsqb1-01

Then, in the olserverwin machine, the application TMCL-PC provided by Trinamics has been used to configure the controller via a download.
After a config setup hiccup we could check that with the Remote Control ON or OFF, the download was correspondingly possible or not possible.

Next step will be to try to actually move the motor from the TMCL-PC interface which may be attempted in the coming days.

    AdV-TCS›CO2 laser projector Updated · comment 25 Aug · 08:46 cifaldi, Fafone, Rocchi 20 Aug 2020 · 12:17 #49255

    TCS Co2 lasers OFF

    Today at 11:07 UTC we switched off both the CO2 lasers (and stopped the chillers as well) to allow next week the installation of the chiller guardian.
    1
    carbognani · 25 Aug 2020 · 07:46 #49264

    As reported when the chillers are off the corresponding servers report (too verbosely) an error. So when stopping the Chillers we should remember to stop also the corresponding servers from VPM. On my side I will look at the PyArtic code in order not to generate a flood or error logs in those cases.

    Online Computing›Online System Processes Updated · comment 13 Aug · 10:46 carbognani 13 Aug 2020 · 09:46 #49216

    Update of PyAgilis (v3r1)

    During the update to CentOS7 systematic crashes of the PyAgilis application (driving the Agilis Rotators) were observed.
    The issue has been restricted to a incompatibility between the PythonVirgoTool library (actually the PyCm/PyFd underlying python bindings) and the pyusb library and is being traced by the dedicated GitLab issue: https://git.ligo.org/virgo/virgoapp/PythonVirgoTools/-/issues/1

    A workaround has been found and implemented into PyAgilis v3r1. The v3r1 version also implement the porting from python2 to python3 (and to the pyserver common library based on asyncio).

    Tests has been performed on the CL7 updated actusb1 DELL minicomputer using the setup dedicated to the EIB rotators (EIBAgilisRot) unplugging all rotator cables and attaching a spare one (See Fig. 1)
    Tests were ok and it was possible to drive the rotator consistently on both direction and having the positions correctly stored (Fig. 2)

    PyAgilis v3r1 has been then PmInstalled on virgoApp and VPM configuration updated to the new version.
    The needed updates of the configuration files has also been done for TCSAgilisRot and SDB1_Rot and correct restart of the application verified. Final tests will be done as soon as it will be possible to move those rotators.

    2