Difference between revisions of "Finalize"

From Tranzman Documentation
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__TOC__
 +
<br>
 +
<br>
 +
<div style="background-color:#edf7ff; padding: 1.5rem; border-radius:8px; max-width:80%; margin: 0 auto; margin-bottom:2rem;">
 +
  <h1 style="border-bottom:none; font-size:2.5em; font-weight:bold; text-align:center;">Finalize Migration in Tranzman Appliance</h1>
 +
  <p style="font-size:1.2em; text-align:left;">
 +
    <b>Finalize</b> completes the migration by transferring the final data and backlogs.<br>
 +
    This stage deactivates objects on the origin and activates them on the destination.<br>
 +
    Objects include Media Servers, Storage Servers, Robotic Devices, Storage Units, Policies, Clients, etc.
 +
  </p>
 +
  <div style="display:inline-block; box-shadow:5px 5px 10px grey; margin:1em 0;">
 +
    [[File:Finalize_overview.jpg | 700px]]
 +
  </div>
 +
</div>
  
βˆ’
== Headline ==
+
<div style="max-width:80%; margin: 0 auto;">
 +
  <div style="background-color:#fffbf4; padding:1.5rem; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.06); margin-bottom:2rem;">
 +
    <h2 style="border-bottom:2px solid #ffe0b2; padding-bottom:0.5rem; font-size:1.5em;">Preparing to Finalize</h2>
 +
    <ul style="font-size:1.1em; margin-left:2em;">
 +
      <li>Ensure a recent <b>QueryImages</b> job completed (last run &lt; 60 mins) and rerun it manually a few hours before switch-over.</li>
 +
      <li>Progress bars for all configurations must be 100% to perform <b>Finalize Destination</b>.</li>
 +
      <li>Refer to [[Manage_Hosts#Host Management|Host Management]] if <b>Host Reachable</b> or <b>Hosts Promoted</b> are not 100%.</li>
 +
      <li><b>Image Queue</b> should show 100% (may drop after <b>Init Finalize</b> as pending SLP images are released).</li>
 +
      <li>If <b>Query Config</b> queue is not 100%, run <b>QueryConfig</b> to discover new policies and perform <b>Create Workloads</b> or <b>Create Config</b> actions.</li>
 +
    </ul>
 +
    <div style="background-color:#f8e2b3; padding:0.2rem; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.06); font-size:1em; margin: 0 auto;">
 +
      <p>πŸ›ˆ <i>Tranzman provides visual representation of completed configuration and queue status.</i></p>
 +
    </div>
 +
  </div>
  
βˆ’
Finalize in Tranzman refers to the stage where all catalog components have been migrated and the environments can be finalised i.e. During this process objects are deactivated on the origin
+
  <div style="background-color:#fef3f7; padding:1.5rem; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.06); margin-bottom:2rem;">
βˆ’
and activated on the destination. Objects here refer to the Media Servers, Storage Servers, Robotic Devices , Storage units , Policies and Clients.
+
    <h2 style="border-bottom:2px solid #f8bbd0; padding-bottom:0.5rem; font-size:1.5em;">Finalizing Origin</h2>
 +
    <ol style="font-size:1.1em; margin-left:2em;">
 +
      <li>Click <b>Finalize Origin</b> <i>Run</i> to deactivate Origin policies and SLPs.</li>
 +
      <li>Wait for active jobs to complete or cancel them via NetBackup GUI.</li>
 +
      <li>Tranzman deactivates migrated media servers after jobs finish.</li>
 +
      <li>New <b>QueryImages</b> starts to pick up new images since last scan; wait for completion.</li>
 +
    </ol>
 +
  </div>
  
βˆ’
Follow the below steps to perform <b>Finalize</b>.
+
  <div style="background-color:#eff8f0; padding:1.5rem; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.06); margin-bottom:2rem;">
 +
    <h2 style="border-bottom:2px solid #c8e6c9; padding-bottom:0.5rem; font-size:1.5em;">Managing Backlogs & Queues</h2>
 +
    <ul style="font-size:1.1em; margin-left:2em;">
 +
      <li>Suspend secondary SLP operations on Origin for all SLPs selected for migration before switch-over.</li>
 +
      <li>Initiate Finalize and wait for backlog transfer (<b>Image Queue</b> should show 100%).</li>
 +
      <li>
 +
    <div style="background-color:#f8e2b3; padding:0.2rem; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.06); font-size:1em; margin: 0 auto;">
 +
        <p>πŸ›ˆ <i><b>QueryImages</b> jobs set to manual after <b>Init Finalize</b>; re-enable in System-&gt;Actions until switch-over day.</i></p>
 +
    </div>
 +
      </li>
 +
      <li>
 +
        <table style="width:100%;border-collapse:separate;border-radius:5px;box-shadow: 5px 5px 10px #750000;">
 +
          <tr>
 +
            <td>[[File:Note.png|30px]]</td>
 +
            <td>Backlog may be larger on Destination; ensure it can complete!</td>
 +
          </tr>
 +
        </table>
 +
      </li>
 +
      <li>Make sure <b>ImageQueue</b> is at 100% (may drop due to SLP images or new content).</li>
 +
      <li>Initiate <b>CreateWorkloads</b> to create/update policies not already migrated. Config Queue should report 100%.</li>
 +
      <li>If below 100%, verify policies/config objects and complete manually if required.</li>
 +
      <li>Rerun <b>CreateMedia</b> if Media Queue is not 100%. Ignore if no tape media used in Origin.</li>
 +
      <li>
 +
        <table style="width:100%;border-collapse:separate;border-radius:5px;box-shadow: 5px 5px 10px #750000;">
 +
          <tr>
 +
            <td>[[File:Note.png|30px]]</td>
 +
            <td>Media Queue shows 0% until <b>Init Finalize</b> is initiated.</td>
 +
          </tr>
 +
        </table>
 +
      </li>
 +
    </ul>
 +
  </div>
  
βˆ’
===Step 1===
+
  <div style="background-color:#fffbf4; padding:1.5rem; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.06); margin-bottom:2rem;">
 +
    <h2 style="border-bottom:2px solid #ffe0b2; padding-bottom:0.5rem; font-size:1.5em;">Host Promotion</h2>
 +
    <ul style="font-size:1.1em; margin-left:2em;">
 +
      <li><b>Hosts Promoted</b> shows percentage of hosts with Destination master as first SERVER entry.</li>
 +
      <li>Use HostManagement to update all Client and Media Servers to have Destination as master.</li>
 +
      <li>Skip update only if queue contains CLIENTS (not media servers). Media servers MUST be updated (updates EMMSERVER entry).</li>
 +
    </ul>
 +
  </div>
  
βˆ’
Click on <b>Actions</b>-><b>Finalize</b> and you should see two sections of Origin and Destination.
+
  <div style="background-color:#fef3f7; padding:1.5rem; border-radius:8px; box-shadow:0 2px 4px rgba(0,0,0,0.06); margin-bottom:2rem;">
βˆ’
We have to finalize origin backup environment first.Basically we have to stop the functioning of the origin backup environment.
+
    <h2 style="border-bottom:2px solid #f8bbd0; padding-bottom:0.5rem; font-size:1.5em;">Finalizing Destination</h2>
βˆ’
Briefly, just make sure you have the ticks in the Check column against all the jobs.
+
    <ul style="font-size:1.1em; margin-left:2em;">
 +
      <li>By default, finalizing activates all SLPs and Policies. This can be deferred by switching <b>Activation of Policies and SLPs</b> from Auto to Delayed.</li>
 +
      <li>Click <i>Run</i> to finalize destination; this re-enables migrated Media Server, demotes Origin (if selected), and re-activates SLPs/Policies (unless delayed).</li>
 +
      <li>If delayed activation is enabled, an additional row allows manual activation when required.</li>
 +
    </ul>
 +
  </div>
 +
</div>
  
βˆ’
===Step 2===
+
<div style="display:flex; justify-content:space-between; margin-top:2rem; padding:1rem; background-color:#ffffff; max-width:100%; margin: 2rem auto 0;">
βˆ’
 
+
  <div style="text-align:left;">
βˆ’
Start initialization of Origin Finalize first and click on the [[File:Play.JPG|border|30x30px]] against the Init Finalize job. Similary click the [[File:Play.JPG|border|30x30px]] against all the other jobs in sequence (wait for a job to finish and mark a tick before going on to the next one) and make sure you get the ticks against each job till Finalize Origin.
+
    [[Image:prev_icon.jpg|30px|link=Reporting_and_Logging]] [[Reporting_and_Logging |Previous ]]
βˆ’
 
+
  </div>
βˆ’
{|style="padding: 5px; width: 85%;"
+
  <div style="text-align:right;">
βˆ’
| style="width: 1%;"|[[File:Note.png|30px]]|| style="padding: 10px; width: 85%;"|'''Note:''' In some cases it might not be possible to get a tick against some jobs. e.g. In below picture we are not switching all the 6 hosts. For those cases click on the [[File:Toggle.JPG|border|30x30px]] to acknowledge and it should give a hyphen in front of the job rather than a tick.
+
    [[Post_Assessment | Next ]] [[Image:next_icon.jpg|30px|link=Post_Assessment]]
βˆ’
|
+
  </div>
βˆ’
|}
+
</div>
βˆ’
 
 
βˆ’
 
 
βˆ’
[[File:OriginFinalized.JPG|border|520x520px]]
 
βˆ’
 
 
βˆ’
 
 
βˆ’
===Step 3===
 
βˆ’
Once you see the tick againt Finalize Origin job , it means all the backup components on the origin are deactivated and now it's time to activate the backup components on the origin.
 
βˆ’
Follow the same process as above for destination and once you get the tick against the Finalize Destination it would mean all the backup components on destination has been activated and the Destination finalize should look like below.
 
βˆ’
 
 
βˆ’
 
 
βˆ’
[[File:DestinationFinalized.JPG|border|520x520px]]
 
βˆ’
 
 
βˆ’
 
 
βˆ’
{|style="padding: 5px; width: 85%;"
 
βˆ’
| style="width: 1%;"|[[File:Note.png|30px]]|| style="padding: 10px; width: 85%;"|'''Note:''' During destination finalize all the NBU hosts need to be promoted to start using the destination master server as the preffered master server. Refer to the [[ Manage Hosts | Host management ]] page to switch the master server. Hosts promoted check under Destination Finalize is the count of those hosts with switched master server.
 
βˆ’
|
 
βˆ’
|}
 

Latest revision as of 10:27, 12 September 2025



Finalize Migration in Tranzman Appliance

Finalize completes the migration by transferring the final data and backlogs.
This stage deactivates objects on the origin and activates them on the destination.
Objects include Media Servers, Storage Servers, Robotic Devices, Storage Units, Policies, Clients, etc.

   Finalize overview.jpg

Preparing to Finalize

  • Ensure a recent QueryImages job completed (last run < 60 mins) and rerun it manually a few hours before switch-over.
  • Progress bars for all configurations must be 100% to perform Finalize Destination.
  • Refer to Host Management if Host Reachable or Hosts Promoted are not 100%.
  • Image Queue should show 100% (may drop after Init Finalize as pending SLP images are released).
  • If Query Config queue is not 100%, run QueryConfig to discover new policies and perform Create Workloads or Create Config actions.

πŸ›ˆ Tranzman provides visual representation of completed configuration and queue status.

Finalizing Origin

  1. Click Finalize Origin Run to deactivate Origin policies and SLPs.
  2. Wait for active jobs to complete or cancel them via NetBackup GUI.
  3. Tranzman deactivates migrated media servers after jobs finish.
  4. New QueryImages starts to pick up new images since last scan; wait for completion.

Managing Backlogs & Queues

  • Suspend secondary SLP operations on Origin for all SLPs selected for migration before switch-over.
  • Initiate Finalize and wait for backlog transfer (Image Queue should show 100%).
  • πŸ›ˆ QueryImages jobs set to manual after Init Finalize; re-enable in System->Actions until switch-over day.

  • Note.png Backlog may be larger on Destination; ensure it can complete!
  • Make sure ImageQueue is at 100% (may drop due to SLP images or new content).
  • Initiate CreateWorkloads to create/update policies not already migrated. Config Queue should report 100%.
  • If below 100%, verify policies/config objects and complete manually if required.
  • Rerun CreateMedia if Media Queue is not 100%. Ignore if no tape media used in Origin.
  • Note.png Media Queue shows 0% until Init Finalize is initiated.

Host Promotion

  • Hosts Promoted shows percentage of hosts with Destination master as first SERVER entry.
  • Use HostManagement to update all Client and Media Servers to have Destination as master.
  • Skip update only if queue contains CLIENTS (not media servers). Media servers MUST be updated (updates EMMSERVER entry).

Finalizing Destination

  • By default, finalizing activates all SLPs and Policies. This can be deferred by switching Activation of Policies and SLPs from Auto to Delayed.
  • Click Run to finalize destination; this re-enables migrated Media Server, demotes Origin (if selected), and re-activates SLPs/Policies (unless delayed).
  • If delayed activation is enabled, an additional row allows manual activation when required.
   Prev icon.jpg Previous 
    Next  Next icon.jpg