Difference between revisions of "Virtual Agent"

From Tranzman Documentation
Jump to: navigation, search
Line 1: Line 1:
  
Tranzman recording can be used as a Virtual agent to perform a dry run of a Transition (till selections). <br>
+
<h3> Tranzman Virual agent </h3>
Virtual agent replicates the same process as production servers Transition and helps to understand the selections rules, mappings and verification of the selections.<br>
+
Tranzman recordings can be used as a Virtual agent to perform a dry run of a Transition (till selections). <br>
The selections can also be exported and imported for the production Transition.
+
Virtual agent replicate the same process as real Transition scenario and helps in understanding the selection and mapping of configurations.<br>
 +
These selections can also be exported or imported on a production Transition.
  
 
__NOTOC__
 
__NOTOC__
Virtual agent could be created using the recordings on a disk or on a tape. Follow the respective approach provided below.
+
Virtual agent can be created from the recordings on a disk or on a tape. Both these methods are detailed below.
  
== Create Virtual Agent from recordings on Disk ==
+
== To create Virtual Agent from recordings on Disk ==
 
 
As a pre-requisite, in order to create a recording, follow the steps mentioned here [[ Tranzman_Recorder| Using Recorder ]]. <br>
 
 
 
To create virtual agents, use flag <b>-export_db</b> with tzm_recorder as shown below.
 
  
 +
As a pre-requisite, recordings must be generated. Follow the steps mentioned here [[ Tranzman_Recorder| Using Recorder ]] to generate recordings. <br>
  
 +
Use flag <b>-export_db</b> with tzm_recorder to generate recordings for Virtual agents.
 
<table style="width:50%;color:white;background-color:black;font-family:monospace,monospace;border-collapse:seperate;border-radius:15px 15px;border:3px solid #000;">
 
<table style="width:50%;color:white;background-color:black;font-family:monospace,monospace;border-collapse:seperate;border-radius:15px 15px;border:3px solid #000;">
 
<tr><td>
 
<tr><td>
Line 19: Line 18:
 
</td></tr></table>
 
</td></tr></table>
  
This will create a zip file e.g. '''TZM_recording_1606735043.zip'''. Copy the output to the system from where Tranzman GUI is accessed.
+
This will create a zip file e.g. '''TZM_recording_1606735043.zip'''. Copy the file to the system from where Tranzman GUI can be accessed.
 +
 
  
  
Line 27: Line 27:
 
|}
 
|}
  
> From Tranzman dashboard, click on  <b>+</b>. In the pop-up box, enter an IP address (loopback IP only) and select a platform from dropdown list and click commit.
+
> From Tranzman dashboard, click on  <b>+</b> icon. In the pop-up box, enter an IP address (loopback IP for virtual agent) and select a platform from dropdown list and click commit.
 
 
[[File:Step1.jpg|border|1100x800px]]
 
[[File:virtual_agent_add_env.gif|1100x800px]]
 
 
 
===Step 2===
 
 
 
An environment is now added. Loopback IP is reserved for Virtual agent in Tranzman and it will provide an option to upload the TZM recordings to the environment.<br>
 
Click on the <b>Upload Recordings</b> icon and upload the TZM recordings zip file.
 
 
 
[[File:virtual_agent_upload_rec.gif|1100x800px]]
 
 
 
===Step 3===
 
 
 
This starts the process of virtual agent creation. The whole process may take few minutes to complete. A successfull upload should trigger the Init job and four Query jobs as <b> QueryProduct, QueryConfig, QueryImages, QueryMedia </b>.
 
  
[[File:virtual_agent_init_job.gif|1100x800px]]
+
[[File:virtual_agent_add_env.jpg|1100x800px]]
  
===Step 4===
 
  
By now if step 3 is successfull then you should see all the columns on the dashboard being populated for the respective recordings uploaded.
+
An environment is now added. Loopback IP is reserved for Virtual agent in Tranzman and GUI  provides option to upload the TZM recordings of the environment.<br>
Example shown below.
+
Click on the <b>Upload Recordings</b> icon to upload the zip file.
  
 +
[[File:virtual_agent_upload_rec.jpg|1100x800px]]
  
[[File:Step4.jpg|border|1100x800px]]
 
  
 +
Above process starts the virtual agent creation. Creation may take few minutes to complete. A successfull upload should trigger the Init job and four Query jobs i.e., <b> QueryProduct, QueryConfig, QueryImages, QueryMedia </b>.
  
So this is how basically a TZM Recorder could be used to create a Virtual Agent for Migrations/Recoveries , from recordings on a disk.
+
[[File:virtual_agent_init_job.jpg|1100x800px]]
  
  
 +
Once the above step completes, all the details related to the enviornment uploaded will be visible (as per image).
  
== Create Virtual Agent from Recordings on Tape ==
+
[[File:virtual_agent_add_status.jpg|1100x800px]]
  
 +
The environment is now ready for Selections and Pre-Assessment.
  
Now Virtual Agent could also be created using a recording backed up to tapes. This is really helpful in situations where actual recording is huge in size and could not be transferred or shared across network.
 
  
But rather than backing up the zip file '''TZM_recording_1606735043.zip''' we have to create a recording in uncompressed format.
 
  
For creating a recording in unzipped format please follow the steps here [[ Using Recorder | Using Recorder ]] but before running the tzm_recorder executable add couple of flags with that command.
+
== To create Virtual Agent from Recordings on Tape ==
  
 +
Virtual Agent can also be created from recordings backed up to tapes. This is helpful in scenarios where actual recording is larger to be transferred or shared across network.
  
Please enter the command like shown below.
+
Uncompress (if compressed) the recordings before backing up it to tape.
  
 +
TZM Recorder has an option to create recording in unzipped format by using <b>-no_zip</b> argument.
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
|
 
|
 
tzm_recorder.exe -export_db -no_zip
 
tzm_recorder.exe -export_db -no_zip
 
|}
 
|}
 +
Refer [[ Using Recorder | Using Recorder ]] for more details.
  
Above should give you a recording output in uncompressed format. e.g. '''TZM_recording_1606735043'''
+
Backup the recording folder to a dedicated tape. Once complete, share the Tape Library with Tranzman Server. Please refer [[ Devices | Devices Page ]] for sharing the Tape Library with Tranzman Server.  
  
Backup the recording to a dedicated tape. Once done, share the Tape Library with Tranzman Server. You could follow [[ Devices | Devices Page ]] for sharing the Tape Library with Tranzman Server.
 
  
 
{|style="padding: 5px; width: 85%;"
 
{|style="padding: 5px; width: 85%;"
Line 84: Line 72:
 
|}
 
|}
  
===Step 1===
+
On Tranzman dashboard , click <b>+</b> and enter a loopback IP address and select platform of the recordings in the pop-up menu.
 
 
From Tranzman dashboard , click on  <b>+</b> , enter any IP from Loopback IP Addresses(localhost address) and select platform of the recordings.
 
 
 
[[File:Step1.jpg|border|1100x800px]]
 
 
 
 
 
===Step 2===
 
 
 
Hit the Commit button and click the upload button against the entry created.
 
 
 
[[File:Step2.jpg|border|1100x800px]]
 
 
 
 
 
===Step 3===
 
 
 
In Choose media section enter the mediaID of the tape used for backing up the recorders and click on upload.This should start the process of creation of virutal agent. Wait for few minutes before the whole process completes. A successfull upload should trigger the Init job and other Query jobs like QueryProduct, QueryConfig, QueryImages, QueryMedia.
 
  
 +
[[File:virtual_agent_add_env.jpg|1100x800px]]
  
[[File:Tape_step3.jpg|border|1100x800px]]
+
Click the <b>commit</b> button and hit on <b>Upload Recordings</b> icon to upload the recordings.
  
 +
[[File:virtual_agent_upload_rec_dp.jpg|1100x800px]]
  
[[File:Tape_step3_1.jpg|border|1100x800px]]
+
In <b>Choose media</b> section enter the mediaID of the tape used for backing up the recordings and click on <b>Upload</b>. This should start the process of virutal agent creation and the process takes a few minute to complete. A successfull upload should trigger the Init action and other actions like QueryProduct, QueryConfig, QueryImages, QueryMedia.
  
 +
[[File:virtual_agent_select_media.jpg|1100x800px]]
  
===Step 4===
+
[[File:virtual_agent_init_job_dp.jpg|1100x800px]]
  
By now if step 3 is successfull then you should see all the columns on the dashboard being populated for the respective recordings uploaded.
+
Once the action completes, all the corresponding fields on Dashboard will be populated with environment details fromthe recordings uploaded.
 
Example shown below.
 
Example shown below.
  
[[File:Tape_step4.jpg|border|1100x800px]]
+
[[File:virtual_agent_dashboard.jpg|1100x800px]]
  
  
So this is how basically a '''TZM Recorder''' could be used to create a Virtual Agent for Migrations/Recoveries , from recordings on a tape.
+
== Creating Virtual Agent from Recordings Using Tranzman Shares Over SMB ==
  
 +
This method requires a share opened from Tranzman Appliance. Please follow the topic [[ Tranzman Shares | Tranzman Shares]] for more detailed information.
  
== Create Virtual Agent from Recordings Using Tranzman Shares Over SMB ==
+
Execute the recorder tool on the backup server and create the recording.
  
This steps requires to open shares from Tranzman Appliance. Please follow the instructions on [[ Tranzman Shares | Tranzman Shares]] and open the shares accordingly.
+
Create a recording in unzipped format. Refer [[ Using Recorder | Using Recorder ]] for more info.
  
Once done run the recorder tool on the backup server and create the recording.
+
From Tranzman dashboard , click on <b>+</b> and enter a loopback IP and select the platform of the recordings.
  
Create a recording in unzipped format by following the steps here [[ Using Recorder | Using Recorder ]] but before running the tzm_recorder executable add couple of flags with that command.
+
[[File:virtual_agent_add_env.jpg|1100x800px]]
 
 
Please enter the command like shown below.
 
 
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
|
 
tzm_recorder.exe -export_db -no_zip
 
|}
 
 
 
Above should give you a recording output in uncompressed format. e.g. '''TZM_recording_1606735043'''
 
 
 
 
 
===Step 1===
 
 
 
From Tranzman dashboard , click on  <b>+</b> , enter any IP from Loopback IP Addresses(localhost address) and select platform of the recordings.
 
 
 
[[File:Step1.jpg|border|1100x800px]]
 
 
 
 
 
===Step 2===
 
 
 
Previous step should have created a folder in the /data path.
 
  
 +
Share open creates a directory in the /data path.
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
|
 
|
Line 155: Line 111:
 
|}
 
|}
  
Copy the recordings generated in step 1 to that folder using the mounted share.
+
Copy the recordings to the directory using the mounted share.
 
 
e.g.
 
 
 
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
|
 
|
Line 165: Line 118:
 
|}
 
|}
  
 
+
Rename the folder to '''recording'''.
===Step 3===
 
 
 
Rename the copied folder to recording.
 
mv TZM_recording_1606735043 recording
 
 
 
e.g.
 
 
 
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
 
|
 
|
Line 180: Line 126:
 
|}
 
|}
  
 +
The above process updates all the fields on the dashboard for the respective recordings uploaded.
 +
[[File:virtual_agent_dashboard_NAS.jpg|1100x800px]]
  
===Step 4===
+
This is another method to create Tranzman Virtual agent.
  
By now if step 3 is successfull then you should see all the columns on the dashboard being populated for the respective recordings uploaded.
+
----
Example shown below.
+
{| class="wikitable"  style="margin:auto;width:100%;color:blue;text-align:center;borderstyle=ridge;"
 
+
|-
 
+
| Return to [[ Tranzman_Recorder|Previous]]
[[File:Tape_step4.jpg|border|1100x800px]]
+
|| Go to [[ Installation|Next]]
 
+
|}
 
 
So this is another method of creating a Virtual Agent using Tranzman Shares.
 
 
 
 
 
[[ Recorder | Back to Overview ]]
 

Revision as of 01:50, 6 April 2023

Tranzman Virual agent

Tranzman recordings can be used as a Virtual agent to perform a dry run of a Transition (till selections).
Virtual agent replicate the same process as real Transition scenario and helps in understanding the selection and mapping of configurations.
These selections can also be exported or imported on a production Transition.


Virtual agent can be created from the recordings on a disk or on a tape. Both these methods are detailed below.

To create Virtual Agent from recordings on Disk

As a pre-requisite, recordings must be generated. Follow the steps mentioned here Using Recorder to generate recordings.

Use flag -export_db with tzm_recorder to generate recordings for Virtual agents.

> tzm_recorder.exe -export_db

This will create a zip file e.g. TZM_recording_1606735043.zip. Copy the file to the system from where Tranzman GUI can be accessed.


Note.png Note: Below steps are based on TZM Recorder ran on a NetBackup Backup Server.

> From Tranzman dashboard, click on + icon. In the pop-up box, enter an IP address (loopback IP for virtual agent) and select a platform from dropdown list and click commit.

Virtual agent add env.jpg


An environment is now added. Loopback IP is reserved for Virtual agent in Tranzman and GUI provides option to upload the TZM recordings of the environment.
Click on the Upload Recordings icon to upload the zip file.

Virtual agent upload rec.jpg


Above process starts the virtual agent creation. Creation may take few minutes to complete. A successfull upload should trigger the Init job and four Query jobs i.e., QueryProduct, QueryConfig, QueryImages, QueryMedia .

Virtual agent init job.jpg


Once the above step completes, all the details related to the enviornment uploaded will be visible (as per image).

Virtual agent add status.jpg

The environment is now ready for Selections and Pre-Assessment.


To create Virtual Agent from Recordings on Tape

Virtual Agent can also be created from recordings backed up to tapes. This is helpful in scenarios where actual recording is larger to be transferred or shared across network.

Uncompress (if compressed) the recordings before backing up it to tape.

TZM Recorder has an option to create recording in unzipped format by using -no_zip argument.

tzm_recorder.exe -export_db -no_zip

Refer Using Recorder for more details.

Backup the recording folder to a dedicated tape. Once complete, share the Tape Library with Tranzman Server. Please refer Devices Page for sharing the Tape Library with Tranzman Server.


Note.png Note: Below steps are based on TZM Recorder ran on a Data Protector Backup Server.

On Tranzman dashboard , click + and enter a loopback IP address and select platform of the recordings in the pop-up menu.

Virtual agent add env.jpg

Click the commit button and hit on Upload Recordings icon to upload the recordings.

Virtual agent upload rec dp.jpg

In Choose media section enter the mediaID of the tape used for backing up the recordings and click on Upload. This should start the process of virutal agent creation and the process takes a few minute to complete. A successfull upload should trigger the Init action and other actions like QueryProduct, QueryConfig, QueryImages, QueryMedia.

1100x800px

Virtual agent init job dp.jpg

Once the action completes, all the corresponding fields on Dashboard will be populated with environment details fromthe recordings uploaded. Example shown below.

Virtual agent dashboard.jpg


Creating Virtual Agent from Recordings Using Tranzman Shares Over SMB

This method requires a share opened from Tranzman Appliance. Please follow the topic Tranzman Shares for more detailed information.

Execute the recorder tool on the backup server and create the recording.

Create a recording in unzipped format. Refer Using Recorder for more info.

From Tranzman dashboard , click on + and enter a loopback IP and select the platform of the recordings.

Virtual agent add env.jpg

Share open creates a directory in the /data path.

ls /data/7F000101/ data images jobs process run tools

Copy the recordings to the directory using the mounted share.

ls 7F000101/ data images jobs process TZM_recording_1606735043 run tools

Rename the folder to recording.

mv TZM_recording_1606735043/ recording/ ls 7F000101/ data images jobs process recording run tools

The above process updates all the fields on the dashboard for the respective recordings uploaded. 1100x800px

This is another method to create Tranzman Virtual agent.


Return to Previous Go to Next