<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
We should definitely retain the IPAddress field. We can add HostName where it makes sense, or to every NetElem for consistency, but Brad's right that most of the time the element name is the host name. Soft iocs are another exception. They have a Host property
which indicates the machine they run on. That would be redundant with HostName unless we dropped it.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
What use cases do we envision for HostName that aren't currently convenient without it?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
BTW, the "req CA" (or "req ca") command has always accepted host names as well as IP addresses. It does this by using DNS to convert host names to IPs. Now that CA seems to be happy with hostnames it doesn't really need to do that anymore, except perhaps for
legacy support. I'm going to add the ability to look up soft ioc hosts so that soft ioc names can also be used.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
--Brian</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> acg <acg-bounces@jlab.org> on behalf of Brad Cumbia via acg <acg@jlab.org><br>
<b>Sent:</b> Friday, May 19, 2023 11:38 AM<br>
<b>To:</b> acg@jlab.org <acg@jlab.org>; Gary Croke <gcroke@jlab.org><br>
<b>Subject:</b> Re: [acg] Soft ioc startup scripts</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">I had a brief discussion about adding a hostname field to the elements but the actual element name is the hostname (nl02digips1), with the exception of the vme crates. The element name is named after the ioc that is in the crate ie.
iocea2mag_crate. Actual hostname is vmeiocea1mag. I don't think we should replace the ip address field, maybe just add hostname field, even though in most cases it will be the same as the element name.<br>
<br>
______________<br>
Brad Cumbia<br>
<br>
Network Engineer<br>
Accelerator Computing Group (ACG)<br>
Accelerator Computing Enviroment (ACE)<br>
<br>
Thomas Jefferson National Accelerator Facility<br>
12000 Jefferson Avenue<br>
Newport News, Virginia 23606<br>
Phone (757)269-5839<br>
<br>
________________________________________<br>
From: acg <acg-bounces@jlab.org> on behalf of Gary Croke via acg <acg@jlab.org><br>
Sent: Friday, May 19, 2023 9:55 AM<br>
To: acg@jlab.org<br>
Subject: Re: [acg] Soft ioc startup scripts<br>
<br>
Not my intention to spam everyone, but I thought this might be of wide enough interest for the group.<br>
<br>
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).<br>
<br>
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.<br>
<br>
Any other ideas or thoughts?<br>
<br>
________________________________<br>
From: Brad Cumbia <cumbia@jlab.org><br>
Sent: Thursday, May 18, 2023 2:07 PM<br>
To: Gary Croke <gcroke@jlab.org><br>
Cc: Anthony Cuffe <cuffe@jlab.org><br>
Subject: Re: Soft ioc startup scripts<br>
<br>
Gary<br>
The following have been updated to use DHCP, default services configuration applied, and rebooted. You may want to restart your soft ioc again.<br>
<br>
bsydigips1<br>
nadigips1<br>
nl07digips1<br>
nl27digips1<br>
sl07digips1<br>
sl27digips1<br>
w2digimagtmp<br>
wa1digips1<br>
<br>
______________<br>
Brad Cumbia<br>
<br>
Network Engineer<br>
Accelerator Computing Group (ACG)<br>
Accelerator Computing Enviroment (ACE)<br>
<br>
Thomas Jefferson National Accelerator Facility<br>
12000 Jefferson Avenue<br>
Newport News, Virginia 23606<br>
Phone (757)269-5839<br>
<br>
________________________________________<br>
From: Gary Croke <gcroke@jlab.org><br>
Sent: Thursday, May 18, 2023 12:33 PM<br>
To: Brad Cumbia<br>
Cc: Anthony Cuffe<br>
Subject: Re: Soft ioc startup scripts<br>
<br>
iocsoftmag rebooted and connected to w2digimagtmp without issue.<br>
<br>
________________________________<br>
From: Gary Croke <gcroke@jlab.org><br>
Sent: Wednesday, May 17, 2023 12:21 PM<br>
To: Anthony Cuffe <cuffe@jlab.org><br>
Cc: Brad Cumbia <cumbia@jlab.org><br>
Subject: Re: Soft ioc startup scripts<br>
<br>
Actually, the third one (power meters) doesn't involve port servers, sorry, you can ignore that.<br>
________________________________<br>
From: Gary Croke<br>
Sent: Wednesday, May 17, 2023 12:20 PM<br>
To: Anthony Cuffe <cuffe@jlab.org>; Brad Cumbia <cumbia@jlab.org><br>
Cc: acs@jlab.org <acs@jlab.org><br>
Subject: Soft ioc startup scripts<br>
<br>
Anthony,<br>
<br>
Here are a few examples of soft iocs connecting to port servers:<br>
<br>
/cs/op/iocs/iocsoftagileturbo/startup.ipconfig<br>
/cs/op/iocs/iocsoftinj3/port_setup.cmd<br>
/cs/op/iocs/iocsoftfac/powerMetersV/stcmd/startup.shark50b.ipconfig<br>
/cs/op/iocs/iocsoftw3spce/startup.iocsoftw3spceApps.munch<br>
<br>
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.<br>
<br>
Gary<br>
<br>
_______________________________________________<br>
acg mailing list<br>
acg@jlab.org<br>
<a href="https://mailman.jlab.org/mailman/listinfo/acg">https://mailman.jlab.org/mailman/listinfo/acg</a><br>
</div>
</span></font></div>
</body>
</html>