Wednesday, November 8, 2017

Oracle Exadata - dcli

This is cheat sheet for Exadata command.

Exadata host inventory:

cat x6.txt 
excc01 
excc02 
excc03 
excc04 


#This command is get status of OEM agent:
dcli -l oracle -g ~/x6.txt '/u01/app/agent13/agent_inst/bin/emctl status agent'

#Loop in shell -  to get load in all server:
date; for i in {1..4} ; do ssh root@excc0${i} -i id_rsa.pub -C "hostname; uptime" ; done

apt-key warning when sudo apt update run

Issue: apt-key warning when sudo apt update run Update below file: cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list ...