Showing posts with label P2V. Show all posts
Showing posts with label P2V. Show all posts

Friday, June 28, 2019

Oracle VM Using the P2V Utility


Using the P2V Utility
When you use the P2V utility, you are prompted for all required information.
To create a virtual machine image of a computer:
  1. Insert the Oracle VM Server CDROM into the CDROM drive of the computer you want to image.
Note
This procedure is for 64-bit computers. If you want to convert a 32-bit host computer to a virtual machine template, you must use the Oracle VM 2.x CD.
  1. Start the computer with the Oracle VM Server CDROM.
  2. The Oracle VM Server installation screen is displayed.

At the boot:prompt, enter:
p2v
Press Enter.
  1. The CD Found screen is displayed.

If you want to make sure the CDROM is error free, you can have the installer test it for errors. To test the CDROM, select OK and press Enter. The CDROM is tested and any errors are reported.
To skip media testing and continue with the installation, select Skip and press Enter.
  1. The P2V Network Configuration screen is displayed.

Select your Ethernet driver from the list displayed.
If your computer uses DHCP to assign its IP address, select Automatically obtain via DHCP.
If your computer uses a static IP address, select Manually configure, and enter the IP address and netmask, gateway, domain and name server for your computer.
Select OKand press Enter.
  1. The disk selection screen is displayed.

Select the disk partition(s) on the computer to include in the guest image. Select OK and press Enter.
  1. The Other parameters for VM screen is displayed.

Enter information about the guest image for:
    • VM (guest) name
    • VM (guest) memory
    • Number of virtual CPUs
    • Console password. This is no longer required, but you must enter a value.
Select OKand press Enter.
  1. A secure web server (HTTPS) is started. The IP address of the computer, and port number the web server is available on is displayed.

Open a web browser on another computer and enter the URL created using the information displayed on the computer running the P2V utility, for example
https://192.168.2.6/
You do not need to enter the port number as this is the default port number for HTTPs connections. A directory listing is displayed which contains the files created by the P2V utility. Take a note of the URLs for the vm.cfg and *.img files as you use them in the next step when importing the virtual machine into Oracle VM Manager.

Log in to Oracle VM Manager and import the guest using the import template feature. When you import the guest, you should add the URLs for each virtual disk image and the virtual machine configuration file on a new line in Template URLsfield in the Import Templatedialog, as shown below.

  1. When the virtual machine template is added to the repository, you should terminate the P2V utility on the host computer. Press Control+C to terminate the P2V utility on the computer. Remove the Oracle VM Server CDROM from your CDROM drive. Restart the computer.
The guest image is created and available in the repository as a hardware virtualized virtual machine template.


How to Install the Oracle Solaris OS on a Guest Domain From an Oracle Solaris ISO File

Stop and unbind the guest domain ( ldg1 ). primary# ldm stop ldg1 primary# ldm unbind ldg1 Add the Oracle Solaris ISO file as a secondary vo...