az batchai job node
This command group is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
Commands to work with nodes which executed a job.
Commands
Name | Description | Type | Status |
---|---|---|---|
az batchai job node exec |
Executes a command line on a cluster's node used to execute the job with optional ports forwarding. |
Core | Deprecated |
az batchai job node list |
List remote login information for nodes which executed the job. |
Core | Deprecated |
az batchai job node exec
This command is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
Executes a command line on a cluster's node used to execute the job with optional ports forwarding.
az batchai job node exec --experiment
--job
--resource-group
--workspace
[--address]
[--exec]
[--node-id]
[--password]
[--ssh-private-key]
Examples
Report a GPU state for a job's node.
az batchai job node exec -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob \
--exec "nvidia-smi"
Report a snapshot of the current processes.
az batchai job node exec -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob \
--exec "ps aux"
Forward local 9000 to port 9001 on the given node.
az batchai job node exec -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob \
-n tvm-xxx -L 9000:localhost:9001
Required Parameters
Name of experiment.
Name of job.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of workspace.
Optional Parameters
Specifies that connections to the given TCP port or Unix socket on the local (client) host are to be forwarded to the given host and port, or Unix socket, on the remote side. e.g. -L 8080:localhost:8080.
Optional command line to be executed on the node. If not provided, the command will perform ports forwarding only.
ID of the node to forward the ports to. If not provided, the command will be executed on the first available node.
Optional password to establish SSH connection.
Optional SSH private key path to establish SSH connection. If omitted, the default SSH private key will be used.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az batchai job node list
This command is implicitly deprecated because command group 'batchai' is deprecated and will be removed in a future release.
List remote login information for nodes which executed the job.
List remote login information for currently existing (not deallocated) nodes on which the job was executed. You can ssh to a particular node using the provided public IP address and the port number. E.g. ssh @ -p <node's SSH port number>.
az batchai job node list --experiment
--job
--resource-group
--workspace
Examples
List remote login information for a job nodes.
az batchai job node list -g MyResourceGroup -w MyWorkspace -e MyExperiment -j MyJob -o table
Required Parameters
Name of experiment.
Name of job.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of workspace.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.