Main Menu

Search

Showing posts with label Job Log. Show all posts
Showing posts with label Job Log. Show all posts

Oracle VM Manager 3.2.X: How to list OVM Manager Job Logs from CLI prompt?

Below are steps for listing OVM Manager 3.2.X Job logs.

1. Login to Host running OVM Manager.

2. Run below command to connect to OVM prompt.
ssh -l admin localhost -p 10000 
3. Enter below command in OVM prompt. With this command we are listing the last 100 jobs from OVMM side. 
getLatestNumberOfJobs amount=100 

Below is snippet of above command.

OVM> getLatestNumberOfJobs amount=100 
Command: getLatestNumberOfJobs amount=100 
Status: Success 
Time: 2019-06-06 10:10:59,389 EDT 
Data: 

  id:1559661171873      time:Jun 04, 2019 11:12:51 am   status:COMPLETE description:OpsCenter: Send message com.oracle.linux.network.ipaddr.4 to VM 0004fb00000600006402bdebdfXXXXXX

  id:1559661172485      time:Jun 04, 2019 11:12:52 am   status:COMPLETE description:OpsCenter: Send message com.oracle.linux.network.netmask.3 to VM 0004fb00000600006402bdebdfXXXXXX

  id:1559661173000      time:Jun 04, 2019 11:12:53 am   status:COMPLETE description:OpsCenter: Send message com.oracle.linux.network.ipaddr.3 to VM 0004fb00000600006402bdebdfXXXXXX 

  id:1559661173659      time:Jun 04, 2019 11:12:53 am   status:COMPLETE description:OpsCenter: Send message com.oracle.linux.network.ipaddr.2 to VM 0004fb00000600006402bdebdXXXXXX 

Products to which Article Applies
Oracle VM Manager 3.2.X

Article Author: Tarun Boyella

Oracle VM Manager (OVMM): How To List and View Job Logs In OVM CLI Prompt In OVM Manager? (OVM 3.3.X & Above)

Below are steps to list and view job logs in OVM CLI prompt in OVM Manager.

1. Login to OVM Manager CLI prompt using below command.

ssh admin@localhost -p 10000

Once prompted for password enter OVM Manager "admin" user password.

2. To list OVM Manager Job logs run "getjobs" command.

getjobs

Below is example snippet of above command.

id:1562007170106  name:Sent VM message to VM: ovmd-test-messages
id:1562007167924  name:Modify VM: ovmd-test-messages

3. To view specific job log, run below command.

show job id=<job id>

Below is snippet

OVM> show job id=1562007108131

Command: show job id=1562007108131
Status: Success
Time: 2019-07-01 15:12:19,654 EDT
Data:
  Run State = Success
  Summary State = Success
  Done = Yes
  Summary Done = Yes
  Job Group = No
  Username = admin
  Creation Time = Jul 01, 2019 2:51:48 pm
  Start Time = Jul 01, 2019 2:51:48 pm
  End Time = Jul 01, 2019 2:51:48 pm
  Duration = 18ms
  Result Id Value = 0004fb000013000074a9e3abd50f046d
  Id = 1562007108131  [Create VM Clone Definition on VM: test-VM]
  Name = Create VM Clone Definition on VM:

test-VM  Description = Create VM Clone Definition on VM:
test-VM  Locked = false
    

Products to which Article Applies

Oracle VM Manager Version 3.3.X & Above Versions  


Additional Reference

https://manualzz.com/doc/34639998/oracle%C2%AE-vm---manager-command-line-interface-user-s-guide-for