ODA has a new CLI called OAKCLI(Oracle Appliance Kit Command Line Interface) . This can be used for multiple purposes. Untill ODA version x4, "oakcli" needs to run as "root" user. It is now changed in X5 wehere sudo permissions are incorporated for the oakcli command. Here is a command line help for oakcli.
root@oda1rac0 /root #oakcli -h
Usage: oakcli show - show disk, diskgroup, expander, controller, server, processor, memory, power, cooling, network, enclosure, storage, version, fs, raidsyncstatus, dbhomes, dbstorage, databases, db_config_params, core_config_key, env_hw, asr
oakcli apply - applies the core_config_key
oakcli locate - locates a disk
oakcli deploy - deploys the Database Appliance
oakcli update - updates the Database Appliance
oakcli validate - validates the Database Appliance
oakcli manage - manages the oak repository, diagcollect e.t.c
oakcli unpack - unpack the given package to oak repository
oakcli copy - copies the deployment config file
oakcli upgrade - upgrades database
oakcli stordiag - run storage diagnostic tool on both node
oakcli test - test asr
oakcli orachk - performs configuration settings check on ODA
oakcli configure - configures the network or asr
oakcli create - creates database, dbstorage, snapshotdb, dbhome, db_config_params file
oakcli delete - deletes database, dbstorage, dbhome, db_config_params file
oakcli resize - resizes dbstorage
root@oda1rac0 /root #
To install ODA, we can run the deployment wizard - the Oracle Database Appliance – Appliance Manager at the below link.
The wizard calls the following command:
oakcli deploy
Manual Execution:
root@oak1 /opt/oracle/oak/onecmd #./GridInst.pl -l
INFO : Logging all actions in /dev/null and traces in /dev/null
INFO : Loading configuration file /opt/oracle/oak/onecmd/onecommand.params...
The steps in order are...
Step 0 = ValidateParamFile
Step 1 = SetupNetwork
Step 2 = WriteNodelists
Step 3 = SetupSSHroot
Step 4 = SetupDNS
Step 5 = UpdateEtcHosts
Step 6 = SetTimezone
Step 7 = SetupNTP
Step 8 = SetupILOM
Step 9 = ValidateEnv
Step 10 = CreateUsers
Step 11 = SetupStorage
Step 12 = SetupSSHusers
Step 13 = InstallGIClone
Step 14 = RunGIClonePl
Step 15 = RunRootScripts
Step 16 = GIConfigAssists
Step 17 = CreateASMDiskgroups
Step 18 = InstallDBClone
Step 19 = RunDBClonePl
Step 20 = DbcaDB
Step 21 = SetupACFS
Step 22 = SetupASR
Step 23 = ResecureMachine
No comments:
Post a Comment