Simple script for restarting the CELOG on Isilon

If your Isilon cluster has its CELOG fill up to the point where it no longer sends you email alerts (and/or smtp traps) and you can’t clear it yourself, even with the CLI, you’ll probably need this script. It’s a compilation of what support told me several times that I got tired of looking up in my old emails.


#!/bin/bash
isi services -a celog_coalescer disable
isi services -a celog_monitor disable
isi services -a celog_notification disable
sleep 120
isi_for_array killall isi_mcp
isi_for_array pkill isi_celog_
sleep 60
isi_for_array rm -rf /var/db/celog/*
isi_for_array rm -rf /var/db/celog_master/*
rm -rf /ifs/.ifsvar/db/celog/*
isi_for_array isi_mcp
sleep 30
isi services -a celog_coalescer enable
sleep 30
isi services -a celog_monitor enable
sleep 30
isi services -a celog_notification enable
sleep 30
isi services -a celog_coalescer enable
isi services -a celog_monitor enable
isi services -a celog_notification enable

Nothing special here, but perhaps it will come in handy for someone. I have heard that they are aware of the bug and it will be fixed in a future release of OneFS.

Advertisements

About kcarlile
Twitter: @overclockdlemon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: