Re: [Bacula-users] list volumes / list media shows volumes and media from other catalogs

2006-08-21 Thread Michael Brennen
On Thu, 17 Aug 2006, Kern Sibbald wrote:

 On Thursday 17 August 2006 18:41, Jo Rhett wrote:
 On Wed, Aug 16, 2006 at 08:49:19AM +0200, Kern Sibbald wrote:
 On Wednesday 16 August 2006 00:48, Jo Rhett wrote:
 After using bacula a lot today to do cleanup of some testing I did,
 I've found that ALL Pools *always* show up everywhere.  No matter
 what command you use, or what catalog you are in.

 In there any way to associate pools with catalogs, such that pools
 don't show up in the list if they have no media in that catalog?  Or
 am I thinking about Pools and Catalogs all wrong?

 I agree this should be changed as it could be very confusing to 
 users at least at first, but it will require someone to write some 
 code.

 I'm your huckleberry :-)  Anything jump out of your mind on things 
 to avoid?

 No, it seems to me to be straight forward: when Bacula is iterating 
 through the list of Pool resources, it just needs to be made smart 
 enough to skip pools that are defined in a different catalog.  That 
 should solve the confusion problem.

I had not made the connection between Jo's recent post and my request 
yesterday about restricting clients to certain areas; I am new enough 
to Bacula that I am still learning to think about all the Bacula 
entities and their relationships.  I think Jo's desired mod would 
address my question as well, if I've understood correctly.  I am 
running the CVS version and would be very willing to test out any 
fixes posted.

-- Michael

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] list volumes / list media shows volumes and media from other catalogs

2006-08-17 Thread Jo Rhett
On Wed, Aug 16, 2006 at 08:49:19AM +0200, Kern Sibbald wrote:
 On Wednesday 16 August 2006 00:48, Jo Rhett wrote:
  After using bacula a lot today to do cleanup of some testing I did,  
  I've found that ALL Pools *always* show up everywhere.  No matter  
  what command you use, or what catalog you are in.
  
  In there any way to associate pools with catalogs, such that pools  
  don't show up in the list if they have no media in that catalog?  Or  
  am I thinking about Pools and Catalogs all wrong?
 
 I agree this should be changed as it could be very confusing to users at 
 least 
 at first, but it will require someone to write some code.
 
I'm your huckleberry :-)  Anything jump out of your mind on things to avoid?

-- 
Jo Rhett
senior geek
SVcolo : Silicon Valley Colocation

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] list volumes / list media shows volumes and media from other catalogs

2006-08-17 Thread Kern Sibbald
On Thursday 17 August 2006 18:41, Jo Rhett wrote:
 On Wed, Aug 16, 2006 at 08:49:19AM +0200, Kern Sibbald wrote:
  On Wednesday 16 August 2006 00:48, Jo Rhett wrote:
   After using bacula a lot today to do cleanup of some testing I did,  
   I've found that ALL Pools *always* show up everywhere.  No matter  
   what command you use, or what catalog you are in.
   
   In there any way to associate pools with catalogs, such that pools  
   don't show up in the list if they have no media in that catalog?  Or  
   am I thinking about Pools and Catalogs all wrong?
  
  I agree this should be changed as it could be very confusing to users at 
least 
  at first, but it will require someone to write some code.
  
 I'm your huckleberry :-)  Anything jump out of your mind on things to avoid?

No, it seems to me to be straight forward: when Bacula is iterating through 
the list of Pool resources, it just needs to be made smart enough to skip 
pools that are defined in a different catalog.  That should solve the 
confusion problem.

A more complete approach would be to add code to look up all the Pools defined 
in the current database, and then iterate through them listing the contents, 
and if there are any additional pools defined in the Pool resources for that 
database, complain that a pool is missing.  Likewise, if any Pools are found 
in the catalog that do not exist in the Pool resource definitions, warn the 
user that there are unexpected pools.

 
 -- 
 Jo Rhett
 senior geek
 SVcolo : Silicon Valley Colocation
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] list volumes / list media shows volumes and media from other catalogs

2006-08-17 Thread Michael Brennen
On Thu, 17 Aug 2006, Kern Sibbald wrote:

 On Thursday 17 August 2006 18:41, Jo Rhett wrote:
 On Wed, Aug 16, 2006 at 08:49:19AM +0200, Kern Sibbald wrote:
 On Wednesday 16 August 2006 00:48, Jo Rhett wrote:
 After using bacula a lot today to do cleanup of some testing I did,
 I've found that ALL Pools *always* show up everywhere.  No matter
 what command you use, or what catalog you are in.
 
 In there any way to associate pools with catalogs, such that pools
 don't show up in the list if they have no media in that catalog?  Or
 am I thinking about Pools and Catalogs all wrong?
 
 I agree this should be changed as it could be very confusing to users at 
 least at first, but it will require someone to write some code.
 
 I'm your huckleberry :-)  Anything jump out of your mind on things to avoid?
 
 No, it seems to me to be straight forward: when Bacula is iterating through 
 the list of Pool resources, it just needs to be made smart enough to skip 
 pools that are defined in a different catalog.  That should solve the 
 confusion problem.

I had not made the connection between Jo's recent post and my request yesterday 
about restricting clients to certain areas; I am new enough to Bacula that I am 
still learning to think about all the Bacula entities and their relationships. 
I think Jo's desired mod would address my question as well, if I've understood 
correctly.  I am running the CVS version and would be very willing to test out 
any fixes posted.

-- Michael

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] list volumes / list media shows volumes and media from other catalogs

2006-08-17 Thread Jo Rhett
On Thu, Aug 17, 2006 at 01:54:55PM -0500, Michael Brennen wrote:
 I had not made the connection between Jo's recent post and my request 
 yesterday 
 about restricting clients to certain areas; I am new enough to Bacula that I 
 am 
 still learning to think about all the Bacula entities and their 
 relationships. 
 I think Jo's desired mod would address my question as well, if I've 
 understood 
 correctly.  I am running the CVS version and would be very willing to test 
 out 
 any fixes posted.
 
Hm.  This matters to me, but I'm leaving for vacation next week so don't
hold your breath on this fix.

That said, I need to start poking around on allowing limited client access
for query/restore purposes.  We should compare notes sometime soon.

-- 
Jo Rhett
senior geek
SVcolo : Silicon Valley Colocation

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] list volumes / list media shows volumes and media from other catalogs

2006-08-17 Thread Michael Brennen
On Thu, 17 Aug 2006, Jo Rhett wrote:

 On Thu, Aug 17, 2006 at 01:54:55PM -0500, Michael Brennen wrote:
 I had not made the connection between Jo's recent post and my request 
 yesterday
 about restricting clients to certain areas; I am new enough to Bacula that I 
 am
 still learning to think about all the Bacula entities and their 
 relationships.
 I think Jo's desired mod would address my question as well, if I've 
 understood
 correctly.  I am running the CVS version and would be very willing to test 
 out
 any fixes posted.

 Hm.  This matters to me, but I'm leaving for vacation next week so 
 don't hold your breath on this fix.

I understand, will be glad to help with whatever you pull together 
whenever that is.

-- Michael

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] list volumes / list media shows volumes and media from other catalogs

2006-08-15 Thread Jo Rhett
After using bacula a lot today to do cleanup of some testing I did,  
I've found that ALL Pools *always* show up everywhere.  No matter  
what command you use, or what catalog you are in.

In there any way to associate pools with catalogs, such that pools  
don't show up in the list if they have no media in that catalog?  Or  
am I thinking about Pools and Catalogs all wrong?

On Aug 15, 2006, at 9:39 AM, Jo Rhett wrote:
 Martin Simmons kindly helped me realize that I was ass-u-me-ing
 something based on the output of list volumes and list media.
 Both of these commands show the pools from other catalogs, with no
 entries in them.  I assumed something wasn't recorded, not that it
 simply wasn't visible.

 Using use to change catalogs reverses the results, showing you the
 volumes/media in that catalog and no results under the pool headers
 for the other catalogs.  This is confusing.

 list pools happens to show all pools in any catalog, and that is
 where I think the problem may lie.  Are Pools global?  Or are they
 stored in a single catalog?

 Obviously this isn't a huge operational problem, so it's low
 priority, but I think that it would be much more intuitive if the
 interface only showed you pools (and pool headers) for the catalog
 you are using.

 Here's an example of the confusing output:

 *list media
 Pool: svcolo_30day
 No results to list.
 Pool: svcolo_3month
 No results to list.
 Pool: svcolo_1year
 No results to list.
 Pool: localnet_Pool
 No results to list.
 Pool: clients_Pool
 +-+--+---+-+--
 +--+-+--+---+--
 +-+
 | MediaId | VolumeName   | VolStatus | VolBytes| VolFiles |
 VolRetention | Recycle | Slot | InChanger | MediaType|
 LastWritten |
 +-+--+---+-+--
 +--+-+--+---+--
 +-+
 |   1 | clients-0001 | Full  |   1,597,381,545 |0
 |2,592,000 |   1 |0 | 0 | File_clients |
 2006-08-13 14:03:04 |
 |   2 | clients-0002 | Full  | 173,666,289 |0
 |2,592,000 |   1 |0 | 0 | File_clients |
 2006-08-13 14:03:24 |
 |   3 | clients-0003 | Used  |  16,645,859,584 |3
 |2,592,000 |   1 |0 | 0 | File_clients |
 2006-07-20 11:38:18 |

 ...etc

 -- 
 Jo Rhett
 senior geek
 Silicon Valley Colocation


 -- 
 ---
 Using Tomcat but need to do more? Need to support web services,  
 security?
 Get stuff done quickly with pre-integrated technology to make your  
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache  
 Geronimo
 http://sel.as-us.falkag.net/sel? 
 cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Jo Rhett
senior geek
Silicon Valley Colocation


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users