Xymon Mailing List Archive search

disk graphs after a Solaris live_upgrade

7 messages in this thread

list Roland Soderstrom · Wed, 25 Jul 2012 23:20:52 +0000 ·
After patching Solaris 10 using liveupgrade we get all the /.alt directories in the disk data graphs.
Obviously they are in the RRD data file now, but totally redundant.
All the graphs are messed up now.
After patching was done and all these extra /.alt filesystems (one for each Zone, and we had 10) was unmounted
The disk page looks normal again at the top, the df output.
But all the graphs are messed up only the root fs and a data fs shows up in the graphs.
We get all these non existing /.alt filesystems in the graphs and we are missing the original ones.

Is there a way of getting it back to normal without destroying historical data?

Maybe some fancy rrd command?

And is there a way of preventing this for future liveupgrades?


-          Roland
list Larry Barber · Wed, 25 Jul 2012 18:47:59 -0500 ·
You just need to delete the .rrd files associated with the unmounted disks.
$XYMONHOME/data/rrd/<servername>/<file>.

Thanks,
Larry Barber

On Wed, Jul 25, 2012 at 6:20 PM, Roland Soderstrom <
quoted from Roland Soderstrom
user-0cec9512a49f@xymon.invalid> wrote:
 After patching Solaris 10 using liveupgrade we get all the /.alt
directories in the disk data graphs.****

Obviously they are in the RRD data file now, but totally redundant.****

All the graphs are messed up now.****

After patching was done and all these extra /.alt filesystems (one for
each Zone, and we had 10) was unmounted****

The disk page looks normal again at the top, the df output.****

But all the graphs are messed up only the root fs and a data fs shows up
in the graphs.****

We get all these non existing /.alt filesystems in the graphs and we are
missing the original ones.****

** **

Is there a way of getting it back to normal without destroying historical
data?****

** **

Maybe some fancy rrd command?****

** **

And is there a way of preventing this for future liveupgrades?****

** **

**-          **Roland****

list Roland Soderstrom · Thu, 26 Jul 2012 00:14:08 +0000 ·
Ah, didn't realize that there was a rrd for each filesystem.
Thanks a lot, problem solved.
quoted from Larry Barber


From: Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
Sent: Thursday, 26 July 2012 9:48 AM
To: Roland Soderstrom
Cc: xymon at xymon.com
Subject: Re: [Xymon] disk graphs after a Solaris live_upgrade

You just need to delete the .rrd files associated with the unmounted disks. $XYMONHOME/data/rrd/<servername>/<file>.

Thanks,
Larry Barber
On Wed, Jul 25, 2012 at 6:20 PM, Roland Soderstrom <user-0cec9512a49f@xymon.invalid<mailto:user-0cec9512a49f@xymon.invalid>> wrote:
After patching Solaris 10 using liveupgrade we get all the /.alt directories in the disk data graphs.
Obviously they are in the RRD data file now, but totally redundant.
All the graphs are messed up now.
After patching was done and all these extra /.alt filesystems (one for each Zone, and we had 10) was unmounted
The disk page looks normal again at the top, the df output.
But all the graphs are messed up only the root fs and a data fs shows up in the graphs.
We get all these non existing /.alt filesystems in the graphs and we are missing the original ones.

Is there a way of getting it back to normal without destroying historical data?

Maybe some fancy rrd command?

And is there a way of preventing this for future liveupgrades?


-          Roland
list Vernon Everett · Thu, 26 Jul 2012 10:05:12 +0800 ·
It is quite reasonable to run a find in your rrd repository and delete all
old rrd files.
Active rrd files are normally updated every 5 minutes.
Something that hasn't been updated in a month, is probably no longer in use.

Regards
      Vernon
quoted from Roland Soderstrom

On 26 July 2012 08:14, Roland Soderstrom <user-0cec9512a49f@xymon.invalid> wrote:
 Ah, didn’t realize that there was a rrd for each filesystem.****

Thanks a lot, problem solved.****

** **

** **

*From:* Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
*Sent:* Thursday, 26 July 2012 9:48 AM
*To:* Roland Soderstrom
*Cc:* xymon at xymon.com
*Subject:* Re: [Xymon] disk graphs after a Solaris live_upgrade****

** **

You just need to delete the .rrd files associated with the unmounted
disks. $XYMONHOME/data/rrd/<servername>/<file>.

Thanks,
Larry Barber****

On Wed, Jul 25, 2012 at 6:20 PM, Roland Soderstrom <
user-0cec9512a49f@xymon.invalid> wrote:****

After patching Solaris 10 using liveupgrade we get all the /.alt
directories in the disk data graphs.****

Obviously they are in the RRD data file now, but totally redundant.****

All the graphs are messed up now.****

After patching was done and all these extra /.alt filesystems (one for
each Zone, and we had 10) was unmounted****

The disk page looks normal again at the top, the df output.****

But all the graphs are messed up only the root fs and a data fs shows up
in the graphs.****

We get all these non existing /.alt filesystems in the graphs and we are
missing the original ones.****

 ****

Is there a way of getting it back to normal without destroying historical
data?****

 ****

Maybe some fancy rrd command?****

 ****

And is there a way of preventing this for future liveupgrades?****

 ****

-          Roland****


** **

-- 

"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
list Henrik Størner · Thu, 26 Jul 2012 16:04:56 +0200 ·
quoted from Roland Soderstrom
On 26-07-2012 01:20, Roland Soderstrom wrote:
After patching Solaris 10 using liveupgrade we get all the /.alt
directories in the disk data graphs.
[snip]
And is there a way of preventing this for future liveupgrades?
I am not familiar with this Solaris feature, but if the mount-points for 
these are always ">something>/.alt", then in analysis.cfg you can  add

    DISK %/.alt IGNORE


Regards,
Henrik
list Ryan Novosielski · Thu, 26 Jul 2012 10:21:12 -0400 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
quoted from Henrik Størner

On 07/26/2012 10:04 AM, Henrik Størner wrote:
On 26-07-2012 01:20, Roland Soderstrom wrote:
After patching Solaris 10 using liveupgrade we get all the /.alt 
directories in the disk data graphs.
[snip]
And is there a way of preventing this for future liveupgrades?
I am not familiar with this Solaris feature, but if the
mount-points for these are always ">something>/.alt", then in
analysis.cfg you can  add

DISK %/.alt IGNORE
Yes, that is what I do for the same reason.

- -- 
- ---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| |  | |__/ | \| _| |user-ae4522577e16@xymon.invalid - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlARUlQACgkQmb+gadEcsb5FSgCfV5J78PwBqIDjeRT3t1XiEjUs
MoEAn0oyUf7nmFS+U2WZKuQMIsasJfo2
=Jf4u
-----END PGP SIGNATURE-----
list Roland Soderstrom · Thu, 26 Jul 2012 21:32:28 +0000 ·
Yes, I thought of that, but will the rrd still be created?
Vernons trick of deleting 1 month old rrd's will fix that.

So those 2 will prevent it for future liveupgrades.

- Roland
quoted from Henrik Størner

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Friday, 27 July 2012 12:05 AM
To: xymon at xymon.com
Subject: Re: [Xymon] disk graphs after a Solaris live_upgrade

On 26-07-2012 01:20, Roland Soderstrom wrote:
After patching Solaris 10 using liveupgrade we get all the /.alt 
directories in the disk data graphs.
[snip]
And is there a way of preventing this for future liveupgrades?
I am not familiar with this Solaris feature, but if the mount-points for these are always ">something>/.alt", then in analysis.cfg you can  add

    DISK %/.alt IGNORE


Regards,
Henrik