ADSM-L

Re: How to query if there is data to migrate for a primary storage pool??

2003-06-23 09:45:15
Subject: Re: How to query if there is data to migrate for a primary storage pool??
From: "Mr. Lindsay Morris" <lmorris AT SERVERGRAPH DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 23 Jun 2003 09:44:59 -0400
I think most people use server scripts (or the older way, admin schedules)
to set migration up and down daily.  Why are you using shell scripts?

Typically you'll write a server script that does most of the daily
housekeeping jobs, one after the other, and one admin schedule to fire it up
at 6 AM.

And in more direct answer: I don't think you need to care about whether
there is data to be migrated or not.  Just set the himigration point down
(not quite to zero) once a day to kick off migration, then set it back up
(not quite to 100%) to discourage migration at might.

-----------------------------
Mr. Lindsay Morris
Lead Architect
www.servergraph.com
512-482-6138 ext 105

> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU]On Behalf Of
> Lawrence Clark
> Sent: Monday, June 23, 2003 8:55 AM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: How to query if there is data to migrate for a primary
> storage pool??
>
>
> Not sure what your asking, but
>
> Select * from stgpools
>
> will give you stgpool data in total.
>
> >>> steve_taylor AT SYMPATICO DOT CA 06/21/03 05:28PM >>>
> Hi,
>
> Is there a SQL query example, that shows how we can determine if a
> storagepool has qualifying data that can migrate ....
>
> We have a shell script the lowers the thresholds (higmig=1, and
> lowmig=0) to force a migration..... and waits... eventually timing out,
> or finding a completion message...
>
> I was hoping there was a way to determine if we should even try to do a
> migration, to save lots of looping and sleeps in our shell scripts..
>
> Any suggestions would be appreciated..
>
> Thanks,
>
> Steve Taylor
>

<Prev in Thread] Current Thread [Next in Thread>