Skip to content
Snippets Groups Projects
Commit 9f0079b3 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Added how to reach dop386 for sdp-arts tests.

parent 3d47bbf8
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,14 @@
* ARGS
* GIT workflow
* SVN
* SDP HW tests
* Confluence
* Polarion
* LaTeX
* Markdown
* Vi
* Remote access
* Remote access using step
* Regression test
* License server
* Screen to run a terminal session without ssh connection
......@@ -22,6 +24,7 @@
* Graphana
* Zenodo DOI
* SDPTR
* Drawio
......@@ -384,6 +387,85 @@ small narrow icons. I can recover them by selecting the Figure icon and then
choosing the expand button in the bar on top or below the Figure. Weird, but
for me it is an ok workaround,
*******************************************************************************
* SDP HW tests:
*******************************************************************************
Remote access using step:
> mystep
then:
> ping dop386.astron.nl
> ping 10.87.0.186 (= dop386)
> ssh -X dop386.astron.nl
> ssh -X kooistra@10.87.0.186 # dop386
> ssh -J bastion.astron.nl kooistra@10.87.0.186 # dop386
1) gitlab
Zorg er voor dat je de GIT repositories hebt op dop386 (10.87.0.186)
10 git clone https://git.astron.nl/lofar2.0/sdptr
12 git clone https://git.astron.nl/desp/hdl
13 git clone https://git.astron.nl/desp/radiohdl
14 git clone https://git.astron.nl/desp/args
15 git clone https://git.astron.nl/desp/upe_gear
37 . ./init_sdptr.sh
19 . ./init_upe.sh
scp ~/.gitconfig kooistra@dop386:/home/kooistra # for default git user name and user email
2) upe_gear
a) register map uitlezen: util_unb2.py --unb2 16:19 --pn2 0:3 --seq REGMAP
25 util_system_info.py --unb2 16:19 --pn2 0:3 -n 99
35 more reginfo/register_info.py
b) PPS count: util_ppsh.py --unb2 16:19 --pn2 0:3 -n 1
c) unb2b_minimal laden: util_epcs.py --unb2 16:19 --pn2 0:3 -n 9
d) cd ~/git/hdl/applications/lofar2/images
e) image uitpakken: tar -xvzf lofar2_unb2b_sdp_station_full_wg-r241070441.tar.gz
f) image flashen: util_epcs.py --unb2 16:19 --pn2 0:3 -n 4 -s ./lofar2_unb2b_sdp_station_full_wg-r241070441.rbf
g) User image laden: util_epcs.py --unb2 16:19 --pn2 0:3 -n 8
3) SDPTR RPi4:
host 10.99.0.250
port 4840 for DTS-lab
port 4842 for sdp-arts
--ip dop386 --mac dop386 for statistics destination
50 stat_stream_xst.py --host 10.99.0.250 --port 4842 -h
51 stat_stream_xst.py --host 10.99.0.250 --port 4842 --headers
52 stat_stream_xst.py --host 10.99.0.250 --port 4842 --headers --stream ON
57 stat_stream_xst.py --host 10.99.0.250 --port 4842 --setup --ip dop386 --mac dop386
43 sdp_rw.py --host 10.99.0.250 --port 4842 -l
44 sdp_rw.py --host 10.99.0.250 --port 4842 -l pps
45 sdp_rw.py --host 10.99.0.250 --port 4842 -r pps_capture_cnt
114 sdp_rw.py --host 10.99.0.250 --port 4842 -r sdp_config_first_fpga_nr
116 sdp_rw.py --host 10.99.0.250 --port 4842 -r sdp_config_nof_fpgas
92 sdp_rw.py --host 10.99.0.250 --port 4842 -w fpga_mask [True]*16
93 sdp_rw.py --host 10.99.0.250 --port 4842 -r fpga_mask
99 sdp_rw.py --host 10.99.0.250 --port 4842 -r global_node_index
80 sdp_rw.py --host 10.99.0.250 --port 4842 -r scrap
81 sdp_rw.py --host 10.99.0.250 --port 4842 -w scrap [1]*16
82 sdp_rw.py --host 10.99.0.250 --port 4842 -w scrap [1]*8192
83 sdp_rw.py --host 10.99.0.250 --port 4842 -r scrap
72 sdp_rw.py --host 10.99.0.250 --port 4842 -w processing_enable [False]*16
73 sdp_rw.py --host 10.99.0.250 --port 4842 -r processing_enable
66 vi test/py/base/statistics_stream_packet.py
58 sdp_rw.py --host 10.99.0.250 --port 4842 -r xst_offload_hdr_eth_destination_mac
59 sdp_rw.py --host 10.99.0.250 --port 4842 -r xst_offload_hdr_eth_destination_ip
64 sdp_rw.py --host 10.99.0.250 --port 4842 -r xst_integration_interval
71 sdp_rw.py --host 10.99.0.250 --port 4842 -r signal_input_bsn
*******************************************************************************
* Polarion:
*******************************************************************************
......@@ -490,27 +572,45 @@ Host dop421
ProxyCommand ssh -q -A astron netcat 10.87.0.221
*******************************************************************************
* Regression test
* Remote access using step:
*******************************************************************************
* Remote access to regression test machine dop349:
* Old way: Remote access to regression test machine dop349:
ssh -X kooistra@portal.astron.nl
# Ipv via portal.astron.nl nu via bastion.astron.nl (195.169.155.27) mbv step client
# New way: Ipv via portal.astron.nl nu via bastion.astron.nl (195.169.155.27) mbv step client
# zie: https://support.astron.nl/confluence/pages/viewpage.action?spaceKey=IN&title=SSH+access+to+the+ASTRON+network
/home/kooistra/.ssh/config
/home/kooistra/.step/ssh/config
/home/kooistra/.step/ssh/known_hosts
ssh -J bastion.astron.nl kooistra@10.87.0.186 # = dop386
ssh -J bastion.astron.nl regtest@dop349.astron.nl
You won't be asked for a (bastion) password. The certificate you've just generated will last for twelve hours. Once it's elapsed, the only step from the above you need to perform again is
$ step ssh login kooistra@astron.nl --provisioner "keycloak"
alias mystep='step ssh login kooistra@astron.nl --provisioner "keycloak"'
Whereupon you'll be good for another twelve hours. The above command is a great candidate for a shell alias.
*******************************************************************************
* Regression test
*******************************************************************************
Remote access using step:
> mystep
then:
> ping dop349.astron.nl --> responses within ~20 ms
> ping 10.87.6.144 --> --> responses within ~20 ms, ip dop349 = 10.87.6.144
> ssh -X regtest@dop349.astron.nl
# On dop349
crontab -l # shows scheduled cron jobs
crontab -e # edit schedule
......@@ -960,3 +1060,11 @@ Gelukt !
:kooistra@dop466:/dop466_0/kooistra/git/sdptr/test/py/control$ ./sdp_rw.py --host dop421 -l
:kooistra@dop466:/dop466_0/kooistra/git/sdptr/test/py/control$ ./sdp_rw.py --host dop421 -r firmware_version
*******************************************************************************
* Drawio
*******************************************************************************
Oude drawio uninstall mbv Administration/Software Manager
Nieuw heet nu diagrams.net 18.1.3 installed mbv Administration/Software Manager
Alt-F7 to move window on screen
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment