The ESXi host won't directly run your image, you have to define virtual machines and assign them to the ESXi host, which will then spin these up to run the image.
Basic steps: - Click Manage Computers, Edit Computer Information, Submit - Add - Fill in hostname, IP address, RAM, Proc Speed, Network Speed, select 'virtual machine' under Type, VMWare provisioning engine, and appropriate computer group. - Assign mac addresses for public and private network interfaces of the virtual machine. - Update the computer table in the database with this info for the virtual machine and assign the values to the fields eth0macaddress, eth1macaddress. - Click Virtual Hosts - Select your ESXi host - Click Configure Host - Select the virtual machine(s) in the Unassigned VMs column and click Add. Hopefully I didn't leave out any steps. Mike Waldron Systems Specialist ITS Research Computing University of North Carolina at Chapel Hill CB #3420, ITS Manning, Rm 2509 919-962-9778 -----Original Message----- From: My LinuxHAList [mailto:[email protected]] Sent: Monday, June 07, 2010 11:54 PM To: [email protected]; [email protected] Cc: My LinuxHAList Subject: showTimeTable function Hi, I have a ESXi host (computer.id=1); I have an image [ No Apps(Linux) ] which was successfully captured (I think). I tried to make Reservation using the "now" button, it says "Selection currently not available"; then I clicked the "View Time Table", no computers show up. The ESXi host is in vmhostinuse state (which is state.id=20) -- which ESXi host needs to be in. I'm assuming that my ESXi host is supposed to show up on I hit the "View Time Table" if I intend it to be able to run "No Apps (Linux)". Is this true ? With ESXi host in the state of vmhostinuse, I don't think it will ever show up, because the state.id=20. Here are the code snippets: if($computer_platformids[$id] != $platformid || ($computerData[$id]["stateid"] != 2 && $computerData[$id]["stateid"] != 3 && $computerData[$id]["stateid"] != 6 && $computerData[$id]["stateid"] != 8) || $computerData[$id]["ram"] < $imageData[$imageid]["minram"] || $computerData[$id]["procnumber"] < $imageData[$imageid]["minprocnumber"] || $computerData[$id]["procspeed"] < $imageData[$imageid]["minprocspeed"] || $computerData[$id]["network"] < $imageData[$imageid]["minnetwork"] || ! in_array($id, $mappedcomputers)) { continue; } I could have completely misunderstood what "View Time Table" should show. I'm expecting the time tables to show ESXi host(s) that are able to run "No Apps (Linux)". If I'm wrong, what is "View Time Table" designed to show ? Thanks
