Quantcast
Channel: VMware Communities: Message List
Viewing all 230656 articles
Browse latest View live

vSphere 5.5 - Boot Menu - Scripted vsphere Installer

$
0
0

Sigh...  for support reasons of a software vendor I have to maintain a 5.5u2 cluster.

 

Trying to stage for class / POC environment (hyperconvergence so has to work on hardware level), so I have to handle hardware

 

Goal:

1) Use kickstart structure answer files to load the nodes

2) Create a boot menu from vSphere 5.5u2 (oem customized versions) to allow user to boot USB image over IPMI, select node they are on, and it feeds it the correct ks.cfg file

 

I followed various guides / notes:

vSphere Boot Menu Guides

 

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

Template attached but details for fields and assumptions below.

 

 

Create menu for the list of nodes to each customization answer file

Documentation:

http://www.virtuallyghetto.com/2015/06/how-to-create-custom-esxi-boot-menu-to-support-multiple-kickstart-files.html

http://www.virtuallyghetto.com/2011/07/automating-esxi-5x-kickstart-tips.html

 

But either it is a translation issue of my understanding of their notes, or issue with 5.5u2 or ???

 

###

 

Step 1:  Create bootable USB vSphere OS key on 2GB key

 

I named key label "esx5U2_auto_install"

 

I followed instructions and used tool rufus

https://tinkertry.com/rufus-takes-2-minutes-to-create-a-bootable-usb-flash-drive-for-esxi-installation

 

I connected and used OEM vSphere cutomization ISO for vSphere 5.5u2

 

 

Step 2:  Create answer file response files

 

Example is node 1-4 cluster.

 

on USB create directory "KS" and in that create files  "NODE1.cfg" -"NODE4.cfg"

 

Example file for node1

node1 ks.cfg

 

# Accept vSphere license ULA

vmaccepteula

 

# Set root password

rootpw password

 

# Clear drive partition on first device in device list

clearpart --firstdisk --overwritevmfs

 

# Set installation target to be first drive it finds in device list

install --firstdisk --overwritevmfs

 

# Set static IP for vmnic0 per Spectrum Accelerate table

network --bootproto=static --device=vmnic0 --ip=172.20.11.197 --netmask=255.255.255.0 --gateway=172.20.11.1 --hostname=node1 -- nameserver=172.20.12.100,172.20.13.100 vlanid=11

 

# Reboot host

reboot

 

 

# Post Installation goodies

# Enable SSH and Tech Suport modes

vim-cmd hostsvc/enable_esx_shell

vim-cmd hostsvc/start_esx_shell

vim-cmd hostsvc/enable_ssh

vim-cmd hostsvc/start_ssh

esxcli network firewall ruleset set --ruleset-id sshClient --enabled yes

 

 

Step 3: Create menu for nodes

 

 

Edit file "isolinux.cfg" for above host menu options.  Save this file in root of USB key.

Design is to boot over USB attached drive through the IMM (or local attached USB)

DEFAULT menu.c32

MENU TITLE 5.5u2 Boot Menu

NOHALT 1

PROMPT 0

TIMEOUT 80

#

LABEL hddboot

  LOCALBOOT 0x80

  MENU LABEL ^Boot from local disk

#

LABEL IBM Spectrum Accelerate Node 1 Install

  KERNEL mboot.c32

  APPEND -c boot.cfg ks=usb:/KS/NODE1.cfg +++

  MENU LABEL ^1 Node1 Install

#

LABEL IBM Spectrum Accelerate Node 2 Install

  KERNEL mboot.c32

  APPEND -c boot.cfg ks=usb:/KS/NODE2.CFG +++

  MENU LABEL ^2 Node2 Install

#

LABEL IBM Spectrum Accelerate Node 3 Install

  KERNEL mboot.c32

  APPEND -c boot.cfg ks=usb:/KS/NODE3.CFG +++

  MENU LABEL ^3 Node3 Install

#

 

#############

 

 

 

But...  When I boot it just runs normal script to install vSphere from basic answer file

 

What I think I am missing is what do I need to do to the boot.cfg file to get it to call the menu (DEFAULT menu.c32)

 

 

As usual, all help is appreciated.

 

 

 

PS: I also tried to just effect the base load for just test of answer file (aka without fancy menu) by modification of "boot.cfg" as noted below...and it booted normal installer and ignored answers

boot.cfg  - node 1 direct ks.cfg call

bootstate=0

title=Loading ESXi installer

kernel=/tboot.b00

kernelopt=ks=/KS/NODE1.cfg

modules=/b.b00 --- /jumpstrt.gz --- /useropts.gz --- /k.b00 --- /chardevs.b00 --- /a.b00 --- /user.b00 --- /sb.v00 --- /s.v00 --- /brcm.v00 --- /misc_cni.v00 --- /net_bnx2.v00 --- /net_bnx2.v01 --- /net_cnic.v00 --- /net_tg3.v00 --- /scsi_bnx.v00 --- /scsi_bnx.v01 --- /brcdprov.v00 --- /net_bna.v00 --- /scsi_bfa.v00 --- /elxnet.v00 --- /emulex_c.v00 --- /ima_be2i.v00 --- /lpfc.v00 --- /scsi_be2.v00 --- /ianet_ci.v00 --- /net_igb.v00 --- /net_ixgb.v00 --- /lsiprovi.v00 --- /scsi_meg.v00 --- /scsi_mpt.v00 --- /scsi_mpt.v01 --- /concrete.v00 --- /filetran.v00 --- /fupb.v00 --- /fwupdate.v00 --- /hwckvm.v00 --- /ilfu.v00 --- /immpasst.v00 --- /pciinfo.v00 --- /soibms.v00 --- /mlnxprov.v00 --- /net_mlx4.v00 --- /net_mlx4.v01 --- /ima_qla4.v00 --- /net_qlcn.v00 --- /net_qlge.v00 --- /qlnative.v00 --- /qlogic_c.v00 --- /scsi_qla.v00 --- /ata_pata.v00 --- /ata_pata.v01 --- /ata_pata.v02 --- /ata_pata.v03 --- /ata_pata.v04 --- /ata_pata.v05 --- /ata_pata.v06 --- /ata_pata.v07 --- /block_cc.v00 --- /ehci_ehc.v00 --- /weaselin.t00 --- /esx_dvfi.v00 --- /xlibs.v00 --- /ipmi_ipm.v00 --- /ipmi_ipm.v01 --- /ipmi_ipm.v02 --- /misc_dri.v00 --- /mtip32xx.v00 --- /net_be2n.v00 --- /net_e100.v00 --- /net_e100.v01 --- /net_enic.v00 --- /net_forc.v00 --- /net_nx_n.v00 --- /net_vmxn.v00 --- /ohci_usb.v00 --- /rste.v00 --- /sata_ahc.v00 --- /sata_ata.v00 --- /sata_sat.v00 --- /sata_sat.v01 --- /sata_sat.v02 --- /sata_sat.v03 --- /sata_sat.v04 --- /scsi_aac.v00 --- /scsi_adp.v00 --- /scsi_aic.v00 --- /scsi_fni.v00 --- /scsi_hps.v00 --- /scsi_ips.v00 --- /scsi_lpf.v00 --- /scsi_meg.v01 --- /scsi_meg.v02 --- /scsi_mpt.v02 --- /scsi_mpt.v03 --- /scsi_qla.v01 --- /uhci_usb.v00 --- /tools.t00 --- /lnvcusto.v00 --- /xorg.v00 --- /imgdb.tgz --- /imgpayld.tgz

build=

updated=0


Re: Are VMware Tools Operating System Specific Packages (OSPs) Deprecated?

Re: VVol and Queue Depth

$
0
0

Thank you Martin for your response.

 

VM's on ESXi hosts is no longer sitting on traditional datastores but rather sends I/O directly to the VVol Object (which is ldev at storage) using the PE which i am guessing have a better performance.

Re: Report to show invaild network backings

$
0
0

We are using D switches so that might be a reason.

No valid server license. Cannot provision server

$
0
0

When attempting to deploy my first VM Blueprint in vRA7 my deployments all fail with the following error message.

 

Status
Failed
Status Details
Request [xxxxxxxxxxxxxxxxxxxxxxx]: No valid server license. Cannot provision server [vSphere_Machine_1].; No valid server license. Cannot provision server [vSphere_Machine_1]

 

 

Everything in the VM Blueprints appear to correct.  I get the same error message whether its a WIndows 2012 R2 or CentOS 6.7.  I've tried it with Clone & Linked Clone VMs.  The correct VMware.VirtualCenter.OperatingSystem is set correctly in the Custom Properties.

 

I haven't found anything in the logs to point me in the right direction.  Any suggestions would be much appreciated.

 

vRA7

vSphere 6

vRB7

Re: Problem integrating vRO 7 with vSphere 6 web client

$
0
0

Thank you so much.  After modifying the /etc/vco/app-server/server.xml file and restarting the webclient service  the vRO server shows up on the webclient.

 

Now, a bit off the topic, I have 5 vCenters on enhanced linked mode, do I have to register each one to vRO in order to run workflows from them?

 

Regards,

 

 

Juan.

Re: Lync 2013 in HTML5 (Blast) session: can not change status

$
0
0

I am having the same issue with Vmware Blast HTML5.  I am on version 6.1 of view.  Lync 2013 -  if I log into HTML5 and nothing else the status goes to "away status" and the only other status that it can be changed to is work-offline.

If i stay in my HTML5 session and go to another machine Physical or another View desktop using PCoip my status in the HTLM5 session will mirror the connection status of the other machines.  If i change the status on the second device to available the HTML5 will show the correct status.  I have an open ticket with microsoft to see if they can shed some light on this issue.   Very strange.  Lync 2010 in HTLM5 I think works fine.  Lync 2013 has some changes to the way it detects connection status.  If anyone can shed some light on this situation please post.  If i hear back from microsoft on this i will post resolution.

ESXi 5.1 doesn't recognize 3Ware RAID

$
0
0

I have a new RAID 6 established with 7 HDDs. When trying to install ESXi 5.1, the RAID does not appear when I am asked to select the disk array. All other discussions talk about adding the drivers to the host, but as this is a new RAID array, there is no host OS (ESXi is meant to be the host OS). Does anyone have any idea as to what could be the issue that is keeping the array from being discovered. Thanks.


VM CD Drive 2 becomes disconnected during PXE installation of ISO over HTTP

$
0
0

Hi All,

 

Have a bit of a frustrating issue. I have a 2-4 VMs set up on any given ESX server. The problem I have is that the 2nd CDROM becomes disconnected during some point of the install. Here are the specs:

 

ESX:

48GB Memory

1 CPU 8 Core

 

VM:

16 GB Memory

CPU: 2 Sockets, 2 Cores

CD Drive 1: Starts disconnected, no ISO attached

CD Drive 2: Starts connected, ISO is attached

 

I realize the ESX is a bit underpowered, it's just a test environment for myself. This is why I switched to 2 VM installs at a time (no other VMs reside on the ESX during install of the 2). It seems to be intermittent, at times both install properly and both CD Drives remain connected, but other times one or both of the CD Drive becomes disconnected. The installation is done through PXE using http link for the OS ISO. The 2nd CD Drive contains a dummy iso that has some information needed during post install. This is the one that disconnects.

 

Any suggestions as to what might be going on would be helpful. I searched for anything related to CD in the logs, I found this snippet, not sure if this will help:

./vmware.log:2016-05-18T10:24:44.012Z| vcpu-1| I120: CDROM: switching CDROM state from 2 to 3 using error sense key.

./vmware.log:2016-05-18T10:24:44.013Z| vcpu-0| I120: CDROM: switching CDROM state from 2 to 3 using error sense key.

./vmware.log:2016-05-18T10:24:44.601Z| vcpu-1| I120: CDROM: switching CDROM state from 2 to 3 using error sense key.

./vmware.log:2016-05-18T10:24:44.632Z| vcpu-1| I120: CDROM ide0:1: CMD 0x1b (START STOP UNIT) FAILED (key 0x5 asc 0x53 ascq 0x2)

./vmware.log:2016-05-18T10:24:53.895Z| vcpu-0| I120: CDROM: Reset guest state on ide0:0. Invalidating last poll command time.

./vmware.log:2016-05-18T10:25:05.287Z| vcpu-3| I120: CDROM: Emulate GET CONFIGURATION RT 0 starting feature 0

./vmware.log:2016-05-18T10:25:05.287Z| vcpu-3| I120: CDROM: Emulate GET CONFIGURATION RT 0 starting feature 0

./vmware.log:2016-05-18T10:25:05.287Z| vcpu-3| I120: CDROM ide0:1: CMD 0x52 (*UNKNOWN (0x52)*) FAILED (key 0x5 asc 0x20 ascq 0)

Disable the use of vSphere Client to vCenter 6

$
0
0

I have recently moved to ESXi 6 and updated the vCenter. I am getting use to the web client but there are others here that want to use the client as a remote KVM switch. I have looked all over to find a way to block the use of the vSphere Client and I can not find it or im asking the wrong question.

 

So my question: Is there a way to block the vSphere client from accessing the vCenter server?

 

Jim

Re: Не могу удалить .vmdk файл

$
0
0

пример
# voma -m vmfs -f check -d /vmfs/devices/disks/naa.00000000000000000000000000:1

где naa.00000000000000000000000000:1  название диска  у вас оно будет называться по другому

чтобы посмотреть название перейдите в каталаг /vmfs/devices/disks/    и выполните команду ls

Re: Horizon 7 Instant Clone failed to update machine group policy

$
0
0

I'm having the same issue here and tried the KB article as Medo060 described however when I tried to install the window hotfix it said it didn't apply to that VM.  Anyone else have something else to try?

lost access to volume messages

$
0
0

I am having an issue with lost access to volume messages on esxi 5.5. U 3 on a 4 host cluster. Connecting to EMC vplex. Hosts are Dell M630 on a M1000e enclosure. These messages are typically every 1-2 hours, and multliple data stores.

 

When the host polls the datastore, does it use the active path to do it(many of these hosts are fixed path), or does it poll using any of the paths? Looking at the host set up, many of the hosts are fixed path, and using the same two paths(out of 4) which does look ineficient, so I wondered if that could be a contributing factor, thinking maybe the paths are saturated,  although the hosts are not that busy at the moment, as it is a new environment, and each path is 8GB FCOE. We are putting a call in with EMC, but are not sure what to look for at the  moment.

Re: ASD Resource Actions - Form not loading in vRA unable to find resource error

$
0
0
I am having the exact same issue did you ever get a response from support?

Re: VMware vSphere: Install, Configure, Manage [V6] - On Demand - valid for VCP6-DCV?

$
0
0

support initially said there's an issue which should be fixed in 3-4 days, now there's no ETA, wth is going on?


Re: ESXcli 5.5 UNMAP and PowerCLI script?

$
0
0

Hi Travis,

 

please find the details below.

 

#disconnect all current VI sessions

Disconnect-VIServer -server * -force -Confirm:$False


#Connect to multiple vcenter and run the script on all datastores/devices in all VCs

# * If using the same credentials for VCs

connect-viserver VC1,VC2,.....VCn -user username -password password

 

# * If using different credentials for VCs (will prompt for credentials)

connect-viserver VC1,VC2,.....VCn


Regards,

Sandeep MP

Re: VM SMBIOS UUID

$
0
0

Can you try to find out what changes occurred on those VMs where the UUID changed ?

Perhaps collect the events with Get-VIEvent ?

Re: Report to show invaild network backings

$
0
0

Is that portgroup returned by Get-VDPortgroup ?

Re: App Stacks on a DRS Cluster

$
0
0

Was this issue ever resolved?  If so, would you mind sharing the resolution.  @We are facing a similar issue

alleged connection to local datastore preventing vmotion

$
0
0

I have a VM that is reporting a connection to the local datastore on its host, and as a result I cannot vMotion it elsewhere.  The VM has two virtual disks, both of which are on SAN storage.  The VM previously was connected to an ISO on the local datastore, but it has since been changed to client device.  It still insists that it is using something on that datastore, however.  I've looked through the vmx file and don't see any reference to it.  I also tried unmounting the datastore, but it claims the file system is in use.  The hosts were recently updated to esxi 6.0 U2, and this is the only VM that seems to be exhibiting this behavior.  Any suggestions on what might be causing this?  This is a fairly important server in this environment, and being locked into a single host is making me a little anxious.

Viewing all 230656 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>