ADSM-L

Re: [ADSM-L] Restoring Linux 6.1 server DB to new machine

2014-02-11 08:58:11
Subject: Re: [ADSM-L] Restoring Linux 6.1 server DB to new machine
From: Zoltan Forray <zforray AT VCU DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 11 Feb 2014 08:49:30 -0500
Thanks for the info/TID.

I checked and the file has the correct ownership and the same attributes as
on my other servers (644).  It did not exist until I ran the virgin install
of 6.1, using the same DB2 instance/user.

-rw-r--r--.  1 tsminst1 tsmsrvrs   27 Feb  7 13:48 dsmserv.dbid



On Tue, Feb 11, 2014 at 4:21 AM, Loon, EJ van (SPLXM) - KLM <
Eric-van.Loon AT klm DOT com> wrote:

> Hi Zoltan!
> It's probably a permission issue on the dsmserv.dbid, checkout the IBM
> Technote 21641644:
> http://www-01.ibm.com/support/docview.wss?uid=swg21641644
> Kind regards,
> Eric van Loon
> AF/KLM Storage Engineering
>
> -----Original Message-----
> From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf 
> Of
> Zoltan Forray
> Sent: maandag 10 februari 2014 20:20
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Restoring Linux 6.1 server DB to new machine
>
> I am testing a restore and conversion/upgrade of my last 6.1 server,
> before it becomes a pumpkin in April!
>
> I am having issues following the wonderful, detail, draft manual, since
> it doesn't give specifics as to who I should be when I perform various
> tasks.
>
> For instance, after installing and configuring 6.1, the restore process
> says to do a "dsmserv removedb TSMDB1".  But it fails to tell me (and
> the command failed) that I should be logged in as the DB2 instance user
> (tsminst1), not root.  Yes, all filesystems have the proper ownership.
>
> So, I figured I would need to stay as the DB2 instance (vs root), for
> the restore process.
>
> While most of the restore process seemed to go OK, I had some errors
> that seem to indicate I should have been root.
>
> In the beginning of the dsmserv restore db, I got this error:
>
> *rm: cannot remove `/tsmarchlog': Permission denied*
> *mkdir: cannot create directory `/tsmarchlog': File exists*
>
> Of course this confused me since I needed to define these for the
> install process and the book didn't say I should delete it, so why would
> the restore try to recreate them? But since the empty directory was
> already there with the proper ownership, I ignored it.
>
> Then after the restore ran for 2-hours (200GB DB and low-power test
> machine), it ends with this:
>
> *ANR4917I Point-in-time database restore with snapshot complete, restore
> date 01/16/2014 09:18:53 AM.* *ANR0222E Error opening for write disk
> definition file dsmserv.dbid.* *Error 2104 updating database ID file.*
> *ANR2988W Attempt to add the last backup db volume used entry back in to
> the volume history was unsuccessful.*
>
> The ever helpful user manual for ANR0222E says "Attempt to determine the
> cause of the write error and correct it." - Thanks, guys......
>
> This sounds more serious?  Before I waste another 2-hours, should I
> start all over again, doing the restore via root or is this something I
> can correct, and how?
>
> Thoughts? Suggestions?
> --
> *Zoltan Forray*
> TSM Software & Hardware Administrator
> Virginia Commonwealth University
> UCC/Office of Technology Services
> zforray AT vcu DOT edu - 804-828-4807
> Don't be a phishing victim - VCU and other reputable organizations will
> never use email to request that you reply with your password, social
> security number or confidential personal information. For more details
> visit http://infosecurity.vcu.edu/phishing.html
> ********************************************************
> For information, services and offers, please visit our web site:
> http://www.klm.com. This e-mail and any attachment may contain
> confidential and privileged material intended for the addressee only. If
> you are not the addressee, you are notified that no part of the e-mail or
> any attachment may be disclosed, copied or distributed, and that any other
> action related to this e-mail or attachment is strictly prohibited, and may
> be unlawful. If you have received this e-mail by error, please notify the
> sender immediately by return e-mail, and delete this message.
>
> Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
> employees shall not be liable for the incorrect or incomplete transmission
> of this e-mail or any attachments, nor responsible for any delay in receipt.
> Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
> Airlines) is registered in Amstelveen, The Netherlands, with registered
> number 33014286
> ********************************************************
>



--
*Zoltan Forray*
TSM Software & Hardware Administrator
Virginia Commonwealth University
UCC/Office of Technology Services
zforray AT vcu DOT edu - 804-828-4807
Don't be a phishing victim - VCU and other reputable organizations will
never use email to request that you reply with your password, social
security number or confidential personal information. For more details
visit http://infosecurity.vcu.edu/phishing.html

<Prev in Thread] Current Thread [Next in Thread>