Oracle ODA VM Administration Scripts via OAKCLI Commands -2

Hi,

I will explain ODA ( Oracle Database Appliance ) VM Administration via OAKCLI tool in this article.

 

Read the previous article before this.

Oracle ODA VM Administration Scripts via OAKCLI Commands -1

 

If you want to Manage and maintain Oracle Database Appliance components as ODA Admin or Oracle DBA, you should use  Oracle Appliance Manager Command-Line Utility (OAKCLI), also known as the Oracle Appliance Kit Command Line Interface, or OAKCLI.

 

To list All VM on ODA Base, execute following query.

 

[root@DEVECIORA01 ~]# oakcli show vm

          NAME                                  NODENUM         MEMORY          VCPU            STATE           REPOSITORY

        DEVECIAPP01                             1               32768M             4            ONLINE          vm_data
        DEVECIAPP02                             0               32768M             4            ONLINE          vm_data
        DEVECIAPP03                             0               16384M             4            ONLINE          vm_data
        DEVECIAPP04                             1               16384M             4            ONLINE          vm_data
        DEVECIAPP05                             1               24576M             2            ONLINE          vm_data
        DEVECIAPP06                             1               16384M             2            ONLINE          vm_data
        DEVECIAPP07                             0               16384M             2            ONLINE          vm_data
        DEVECIAPP08                             0               32768M             4            ONLINE          vm_data
        DEVECIAPP09                             1               32768M             4            ONLINE          vm_data
        DEVECIAPP10                             0               16384M             2            ONLINE          vm_data
        DEVECIWEB01                             1               16384M             2            ONLINE          vm_data
        DEVECIWEB02                             0               8192M              2            ONLINE          vm_data
        DEVECIWEB03                             0               16384M             4            ONLINE          vm_data

[root@DEVECIORA01 ~]#

 

 

To Stop any VM on ODA Base, execute following query.

 

[root@DEVECIORA01 ~]# oakcli stop vm DEVECIAPP01

Stopped VM : DEVECIAPP01


[root@DEVECIORA01 ~]#

 

 

 

To start any VM on ODA Base, execute following query.

[root@DEVECIORA01 ~]# oakcli start vm DEVECIAPP01

Started VM : DEVECIAPP01 on Node Number : 1

[root@DEVECIORA01 ~]#

 

Sometimes eventhough you execute stop command, it may not stop. You should use stop force option in this case like following.

 

 

 

[root@DEVECIORA01 ~]# oakcli stop vm DEVECIAPP01 -force

OAKERR : Resource DEVECIAPP01 is already OFFLINE


[root@DEVECIORA01 ~]#

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *