Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lod: improve ostdevs/mdtdevs options #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KnightKu
Copy link
Contributor

@KnightKu KnightKu commented Apr 1, 2020

Improve ostdevs/mdtdevs to accept component patterns:
For Example:
--ostdevs=vm1:/dev/sda,/dev/sdb
LOD will get device "/dev/sda" and "/dev/sdb" on oss node vm1 as the MDTs
or further, concated by "@"
--ostdevs=vm1:/dev/sda@vm2:/dev/sdb@vm3:/dev/sda
Means "/dev/sda" on vm1, "/dev/sdb" on vm2, and "/dev/sda" on vm3 will be used to MDTs

Besides, multiple time of option "ostdevs/mdtdevs" is supported now:
e.g.
--ostdevs=vm1:/dev/sda,/dev/sdb --ostdevs=vm2:/dev/sda
It equals to:
--ostdevs=vm1:/dev/sda,/dev/sdb@vm2:/dev/sda

All the above syntaxes are also applied to option "mdtdevs".

With the above change, it should improve the flexibility of slurm/lod:
And even further, the mdt/ost servers don't need to be part of slurm nodes (#SBATCH --nodelist=vm3,vm2,vm5)

Signed-off-by: Gu Zheng [email protected]

Improve ostdevs/mdtdevs to accept component patterns:
For Example:
--ostdevs=vm1:/dev/sda,/dev/sdb
LOD will get device "/dev/sda" and "/dev/sdb" on oss node vm1 as the MDTs
or further, concated by "@"
--ostdevs=vm1:/dev/sda@vm2:/dev/sdb@vm3:/dev/sda
Means "/dev/sda" on vm1, "/dev/sdb" on vm2, and "/dev/sda" on vm3 will be used to MDTs

Besides, multiple time of option "ostdevs/mdtdevs" is supported now:
e.g.
--ostdevs=vm1:/dev/sda,/dev/sdb --ostdevs=vm2:/dev/sda
It equals to:
--ostdevs=vm1:/dev/sda,/dev/sdb@vm2:/dev/sda

All the above syntaxes are also applied to option "mdtdevs".

With the above change, it should improve the flexibility of slurm/lod:
And even further, the mdt/ost servers don't need to be part of slurm nodes (#SBATCH --nodelist=vm3,vm2,vm5)

Signed-off-by: Gu Zheng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant