RSS

Total Disk using By LDOM

LDOM merupakan logic domain dari suatu virtualisas di solaris. karena semua-nya adalah virtual. kadang kita tidak tau berapa total sebenernya yang kita gunakan di hardisk. untuk mengeceknya
1.Cek ldom yang ingin kita cek
# ldm list
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active     -n-cv-  SP      16    16160M   4.0%  6d 4h 15m
ldom2            active     -n----  5000    32    32G      1.1%  6d 4h 12m
ldom1            inactive   ------          32    16G
2. cek konfigrasi yang ada di ldom yang ingin kita cek
# ldm list-bindings
-------------------------------------------------------------
DISK
    NAME             VOLUME                      TOUT ID   DEVICE  SERVER         MPGROUP
    ldom1-vol0       ldom1-vol0@primary-vds0          0
    ldom1-vol1       ldom1-vol1@primary-vds0          1
    ldom1-vol2       ldom1-vol2@primary-vds0          2
    ldom1-vol3       ldom1-vol3@primary-vds0          3
    ldom1-log1       ldom1-log1@primary-vds0          4
    ldom1-log2       ldom1-log2@primary-vds0          5
    ldom1-fls1       ldom1-fls1@primary-vds0          6
    ldom1-vol4       ldom1-vol4@primary-vds0          7
3. cek pada primary lokasi mounting file nya
# ldm list-bindings primary
----------------------------------------------------------------
VDS
    NAME             VOLUME         OPTIONS          MPGROUP        DEVICE
    primary-vds0     ldom1-vol0                                     /os_pool/ldom1/os-disk
                     ldom1-vol1                                     /ssd_pool/ldom1/ssd-1
                     ldom1-vol2                                     /app_pool/ldom1/app-1
                     ldom1-vol3                                     /log_pool/ldom1/log-1
                     ldom1-log1                                     /zfs_log/ldom1/log-1
                     ldom1-log2                                     /zfs_log/ldom1/log-2
                     ldom1-fls1                                     /test_pool/ldom1/flash-disk
                     ldom1-vol4                                     /log_pool/ldom1/log-2
                     ldom2-vol0                                     /os_pool/ldom2/os-disk
                     ldom2-vol1                                     /ssd_pool/ldom2/ssd-1
                     ldom2-vol2                                     /app_pool/ldom2/app-1
                     ldom2-vol3                                     /log_pool/ldom2/log-1
                     ldom2-log1                                     /zfs_log/ldom2/log-1
                     ldom2-log2                                     /zfs_log/ldom2/log-2
4. telusuri satu-satu deh dan jumlah size totalnya untuk ldom1-vol0
# ls -lh /os_pool/ldom1/os-disk
dst sampai ldom1-vol4

0 comments:

Posting Komentar

Please copy and share it, if it helps you
 
Copyright 2009 My Note All rights reserved.
Free Blogger Templates by DeluxeTemplates.net
Wordpress Theme by EZwpthemes
Blogger Templates