Want to ssh to one of your Workload Scheduler agents, but don't remember the nodename or hostname? Or, you know the name, but workstation name is much shorter? Try this:
ssh $(cpuinfo agent2 node)
The cpuinfo command reveals information that Workload Scheduler knows about the computer assigned to the workstation (nee CPU) definition you choose. When you run cpuinfo with only the workstation name, you see text similar to the following output.
cpuinfo agent2 OS_TYPE: UNIX NODE: ws93agent2.tivoli.edu PORT: 0 SSLPORT: 31114 ENGINEADDR: 0 PROTOCOL: HTTPS AUTOLINK: OFF FULLSTATUS: OFF RESOLVEDEP: OFF BEHINDFIREWALL: OFF HOST: BROKER0 DOMAIN: MASTERDM ID: ADFDFDAC0EF011E5AAB4459B5C166120 SERVER: TYPE: AGENT TIME_ZONE: America/New_York VERSION: 9.3.0.00 INFO: Red Hat Enterprise Linux Server release 7.2 (Maipo)
- Log in to post comments