FOREWORD:
in the company we are building a small cluster where all users will be given specific amount of resources, cPU, RAM, storage.
We would like users to be able to connect specific USB devices and assigned to them based on some markers.
To provide more details, we are thinking of users to be able to configure as in a staging area, new devices where there first setup must be done through the console cable (like FTDI USB to RJ45). Such FTDI chipsets will have rewritten with string like XXX_something, with XXX being the triagram of the user.
WHAT WE WOULD LIKE TO ACHIEVE
Once an USB cable is connected to a node, a script/process based on the following logic "if the USB product ID contains XXX then assign to the resource/user/group XXX".
There will be a sort of mapping like:
String "XXX" -> user "John Doe 01" or Group 01
String "YYY" -> user "John Doe 02" or Group 02
Regex would be more than welcome.
Once USB devices are assigned to a user or a group of users, then the physical connection to a specific VM, will be responsabiity of the single user.
I hope I was clear in explaining what we would like to achieve.
Is that possible?
Many thanks in advance!
Alex
in the company we are building a small cluster where all users will be given specific amount of resources, cPU, RAM, storage.
We would like users to be able to connect specific USB devices and assigned to them based on some markers.
To provide more details, we are thinking of users to be able to configure as in a staging area, new devices where there first setup must be done through the console cable (like FTDI USB to RJ45). Such FTDI chipsets will have rewritten with string like XXX_something, with XXX being the triagram of the user.
WHAT WE WOULD LIKE TO ACHIEVE
Once an USB cable is connected to a node, a script/process based on the following logic "if the USB product ID contains XXX then assign to the resource/user/group XXX".
There will be a sort of mapping like:
String "XXX" -> user "John Doe 01" or Group 01
String "YYY" -> user "John Doe 02" or Group 02
Regex would be more than welcome.
Once USB devices are assigned to a user or a group of users, then the physical connection to a specific VM, will be responsabiity of the single user.
I hope I was clear in explaining what we would like to achieve.
Is that possible?
Many thanks in advance!
Alex
Last edited: