Database Reference
In-Depth Information
root@zone1:~# df -h
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 24G 317M 24G 2% /
/dev 0K 0K 0K 0% /dev
zone1pool/zone1/app 15G 31K 15G 1% /u01/app
zone1pool/zone1/oradata
24G 31K 24G 1% /u01/oradata
zone1pool/zone1/root/rpool/ROOT/solaris/var
24G 25M 24G 1% /var
proc 0K 0K 0K 0% /proc
ctfs 0K 0K 0K 0% /system/contract
mnttab 0K 0K 0K 0% /etc/mnttab
objfs 0K 0K 0K 0% /system/object
swap 6.1G 248K 6.1G 1% /system/volatile
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap2.so.1
24G 317M 24G 2% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 6.1G 0K 6.1G 0% /tmp
However, the system is not yet configured. This is performed using the sysconfig command. Exit your previous
session, log into the zone in console mode (using zlogin -Cd zone1 ), enter sysconfig configure , and then reboot
the zone. The console mode does not disconnect you, and, when the zone comes up again, the System Configuration
Tool guides you through the setup process. After another reboot, your zone is functional. Since the installation of
Oracle binaries is identical to a non-zone installation, it is not shown here.
Monitoring Zones
An invaluable tool for the system administrator or power-DBA is called zonestat . Very often, it is difficult to work
out where time is spent on a multi-zone system. All the DBA sees is a high load average, but it is not always apparent
where it is caused. Enter zonestat , a great way of monitoring the system. It should be noted, however, that the output
of the command, when executed in a non-global zone, will not report individual other zone's resources.
When invoked on the global zone, however, you get an overview of what is happening. When invoked in its most
basic form from the global zone, you see the following output:
root@solaris:~# zonestat 5 2
Collecting data for first interval...
Interval: 1, Duration: 0:00:05
SUMMARY Cpus/Online: 8/8 PhysMem: 8191M VirtMem: 9.9G
---CPU---- --PhysMem-- --VirtMem-- --PhysNet--
ZONE USED %PART USED %USED USED %USED PBYTE %PUSE
[total] 8.00 100% 1821M 22.2% 2857M 27.9% 278 0.00%
[system] 0.00 0.00% 1590M 19.4% 2645M 25.8% - -
zone1 8.00 100% 83.1M 1.01% 75.7M 0.73% 0 0.00%
global 0.01 0.19% 148M 1.80% 136M 1.33% 278 0.00%
Interval: 2, Duration: 0:00:10
SUMMARY Cpus/Online: 8/8 PhysMem: 8191M VirtMem: 9.9G
---CPU---- --PhysMem-- --VirtMem-- --PhysNet--
ZONE USED %PART USED %USED USED %USED PBYTE %PUSE
[total] 7.98 99.8% 1821M 22.2% 2858M 27.9% 940 0.00%
 
Search WWH ::




Custom Search