|
The idea of using ARE (now called Administration Runtime Expert) - this
can be tailored, I believe, to check existence and lots of other stuff, and
then report changes that have occurred.
Maybe useful here?
Cheers
Vern
On 10/19/2016 10:55 AM, Kevin Adler wrote:
Yes, CHKPRDOPT will read that file and verify all the contents are there--
and that they are owned by QSYS. Since the manifest file does not contain
information about permissions; whether it should be a file, directory, or
symlink; or maintain a checksum; none of those things can be checked by
CHKPRDOPT.
I'm not sure what you mean by checking for "new" files, but it's probably
not going to be very useful unless you take in to account the entirety of
the OPS manifest files.
"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 10/19/2016
08:02:15 AM:
From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>to
Date: 10/19/2016 08:21 AM
Subject: Re: [IBMiOSS] OPS Version Information
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>
Very cool. I think "what is my current state?" tools for PASE are going
be very valuable in the near future.python
Your script gave me an idea based on some work Tony Cairns did with
ibmichroot. Basically there is a new way of generating(n1)
chroot_xxxxx.lst files by using the PTF info files (.qptfinf) and a
script(n2). This was done so all the necessary symlinks would beto
automatically created and not based on my or Tony's recollection(n3).
I am thinking the .qptfinf files could also be used to do a health check
make sure nothing has "stained" the IBM directory (i.e.n_chroot_OPS_lst
/QOpenSys/QIBM/ProdData/OPS/...). We do have command CHKPRDOPT but it
doesn't appear to go as deep as I'd like (i.e. checking for *new* files,
permissions, modified files, etc).
n1 - Look for chroot_gen_xxxx.lst files at this URL:
https://bitbucket.org/litmis/ibmichroot/src/master/chroot/
n2 -
https://bitbucket.org/litmis/ibmichroot/src/master/chroot/ge
n3 -
https://bitbucket.org/litmis/ibmichroot/src/master/chroot/
chroot_gen_OPS_Python3.4.lst
(see :ln_rel section)
Aaron Bartell
litmis.com - Services for open source on IBM i
On Tue, Oct 18, 2016 at 7:39 PM, Kevin Adler <kadler@xxxxxxxxxx> wrote:
I think Pete asked for this a while back, maybe others as well. I've
whipped up some scripts to grab the version and PTF level for all theOPS
stuff you have installed: /QOpenSys/QIBM/ProdData/OPS/tools/bin/opsver
on
You can see it in action here:
https://asciinema.org/a/c9j7tl5c5yplnlm7m4a1lgqgz
PTFs will be released soon, probably later this week or next depending
how busy ZendCon is.
This is the IBMi Open Source Roundtable (OpenSource) mailing list
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
--
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.