You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 33 Next »

models

NUC7i5BNB

NUC7i5BNHX 

kernel forcing

to force linux:

grubby --set-default "/boot/vmlinuz-4.18.0-373.el8.x86_64"


DISPLAY MANAGER

Rocky linux 8 comes with default wayland that disables xhost features.

To enable old behavior need to disable wayland (WaylandEnable=false) and enable xost by default:

gedit /etc/gdm/custom.conf ## add or uncomment : WaylandEnable=false
cd /home/dafne/.config/autostart

cat > 03_xhost.desktop
[Desktop Entry]
Type=Application
Exec=xhost +
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Enable X Connections
Name=Enable X Connections
Comment[en_US]=
Comment=
^C


Firewall

Rocky linux enable firewalld, better to disable it.

# systemctl stop firewalld
# systemctl disable firewalld
# sudo nano /etc/sysconfig/selinux #set SELINUX=disabled


Ansible installation of a NUC console ubuntu 22.04 lts

Install a console with dafne and dante users, labview 23, with /u2/data and /u2/space NFS mounts.

Ansible installation


Requirement

ansible installed 

MAC install ansible
brew install ansible
 

ansible roles:

The new target machine must be added to hosts.yml

Ansible resources to configure dafne control room consoles
git clone https://baltig.infn.it/lnf-da-control/dafne-cr-ansible.git -b ubuntu-console

ansible -i hosts.yml configure-experimental-consoles.yml


Requirement Target Machine

It requires a base ubuntu 22.04 LTS with sshd and root enabled ssh.

  • Assure that target has PermitRootLogin yes into /etc/ssh/sshd_config

  • run ssh-copy-id root@<hostnames> to make root access available to ansible

Requirement on DCS NFS Machine

The target machine must be added in /etc/exports 

Ansible installation


Labview package:https://baltig.infn.it/lnf-da-control/dcs-control-console/-/blob/main/ni-labview-2023-pro_23.1.0.49229-0+f77-ubuntu2004_all.deb


Packages

User & Groups for DCS

Two users dante  (first user to be created) and dafne. Create a group dcs (10001)

uid=1001(dante) gid=1001(dante) groups=1001(dante),10001(dcs)
uid=1003(dafne) gid=1003(dafne) groups=1003(dafne),10001(dcs)
 

Mounts DCS

Just data and log directory must be mounted

192.168.192.248:/u2/data /u2/data nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/db /u2/dcs/db nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/logs /u2/dcs/logs nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/prefs /u2/dcs/prefs nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/script_linux /u2/dcs/script_linux nfs defaults,rw,soft,rsize=16384 0 0
192.168.192.248:/u2/dcs/space /u2/dcs/space nfs defaults,rw,soft,rsize=16384 0 0 


ASSET

Asset CodeHOSTMACIP AddressInfo

OS Version

cat /etc/*-release|head -1


PingSSHVNCRemote Desk

pldanteco10194:c6:91:12:c5:1e192.168.114.101

Lab 117 Tavolo console



CentOS Stream release 8

(kernel 4.18.0-448.el8.x86_6 labview19 segments)

4.18.0-408.el8.x86_64 ok

default forced to vmlinuz-4.18.0-373.el8.x86_64


OKOKOK

pldanteco10294:c6:91:12:c3:56192.168.114.102

DAFNE Control Room - Catia's console


CentOS Stream release 8

4.18.0-448.el8.x86_64 segments

forced to:

vmlinuz-4.18.0-373.el8.x86_64


OKOKNO

pldanteco10394:c6:91:12:cf:2c192.168.114.103

DAFNE Control Room - Sparc's console (foreman)


Rocky Linux release 8.5 (Green Obsidian)

4.18.0-348.20.1.el8_5.x86_64


OKOKNO

pldanteco11494:c6:91:12:cb:ca192.168.114.114

DAFNE Control Room - caron/202/203/205/alive_manager


CentOS Linux release 7.9.2009 (Core)

3.10.0-1160.83.1.el7.x86_64


OKOKOK

pldanteco10594:c6:91:12:bc:0b192.168.114.105

Lab 117 - scrivania Ciuffetti (???)


Rocky Linux release 8.6 (Green Obsidian)

4.18.0-372.16.1.el8_6.0.1.x86_64


OKOKOK

pldanteco11194:c6:91:12:d0:b7192.168.114.111

BTF


CentOS Stream release 8

4.18.0-365.el8.x86_64


OKOKOK

da-ctrl-nuc-win-0194:c6:91:12:d3:79193.206.82.152Lab 117 Tavolo consoleWindows
OK

OK
DA-NUC-001pldanteco10694:c6:91:12:xx:yy192.168.114.106

Sala Controllo DAFNE - Lato SPARC


Rocky Linux release 8.6 (Green Obsidian)

4.18.0-372.26.1.el8_6.x86_64






DA-NUC-002pldanteco10794:c6:91:12:c5:00192.168.114.107

Sala Controllo DAFNE - Lato LINAC (2^ Piano)


Rocky Linux release 8.6 (Green Obsidian)

4.18.0-372.26.1.el8_6.x86_64






DA-NUC-003da definire94:c6:91:12:d6:5dda definireLab 117 Da installare in Sala Controllo DAFNEda definire
















HOSTMACIP AddressInfoOS Version
PingSSHVNC

Remote Desk


pcdrago94:c6:91:12:bb:d9193.206.86.115


NO??

host flame-pc-g-294:c6:91:12:c9:79192.168.116.24Flame (?)

OKNONO?

host flame-int-cam-pc294:c6:91:12:d1:20192.168.116.21Flame (?)

NO??

host flame-pc-g-194:c6:91:12:cb:c5192.168.116.22Flame (?)

OKNONO?











  • No labels