Skip to main content

P2V Conversion step by step



Remote Logon to that Converter client Software installed machine.
Go to start menu à Program files àVMware à Converter Standalone Client
This will open the new window.

Click Convert Machine.
In this window we can choose which type of machine machine we are going to convert.
For this conversion we are selecting Power on Machine

In the below panel we have to provide Admin or root Username name and password for the conversion machine and click à Next.

In this window we have to provide the IP address of the ESX / VC Machine ,username and password


Click à Next


In this window we can specify the Name of the Virtual Machine and we have to choose Storage Details.


Click à Next



In this option we can customize the VM Hardware.
For linux machine while converting we should not disturb the HDD Related Informations.
And also we have to provide the IP Address and Config details for the helper machine network.


Click à Edit

Provide the IP And DNS Details.
Click à Next

Finally click Finish To complete the Task.


Conversion process has been started.
Once completed VM is ready for the Operation in the Specified VC / ESX Host.
To Export the Disks Kindly follow the Steps.
Before Going for the Export we have to identify what are all the HDD has been used by the VM and also the Exact Path of that HDD Files in Storage and where this files needs to be exported.
For example Kindly the Details
usplsvpea004.vmdk
usplsvpea004_1.vmdk
usplsvpea004_2.vmdk

The above said files are the HDD Used by the VM.
And Path of the Files are as follows
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004.vmdk
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_1.vmdk
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_2.vmdk
To mount USB Drive kindly follow the Procedure
First we need to identify Device Name. then we need to mount the USB Drive as follows.
mkdir /mnt/usb
mount /dev/[device_name] /mnt/usb -t ext3
Once we find all the Details we need to use vmkfstools command to export the Disks.
For the Above said Disks find the Command to export HDD files to usb Drive.
vmkfstools -i /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004.vmdk /mnt/usb/USPLSVPEA004/usplsvpea004.vmdk -d 2gbsparse
vmkfstools -i /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_1.vmdk /mnt/usb/USPLSVPEA004/usplsvpea004_1.vmdk -d 2gbsparse
vmkfstools -i /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/usplsvpea004/usplsvpea004_2.vmdk /mnt/usb/USPLSVPEA004/usplsvpea004_2.vmdk -d 2gbsparse

To import the above said disks to some other Location kindly follow the procedure.
In this example we are using  USPLSVPEA004 as a VM Name and the Path of the Exported disk files is  as follows.
/mnt/usb/USPLSVPEA004/
We are going to import the files in to the Below said path of the ESX host.
/vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/
To import
vmkfstools -i /mnt/usb/USPLSVPEA004/usplsvpea004.vmdk      /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/usplsvpea004.vmdk 


vmkfstools -i /mnt/usb/USPLSVPEA004/usplsvpea004_1.vmdk /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/usplsvpea004_1.vmdk 

vmkfstools -i /mnt/usb/USPLSVPEA004/usplsvpea004_2.vmdk /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004/usplsvpea004_2.vmdk 
if we want to copy VM config files in the same way we can copy the files in to USB and again move back to the Path in where we need to import.
For the above said example we have done the same as follows.
Exporting Log and Other files :
cp *.vmx *.log *.nvram *.vmxf *.vmsd /mnt/usb/USPLSVPEA004
Importing Log and Other files :
cd /mnt/usb/[dir_name]
cp *.vmx *.log *.nvram *.vmxf *.vmsd /vmfs/volumes/4be9aff4-0357020a-03b8-0014c2c3446a/test-usplsvpea004
Once all this things done then the VM is ready to add to Inventory.
We can done this using Command Line or thru Vi client.
Kindly follow the Procedure for the above said Task.
To register that Machine:
To register a virtual machine in vCenter Server:
                Open the vSphere / VMware Infrastructure (VI) Client and log in with appropriate credentials.
                If connecting to vCenter Server, click on the desired host.
                Click the Configuration tab.
                Click Storage.
                Right-click on the appropriate datastore and click Browse Datastore.
Navigate to the folder named after the virtual machine, and locate the <virtual machine>.vmx file. 
                Right-click the .vmx file and click Add to inventory. The Add to Inventory wizard opens. 
                Continue to follow the wizard to add the virtual machine.
                To register a virtual machine from a command line:
Log in as root to the ESX host with an SSH client.
From command Line:
                vmware-cmd -s register <full path to virtual machine>\<virtual machine name>.vmx

Comments

Popular posts from this blog

  Issue with Aria Automation Custom form Multi Value Picker and Data Grid https://knowledge.broadcom.com/external/article?articleNumber=345960 Products VMware Aria Suite Issue/Introduction Symptoms: Getting  error " Expected Type String but was Object ", w hen trying to use Complex Types in MultiValue Picker on the Aria for Automation Custom Form. Environment VMware vRealize Automation 8.x Cause This issue has been identified where the problem appears when a single column Multi Value Picker or Data Grid is used. Resolution This is a known issue. There is a workaround.  Workaround: As a workaround, try adding one empty column in the Multivalue picker without filling the options. So we can add one more column without filling the value which will be hidden(there is a button in the designer page that will hide the column). This way the end user will receive the same view.  

57 Tips Every Admin Should Know

Active Directory 1. To quickly list all the groups in your domain, with members, run this command: dsquery group -limit 0 | dsget group -members –expand 2. To find all users whose accounts are set to have a non-expiring password, run this command: dsquery * domainroot -filter “(&(objectcategory=person)(objectclass=user)(lockoutTime=*))” -limit 0 3. To list all the FSMO role holders in your forest, run this command: netdom query fsmo 4. To refresh group policy settings, run this command: gpupdate 5. To check Active Directory replication on a domain controller, run this command: repadmin /replsummary 6. To force replication from a domain controller without having to go through to Active Directory Sites and Services, run this command: repadmin /syncall 7. To see what server authenticated you (or if you logged on with cached credentials) you can run either of these commands: set l echo %logonserver% 8. To see what account you are logged on as, run this command: ...
  The Guardrails of Automation VMware Cloud Foundation (VCF) 9.0 has redefined private cloud automation. With full-stack automation powered by Ansible and orchestrated through vRealize Orchestrator (vRO), and version-controlled deployments driven by GitOps and CI/CD pipelines, teams can build infrastructure faster than ever. But automation without guardrails is a recipe for risk Enter RBAC and policy enforcement. This third and final installment in our automation series focuses on how to secure and govern multi-tenant environments in VCF 9.0 with role-based access control (RBAC) and layered identity management. VCF’s IAM Foundation VCF 9.x integrates tightly with enterprise identity providers, enabling organizations to define and assign roles using existing Active Directory (AD) groups. With its persona-based access model, administrators can enforce strict boundaries across compute, storage, and networking resources: Personas : Global Admin, Tenant Admin, Contributor, Viewer Projec...