Frank Weise wrote:
Hello @all
I hope someone can help me.
Folling situation occured:
I have lost all files and directories under /sapdb beside /sapdb/TST/*.
That means I have lost especially /sapdb/programs and /sapdb/data. All
files under /sapdb/TST/* and also all raw devices (logdevspaces and
dataevspaces) for the database TST are in place.
I have no backup of /sapdb/programs and /sapdb/data.
Therefore I installed the same database version via SDBINST. These
recreated all content under /sapdb/programs and /sapdb/data. No I
looking for a way to reregister the database instance TST without losing
the datas in the raw devices. If I would reinitialise the database TST
via DBMGUI I will lost the datas in the raw devices.
Can someone points me in the right direction. Under Oracle I would
reinstall the same software version with the same patchlevel, check the
init<SID>.ora, start the listener and could start up the database.
That's what I'm looking for MAXDB.
Thanks to all
Frank Weise
Hi Frank,
it is possible but you have lost the complete parameter files of that
TST instance with loosing the /sapdb/data area. I think, if you loose
similar things with Oracle it is not only done by installing the Oracle
software and do some minor tricks :-). Also there you would need some
more informations about the setup of the database instance itself.
Anyways you can reanimate the instance by creating a new parameter file
for your instance name. But be carefull to specify different files/RAW
devices as volumes, otherwise the still available volumes would be
freshly initialized during that process, as you already mentioned. You
can do so with the DBMGUI and the Instance Wizard there. You can reach
him by Instance -> Create.
Finally you should get to a state where this database instance can be
started and stopped with the different, temporary volumes.
Maybe you might think of test this first on another server?
About what database version we are talking?
Then the faking part begins and you have to adapt all the parameters in
the parameter file back to the values set up in the lost parameter file,
especcially the volume parameter. You have to know the exact size of the
volumes in the RAW devices (the RAW device size must not fit exactly
with the MaxDB volume size) etc. You can do this with the dbmcli (try a
param_directgetall first and you will find all the relevant volume
definitions - three for every volume) or the DBMGUI. If you create the
volumes some pages to big, you will later get corrupted pages at the end
of the volume because due to the new definition you read outside the
original volume, or you might loose pages there, what it especcially a
problem of the log volume as there MaxDB can not compress the date to
the beginning of the volume as with the data volumes. The size
information is also located in the config page of each volume but to get
to this info is quite more tricky :-).
Is this enough info for the beginning?
BTW: Set up a backup strategy for the database asap :-)!!!
Greetings
Ralf
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]