testpoint.par file get wrong IFO ID in the node heading
There is an error constructing the testpoint.par file, in particular defining the IFO ID in the node identifier. Not sure were the testpoint.par file is generated to check what IFO identifier is used.
- pre-built install ERROR, due to previously fixed by hand
after a successful compile, the installation give an error
controls@n1fe1:~$ rtcds install n1isisc
RTS_VERSION=4.0.1-1~202010212053
SITE=ANU
IFO=N1
RCG_LIB_PATH=/opt/rtcds/userapps/release/cds/n1/models:/opt/rtcds/userapps/release/isc/n1/models:/opt/rtcds/userapps/release/lsc/n1/models:/opt/rtcds/userapps/release/isi/n1/models:/opt/rtcds/userapps/release/sus/n1/models:/opt/rtcds/userapps/release/pem/n1/models:/opt/rtcds/userapps/release/cds/common/models:/opt/rtcds/userapps/release/isc/common/models:/opt/rtcds/userapps/release/lsc/common/models:/opt/rtcds/userapps/release/isi/common/models:/opt/rtcds/userapps/release/sus/common/models:/opt/rtcds/userapps/release/pem/common/models:/usr/share/advligorts/src/src/epics/simLink/:/usr/share/advligorts/src/src/epics/simLink/lib
RCG_SRC=/usr/share/advligorts/src
RCG_BUILD_ROOT=/var/cache/advligorts
RCG_BUILDD=/var/cache/advligorts/rcg-4.0.1-1~202010212053
RCG_TARGET=/opt/rtcds/anu/n1
### installing n1isisc...
Installing system=n1isisc site=ANU ifo=N1
Installing channel file...
Installing EPICS sequencer...
Installing EPICS screens...
Installing RT components...
Installing GDS components...
Updating testpoint config file...
ERROR: This node 26 is already installed as:
hostname=
system=
The new entry you are trying to write is as follows:
hostname=n1fe1
system=n1isisc
This script will not overwrite existing entries in testpoint.par
If this is an attempt to move an existing system from one host to another,
please remove conflicting entry from testpoint.par file.
make: *** [Makefile:113: install-n1isisc] Error 1
- remove /opt/rtcds/anu/n1/target/gds/param/testpoint.par, or remove the individual node details.
controls@n1fe1:/etc/advligorts$ more /opt/rtcds/anu/n1/target/gds/param/testpoint.par
[N-node25]
hostname=n1fe1
system=n1iopfe1
[N-node26]
hostname=n1fe1
system=n1isisc
- new install
with no testpoint.par file
controls@n1fe1:/opt/rtcds/anu/n1/target/gds/param$ rtcds install n1isisc
RTS_VERSION=4.0.1-1~202010212053
SITE=ANU
IFO=N1
RCG_LIB_PATH=/opt/rtcds/userapps/release/cds/n1/models:/opt/rtcds/userapps/release/isc/n1/models:/opt/rtcds/userapps/release/lsc/n1/models:/opt/rtcds/userapps/release/isi/n1/models:/opt/rtcds/userapps/release/sus/n1/models:/opt/rtcds/userapps/release/pem/n1/models:/opt/rtcds/userapps/release/cds/common/models:/opt/rtcds/userapps/release/isc/common/models:/opt/rtcds/userapps/release/lsc/common/models:/opt/rtcds/userapps/release/isi/common/models:/opt/rtcds/userapps/release/sus/common/models:/opt/rtcds/userapps/release/pem/common/models:/usr/share/advligorts/src/src/epics/simLink/:/usr/share/advligorts/src/src/epics/simLink/lib
RCG_SRC=/usr/share/advligorts/src
RCG_BUILD_ROOT=/var/cache/advligorts
RCG_BUILDD=/var/cache/advligorts/rcg-4.0.1-1~202010212053
RCG_TARGET=/opt/rtcds/anu/n1
### installing n1isisc...
Installing system=n1isisc site=ANU ifo=N1
Installing channel file...
Installing EPICS sequencer...
Installing EPICS screens...
Installing RT components...
Installing GDS components...
Updating testpoint config file...
Installing GDS node config file...
Installing auto-generated DAQ config file...
Running post-build script...
safe.snap exists
No install errors.
- awgtpman not starting
new install, makes wrong .par file
controls@n1fe1:/etc/advligorts$ more /opt/rtcds/anu/n1/target/gds/param/testpoint.par
[A-node25]
hostname=n1fe1
system=n1iopfe1
[A-node26]
hostname=n1fe1
system=n1isisc
- Manually modify to [N-...], fixes the issue.
controls@n1fe1:/etc/advligorts$ more /opt/rtcds/anu/n1/target/gds/param/testpoint.par
[N-node25]
hostname=n1fe1
system=n1iopfe1
[N-node26]
hostname=n1fe1
system=n1isisc
awgtp,an starts fine.
- Sanity check for a reinstall with the updated .par file
controls@n1fe1:~$ rtcds install n1isisc
RTS_VERSION=4.0.1-1~202010212053
SITE=ANU
IFO=N1
RCG_LIB_PATH=/opt/rtcds/userapps/release/cds/n1/models:/opt/rtcds/userapps/release/isc/n1/models:/opt/rtcds/userapps/release/lsc/n1/models:/opt/rtcds/userapps/release/isi/n1/models:/opt/rtcds/userapps/release/sus/n1/models:/opt/rtcds/userapps/release/pem/n1/models:/opt/rtcds/userapps/release/cds/common/models:/opt/rtcds/userapps/release/isc/common/models:/opt/rtcds/userapps/release/lsc/common/models:/opt/rtcds/userapps/release/isi/common/models:/opt/rtcds/userapps/release/sus/common/models:/opt/rtcds/userapps/release/pem/common/models:/usr/share/advligorts/src/src/epics/simLink/:/usr/share/advligorts/src/src/epics/simLink/lib
RCG_SRC=/usr/share/advligorts/src
RCG_BUILD_ROOT=/var/cache/advligorts
RCG_BUILDD=/var/cache/advligorts/rcg-4.0.1-1~202010212053
RCG_TARGET=/opt/rtcds/anu/n1
### installing n1isisc...
Installing system=n1isisc site=ANU ifo=N1
Installing channel file...
Installing EPICS sequencer...
Installing EPICS screens...
Installing RT components...
Installing GDS components...
Updating testpoint config file...
ERROR: This node 26 is already installed as:
hostname=
system=
The new entry you are trying to write is as follows:
hostname=n1fe1
system=n1isisc
This script will not overwrite existing entries in testpoint.par
If this is an attempt to move an existing system from one host to another,
please remove conflicting entry from testpoint.par file.
make: *** [Makefile:113: install-n1isisc] Error 1
there is the error again. This also prevent updating the .INI files
- Local env parameters
controls@n1fe1:~$ rtcds env
RTS_VERSION=4.0.1-1~202010212053
SITE=ANU
IFO=N1
RCG_LIB_PATH=/opt/rtcds/userapps/release/cds/n1/models:/opt/rtcds/userapps/release/isc/n1/models:/opt/rtcds/userapps/release/lsc/n1/models:/opt/rtcds/userapps/release/isi/n1/models:/opt/rtcds/userapps/release/sus/n1/models:/opt/rtcds/userapps/release/pem/n1/models:/opt/rtcds/userapps/release/cds/common/models:/opt/rtcds/userapps/release/isc/common/models:/opt/rtcds/userapps/release/lsc/common/models:/opt/rtcds/userapps/release/isi/common/models:/opt/rtcds/userapps/release/sus/common/models:/opt/rtcds/userapps/release/pem/common/models:/usr/share/advligorts/src/src/epics/simLink/:/usr/share/advligorts/src/src/epics/simLink/lib
RCG_SRC=/usr/share/advligorts/src
RCG_BUILD_ROOT=/var/cache/advligorts
RCG_BUILDD=/var/cache/advligorts/rcg-4.0.1-1~202010212053
RCG_TARGET=/opt/rtcds/anu/n1
controls@n1fe1:~$