apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.06k stars 340 forks source link

Add one text field in Servers config on TP #2764

Open tyagian opened 6 years ago

tyagian commented 6 years ago

Can we add one more form field to the servers>[server_hostname] which can be used for adding useful info like server serial number? We do have them on delivery services so adding such space to servers will also be useful.

mitchell852 commented 6 years ago

I'm not sure what you mean. Are you saying you want to add another field to a Server? Is this a field like server.notes?

mitchell852 commented 5 years ago

@tyagian ^^

tyagian commented 5 years ago

Yes! It's good to have a notes field in servers config. We have a couple of them in delivery services config but servers have None of them.

jhg03a commented 5 years ago

Is the new data generally desirable or environment specific? If it's generally desirable we should consider adding it to our existing data model instead of an unstructured text field.

guzzijason commented 5 years ago

FYI, I've run into another use case for this: if we had a field to store something such as serial number or MAC address for a server object in TO, it would facilitate our use of "universal" install images, where the servers bootstrap themselves automatically and get all the info they need to fully configure themselves from TOAPI. Essentially, if this worked, we could potentially do away with geniso.

nbitzer commented 5 years ago

@mitchell852, notice the comment above. I'd love to at a minimum have a conversation about what @guzzijason mentioned. If adding this new field would lead to us being able to more easily get our new hardware up and running this should have a higher priority.

guzzijason commented 5 years ago

i.e we would love to have new gear pre-imaged with a universal ISO before it is even racked/stacked, and let it install itself. Would save literal man-months of time on these new deploys, IMHO.

dneuman64 commented 5 years ago

There was a long discussion about this on the dev mailing list that got mostly filibustered: https://lists.apache.org/thread.html/1af20d2ed98b2d99bf64d2de1bd9c7a9ecd707038083f18cb51a839a@%3Cdev.trafficcontrol.apache.org%3E It's probably worth trying to bring up again.

guzzijason commented 5 years ago

FYI, I've found that ILO IP functions as an effective analog of a serial number, for host self-identification purposes. For now, I'm just going with that for the project I'm working on.