Basic important ODA (Oracle Database Appliance) commands:
Below are list of important ODA commands which we frequently use as a ODA admin.
1. #odaadmcli show disk >>>>>> To list disk status
2. #odacli list-vms >>>>> To list which VM is running on Which ODA node (BM)
3. #odacli stop-vm -n (VM_name) >>>> >>> To stop respective VM
4. #odacli start-vm -n (VM_name) >>> To start respective VM
5. #odacli start-vm -n odavm -nn (node0) >>> Suppose we want to start VM (odavm) on specific node (node 0)
6. #odacli list-dbsystems >>>>> To list dbsystem details
7. odaadmcli show server >>>> To know server's serial number etc..
8. #odaadmcli show env_hw >>>> to know model and whether it is BareMetal or VM server
9. #virsh list or virsh list --all >>>>>> To List of VMs
10. #virsh domblklist (VM_Name) >>>>>>> To get all the disk details attached to the respective VM which will be useful while taking VM snapshot
11. #odacli describe-vm -n (VM_Name) >>>>>>> To describe respective VM. We can get all the information related to that particular VM
12. virsh console (VM ID) >>>>> To take respective VM console
13. #odacli describe-component >>>>> It will give installed version details and available version details for component like DCS controller/Admin/agent, OS, ILOM, BIOS, OAK etc... This will help in understanding patching version on ODA box
14. #odacli list-jobs >>>> To get all the jobs details. Whenever we run any odacli commands job id will get created. Will get job id with this command.
15. #odacli describe-job -i <Job-id> >>> To get detailed information of particular job like failure/success.
Regards,
Kiran Jadhav