Difference between revisions of "Virtual Agent"

From Tranzman Documentation
Jump to: navigation, search
Line 65: Line 65:
  
 
* On Tranzman dashboard , click <b>+</b> and enter a loopback IP address and select platform of the recordings in the pop-up menu.
 
* On Tranzman dashboard , click <b>+</b> and enter a loopback IP address and select platform of the recordings in the pop-up menu.
[[File:virtual_agent_add_env.jpg|700px]]  
+
[[File:virtual_agent_add_env.jpg|700px]]  
  
  
 
* Click the <b>commit</b> button and hit on <b>Upload Recordings</b> icon to upload the recordings.
 
* 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|700px]]  
+
[[File:virtual_agent_upload_rec_dp.jpg|700px]]  
  
  

Revision as of 12:09, 14 August 2023

Introduction

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

Virtual agent can be created from the recordings on a disk or on a tape. Both the 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 successful 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 environment 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 virtual agent creation, and the process takes a few minute to complete. A successful upload should trigger the Init action and other actions like QueryProduct, QueryConfig, QueryImages, QueryMedia.
700px
Virtual agent init job dp.jpg


  • Once the action completes, all the corresponding fields on Dashboard will be populated with environment details from the 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.
700px


This is another method to create Tranzman Virtual agent.



Prev icon.jpg Next icon.jpg