Veritas-bu

[Veritas-bu] backup of cluster volumes

2005-08-19 10:34:20
Subject: [Veritas-bu] backup of cluster volumes
From: jonas.blaberg AT mandator DOT com (Jonas Blåberg)
Date: Fri, 19 Aug 2005 16:34:20 +0200
This is a multi-part message in MIME format.

------_=_NextPart_001_01C5A4CB.1668D25E
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello world!

=20

Once more I was wrong - it was not a privileges issue...=20

=20

The problem was finally (?) traced to the creation date on some sub =
folders was really really old, like 1617 and 1818 (yes, it's some =
hundred years ago...). Something regarding time must have been really =
wrong on the original server from where these folders were imported.

=20

However the Netbackup debug log (bpbkar) told me that the folder has =
been created *later* than the latest existing backup, causing a full =
backup to be done every time:

=20

09:21:51.127: [5348.4540] <4> dos_backup::tfs_include: INF - folder =
(Helsingborg) has been created recently (since 2005-08-18 17:07:43).  It =
will be backed up in full.

=20

So something in the NetBackup agent for Windows is handling really old =
timestamps (earlier than 1900? Or 1970?) erroneously.=20

=20

/Bl=E5berg

=20

=20

________________________________

From: veritas-bu-admin AT mailman.eng.auburn DOT edu =
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Jonas =
Bl=E5berg
Sent: den 17 augusti 2005 10:32
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] backup of cluster volumes

=20

Hello!

=20

I found out the problem is not at all related to cluster volumes and =
strange ip addresses.

=20

=20

Instead this is a privileges problem. The service (agent) is running as =
user Local System (the default setup). For directory structures where =
"CREATOR OWNER" and "SYSTEM" had no explicit privileges defined or =
inherited, the differential backups behaved like full backups, causing =
all files to be copied each time.

=20

1. Can anyone explain this behavior? Is the agent not able to read the =
modification time, and as a result the file is copied "just to be sure"?

=20

2. Does anyone know exactly which privileges are needed for the NB agent =
to perform correctly (regarding file backups, not databases etc)?

=20

Regards

/Bl=E5berg

=20

=20

=20

________________________________

From: veritas-bu-admin AT mailman.eng.auburn DOT edu =
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Jonas =
Bl=E5berg
Sent: den 8 augusti 2005 10:51
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] backup of cluster volumes

=20

Hello!

=20

I am experiencing a problem when backing up cluster volumes. The backup =
clients are Windows machines called node1 and node2, and the cluster =
volumes are reached by virtual ip addresses called service1 and service2 =
in the backup server's hosts file (i.e the cluster services are using =
fail-over functionality).=20

=20

There is no problem taking backup of the hosts (node1 and node2) - both =
full and incremental backups are ok.

=20

However when taking backup of the cluster volumes (service1 and =
service2) the full backup is ok, but the incremental backup is the same =
size as a full backup, resulting in huge backup amounts being created. =
It seems it cannot find any full backup to use for reference when making =
incremental backup.

=20

=20

We have the same kind of setup using a Linux fail-over cluster which is =
working ok regarding the incremental backups.=20

=20

Is there any obscure difference in the way Linux and Windows NetBackup =
clients are handling the client hostname?

=20

=20

The server is using Sun Solaris 8 and NB 4.5 FP6. The clients are =
Windows 2003 and NB 4.5 FP6.

=20

/bl=E5berg

=20

=20

Jonas Bl=E5berg

  Mandator Infrastructure

  Kruthusgatan 17,6

  S-411 04 G=F6teborg

@mail: jonas.blaberg AT mandator DOT com

@phone: +46-(0)31-739 84 54        =20

=20


------_=_NextPart_001_01C5A4CB.1668D25E
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hello =
world!<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Once more I was wrong &#8211; it =
was not a
privileges issue&#8230; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The problem was finally (?) traced =
to the
creation date on some sub folders was really really old, like 1617 and =
1818
(yes, it&#8217;s some hundred years ago&#8230;). Something regarding =
time must
have been really wrong on the original server from where these folders =
were
imported.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>However the Netbackup debug log =
(bpbkar)
told me that the folder has been created *<b><span =
style=3D'font-weight:bold'>later</span></b>*
than the latest existing backup, causing a full backup to be done every =
time:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>09:21:51.127: =
[5348.4540]
&lt;4&gt; dos_backup::tfs_include: INF - folder (<st1:place =
w:st=3D"on">Helsingborg</st1:place>)
has been created recently (since 2005-08-18 17:07:43).=A0 It will be =
backed up in
full.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>So something in the NetBackup agent =
for
Windows is handling really old timestamps (earlier than 1900? Or 1970?) =
erroneously.
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>/Bl=E5berg<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Jonas Bl=E5berg<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> den 17 augusti 2005 =
10:32<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [Veritas-bu] =
backup
of cluster volumes</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hello!<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I found out the problem is not at =
all
related to cluster volumes and strange ip =
addresses.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Instead this is a privileges =
problem. The service
(agent) is running as user Local System (the default setup). For =
directory
structures where &#8220;CREATOR OWNER&#8221; and &#8220;SYSTEM&#8221; =
had no
explicit privileges defined or inherited, the differential backups =
behaved like
full backups, causing all files to be copied each =
time.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>1. Can anyone explain this =
behavior? Is
the agent not able to read the modification time, and as a result the =
file is
copied &#8220;just to be sure&#8221;?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>2. Does anyone know exactly which
privileges are needed for the NB agent to perform correctly (regarding =
file
backups, not databases etc)?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>/Bl=E5berg<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Jonas Bl=E5berg<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> den 8 augusti 2005 =
10:51<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
veritas-bu AT mailman.eng.auburn DOT edu<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Veritas-bu] =
backup of
cluster volumes</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello!<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am experiencing a problem when backing up cluster =
volumes.
The backup clients are Windows machines called node1 and node2, and the =
cluster
volumes are reached by virtual ip addresses called service1 and service2 =
in the
backup server&#8217;s hosts file (i.e the cluster services are using =
fail-over
functionality). <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>There is no problem taking backup of the hosts (node1 =
and
node2) &#8211; both full and incremental backups are =
ok.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>However when taking backup of the cluster volumes =
(service1
and service2) the full backup is ok, but the incremental backup is the =
same
size as a full backup, resulting in huge backup amounts being created. =
It seems
it cannot find any full backup to use for reference when making =
incremental
backup.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>We have the same kind of setup using a Linux =
fail-over
cluster which is working ok regarding the incremental backups. =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Is there any obscure difference in the way Linux and =
Windows
NetBackup clients are handling the client =
hostname?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The server is using Sun Solaris 8 and NB 4.5 FP6. The
clients are Windows 2003 and NB 4.5 FP6.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>/bl=E5berg<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p style=3D'margin:0cm;margin-bottom:.0001pt'><font size=3D2 =
face=3D"Times New Roman"><span
style=3D'font-size:10.0pt'>Jonas Bl=E5berg<o:p></o:p></span></font></p>

<p style=3D'margin:0cm;margin-bottom:.0001pt'><font size=3D2 =
face=3D"Times New Roman"><span
style=3D'font-size:10.0pt'>&nbsp; </span></font><font size=3D2><span =
lang=3DSV
style=3D'font-size:10.0pt'>Mandator =
Infrastructure<o:p></o:p></span></font></p>

<p style=3D'margin:0cm;margin-bottom:.0001pt'><font size=3D2 =
face=3D"Times New Roman"><span
lang=3DSV style=3D'font-size:10.0pt'>&nbsp; Kruthusgatan =
17,6<o:p></o:p></span></font></p>

<p style=3D'margin:0cm;margin-bottom:.0001pt'><font size=3D2 =
face=3D"Times New Roman"><span
lang=3DSV style=3D'font-size:10.0pt'>&nbsp; </span></font><font =
size=3D2><span
style=3D'font-size:10.0pt'>S-411 04 =
G=F6teborg<o:p></o:p></span></font></p>

<p style=3D'margin:0cm;margin-bottom:.0001pt'><font size=3D2 =
face=3D"Times New Roman"><span
style=3D'font-size:10.0pt'>@mail: =
jonas.blaberg AT mandator DOT com<o:p></o:p></span></font></p>

<p style=3D'margin:0cm;margin-bottom:.0001pt'><font size=3D2 =
face=3D"Times New Roman"><span
style=3D'font-size:10.0pt'>@phone: +46-(0)31-739 84
54&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C5A4CB.1668D25E--

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