VMware « Różności …

Różności …

13 sierpnia 2014

VirtualBox to VMware

Zaszufladkowany do: Oracle,VMware — Tagi: , — Jacek @ 13:37

In this tutorial I’ll show you how to convert a VirtualBox image to a VMware image.

I’m sure that there were many situation when you need to migrate a VirtualBox machine to a VMware one.

Tools used are VMware OVF Tool(ovftool.exe is a nice tool that will help you migrate from VirtualBox to VMware) and WMware vCenter Converter Standalone.

So, let’s convert ova image to vmx:

C:\PROGRA~1\VMware\VMware OVF Tool>ovftool.exe D:\IOU_VM.ova D:\IOU_VM.vmx
Opening OVA source: D:\IOU_VM.ova
Opening VMX target: D:\IOU_VM.vmx
Info:    License agreement for the virtual system
License: FREE and Only for PERSONAL use
Accept end-user license agreement?
Write ‘yes’ or ‘no’ (write ‘read’ to reread the EULA):
yes
Error: OVF Package is not supported by target:
- Line 39: Unsupported hardware family ‘virtualbox-2.2′.
Completed with errors


If you get Unsupported hardware family ‘virtualbox-2.2′ error you should try to use –lax argument.

This will transform the Unsupported hardware family ‘virtualbox-2.2′ error into a warning and convert ova file to vmx:

C:\PROGRA~1\VMware\VMware OVF Tool>ovftool.exe –lax D:\IOU_VM.ova D:\IOU_VM.vmx
Opening OVA source: D:\IOU_VM.ova
Opening VMX target: D:\IOU_VM.vmx
Info:    License agreement for the virtual system
License: FREE and Only for PERSONAL use
Accept end-user license agreement?
Write ‘yes’ or ‘no’ (write ‘read’ to reread the EULA):
yes
Warning:
- Line 39: Unsupported hardware family ‘virtualbox-2.2′.
- Line 80: OVF hardware element ‘ResourceType’ with instance ID ’5′: No support
for the virtual hardware device type ’20′.
Writing VMX file: D:\IOU_VM.vmx
Transfer Completed
Warning:
- No manifest entry found for: ‘IOU VM-disk1.vmdk’.
- No manifest file found.
Completed successfully
C:\PROGRA~1\VMware\VMware OVF Tool>


After that you use WMware vCenter Converter Standalone and get a working vmware machine.

From now you can deploy VirtualBox machines on VMware ESXi hosts.

Source

http://www.linuxexpert.ro/Virtualization-Tutorials/convert-virtualbox-image-to-vmware.html

23 stycznia 2014

ESX WMware TIME

Zaszufladkowany do: VMware — Tagi: — Jacek @ 15:03
To set the time from vSphere Client:
  1. Launch vSphere Client.
  2. Go to Configuration > Time Configuration > Properties.
  3. Input the correct Time and Date.
  4. Click Options.
  5. Click Restart on the Service Commands box.
etting time on your ESX host:
  1. Connect to an ESX host using an SSH client.
  2. Log in with an user having administrative privileges.
  3. To open up the ntpClient port in the internal ESX host firewall, run the commands:

    esxcfg-firewall -q ntpClient
    esxcfg-firewall -e ntpClient
    esxcfg-firewall -q ntpClient

    Note: The first line tells the status of the ntpClient port. The second line enables the ntpClient port. The third line shows you that it is open.

  4. Now set the system time to the right time. If your ESX host has ntp access to the Internet, you can just issue the ntpdate command, with the -u switch, and point it at an ntp server. If your ESX host is blocked by your corporate firewall, you have to point it at an internal ntp server. If you do not have one, you have to set one up.  Any of these ntpdate command should work:

    ntpdate -u pool.ntp.org
    ntpdate -u north-america.pool.ntp.org
    ntpdate -u 0.us.pool.ntp.org

    Or for example, if your internal ntp server was called ntp.yourdomain.com, you would issue the command:

    ntpdate -u ntp.yourdomain.com

    Note: Some programs react badly to sudden large changes in system time. For this reason, just updating and restarting ntpd as described below is preferred by some ntpd updates the system clock slowly for this reason.

  5. Configure the ESX host as an ntp client. Make a backup copy of /etc/ntp.conf using the command:

    cp /etc/ntp.conf /etc/ntp.conf.bak.`date +%d%m%y`

  6. Create a new ntp.conf file that contains this information:

    restrict 127.0.0.1
    server 0.us.pool.ntp.org
    server 1.us.pool.ntp.org
    server 2.us.pool.ntp.org
    server 3.us.pool.ntp.org
    server north-america.pool.ntp.org
    server pool.ntp.org
    server  127.127.1.0     # local clock
    fudge   127.127.1.0 stratum 10
    driftfile /var/lib/ntp/drift
    broadcastdelay  0.008

    Note: This ntp.conf assumes that the ESX host can send an ntp request out to the Internet. If you have outgoing ntp traffic blocked by your corporate firewall, you must instead set up an internal ntp server and make sure that it has access to the Internet so it can get an accurate time. While it is possible for you to configure one of your ESX hosts as an ntp server as well as a client, we recommend that ESX hosts be used solely as ESX hosts, and that they not be used for supporting IT infrastructure needs like ntp.

    If your corporate firewall has ntp access blocked to the Internet, then your ntp.conf file should contain something like this, under the assumption that you have an internal ntp server, which separately has Internet ntp access:

    restrict 127.0.0.1
    server ntp.yourdomain.com
    server  127.127.1.0     # local clock
    fudge   127.127.1.0 stratum 10
    driftfile /var/lib/ntp/drift
    broadcastdelay  0.008

  7. Restart the ntpd service using any of these commands:

    service ntpd restart
    /etc/init.d/ntpd restart

  8. Update the hardware clock with the current time of the system clock. Even though the system clock is updated from a known ntp server which has the right time and reconfigured ntp and restarted ntpd service, when the machine reboots, it sets its system clock based upon the time from the internal hardware clock.

    /sbin/hwclock –systohc

Source:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003736

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003063

13 listopada 2013

vmware insufficient resources to satisfy configured failover level for vsphere ha

Zaszufladkowany do: VMware — Tagi: — Jacek @ 13:31

http://geekswing.com/geek/vmware-cpu-and-ram-reservations-fixing-insufficient-resources-to-satisfy-configured-failover-level-for-ha/

Strona startowa: www.jaceksen.pl