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 DCLIcell_group : This file contains the management hostnames for all storage cellsin your <strong>Exadata</strong> configuration. It provides a convenient way to execute dclicommands limited to the storage cells.all_group: This file is a combination of the dbs_group and cell_group files andcontains a list of the management hostnames for all database servers andstorage cells in your <strong>Exadata</strong> configuration. Using this file, you can execute dclicommands on all database servers and storage cells.Any of the CellCLI commands we’ve discussed in this appendix may be executed from a centrallocation using dcli. In fact the only restriction is that the command cannot be interactive (requiring userinput during execution). For example, the following listing illustrates collecting all the currentperformance metrics from the storage cells.dcli -l root -g /root/cell_group cellcli -e "LIST METRICCURRENT ATTRIBUTES name, objecttype,metricObjectName, metricValue, collectionTime"The output from this command is much too verbose to show here. But with a simple script it can beformatted and distributed as needed. In fact, we used this script in Chapter 7 to collect IORMperformance metrics and report on them through an external table definition in the database.Scheduling a report such as this to run daily would be a very convenient way to monitor I/O at thestorage-cell level.SummaryThere are many more uses for dcli and CellCLI than we’ve covered here. System administrators will alsofind it useful for creating new user accounts on the database servers using the useradd and groupaddcommands, for example. DBAs will find dcli useful for distributing scripts and other files to otherservers in the cluster. And using dcli and CellCLI together provides a convenient way of managing,extracting, and reporting key performance metrics from the storage cells.544

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

Saved successfully!

Ooh no, something went wrong!