Anonymous_User Absent Member.
Absent Member.
1628 views

Bundle Repository File Format

Hello

In ZCM 10 the various file entries in a "bundle" are stored under the
directory /var/opt/novell/zenworks/content-repo/content (by default).

If I wanted to extract the content of any particular file how would I do
it? If I wanted to replace the contents of an individual file with new
contents how would I do it? I am thinking of this kind of stuff merely
from a support perspective: if something is going wrong it is nice to be
able to "look under the hood" and see what's going on. With ZEN 7 you can
simply rename a *.fil file prepared using snAppShot to it's original name
in order to confirm it is the same file as intended. This way it is easy
to replace a single aberrant DLL in a package. It would be nice to be
able to look at a bundle's component files in the database (which leads
me to the question of what tables to query etc?) and then copy the file
somewhere and extract it to confirm it is intact.

Does anyone have any ideas how to go about doing this? It'd be nice if
the files were e.g. an XML header portion with a gzipped tail for
instance. This would make scripted modification of the content feasible.

With this version of ZEN it will be hard to find out if there are
"orphaned" application files sat on the server using up valuable disk
space. Having knowledge of the database queries to run to check what
files are "owned" by a bundle as well as the ability to inspect/modify
the contents of individual files is important I believe.

Simon
Labels (2)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Bundle Repository File Format

Simon,

the content-repo is encrypted...

--

Shaun Pond


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Bundle Repository File Format

> the content-repo is encrypted...

Bugger, why bother? It makes the server run really slow while it's
packaging content and what does it achieve? Why not just compress (using
a format that is common - e.g. gzip)?

I have seen numerous posts regarding sluggish packaging performance on
this forum - why not dispense with encryption altogether? I cannot
believe customers have actually requested it?

Simon

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Bundle Repository File Format

Simon,

it's because we don't have ACLs to prevent access to the data...

--

Shaun Pond


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.