DevTech101

DevTech101

ZFS

Oracle Solaris ZFS health / scrubbing check script

The ZFS script will check ZFS pool health and do scheduled scrubbing. Get ZFS script Modify the below values in the script to your mail admin and mail address. my $mydomain = $hostname; my $mailfrom = “sysadmin\@$hostname.domain.com”; my $mailto = “admin\@domain.com”; my $mailhost = “10.10.10.10”; # switch to ip or real mail host

ZFS restapi – openstack

curl –user root:password -k https://zfssa.domain.com:215/api/storage/v1/pools/HP-pool/projects|python -m json.tool curl –user root:password -k -i https://zfssa.domain.com:215/api/system/v1/version OpenStack scripts https://blogs.oracle.com/yappri/entry/zfssa_cinder_driver

Steps to Live Upgrade Oracle Solaris 10

How to Live Upgrade an active Solaris 10 enverment split second disk (or replace it and put aside metadettach & metaclear Check for latest patches for live upgrade at live upgrade patches Or Get patch 121430-57 Oracle Live upgrade install from the latest os cd cd <mount>/Solaris_10/Product pkgadd -d . SUNWlucfg Contents 1 check for …

Steps to Live Upgrade Oracle Solaris 10 Read More »

Script to get the Solaris ZFS ARC Size

This script will list the ZFS adaptive replacement cache (ARC)statistics and usages To get the script click here Another great ZFS ARC summery script is available here Output will look something like this. [root@server] /tmp # ./arc_summary.pl System Memory: Physical RAM: 64128 MB Free Memory : 58808 MB LotsFree: 999 MB ZFS Tunables (/etc/system): ARC Size: …

Script to get the Solaris ZFS ARC Size Read More »