Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
It would be useful if the MGS did not store NIDs in the configuration records at all, rather than the current use of static IP addresses, so that the servers are able to have relatively dynamic IP addresses (assigned at boot time, not necessarily changing at runtime).
The clients can already locate the MGS by a hostname, since mount.lustre will do DNS (or /etc/hosts) name resolution at mount time before initiating the MGC->MGS connection. However, the config llog records currently only store static IP addresses (NIDs, actually) because the config log is processed in the kernel, which did not have any DNS name resolution capabilities at the time of implementation.
It should be noted that the config records mostly store the client NID in ASCII format (e.g. 192.168.20.1@tcp), though there is also a binary lnet_nid_t in at least one case. It may be relatively straight-forward to store an ASCII hostname@net record in place of the numeric NID in the config records, and then do hostname->IP resolution in the kernel during config log processing before passing the NID to the LNet layer.
With LU-10360 allowing the use of IR logs from the MGS to advertise server NIDs to clients, it seems possible to remove the use of NIDs in the client config llog entirely and simplify configuration.
Attachments
Issue Links
- is duplicated by
-
LU-18164 MGS should dynamically track server NIDs
-
- Closed
-
- is related to
-
LU-18280 Advertise dynamically configured server NIDs to MGS
-
- Open
-
-
LU-18417 Finish IPv6 support
-
- Open
-
-
LU-5881 Allow hostnames in NID
-
- Resolved
-
-
LU-13340 add LCFG_ADD_UUIDv6 and related commands
-
- Resolved
-
- is related to
-
LU-10360 use Imperative Recovery logs for client->MDT/OST connections
-
- Open
-
-
LU-10391 LNET: Support IPv6
-
- Resolved
-