Hi, John
For your questions, I am sorry that I can not quite understand what are they? Will you pls describe them more clear?
What do you mean by class1,class2,class3?
From my point of view, it seems what you want to mention is like this:
Server <Servername1> belongs to groups class1, class2 and class3
Server <Servername2> belongs to groups class2 and class3
So, "psh class1 uptime" only works against Servername1 since only it belongs to class1 group. This is correct for xCAT.
For the static text file, do you mean the relationship such as "Servername1 belong to class1,class2,class3" is stored in the static text file?
And then what xCAT know it, right?
If that is the case, you can:
1. define node object within xCATdb with: mkdef -t node <node1> groups=class1,class2,class3
and mkdef -t node <node2> groups=class2,class3
2. then, psh against class1 only works for node1, and against "class2" and/or "class3" will works for both node1 and node2.
Is this what you want?
And for your last question, psh works only after the passwordless communication is ready.
Thx!
==============The original mail============================================================
Am long time user of psh, and need to update to current version. I am only using psh with a static text file:
Servername1 class1,class2,class3
Servername2. Class2,class3
So
Psh class1 uptime
Reports on only first server (ssh keys circuit). Simplistic, but very powerful.
Can i map the this text file approach, or do i need to use a db to host the relationships?
Any better ways to allow login than ssh keys?
Best Regards,
-----------------------------------
Zhao Er Tao
IBM China System and Technology Laboratory, Beijing
Tel:(86-10)82450485
Email: [email protected]
Address: 1/F, 28 Building,ZhongGuanCun Software Park,
No.8 DongBeiWang West Road, Haidian District,
Beijing, 100193, P.R.China
-----------------------------------
Zhao Er Tao
IBM China System and Technology Laboratory, Beijing
Tel:(86-10)82450485
Email: [email protected]
Address: 1/F, 28 Building,ZhongGuanCun Software Park,
No.8 DongBeiWang West Road, Haidian District,
Beijing, 100193, P.R.China
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
