10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX A CELLCLI AND DCLInotificationMethod: mailnotificationPolicy: critical,warning,clearoffloadEfficiency: 139,935.6powerCount: 2/2powerStatus:normalsmtpFrom:"<strong>Exadata</strong>"smtpFromAddr:exadata@ourcompany.comsmtpPort: 25smtpPwd: ******smtpServer:smtp.ourcompany.comsmtpToAddr:all_dba@ourcompany.com,all_sa@ourcompany.comsmtpUser:smtpUseSSL:FALSEstatus:onlinetemperatureReading: 27.0temperatureStatus: normalupTime: 37 days, 18:22cellsrvStatus:runningmsStatus:runningrsStatus:runningSeveral of the settings you see in this listing can be set using the ALTER CELL command. Thesesettings may be configured one at a time or together by separating them with a comma. For example:-- Configure notification level for alerts --CellCLI> ALTER CELL notificationPolicy='critical,warning,clear'-- Configure the cell for email notifications --CellCLI> ALTER CELL smtpServer='smtp.enkitec.com', -smtpFromAddr='<strong>Exadata</strong>@ourcompany.com', -smtpFrom='<strong>Exadata</strong>', -smtpToAddr='all_dba@ourcompany.com,all_sa@ourcompany.com', -notificationPolicy='critical,warning,clear', -notificationMethod='mail'By the way, if you haven’t already stumbled across this feature, CellCLI stores a command historysimilar to the Bash shell. You can scroll up and down through your history and edit commands using thearrow keys. And regex also provides a very powerful pattern-matching capability. The CellCLI syntax willbe something new to system administrators and DBAs alike, but once you understand the syntax, itreally isn’t difficult to master.dcli Command Syntaxdcli is a tool by which you can execute a single command across all cells. Having worked on variousclustered systems over the years, we’ve come to appreciate the importance of keeping scripts (and someconfiguration files) identical across all nodes. It’s also very handy to have a facility for executing thesame command consistently across all nodes of a cluster. <strong>Oracle</strong> provides the dcli command to do justthat. Among other things, the dcli command allows you to:• Configure SSH equivalency across all storage cells and/or database servers542

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!