Veritas-bu

[Veritas-bu] Change Master Server Hostname

2003-08-29 11:23:03
Subject: [Veritas-bu] Change Master Server Hostname
From: scott.kendall AT abbott DOT com (scott.kendall AT abbott DOT com)
Date: Fri, 29 Aug 2003 10:23:03 -0500
This is a multipart message in MIME format.
--=_alternative 0054888586256D91_=
Content-Type: text/plain; charset="us-ascii"

"So remember.. without step one, your restores will work.. 
your images will expire.. and your tapes would probably return to being 
unassigned.."

from my experience, the tapes will not return to unassigned.

this would be the same as improperly decommisioning a media server when 
tapes were still assinged to it.


- Scott





Sam Grover <siraim AT siraim DOT com>
Sent by: veritas-bu-admin AT mailman.eng.auburn DOT edu
08/27/2003 11:16 PM

 
        To:     "Donaldson, Mark" <Mark.Donaldson AT experianems DOT com>
        cc:     "'Kim Pearson'" <kim.pearson AT sun DOT com>, veritas-bu AT 
mailman.eng.auburn DOT edu
        Subject:        Re: [Veritas-bu] Change Master Server Hostname


I did this over the weekend.. twice.. the first time, it went smoothly, 
but then we realized the media databases didn't move properly.. so we 
did it again...

step one.. backup everything.. to disk.. to tape. on paper.. 
whereever.. just make sure you have your catalog and all that entails.

step two.. (the part I neglected in trial one) Move your media back to 
your master server, as if you're removing a media server. This is 
important.. your media databases think your master server is named x, 
and you're changing to y. Changing these entries after the fact is what 
Veritas will charge you for.

step three.. bpbackupdb.. the master server is the only server that 
should have relevant data at this point (your media has been  moved 
home) and so it's the only one you care about.

step four... bprecover -r -d/tpath <where.your.files.are> -dhost 
<new_master_server>

step five.. restart the daemons (oh yeah.. step 3.5 bring down daemons 
on the new master server, assuming they're running)

step six.. run your test restores and test backups.. and all should be 
well.

The only problem we would have had if we ignored step one.. our media 
would be partially assigned. The master server could restore from 
tapes, but there might have been some strangeness in the media 
databases. So remember.. without step one, your restores will work.. 
your images will expire.. and your tapes would probably return to being 
unassigned.. but there might be some strange reporting done by some 
scripts that check media DBs, like available_media.

Hope this helps.. and of course.. hopefully you have a test 
environment, right? =)

Good luck,

Sam



On Wednesday, Aug 27, 2003, at 18:05 America/Chicago, Donaldson, Mark 
wrote:

> Officially, you can't change the name of the master server.  It's too 
> tighly
> tied to info in the images DB.  Unofficially, some have said they've 
> done it
> but when others have tried the same methods, damaged ensued.
>
> The only way approved by Veritas to move images from one master server 
> to
> another (thereby changing the master server name) is to import the 
> tapes
> again.
>
> I think Veritas consulting will also change the name for $$.
>
> Sorry. I'm in the same boat.
>
> -M
>
> -----Original Message-----
> From: Kim Pearson [mailto:kim.pearson AT sun DOT com]
> Sent: Wednesday, August 27, 2003 4:47 PM
> To: veritas-bu AT mailman.eng.auburn DOT edu
> Subject: [Veritas-bu] Change Master Server Hostname
>
>
> Question:
>
> How do you restore db/image files to a master server with a different
> hostname? What is the process Veritas PS uses to change the image
> header?
>
> THANKS!
>
> Kim
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
>

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu



--=_alternative 0054888586256D91_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="Arial">&quot;</font><font size=2 face="Courier New">So 
remember.. without step one, your restores will work.. <br>
your images will expire.. and your tapes would probably return to being <br>
unassigned..</font><font size=2 face="Arial">&quot;</font>
<br>
<br><font size=2 face="Arial">from my experience, the tapes will not return to 
unassigned.</font>
<br>
<br><font size=2 face="Arial">this would be the same as improperly 
decommisioning a media server when tapes were still assinged to it.</font>
<br>
<br>
<br><font size=2 face="Arial">- Scott</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Sam Grover &lt;siraim AT siraim DOT 
com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: veritas-bu-admin AT 
mailman.eng.auburn DOT edu</font>
<p><font size=1 face="sans-serif">08/27/2003 11:16 PM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; 
&nbsp; &nbsp; &nbsp;&quot;Donaldson, Mark&quot; &lt;Mark.Donaldson AT 
experianems DOT com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; 
&nbsp; &nbsp; &nbsp;&quot;'Kim Pearson'&quot; &lt;kim.pearson AT sun DOT 
com&gt;, veritas-bu AT mailman.eng.auburn DOT edu</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; 
&nbsp; &nbsp; &nbsp;Re: [Veritas-bu] Change Master Server 
Hostname</font></table>
<br>
<br>
<br><font size=2 face="Courier New">I did this over the weekend.. twice.. the 
first time, it went smoothly, <br>
but then we realized the media databases didn't move properly.. so we <br>
did it again...<br>
<br>
step one.. backup everything.. to disk.. to tape. on paper.. <br>
whereever.. just make sure you have your catalog and all that entails.<br>
<br>
step two.. (the part I neglected in trial one) Move your media back to <br>
your master server, as if you're removing a media server. This is <br>
important.. your media databases think your master server is named x, <br>
and you're changing to y. Changing these entries after the fact is what <br>
Veritas will charge you for.<br>
<br>
step three.. bpbackupdb.. the master server is the only server that <br>
should have relevant data at this point (your media has been &nbsp;moved <br>
home) and so it's the only one you care about.<br>
<br>
step four... bprecover -r -d/tpath &lt;where.your.files.are&gt; -dhost <br>
&lt;new_master_server&gt;<br>
<br>
step five.. restart the daemons (oh yeah.. step 3.5 bring down daemons <br>
on the new master server, assuming they're running)<br>
<br>
step six.. run your test restores and test backups.. and all should be <br>
well.<br>
<br>
The only problem we would have had if we ignored step one.. our media <br>
would be partially assigned. The master server could restore from <br>
tapes, but there might have been some strangeness in the media <br>
databases. So remember.. without step one, your restores will work.. <br>
your images will expire.. and your tapes would probably return to being <br>
unassigned.. but there might be some strange reporting done by some <br>
scripts that check media DBs, like available_media.<br>
<br>
Hope this helps.. and of course.. hopefully you have a test <br>
environment, right? =)<br>
<br>
Good luck,<br>
<br>
Sam<br>
<br>
<br>
<br>
On Wednesday, Aug 27, 2003, at 18:05 America/Chicago, Donaldson, Mark <br>
wrote:<br>
<br>
&gt; Officially, you can't change the name of the master server. &nbsp;It's too 
<br>
&gt; tighly<br>
&gt; tied to info in the images DB. &nbsp;Unofficially, some have said they've 
<br>
&gt; done it<br>
&gt; but when others have tried the same methods, damaged ensued.<br>
&gt;<br>
&gt; The only way approved by Veritas to move images from one master server <br>
&gt; to<br>
&gt; another (thereby changing the master server name) is to import the <br>
&gt; tapes<br>
&gt; again.<br>
&gt;<br>
&gt; I think Veritas consulting will also change the name for $$.<br>
&gt;<br>
&gt; Sorry. I'm in the same boat.<br>
&gt;<br>
&gt; -M<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: Kim Pearson [mailto:kim.pearson AT sun DOT com]<br>
&gt; Sent: Wednesday, August 27, 2003 4:47 PM<br>
&gt; To: veritas-bu AT mailman.eng.auburn DOT edu<br>
&gt; Subject: [Veritas-bu] Change Master Server Hostname<br>
&gt;<br>
&gt;<br>
&gt; Question:<br>
&gt;<br>
&gt; How do you restore db/image files to a master server with a different<br>
&gt; hostname? What is the process Veritas PS uses to change the image<br>
&gt; header?<br>
&gt;<br>
&gt; THANKS!<br>
&gt;<br>
&gt; Kim<br>
&gt; _______________________________________________<br>
&gt; Veritas-bu maillist &nbsp;- &nbsp;Veritas-bu AT mailman.eng.auburn DOT 
edu<br>
&gt; http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<br>
&gt; _______________________________________________<br>
&gt; Veritas-bu maillist &nbsp;- &nbsp;Veritas-bu AT mailman.eng.auburn DOT 
edu<br>
&gt; http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<br>
&gt;</font>
<br><font size=2 face="Courier New"><br>
_______________________________________________<br>
Veritas-bu maillist &nbsp;- &nbsp;Veritas-bu AT mailman.eng.auburn DOT edu<br>
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu<br>
</font>
<br>
<br>
--=_alternative 0054888586256D91_=--

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