VxWorks: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
Boiarino (talk | contribs)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
== boot from RHEL9 ==
== boot from RHEL9 ==


Do follwoing on vxWorks boot host, currently clon01):
Do following on vxWorks boot host, currently clon01:
  yum install rsh-server
  yum install rsh-server
systemctl enable rsh.socket
  systemctl start rsh.socket
  systemctl start rsh.socket
systemctl status rsh.socket


== to boot from RHEL5 ==
Make sure all vxWorks controllers are in .rhosts file. That file is in the home directory if the user we are booting from, for EPICS controller it is user 'epics'.
 
== boot from RHEL5 ==


  yum install rsh-server
  yum install rsh-server
Line 14: Line 18:
== useful info ==
== useful info ==


tsconnect <iocname>
ssh clasrun@clon00
tsconnect <iocname>


reboot: ctrl-X
To reboot, do ''ctrl-X''
exit: ~.
 
To exit, do ''~.''


classc1:
classc1:
Line 27: Line 33:
  boot device          : ei
  boot device          : ei
  processor number    : 0  
  processor number    : 0  
  host name            : clon00
  host name            : clon01
  file name            : /home/epics/kernel/5.2/coda/vx162nowd_p-16MB
  file name            : /home/epics/kernel/5.2/coda/vx162nowd_p-16MB
  inet on ethernet (e) : 129.57.160.19:fffffc00
  inet on ethernet (e) : 129.57.160.19:fffffc00
  host inet (h)        : 129.57.167.5
  host inet (h)        : 129.57.167.4
  gateway inet (g)    : 129.57.160.1
  gateway inet (g)    : 129.57.160.1
  user (u)            : epics
  user (u)            : epics
Line 36: Line 42:
  target name (tn)    : classc3
  target name (tn)    : classc3
  startup script (s)  : $IOC_root_classc3/ioc/classc3/startup
  startup script (s)  : $IOC_root_classc3/ioc/classc3/startup
classc4:
boot device          : dc
unit number          : 0
processor number    : 0
host name            : clon01
file name            : /usr/clas12/release/0.2/coda/VXWORKS_ppc/bin/vx2300
inet on ethernet (e) : 129.57.160.49:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)    : 129.57.160.1
user (u)            : epics
flags (f)            : 0x20
target name (tn)    : classc4
startup script (s)  : $IOC_root_classc4/st.cmd
classc6:
boot device          : fei
unit number          : 0
processor number    : 0
host name            : clon01
file name            : /usr/clas12/release/0.2/coda/VXWORKS_ppc/bin/vx5100
inet on ethernet (e) : 129.57.160.53:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)    : 129.57.160.1
user (u)            : epics
flags (f)            : 0x20
target name (tn)    : classc6
startup script (s)  : $IOC_root_classc6/st.cmd
classc8:
boot device          : gei
unit number          : 0
processor number    : 0
host name            : clon01
file name            : /usr/clas/release/2.5/coda/VXWORKS_ppc/bin/vx5500
inet on ethernet (e) : 129.57.160.15:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)    : 129.57.160.1
user (u)            : epics
flags (f)            : 0x20
target name (tn)    : classc8
startup script (s)  : $IOC_root_classc8/st.cmd
classc12:
boot device          : dc
processor number    : 0
host name            : clon01
file name            : /home/epics/kernel/5.3/vx2306_IVG3
inet on ethernet (e) : 129.57.160.18:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)    : 129.57.160.1
user (u)            : epics
flags (f)            : 0x20
target name (tn)    : classc12
startup script (s)  : $IOC_root_classc12/ioc/classc12/startup
primexioc1:
boot device          : dc
processor number    : 0
host name            : clon01
file name            : /home/epics/kernel/5.3/vx2306_IVG3
inet on ethernet (e) : 129.57.160.58:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)    : 129.57.160.1
user (u)            : epics
flags (f)            : 0x20
target name (tn)    : primexioc1
startup script (s)  : $IOC_root_primexioc1/ioc/primexioc1/startup
primexioc2:
boot device          : ei
processor number    : 0
host name            : clon01
file name            : /home/epics/kernel/5.3/vx162lcx_ip-16MB
inet on ethernet (e) : 129.57.160.73:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)    : 129.57.160.1
user (u)            : epics
flags (f)            : 0x20
target name (tn)    : primexioc2
startup script (s)  : /home/epics/abdellah_public/hall_b/startup

Latest revision as of 15:41, 16 January 2026

boot from RHEL9

Do following on vxWorks boot host, currently clon01:

yum install rsh-server
systemctl enable rsh.socket
systemctl start rsh.socket
systemctl status rsh.socket

Make sure all vxWorks controllers are in .rhosts file. That file is in the home directory if the user we are booting from, for EPICS controller it is user 'epics'.

boot from RHEL5

yum install rsh-server
enable rsh (part of xinet)
restart xinet
.rhosts file

useful info

ssh clasrun@clon00
tsconnect <iocname>

To reboot, do ctrl-X

To exit, do ~.

classc1:


classc3:

boot device          : ei
processor number     : 0 
host name            : clon01
file name            : /home/epics/kernel/5.2/coda/vx162nowd_p-16MB
inet on ethernet (e) : 129.57.160.19:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)     : 129.57.160.1
user (u)             : epics
flags (f)            : 0x8 
target name (tn)     : classc3
startup script (s)   : $IOC_root_classc3/ioc/classc3/startup

classc4:

boot device          : dc
unit number          : 0 
processor number     : 0 
host name            : clon01
file name            : /usr/clas12/release/0.2/coda/VXWORKS_ppc/bin/vx2300
inet on ethernet (e) : 129.57.160.49:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)     : 129.57.160.1
user (u)             : epics
flags (f)            : 0x20 
target name (tn)     : classc4
startup script (s)   : $IOC_root_classc4/st.cmd

classc6:

boot device          : fei
unit number          : 0 
processor number     : 0 
host name            : clon01
file name            : /usr/clas12/release/0.2/coda/VXWORKS_ppc/bin/vx5100
inet on ethernet (e) : 129.57.160.53:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)     : 129.57.160.1
user (u)             : epics
flags (f)            : 0x20 
target name (tn)     : classc6
startup script (s)   : $IOC_root_classc6/st.cmd

classc8:

boot device          : gei
unit number          : 0 
processor number     : 0 
host name            : clon01
file name            : /usr/clas/release/2.5/coda/VXWORKS_ppc/bin/vx5500
inet on ethernet (e) : 129.57.160.15:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)     : 129.57.160.1
user (u)             : epics
flags (f)            : 0x20 
target name (tn)     : classc8
startup script (s)   : $IOC_root_classc8/st.cmd

classc12:

boot device          : dc
processor number     : 0 
host name            : clon01
file name            : /home/epics/kernel/5.3/vx2306_IVG3
inet on ethernet (e) : 129.57.160.18:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)     : 129.57.160.1
user (u)             : epics
flags (f)            : 0x20 
target name (tn)     : classc12
startup script (s)   : $IOC_root_classc12/ioc/classc12/startup

primexioc1:

boot device          : dc
processor number     : 0 
host name            : clon01
file name            : /home/epics/kernel/5.3/vx2306_IVG3
inet on ethernet (e) : 129.57.160.58:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)     : 129.57.160.1
user (u)             : epics
flags (f)            : 0x20 
target name (tn)     : primexioc1
startup script (s)   : $IOC_root_primexioc1/ioc/primexioc1/startup

primexioc2:

boot device          : ei
processor number     : 0 
host name            : clon01
file name            : /home/epics/kernel/5.3/vx162lcx_ip-16MB
inet on ethernet (e) : 129.57.160.73:fffffc00
host inet (h)        : 129.57.167.4
gateway inet (g)     : 129.57.160.1
user (u)             : epics
flags (f)            : 0x20 
target name (tn)     : primexioc2
startup script (s)   : /home/epics/abdellah_public/hall_b/startup