[acg] Soft ioc startup scripts
Gary Croke
gcroke at jlab.org
Fri May 19 09:55:47 EDT 2023
Not my intention to spam everyone, but I thought this might be of wide enough interest for the group.
If the preferred method going forward is to refer to networked devices by host name rather than IP address in software, maybe we should consider some CED changes? As far as I can tell, the only type in CED that has a 'HostName' property is VMECrate, whereas a lot have IPAddress (only three roots though: NetElem, RacksAndCrates, Meter).
Should we replace IPAddress with HostName? Or maybe just rename it - IPAddress is a string, although it's domain is a regex that expects something that looks like an IP address - that would have to be relaxed. That would break some things, but it would just be a case of replacing the property name. Presumably whatever the address itself is being used for would still work until the value is actually replaced with a host name.
Any other ideas or thoughts?
________________________________
From: Brad Cumbia <cumbia at jlab.org>
Sent: Thursday, May 18, 2023 2:07 PM
To: Gary Croke <gcroke at jlab.org>
Cc: Anthony Cuffe <cuffe at jlab.org>
Subject: Re: Soft ioc startup scripts
Gary
The following have been updated to use DHCP, default services configuration applied, and rebooted. You may want to restart your soft ioc again.
bsydigips1
nadigips1
nl07digips1
nl27digips1
sl07digips1
sl27digips1
w2digimagtmp
wa1digips1
______________
Brad Cumbia
Network Engineer
Accelerator Computing Group (ACG)
Accelerator Computing Enviroment (ACE)
Thomas Jefferson National Accelerator Facility
12000 Jefferson Avenue
Newport News, Virginia 23606
Phone (757)269-5839
________________________________________
From: Gary Croke <gcroke at jlab.org>
Sent: Thursday, May 18, 2023 12:33 PM
To: Brad Cumbia
Cc: Anthony Cuffe
Subject: Re: Soft ioc startup scripts
iocsoftmag rebooted and connected to w2digimagtmp without issue.
________________________________
From: Gary Croke <gcroke at jlab.org>
Sent: Wednesday, May 17, 2023 12:21 PM
To: Anthony Cuffe <cuffe at jlab.org>
Cc: Brad Cumbia <cumbia at jlab.org>
Subject: Re: Soft ioc startup scripts
Actually, the third one (power meters) doesn't involve port servers, sorry, you can ignore that.
________________________________
From: Gary Croke
Sent: Wednesday, May 17, 2023 12:20 PM
To: Anthony Cuffe <cuffe at jlab.org>; Brad Cumbia <cumbia at jlab.org>
Cc: acs at jlab.org <acs at jlab.org>
Subject: Soft ioc startup scripts
Anthony,
Here are a few examples of soft iocs connecting to port servers:
/cs/op/iocs/iocsoftagileturbo/startup.ipconfig
/cs/op/iocs/iocsoftinj3/port_setup.cmd
/cs/op/iocs/iocsoftfac/powerMetersV/stcmd/startup.shark50b.ipconfig
/cs/op/iocs/iocsoftw3spce/startup.iocsoftw3spceApps.munch
One of the slight complications is that there isn't a standard location or naming convention for the files that make the connections. I think mostly they are in local (not linked) files in the ioc boot directory. startup.ipconfig is a common file name. Sometimes they are in the linked application startup files. Maybe we should try agree on a more standard approach going forward.
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/acg/attachments/20230519/200b0c6f/attachment.html>
More information about the acg
mailing list