Databases Reference
In-Depth Information
When this is complete, launch dcli with the -g option to run the same command on each server in your
cell_group text file:
[oracle@cm01dbm01 ~]$ dcli -g ./cell_group cellcli -e list cell
cm01cel01: cm01cel01
online
cm01cel02: cm01cel02
online
cm01cel03: cm01cel03
online
[oracle@cm01dbm01 ~]$
How It Works
Each Exadata Compute and Storage Server Node ships with a Python utility developed under Oracle's Open Source
software initiative called dcli . dcli stands for “Distributed Command Line Interface”; Oracle created the utility as a
method to manage multiple servers from a single command.
The dcli Python script is installed in /usr/local/bin on each compute and storage node in your Exadata
Database Machine, which implies that you can run dcli commands from each node.
Typically, Exadata DMAs will create text files containing the names of the storage servers and compute servers
in their environment. In fact, you will also find multiple files staged in /opt/oracle.SupportTools/onecommand that
Oracle uses during the Exadata installation to perform various installation and configuration tasks:
[root@cm01dbm01 ~]# ls /opt/oracle.SupportTools/onecommand/*group
/opt/oracle.SupportTools/onecommand/all_group
/opt/oracle.SupportTools/onecommand/cell_ib_group
/opt/oracle.SupportTools/onecommand/all_ib_group
/opt/oracle.SupportTools/onecommand/dbs_group
/opt/oracle.SupportTools/onecommand/all_nodelist_group
/opt/oracle.SupportTools/onecommand/dbs_ib_group
/opt/oracle.SupportTools/onecommand/cell_group
/opt/oracle.SupportTools/onecommand/priv_ib_group
[root@cm01dbm01 ~]# cat /opt/oracle.SupportTools/onecommand/cell_group
cm01cel01
cm01cel02
cm01cel03
[root@cm01dbm01 ~]
While the most common usage for dcli is to run CellCLI commands, you can also use dcli for running just about
any Linux script. For example, the command below reports disk space utilization for the root file system on each
storage cell in your Exadata environment:
[oracle@cm01dbm01 ~]$ dcli -g ./cell_group df -h /
cm01cel01: Filesystem Size Used Avail Use% Mounted on
cm01cel01: /dev/md6 9.9G 3.6G 5.9G 38% /
cm01cel02: Filesystem Size Used Avail Use% Mounted on
cm01cel02: /dev/md6 9.9G 3.6G 5.9G 38% /
cm01cel03: Filesystem Size Used Avail Use% Mounted on
cm01cel03: /dev/md6 9.9G 3.6G 5.9G 38% /
[oracle@cm01dbm01 ~]$
Some Exadata administration tasks are made significantly easier and arguably less error-prone when using
dcli . For example, when configuring storage entities such as cell disks and grid disks, implementing I/O Resource
 
Search WWH ::




Custom Search