I have one laptop here that I am trying to test out some configurations on. The problem is that the one VM can't see the DHCP server. They weren't on the same network. How could they be? The laptop isn't plugged in to any network at all. There is no network cable plugged in to it. Here is how you configure it to work.
After creating your virtual machine edit the virtual machine settings.
Next locate the Network Adapter.
You are looking for the setting "LAN Segment". Select LAN Segment and choose "LAN Segment 1". Make sure you remember if you choose 1 or 2 because you have to set all of them on the same.
If you want you can also create your own and name it whatever you want if it is easier. You just have to click the LAN Segment button. Click Add and name it whatever you want. After clicking Ok it should show up in the drop down box.
VMware Player version: 5.0.2 Build - 1031769
This is a places that post walk throughs, my thoughts, notes, and writes-ups. Although they worked for me, ***USE AT YOUR OWN RISK***!
Showing posts with label VMware. Show all posts
Showing posts with label VMware. Show all posts
Thursday, April 17, 2014
Thursday, May 9, 2013
How to get OS X 10.8.3 Mountain Lion running in ESXi 5
First you need to obtain the vmdk files from the Soul Dev Team.
They are located here - > Link
Once you download everything you need, you will need to copy the unlocker files to the ESXi box.
Navigate to OS X 10.8 Mountain Lion Retail VMware Image\VMware Unlocker - Mac OS X Guest\VMware 8.x Series\VMware ESXi Unlocker
You need to copy the Unlocker.ESXi and the install.sh.
If you don't already have SSH enabled here is how you do it -> Link
Next SCP the files (replace x.x.x.x with your IP)
If you are using OS X
scp -v Unlocker.ESXi root@x.x.x.x:/tmp
scp -v install.sh root@x.x.x.x:/tmp
If you are using Windows I suggest you use putty(Link)
C:\Program Files (x86)\PuTTY>pscp.exe "Unlocker.ESXi" root@x.x.x.x:/tmp
Now SSH to the ESXi box.
Type: cd /tmp -> Enter
Type chmod 777 * -> Enter
Type ./install.sh -> Enter
Reboot
Run VMware converter (Link)
Boot up the vm and go through the installer
You need to remove the network adapter and add another one. This time it will pull a dhcp address.
You need to install the update fixer and then apply the latest patches. Now at this point vmware tools will install correctly.
Sources: Link
They are located here - > Link
Once you download everything you need, you will need to copy the unlocker files to the ESXi box.
Navigate to OS X 10.8 Mountain Lion Retail VMware Image\VMware Unlocker - Mac OS X Guest\VMware 8.x Series\VMware ESXi Unlocker
You need to copy the Unlocker.ESXi and the install.sh.
If you don't already have SSH enabled here is how you do it -> Link
Next SCP the files (replace x.x.x.x with your IP)
If you are using OS X
scp -v Unlocker.ESXi root@x.x.x.x:/tmp
scp -v install.sh root@x.x.x.x:/tmp
If you are using Windows I suggest you use putty(Link)
C:\Program Files (x86)\PuTTY>pscp.exe "Unlocker.ESXi" root@x.x.x.x:/tmp
Now SSH to the ESXi box.
Type: cd /tmp -> Enter
Type chmod 777 * -> Enter
Type ./install.sh -> Enter
Reboot
Run VMware converter (Link)
Boot up the vm and go through the installer
You need to remove the network adapter and add another one. This time it will pull a dhcp address.
You need to install the update fixer and then apply the latest patches. Now at this point vmware tools will install correctly.
Sources: Link
Labels:
ESXi,
Hackintosh,
MAC,
Mac OS X,
Mountain Lion,
pscp,
PuTTY,
SCP,
VMware,
Vmware Converter,
Windows,
Windows 7
Thursday, April 4, 2013
ESX doesn't log in with most recent Active Directory Password
A weird thing happened.. when logging into my ESXi 4.1 box, my latest Windows Active Directory password wasn't working. So I tried my previous password and it worked?!?
I may have missed a small piece that needs to be configured.
Open vSphere Client -> Log in with your account -> Click the Configuration Tab ->
Click Authentication Services -> Click Properties in the upper right hand corner
Select Active Directory as the Directory Service Type
Type in your Domain and click the button below
Enter your username and password
All the boxes should update and be greyed out once it is joined. Close the client and reopen it using your most recent password.
It should log you in successfully now.
I may have missed a small piece that needs to be configured.
Open vSphere Client -> Log in with your account -> Click the Configuration Tab ->
Click Authentication Services -> Click Properties in the upper right hand corner
Select Active Directory as the Directory Service Type
Type in your Domain and click the button below
Enter your username and password
All the boxes should update and be greyed out once it is joined. Close the client and reopen it using your most recent password.
It should log you in successfully now.
Labels:
Active Directory,
ESXi,
VMware
Thursday, March 14, 2013
VMware vCenter Converter Standalone: 400 Bad Request
I was trying to use vCenter Converter and kept getting this error when trying to log in. I then realized I was doing it wrong. I didn't need to login. This worked for me, but it may or may not work for you.
Launch vCenter Converter Standalone -> select "Connect to a Local Server"
Click "Convert Machine" -> Select your source
Click Next - > Select "VMware Infrastructure Virtual Machine" -> Browse to your file
Enter your ESX/ESXi server details -> Type in your username/password (Remember if your using active directory authentication its domain\username)
Click Next -> Type the name that you want it to show up as in vSphere -> Click Next
Choose your destination (which pool) -> Click Next
Edit any info of the Virtual Machine if you need to -> Click Next -> Verify everything -> Click Finish
Launch vCenter Converter Standalone -> select "Connect to a Local Server"
Click "Convert Machine" -> Select your source
Click Next - > Select "VMware Infrastructure Virtual Machine" -> Browse to your file
Enter your ESX/ESXi server details -> Type in your username/password (Remember if your using active directory authentication its domain\username)
Click Next -> Type the name that you want it to show up as in vSphere -> Click Next
Choose your destination (which pool) -> Click Next
Edit any info of the Virtual Machine if you need to -> Click Next -> Verify everything -> Click Finish
Labels:
VMware,
Vmware Converter
Wednesday, March 21, 2012
How Do I Copy a File to a USB device in VMware ESXi 4.1
First thing is you need to enable SSH.
I already wrote how to do that here -> How To Enable SSH for ESXi 4.1
Next open an ssh program like PuTTY.
Once connected you need to run the following command as root.
/etc/init.d/usbarbitrator stop
Note: This turns off the USB passthrough for your VMs.
At this point you can plug in the USB device. 4.1 auto mounts it so, type:
ls /vmfs/volumes/NO\ NAME/
This should show anything on the USB Device.
You can copy, delete whatever you want to do.
Source: Link Link Link
This blog talks about how to use some of the utilities if you are coping a new vm over.
Source: Link
Once you are done, you should turn back on passthrough by typing:
/etc/init.d/usbarbitrator start
UPDATE: I found this does work find but for only FAT/FAT16 formatted drives. I have no yet found a solution to use FAT32 or NTFS.
I already wrote how to do that here -> How To Enable SSH for ESXi 4.1
Next open an ssh program like PuTTY.
Once connected you need to run the following command as root.
/etc/init.d/usbarbitrator stop
Note: This turns off the USB passthrough for your VMs.
At this point you can plug in the USB device. 4.1 auto mounts it so, type:
ls /vmfs/volumes/NO\ NAME/
This should show anything on the USB Device.
You can copy, delete whatever you want to do.
Source: Link Link Link
This blog talks about how to use some of the utilities if you are coping a new vm over.
Source: Link
Once you are done, you should turn back on passthrough by typing:
/etc/init.d/usbarbitrator start
UPDATE: I found this does work find but for only FAT/FAT16 formatted drives. I have no yet found a solution to use FAT32 or NTFS.
Monday, March 12, 2012
Module DevicePowerOn power on failed when starting a VM in ESX
I was getting an error message like this:
Module DevicePowerOn power on failed. Unable to create virtual SCSI device for scsi0:0,
I later found out that the image was being used in VMWare Player and needed to be converted first. In this instance you need to download VMWare Converter (Link) and connect to your ESX box. It will convert and then transfer it for you.
VMWare has another way of doing it. Its listed as the source below.
Source: Link
Module DevicePowerOn power on failed. Unable to create virtual SCSI device for scsi0:0,
I later found out that the image was being used in VMWare Player and needed to be converted first. In this instance you need to download VMWare Converter (Link) and connect to your ESX box. It will convert and then transfer it for you.
VMWare has another way of doing it. Its listed as the source below.
Source: Link
Labels:
ESXi,
VMware,
Vmware Converter,
Vmware Player,
Windows
Tuesday, January 17, 2012
How to Convert a VMX (VMware Player/VMware Workstation) file for use in Parallels 7 for Mac
Open Parallels
Click File -> New
Click "Add Existing Vitrual Machine"
Click Continue
Next navigate to the vmx image and select it
Click Open
It will say it needs to convert it, click convert. Choose the folder where it will be stored and click ok.
Depending on how big the disk your trying to convert it, it might take a while.
It is recommended to accept all suggestions from Parallels at least until the virtual machine is up and running.
Click File -> New
Click "Add Existing Vitrual Machine"
Click Continue
Next navigate to the vmx image and select it
Click Open
It will say it needs to convert it, click convert. Choose the folder where it will be stored and click ok.
Depending on how big the disk your trying to convert it, it might take a while.
It is recommended to accept all suggestions from Parallels at least until the virtual machine is up and running.
Wednesday, November 23, 2011
How to Change the Root Password ESXi 4.1 in vSphere
Open vSphere Client and login with the root username and password. Once it opens..
Click the Local Users & Groups tab.
Right click root and select Edit
Click the check box "Change Password"
Type the new password twice below.
Click Ok
**Now I want to note this. I did this the same time on two ESXi servers. One change immeditatily, but the other took a while (more like 1 hr +). After changing the password, I could login to the root account with the old and new passwords. I did nothing more after changing it and I just retried it. The new password is the only password that works now. **
How to change a forgotten root password: Link
Click the Local Users & Groups tab.
Right click root and select Edit
Click the check box "Change Password"
Type the new password twice below.
Click Ok
**Now I want to note this. I did this the same time on two ESXi servers. One change immeditatily, but the other took a while (more like 1 hr +). After changing the password, I could login to the root account with the old and new passwords. I did nothing more after changing it and I just retried it. The new password is the only password that works now. **
How to change a forgotten root password: Link
How to Enable SSH for ESXi 4.1 in vSphere
Open vSphere Client and login with the root username and password. Once it opens..
Click the configuration tab.
Click Security Profile -> Properties
You should see Remote Tech Support (SSH)
Select Start automatically
Click Start if the status is Stopped
Click Ok -> Ok.
SSH is now enabled on ESXi.
Source: Link Link
Click the configuration tab.
Click Security Profile -> Properties
You should see Remote Tech Support (SSH)
Select Start automatically
Click Start if the status is Stopped
Click Ok -> Ok.
SSH is now enabled on ESXi.
Source: Link Link
Integrating ESXi 4.1 into Active Directory
Open vSphere Client and login with the root username and password. Once it opens..
Click the configuration tab.
Click DNS and Routing -> Properties
Make sure that you have the Host Identification Name & Domain Filled in. Next make sure you have the correct Preferred DNS server listed.
Click Ok
Click Authentication Services -> Properties
Click the drop down box and select Active Directory.
Type your domain in the Domain: section. Click Join domain and enter your AD credentials.
Click ok to close the Directory Ervices Configuration box.
Now open your AD server and navigate to AD Users and Computers.
It doesn't matter what OU you put it in regardless of what the video says below. I put it in an OU I created and it worked fine.
Inside that OU create a new Group and name it what ever you want. I named mine ESX Admins and ESX Users. Add some people in those group and then jump back over to vSphere.
Click the Permissions Tab
Right click and select Add Permissions
On the right side, select the permissions you want to assign. I selected Read-Only for the ESX Users and Administrator for ESX Admins.
Click Add and select your domain from the drop down box at the top. Scroll down to your group and click add. Click Ok -> Ok.
Log out and try logging in. Make sure you log in like domain\username or username@domain
Sources: Link Link
***UPDATE***
For this to work after you update your active directory password, you must also follow the instructions I wrote up here.
Click the configuration tab.
Click DNS and Routing -> Properties
Make sure that you have the Host Identification Name & Domain Filled in. Next make sure you have the correct Preferred DNS server listed.
Click Ok
Click Authentication Services -> Properties
Click the drop down box and select Active Directory.
Type your domain in the Domain: section. Click Join domain and enter your AD credentials.
Click ok to close the Directory Ervices Configuration box.
Now open your AD server and navigate to AD Users and Computers.
It doesn't matter what OU you put it in regardless of what the video says below. I put it in an OU I created and it worked fine.
Inside that OU create a new Group and name it what ever you want. I named mine ESX Admins and ESX Users. Add some people in those group and then jump back over to vSphere.
Click the Permissions Tab
Right click and select Add Permissions
On the right side, select the permissions you want to assign. I selected Read-Only for the ESX Users and Administrator for ESX Admins.
Click Add and select your domain from the drop down box at the top. Scroll down to your group and click add. Click Ok -> Ok.
Log out and try logging in. Make sure you log in like domain\username or username@domain
Sources: Link Link
***UPDATE***
For this to work after you update your active directory password, you must also follow the instructions I wrote up here.
Labels:
Active Directory,
Authentication,
ESXi,
VMware,
vSphere
Friday, November 4, 2011
Where is the location of the datastore on VMware ESXi?
When I located it, it was at:
/vmfs/volumes/"some long number, this might be different for every server"/
At this point you should see all the folders from your datastore
/vmfs/volumes/"some long number, this might be different for every server"/
At this point you should see all the folders from your datastore
Subscribe to:
Posts (Atom)