Tip:
Highlight text to annotate it
X
The basic archive type in
PI is a fixed archive type. The default archives
that we create during installation are fixed. So,
and we do recommend them for just about all normal operations, so,
so what is a fixed archive? Well, it's something that
has all of its disk space allocated at the creation
time. So, we actually will, you know, create,
if it's a hundred megabyte archive, we actually create a hundred megabyte
file. We actually fill it with zeros. And, and so, as
it fills it's not going to consume any more disk space.
That's a fixed archive. It's going to have these, as I said, the Primaries.
And then, a, a certain amount of empty
1K records. They may or may not participate in the
archive shifts, depending on the point count. As I said, almost
all the time, your point count is not going to grow so much that
you cannot shift into an, an archive, at
least any of the standard archives built using our recommendations.
But, but the fixed archives,
they, you know, they, they do have that,
that attribute. They will
generally participate in the archive shifts.
Now, I only say that really in anticipation
of describing our dynamic archives, which you will notice
do not participate in archive shifts. So the fixed
archives are basic, a basic unit that we use
for archiving and should generally be used.
Now they can be created as, as I showed earlier,
using the System Management Tools, by choosing
Create a New Archive File. But, you can also do that by
doing the DOS prompt -- or using DOS
Prompt Utilities. So, let me demonstrate.
If I go down to the Start Menu and choose Run
and then Command. From
the Command Prompt, I can go ahead and change to the proper
directory, and
let me change directories to
c:\\piadm. And this is where I can do a piarcreate.
Do piarcreate.
Piarcreate, and then give the name of the file.
This is going to be pidat and
I will call this myarch2.dat. I already created a myarch1.
And, I am sorry. I have forgotten,
I have forgotten a very important argument. The
argument that I forgot to put in is the
size, in megabytes. So, I would like to specify
this to be a 128 megabyte archive.
So let me just go ahead and retrieve what I did earlier.
And I am going to pass 128. That's going to be the size of the archive.
And, as you can see, the response we get
is that this is an archive that is now
prepared to be archived. Where is it?
We say it is prepared to be registered, I should say.
So, we have not registered it yet. It's just prepared to be
registered. So at that point I could go ahead and
use another DOS Utility,
piartool-ar to register this. This is
C:\\pidatmyarch2.dat.
And now, that should be registered. And, in
fact, if I go back into my System Management Tools, I refresh
the screen, we should see a -- there it is -- it's
myarch2.dat. Let me sequence this. That is the
highest empty archive, the target of the next shift.
There it is: myarch2.dat.
As you can see I have been -- I have created it and registered in it --
or registered it. And the whole point of showing you that is,
again, at some point you may need to write a little DOS
script to create dozens of archives at a time, and
that's just a simple way to do that, using those DOS Utilities.