Submitting a "Hello World" Job Using the CLI
Use the MMCloud CLI to submit a job.
Procedure
-
On the computer where you installed the MMCloud CLI, create a file called
helloworld.sh
and insert the following contents. -
Save and then close the file.
-
Open a terminal on this computer and go to the directory where you created
helloworld.sh
. -
Log in to the OpCenter by entering:
Replace
<op_center_ip_address>
with the public (if you are outside the VPC) or private (if you are inside the VPC) IP address associated with the OpCenter. Use admin for the<username>
if you have not added a user and use the default value (memverge) for the admin<password>
if you have not changed it. -
Submit a job by entering:
-
Query the job status by entering:
The entry in the first column (labeled ID) is the identifier for your job.
-
View the output of your example job by entering:
Replace
<job_id>
with the identifier associated with your job.