Difference between revisions of "Virtual Agent"

From Tranzman Documentation
Jump to: navigation, search
Line 19: Line 19:
  
 
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.
 
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.
 
 
  
 
{|style="padding: 5px; width: 85%;"
 
{|style="padding: 5px; width: 85%;"
| style="width: 1%;"|[[File:Note.png|30px]]|| style="padding: 10px; width: 85%;"|'''Note:''' Below steps are based on TZM Recorder ran on a NetBackup Backup Server.
+
| style="width: 1%;"|[[File:Note.png|30px]]|| '''Note:''' style="padding: 10px; width: 85%;color:blue;"| Below steps are based on TZM Recorder ran on a NetBackup Backup Server
 
|  
 
|  
 
|}
 
|}
Line 58: Line 56:
  
 
TZM Recorder has an option to create recording in unzipped format by using <b>-no_zip</b> argument.  
 
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;
+
<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>
tzm_recorder.exe -export_db -no_zip
+
<font style="color:blue">> </font> tzm_recorder.exe -export_db -no_zip <br>
|}
+
</td></tr></table>
 
Refer [[ Using Recorder | Using Recorder ]] for more details.
 
Refer [[ Using Recorder | 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 | Devices Page ]] for sharing the Tape Library with Tranzman Server.  
 
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.  
 
  
 
{|style="padding: 5px; width: 85%;"
 
{|style="padding: 5px; width: 85%;"
| style="width: 1%;"|[[File:Note.png|30px]]|| style="padding: 10px; width: 85%;"|'''Note:'''  Below steps are based on TZM Recorder ran on a Data Protector Backup Server.
+
| style="width: 1%;"|[[File:Note.png|30px]]|| '''Note:''' style="padding: 10px; width: 85%;color:blue;"| Below steps are based on TZM Recorder ran on a Data Protector Backup Server
 
|  
 
|  
 
|}
 
|}
Line 105: Line 102:
  
 
Share open creates a directory 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;
+
<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>
ls /data/7F000101/
+
<font style="color:blue">> </font> ls /data/7F000101/<br>
data  images  jobs  process run  tools
+
data  images  jobs  process run  tools <br>
|}
+
</td></tr></table>
  
 
Copy the recordings to the directory using the mounted share.
 
Copy the recordings to the directory using the mounted share.
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
+
<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>
ls 7F000101/
+
<font style="color:blue">> </font> ls 7F000101/<br>
 
data  images  jobs  process  TZM_recording_1606735043  run  tools
 
data  images  jobs  process  TZM_recording_1606735043  run  tools
|}
+
</td></tr></table>
  
 
Rename the folder to '''recording'''.
 
Rename the folder to '''recording'''.
{| class="wikitable" style="padding-left: auto; color:#FFFFFF; background-color: black; width: 600px; FONT-FAMILY:monospace,monospace; LINE-HEIGHT:15px; white-space: pre-wrap;
+
<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>
mv TZM_recording_1606735043/ recording/
+
<font style="color:blue">> </font> mv TZM_recording_1606735043/ recording/ <br>
ls 7F000101/
+
ls 7F000101/<br>
 
data  images  jobs  process  recording  run  tools
 
data  images  jobs  process  recording  run  tools
|}
+
</td></tr></table>
  
 
The above process updates all the fields on the dashboard for the respective recordings uploaded.
 
The above process updates all the fields on the dashboard for the respective recordings uploaded.

Revision as of 01:56, 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 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 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