SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Moving archlog folder
Author Message
Post Moving archlog folder 
One of my servers is having disk "issues" and it happens to be where the
tsmarchlog folder is. The Linux Administrators Guide says to:

Moving only the archive log
You can move only the archive log from one directory to another.
1. Halt the server.
2. Create an new archive log directory. For example: mkdir
/archivelog2
3. Update the dsmserv.opt option file for the new archive log directory.
For example: archlogdir /archivelog2
4. Restart the server.
5. Move the archive logs from the old directory to the new directory.
Preserve any subdirectory structure. Use and verify a recursive copy
directory command. For example: cp -r /archivelog/* /archivelog2
6. Optional: Remove the old directory.

I am questioning that it says to "Restart the server" before copying the
contents of the "old directory"????? I would have thought you needed the
old directory BEFORE starting up the server? Or do I completely NOT
understand how this works (my suspicions) since I am not a DB2 person....


Zoltan Forray
TSM Software & Hardware Administrator
Virginia Commonwealth University
UCC/Office of Technology Services
zforray < at > vcu.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

Post Moving archlog folder 
Hi Zoltan,

If you move the archlog from the old directory to the new one before the
server has been restarted, you'll get a message saying that DBM cannot
start because the directory is not empty upon restart.

Note that you may need to restart twice : one time to update the
configuration, and the second time for real, and then you'll be able to
move the archlog.

Best regards / Cordialement / مع تحياتي
Erwann SIMON


Le 08/02/2012 13:57, Zoltan Forray/AC/VCU a écrit :
One of my servers is having disk "issues" and it happens to be where the
tsmarchlog folder is. The Linux Administrators Guide says to:

Moving only the archive log
You can move only the archive log from one directory to another.
1. Halt the server.
2. Create an new archive log directory. For example: mkdir
/archivelog2
3. Update the dsmserv.opt option file for the new archive log directory.
For example: archlogdir /archivelog2
4. Restart the server.
5. Move the archive logs from the old directory to the new directory.
Preserve any subdirectory structure. Use and verify a recursive copy
directory command. For example: cp -r /archivelog/* /archivelog2
6. Optional: Remove the old directory.

I am questioning that it says to "Restart the server" before copying the
contents of the "old directory"????? I would have thought you needed the
old directory BEFORE starting up the server? Or do I completely NOT
understand how this works (my suspicions) since I am not a DB2 person....


Zoltan Forray
TSM Software& Hardware Administrator
Virginia Commonwealth University
UCC/Office of Technology Services
zforray < at > vcu.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

Post Moving archlog folder 
Hi Zoltan.
Been there done that, yes it works as documented.

I think the deal is that unlike the activelog, the old files in the archivelogdir only get accessed during a DB backup or a DB recovery.
So as long as you don't try to do a DB backup before you move the old files, you're good.

W


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L < at > VM.MARIST.EDU] On Behalf Of Zoltan Forray/AC/VCU
Sent: Wednesday, February 08, 2012 7:58 AM
To: ADSM-L < at > VM.MARIST.EDU
Subject: [ADSM-L] Moving archlog folder

One of my servers is having disk "issues" and it happens to be where the tsmarchlog folder is. The Linux Administrators Guide says to:

Moving only the archive log
You can move only the archive log from one directory to another.
1. Halt the server.
2. Create an new archive log directory. For example: mkdir
/archivelog2
3. Update the dsmserv.opt option file for the new archive log directory.
For example: archlogdir /archivelog2
4. Restart the server.
5. Move the archive logs from the old directory to the new directory.
Preserve any subdirectory structure. Use and verify a recursive copy directory command. For example: cp -r /archivelog/* /archivelog2 6. Optional: Remove the old directory.

I am questioning that it says to "Restart the server" before copying the
contents of the "old directory"????? I would have thought you needed the
old directory BEFORE starting up the server? Or do I completely NOT understand how this works (my suspicions) since I am not a DB2 person....


Zoltan Forray
TSM Software & Hardware Administrator
Virginia Commonwealth University
UCC/Office of Technology Services
zforray < at > vcu.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

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB