0% found this document useful (0 votes)
40 views

Check Disk Space On Hyperion Essbase Server

An overnight Essbase processing job hung and users were unable to log in due to low disk space on the Essbase server. To address this, a function was created to check disk space on the Hyperion directory and email the UNIX administrator if space was below 25% to avoid future issues. The function runs a disk usage check, parses the output, compares available space to a threshold, and will send an alert email with disk usage details if space is low.

Uploaded by

venkat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Check Disk Space On Hyperion Essbase Server

An overnight Essbase processing job hung and users were unable to log in due to low disk space on the Essbase server. To address this, a function was created to check disk space on the Hyperion directory and email the UNIX administrator if space was below 25% to avoid future issues. The function runs a disk usage check, parses the output, compares available space to a threshold, and will send an alert email with disk usage details if space is low.

Uploaded by

venkat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Check Disk space on Hyperion Essbase server

I once came across a scenario where we had an overnight Essbase process


running and then there was very low disk space on the server and the process got
hung.
Users were trying to login to the server and was not able to....and then we had to
kill the process and restart Essbase server.
So I added a small function to my overnight process where it'll check for disk
space and will mail the UNIX admin if there is low disk space.
check_diskspace()
{
df -g /hyperion | awk '{print $4}' > diskspaceenv1.txt
df -g /hyperion > diskspace.txt
sed '1d
s/%//g;
s/^[ \t]*//;' diskspaceenv1.txt > diskspaceenv.txt
actualfreesize=`cat diskspaceenv.txt`
allowedsize=25
if [ $allowedsize-ge $actualfreesize ] ; then
echo "* Not Enough Disk Space on Essbase Server. Can't Continue process..."
(echo "`cat /mail/PMS_disk_error.txt`"; uuencode uuencode
/scripts/diskspace.txt DiskSpaceinfo.txt) | mailx -s "Prod Env - Low Disk Space
on Essbase Server" [email protected] [email protected]
exit
else
echo "* Enough Disk Space on Essbase Server. Continue process..."
fi
}

You might also like