Yes, for logs I can do

pasu cumpute immapp showimmlog || clearimmlog

However pasu is less convenient than straight ssh - it's much slower, and less intuitive for usage. It is also much less flexible - I am limited to the subset of commands implemented in asu, and I'm limited to IBM/Lenovo specific hardware.

Implementing a general plugin for xdsh would allow me to connect to any hw, and run on it any supported command, which seems like a more general and therefore "better" solution.


On 18/09//2017 16:55, Rundall, Jacob D wrote:

Would xCAT’s pasu meet your needs?

http://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/references/man1/pasu.1.html

 

It should work for any IMMs that you can use IBM’s ASU with. I believe it’s using SSH under the hood.

 

Jake

 

From: Daniel Letai <d...@letai.org.il>
Reply-To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: Sunday, September 17, 2017 at 1:00 AM
To: "xcat-user@lists.sourceforge.net" <xcat-user@lists.sourceforge.net>
Subject: [xcat-user] Parallel commands to IMMs

 

Hello list,

 

Currently it's possible to execute same command to multiple nodes via xdsh/psh.

It's also possible to execute single command to an IMM provided ssh was setup in the IMM via ssh username@node-imm.

 

I would like to use xdsh to connect to multiple IMMs - e.g., to read the logs:

xdsh imm-range readlog -a

 

One issue - IMM will not hold ssh keys, so a password based approach is required.

 

I'm aware of the devicetype functionality, which allows communication to devices which behave similarly, however the device config files are not well documented, and it's not clear how to add a new type like imm, to the types defined in opt/xcat/share/xcat/devicetype/

 

A note about readlog - I would've expected reventlog to also read/clear IMM logs, but apparently it only operates on system logs.

 

Thanks in advance for your help

Daniel Letai



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to