Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 172599 articles
Browse latest View live

Built a ThinApp and then when I try to run the program I get this error

$
0
0

Please see the attached screen shot  it is missing the mfc100.dll please let me know what you think could have been done better when I built this app to include this MFC100.dll20190411_153934.jpg


How can I get the VMWare Fusion license information from the Macintosh command line?

$
0
0

Subject is the question.  I've been asked to write a bash script that can be used to query Macs with VMWare and have it return the license information.  I haven't found anything with my googlefu, so help would be appreciated.

 

TIA

Joe

Failed - The operation is not allowed in the current state : How to debug ?

$
0
0

Hi there,

 

I have a problem to snapshop a VM. Only one give me an error.

Everytime i get this error :

 

Failed - The operation is not allowed in the current state.

 

OK, but how can I debug this error ? I've checked the var log, but I see nothing special

I really want to snapshop this VM.

An idea to debug that ?

Many thanks !

 

Bob

vRA 7.5 + NSX-T 2.4 - Cannot see transport zones in Reservation

$
0
0

As the title says, after adding and associating the NSX-T endpoint to vCenter i cannot add the Transport Zone into the reservation. It shows empty.

 

VCSA 6.7U2 VAMI Update Fails With "Check the URL and try again"

$
0
0

My VCSA can't connect to the update source.  Tailing /var/log/vmware/applmgmt/applmgmt.log reveals:

 

2019-04-18T19:10:49.671 [19010]ERROR:vmware.appliance.update.update_functions:Can't read JSON file /etc/applmgmt/appliance/software_update_state.conf [Errno 2] No such file or directory: '/etc/applmgmt/appliance/software_update_state.conf'

 

Not sure if that's related.  Later I see:

 

2019-04-18T19:11:00.264 [19010]DEBUG:vmware.appliance.update.update_functions:runCommandAndCheckResult failed: LocalizableException({'id': 'com.vmware.appliance.update.download_failed', 'args': [], 'default_message': 'Download failed'}, '', '--2019-04-18 15:10:50--  https://vapp-updates.vmware.com/vai-catalog/valm/vmw/8d167796-34d5-4899-be0a-6daade4005a3/upgrade_info.xml\nResolving vapp-updates.vmware.com... 184.27.136.35, 2600:1402:f000:385::2ef, 2600:1402:f000:3a1::2ef\nConnecting to vapp-updates.vmware.com|184.27.136.35|:443... failed: Connection timed out.\nConnecting to vapp-updates.vmware.com|2600:1402:f000:385::2ef|:443... failed: Network is unreachable.\nConnecting to vapp-updates.vmware.com|2600:1402:f000:3a1::2ef|:443... failed: Network is unreachable.\n')

2019-04-18T19:11:00.264 [19010]DEBUG:vmware.appliance.update.update_b2b:Index file not present for the url https://vapp-updates.vmware.com/vai-catalog/valm/vmw/8d167796-34d5-4899-be0a-6daade4005a3/upgrade_info.xml

 

But when I curl to those URL's from the VAMI bash shell, I can retrieve them just fine.  What gives?  We do use a proxy server.  When I refresh the VAMI update page to retry, netstat reveals:

 

tcp 01 contoso:47782 as-40816.engx.vmw:httpsSYN_SENT
tcp 01 contoso:46324 a104-74-67-235:www-httpSYN_SENT
tcp 01 contoso:33058 a104-74-67-235.de:httpsSYN_SENT

 

Oopsie, it's not using our proxy.  But curl is definitely using it.  /etc/sysconfig/proxy is present and properly formatted per kb article -- both http and https are present.  Wat do?

Webcam quality, VM's and Thin Clients

$
0
0

Hello,

 

We have been struggling with camera quality in our virtual environment. It seems that no matter what we do, quality of a webcam ends up very choppy and pixelated. After a fair amount of research, we came to the conclusion that it is best to run cameras on Thin Clients, as opposed to Zero Clients. Still, when logged into a virtual machine, there is no improvement to the quality of the picture when run on a Thin Client.

 

While most of our environment is running PCoIP, we have also tested with BLAST. RTAV is another avenue that we've explored. We are running nVidia Grid cards, and have plenty or resources to put toward video quality (graphic intensive programs such as AutoCAD, Photoshop and BlueBeam work just fine). What's alarming to me is that, no matter what we test (RTAV, BLAST, Thin/Zero Client, PCoIP, etc...), there is absolutely no change, negative or positive, in camera quality.

 

I am also confused about the benefits of using a Thin Client. I was told early on that running a camera from a Thin Client allows the video to be processed locally before passing through to the VDI. My understanding is that a Thin Client is nothing more than a PC running the Horizon View Client (or Citrix, RDP, etc...), but did find recently that there are RTAV settings in the registry of our 10zig Thin Clients. I'm just wondering if there is something that needs to be done on the Client itself in order to utilize RTAV in the virtual environment.

 

My suspicion is that we HAVE the tools we need, but are missing some critical information on how to use them. I apologize for the lack of information/context... I'm not sure I know the VDI lingo well enough to communicate a question like this. I'm hoping that someone can offer some advice based on similar experiences. We NEED to give our users acceptable camera quality, and they do not want to take extra steps to leave their virtual machine to do so.

 

Currently running:

nVidia GRID (M and K series)

VMWare Agent version 7.4

Logitech 1080p cameras

10Zig 5800/5900 Thin and Zero Clients

 

Thanks!

Michael

VCenter shutdown effects

$
0
0

I need to migrate VCenter appliance from one host to another. If i shutdown VCenter, will it shut down the ESXI host well or just it self?

Unable to Export-vm on newest version of Powercli

$
0
0

Im trying to export some powered off VM's to move between environments, and when i run the export-vm command i get an error.    When i run the same command on a machine with the older version of powercli (5.5 release 2)  it exports fine.   Im running the commands against a vcenter 6.5 environment.   I have tried the new powercli from several machines with the same results.  I dont know if theres a bug in the export command, or if something has changed in the syntax.  Any help would be appreciated.

 

PS C:\Windows\system32> get-vm VM_Name|export-vm -destination d:\

export-vm : 5/29/2019 3:50:12 PM        Export-VApp             An error occurred while sending the request.

At line:1 char:24

+ get-vm VM_Name|export-vm -destination d:\

+                        ~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Export-VApp], ViError

    + FullyQualifiedErrorId : Client20_NfcLease_RunNfcTask_Error,VMware.VimAutomation.ViCore.Cmdlets.Commands.ExportVA

   pp

 

Heres what i have installed

 

PS C:\Windows\system32> Get-Module -Name VMware* -ListAvailable

 

    Directory: C:\Program Files\WindowsPowerShell\Modules

 

ModuleType Version    Name                                ExportedCommands

---------- -------    ----                                ----------------

Script     6.7.0.1... VMware.DeployAutomation             {Add-DeployRule, Add-ProxyServer, Add-ScriptBundle, Copy-D...

Script     6.7.0.1... VMware.ImageBuilder                 {Add-EsxSoftwareDepot, Add-EsxSoftwarePackage, Compare-Esx...

Manifest   11.2.0.... VMware.PowerCLI

Script     6.7.0.1... VMware.Vim

Script     11.2.0.... VMware.VimAutomation.Cis.Core       {Connect-CisServer, Disconnect-CisServer, Get-CisService}

Script     11.0.0.... VMware.VimAutomation.Cloud          {Add-CIDatastore, Connect-CIServer, Disconnect-CIServer, G...

Script     11.2.0.... VMware.VimAutomation.Common

Script     11.2.0.... VMware.VimAutomation.Core           {Add-PassthroughDevice, Add-VirtualSwitchPhysicalNetworkAd...

Script     11.2.0.... VMware.VimAutomation.Hcx            {Connect-HCXServer, Disconnect-HCXServer, Get-HCXAppliance...

Script     7.6.0.1... VMware.VimAutomation.HorizonView    {Connect-HVServer, Disconnect-HVServer}

Script     10.0.0.... VMware.VimAutomation.License        Get-LicenseDataManager

Script     11.2.0.... VMware.VimAutomation.Nsxt           {Connect-NsxtServer, Disconnect-NsxtServer, Get-NsxtPolicy...

Script     11.2.0.... VMware.VimAutomation.Sdk            {Get-ErrorReport, Get-InstallPath, Get-PSVersion}

Script     11.0.0.... VMware.VimAutomation.Security       {Get-SecurityInfo, Get-VTpm, Get-VTpmCertificate, Get-VTpm...

Script     11.2.0.... VMware.VimAutomation.Srm            {Connect-SrmServer, Disconnect-SrmServer}

Script     11.2.0.... VMware.VimAutomation.Storage        {Add-KeyManagementServer, Copy-VDisk, Export-SpbmStoragePo...

Script     1.3.0.0    VMware.VimAutomation.StorageUtility Update-VmfsDatastore

Script     11.2.0.... VMware.VimAutomation.Vds            {Add-VDSwitchPhysicalNetworkAdapter, Add-VDSwitchVMHost, E...

Script     11.2.0.... VMware.VimAutomation.Vmc            {Connect-Vmc, Disconnect-Vmc, Get-VmcSddcNetworkService, G...

Script     10.0.0.... VMware.VimAutomation.vROps          {Connect-OMServer, Disconnect-OMServer, Get-OMAlert, Get-O...

Script     6.5.1.7... VMware.VumAutomation                {Add-EntityBaseline, Copy-Patch, Get-Baseline, Get-Complia...

 

 

 

 

PS C:\Windows\system32>


Resource Mappings - Change CMDB Class

$
0
0

Hello, we have v5 up and running and looks great. I can't figure out how to change the Resource Mappings to import CIs to our standard table though. The documentation says to edit the 'Class Name' but that field isn't showing up as it did in an older version of the plugin. Below is a screenshot where I was expecting to see a field for changing the class. Is there somewhere else we're supposed to map to our preferred CMDB class, 'cmdb_ci_server'.  Thanks!

 

v5.1 Plugin Item Submit Error

$
0
0

We installed the v5.1 plugin but we get the following errors whenever we try to submit a requested item from the portal in ServiceNow:

 

java.lang.NullPointerException

Script source code logged to console

Failing widget: 'Ticket Conversations' (85357f52cb30020000f8d856634c9c24) called from: 'activities_form' (5c3e28c1dbbf57003c667bedbf9619d3)

 

These errors appear at the top of the portal item screen. While its not obvious the item is saved to the user's cart instead of being submitted. Unless they stumble onto their cart somewhere else they never know where its at.

 

Also, at this same time there are other errors in the ServiceNow system log:

 

performing addSeconds with invalid GlideDateTime: no thrown error

 

java.lang.NullPointerException

   Caused by error in sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script at line 1

com.glide.glideobject.GlideDateTime.addSeconds(GlideDateTime.java:1172)

com.glide.service_portal.SPStream.get(SPStream.java:99)

com.glide.service_portal.SPStream.getRhino(SPStream.java:59)

com.glide.service_portal.widget.SPScriptable.getStream(SPScriptable.java:630)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:498)

org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)

org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2585)

org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)

org.mozilla.javascript.gen.sp_widget_85357f52cb30020000f8d856634c9c24_script_3048._c_anonymous_2(sp_widget.85357f52cb30020000f8d856634c9c24.script:67)

org.mozilla.javascript.gen.sp_widget_85357f52cb30020000f8d856634c9c24_script_3048.call(sp_widget.85357f52cb30020000f8d856634c9c24.script)

org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2650)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)

org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)

org.mozilla.javascript.gen.sp_widget_85357f52cb30020000f8d856634c9c24_script_3048._c_anonymous_1(sp_widget.85357f52cb30020000f8d856634c9c24.script:1)

org.mozilla.javascript.gen.sp_widget_85357f52cb30020000f8d856634c9c24_script_3048.call(sp_widget.85357f52cb30020000f8d856634c9c24.script)

org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2650)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)

org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)

org.mozilla.javascript.gen.sp_widget_85357f52cb30020000f8d856634c9c24_script_3048._c_script_0(sp_widget.85357f52cb30020000f8d856634c9c24.script:1)

org.mozilla.javascript.gen.sp_widget_85357f52cb30020000f8d856634c9c24_script_3048.call(sp_widget.85357f52cb30020000f8d856634c9c24.script)

org.mozilla.javascript.gen.sp_widget_85357f52cb30020000f8d856634c9c24_script_3048.exec(sp_widget.85357f52cb30020000f8d856634c9c24.script)

com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:279)

com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:118)

com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:82)

com.glide.service_portal.SPScriptEvaluator.eval(SPScriptEvaluator.java:37)

com.glide.service_portal.widget.SPScriptRunner.eval(SPScriptRunner.java:221)

com.glide.service_portal.widget.SPScriptRunner.runScript(SPScriptRunner.java:70)

com.glide.service_portal.widget.SPWidget.get(SPWidget.java:134)

com.glide.service_portal.widget.SPScriptable.getWidget(SPScriptable.java:419)

com.glide.service_portal.widget.fencing.ScopedSPScriptable.getWidget(ScopedSPScriptable.java:220)

sun.reflect.GeneratedMethodAccessor1676.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:498)

org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)

org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2585)

org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337._c_anonymous_2(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script:109)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337.call(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script)

org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2650)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)

org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337._c_anonymous_1(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script:1)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337.call(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script)

org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2650)

org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590)

org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337._c_script_0(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script:1)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337.call(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script)

org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563)

org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3428)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337.call(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script)

org.mozilla.javascript.gen.sp_widget_5c3e28c1dbbf57003c667bedbf9619d3_script_3337.exec(sp_widget.5c3e28c1dbbf57003c667bedbf9619d3.script)

com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:279)

com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:118)

com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:82)

com.glide.service_portal.SPScriptEvaluator.eval(SPScriptEvaluator.java:37)

com.glide.service_portal.widget.SPScriptRunner.eval(SPScriptRunner.java:221)

com.glide.service_portal.widget.SPScriptRunner.runScript(SPScriptRunner.java:96)

com.glide.service_portal.widget.SPWidget.get(SPWidget.java:123)

com.glide.service_portal.widget.SPWidget.handleWidget(SPWidget.java:381)

com.glide.service_portal.SPRestService.rectangle(SPRestService.java:111)

sun.reflect.GeneratedMethodAccessor2167.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:498)

com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:43)

com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:286)

com.glide.processors.AProcessor.runProcessor(AProcessor.java:532)

com.glide.processors.AProcessor.processTransaction(AProcessor.java:230)

com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:178)

com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:167)

com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31)

com.glide.sys.Transaction.run(Transaction.java:2091)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

java.lang.Thread.run(Thread.java:748)

 

 

I suspect there's really more than one root cause to these errors but I can't seem to pinpoint the any of the causes.

ESXi を PXE Boot でインストールしてみる。(dnsmasq)

$
0
0

ESXi は、PXE でインストーラからブートしてインストールすることができます。

PXE 環境を用意するには、DHCP や TFTP といったサービスが必要です。

ESXi インストーラの PXE ブート

 

今回は、PXE 環境を Linux と dnsmasq を利用して構築してみます。

dnsmasq は簡易的な DNS サーバとして利用されることが多いですが、

PXE に必要な DHCP サービスと TFTP サービスも提供できます。

 

今回の環境。

使用するソフトウェアは下記です。

  • OS: Oracle Linux 7
  • DHCP / TFTP サーバ: OS 標準提供の dnsmasq RPM
  • syslinux ブートローダ: OS 標準提供の syslinux-tftpboot RPM

 

ちなみに、今回の PXE サーバとインストール対象サーバは

VMware Workstation Pro 15 に VM で作成しています。

 

PXE サーバにする OS の準備。

Linux は、Oracle Linux 7.6 を利用しています。

※ちなみに RHEL や CentOS でも同様の手順で構築可能なはずです。

[root@pxe01 ~]# cat /etc/oracle-release

Oracle Linux Server release 7.6

 

わかりやすく、ホスト名を変更しておきます。

そして OS にログインしなおしてプロンプトの文字列を変更しておきます。

[root@localhost ~]# hostnamectl set-hostname pxe01

 

手順を簡略化するため、firewalld は停止しています。

[root@pxe01 ~]# systemctl stop firewalld

[root@pxe01 ~]# systemctl disable firewalld

 

DHCP / TFTP サーバの構築。

dnsmasq をインストールします。

[root@pxe01 ~]# yum install -y dnsmasq

[root@pxe01 ~]# yum list dnsmasq

読み込んだプラグイン:ulninfo

インストール済みパッケージ

dnsmasq.x86_64                      2.76-7.el7                       @ol7_latest

 

あわせて、TFTP Boot むけ syslinux ブートローダの RPM(syslinux-tftpboot)も

インストールしておきます。

[root@pxe01 ~]# yum install -y syslinux-tftpboot

[root@pxe01 ~]# yum list syslinux-tftpboot

読み込んだプラグイン:ulninfo

インストール済みパッケージ

syslinux-tftpboot.noarch                 4.05-15.el7                 @ol7_latest

 

ちなみに、syslinux-tftpboot をインストールすると、下記のように

/var/lib/tftpboot/ ディレクトリ配下にブートローダ関連のファイルが配置されます。

[root@pxe01 ~]# rpm -ql syslinux-tftpboot

/var/lib/tftpboot

/var/lib/tftpboot/cat.c32

/var/lib/tftpboot/chain.c32

/var/lib/tftpboot/cmd.c32

/var/lib/tftpboot/config.c32

/var/lib/tftpboot/cpuid.c32

/var/lib/tftpboot/cpuidtest.c32

/var/lib/tftpboot/disk.c32

/var/lib/tftpboot/dmitest.c32

/var/lib/tftpboot/elf.c32

/var/lib/tftpboot/ethersel.c32

/var/lib/tftpboot/gfxboot.c32

/var/lib/tftpboot/gpxecmd.c32

/var/lib/tftpboot/gpxelinux.0

/var/lib/tftpboot/hdt.c32

/var/lib/tftpboot/host.c32

/var/lib/tftpboot/ifcpu.c32

/var/lib/tftpboot/ifcpu64.c32

/var/lib/tftpboot/ifplop.c32

/var/lib/tftpboot/int18.com

/var/lib/tftpboot/kbdmap.c32

/var/lib/tftpboot/linux.c32

/var/lib/tftpboot/ls.c32

/var/lib/tftpboot/lua.c32

/var/lib/tftpboot/mboot.c32

/var/lib/tftpboot/memdisk

/var/lib/tftpboot/memdump.com

/var/lib/tftpboot/meminfo.c32

/var/lib/tftpboot/menu.c32

/var/lib/tftpboot/pcitest.c32

/var/lib/tftpboot/pmload.c32

/var/lib/tftpboot/poweroff.com

/var/lib/tftpboot/pwd.c32

/var/lib/tftpboot/pxechain.com

/var/lib/tftpboot/pxelinux.0

/var/lib/tftpboot/reboot.c32

/var/lib/tftpboot/rosh.c32

/var/lib/tftpboot/sanboot.c32

/var/lib/tftpboot/sdi.c32

/var/lib/tftpboot/sysdump.c32

/var/lib/tftpboot/ver.com

/var/lib/tftpboot/vesainfo.c32

/var/lib/tftpboot/vesamenu.c32

/var/lib/tftpboot/vpdtest.c32

/var/lib/tftpboot/whichsys.c32

/var/lib/tftpboot/zzjson.c32

 

dnsmasq に DHCP / TFTP サービス関連の設定をします。vi エディタなどで、

/etc/dnsmasq.conf ファイルの末尾に下記を追記します。

  • interface は ens33 としていますが、環境によって eth0 や ens192 といった名前になります。
  • dhcp-range は、ESXi インストール対象のマシンが PXE サーバにアクセスする際に利用する IP アドレス レンジを指定します。

interface=ens33

dhcp-range=192.168.163.200,192.168.163.209,6h

dhcp-boot=pxelinux.0

enable-tftp

tftp-root=/var/lib/tftpboot

 

dnsmasq のサービスを起動しておきます。

[root@pxe01 ~]# systemctl start dnsmasq

[root@pxe01 ~]# systemctl enable dnsmasq

 

syslinux での PXE 設定ファイルの用意。

pxelinux.cfg ディレクトリを作成します。

[root@pxe01 ~]# mkdir /var/lib/tftpboot/pxelinux.cfg

 

/var/lib/tftpboot/pxelinux.cfg/default ファイルを、下記のような内容で作成します。

  • 「LABEL ESXi67u2」以降には、今回インストールで利用する ESXi 6.7 U2 のメニューを追加しています。
  • (必須ではありませんが)メニュー画面の見栄えをよくするために「MENU INCLUDE pxelinux.cfg/pxe.conf」といった設定をしています。

DEFAULT vesamenu.c32

TIMEOUT 800

ONTIMEOUT 1

PROMPT 0

MENU INCLUDE pxelinux.cfg/pxe.conf

NOESCAPE 1

LABEL 1

  MENU LABEL Local Boot

  localboot 0

  TEXT HELP

  Boot to local hard disk

  ENDTEXT

 

LABEL ESXi67u2

  KERNEL /ESXi67u2/mboot.c32

  APPEND -c /ESXi67u2/boot.cfg

  MENU LABEL ESXi67 Update 2 ^Installer

 

MENU INCLUDE で指定している pxe.conf ファイルは、下記の内容で作成しています。

 

/var/lib/tftpboot/pxelinux.cfg/pxe.conf

MENU TITLE  PXE Server pxe01

NOESCAPE 1

ALLOWOPTIONS 1

PROMPT 0

menu width 80

menu rows 14

MENU TABMSGROW 24

MENU MARGIN 10

menu color title 1;36;44 #ff008080 #00000000 std

 

PXE サーバへの ESXi インストーラの配置。

今回は、ESXi 6.7 U2 のインストーラを利用します。

My VMware サイトから、下記のファイルを入手しておきます。

VMware-VMvisor-Installer-6.7.0.update02-13006603.x86_64.iso

 

PXE サーバに ISO ファイルを転送ずみです。

[root@pxe01 ~]# ls -1

VMware-VMvisor-Installer-6.7.0.update02-13006603.x86_64.iso

anaconda-ks.cfg

 

インストーラを /mnt ディレクトリにマウントします。

[root@pxe01 ~]# mount -o loop ./VMware-VMvisor-Installer-6.7.0.update02-13006603.x86_64.iso /mnt

mount: /dev/loop0 is write-protected, mounting read-only

 

TFTP サーバが公開しているディレクトリの配下にディレクトリを作成して、

ISOファイルからファイルをコピーします。

[root@pxe01 ~]# mkdir /var/lib/tftpboot/ESXi67u2

[root@pxe01 ~]# cp -pr /mnt/* /var/lib/tftpboot/ESXi67u2/

 

通常の CD ブートから PXE ブートに変更するため、boot.cfg ファイルを編集します。

  • boot.cfg で指定されているファイル名から、先頭の「/」を削除。
  • それらのファイル名の先頭に、TFTP のディレクトリ名をつける。(prefix=ESXi67u2)

編集箇所が多いため、sed コマンドで置換をしています。

[root@pxe02 ~]# sed -i 's|/||g' /var/lib/tftpboot/ESXi67u2/boot.cfg

[root@pxe02 ~]# sed -i 's|prefix=|prefix=ESXi67u2|' /var/lib/tftpboot/ESXi67u2/boot.cfg

 

インストール対象マシンのパワーオン。

インストール対象となるマシン(VM でも可)をパワーオンすると、

ここまでで設定した PXE Boot のメニューが表示されます。

esxi-pxeboot-01.png

 

メニューを選択してブートすると、

通常の ISO ブートとはファイルのパスが変更されていることがわかります。

esxi-pxeboot-02.png

 

これで、PXE Boot で ESXi のインストールが開始できるようになり、

このあとは通常どおりインストールを進めることになります。

 

以上、ESXi を PXE Boot してみる話でした。

Even administrator permission can't acknowledge alarms

$
0
0

VCSA 6.5 with the latest patches

 

I have a user whose AD domain user account has "administrator" permission at the data center level and it propagates to the children as well. However, he can't even acknowledge alarms raised on the VMs hosted by the ESXi in the data center. I've confirmed his domain account does have 'administrator' permission the the VMs with alarms. The error he gets is: 'Operation Failed! Permission to perform this operation was denied.'

 

He uses HTML5 client and we tried Chrome and Firefox but results are the same.

 

1. Is there anyone having the similar issue?

2. What are the logs I can check to get more detailed information on this? Is it the HTML5 client or some backend process writing to the logs?

 

Thanks,

Mouse disappears in Windows 10 Guest

$
0
0

My guest operating system is Windows 10.  I have the latest version of Fusion 11.1 installed on the host (MacBook Pro) and VMWare Tools installed on Windows 10. 

 

My problem is that inside the guest operating system the mouse pointer disappears from view.  If I right click the mouse the menu comes up, so I can tell that the mouse is working.  It is just invisible. Sometimes it reappears for a short time but then it disappears again.  I've spent hours and hours going through the various VMWare KB articles with no success.  Please help! 

P2V / Upgrade fail -- "Unable to enumerate and validate the root certificates from the TRUSTED_ROOTS VECS store."

$
0
0

I'm trying to upgrade from a Windows VCS (6.5) to VCSA (6.7).   Falling at the first hurdle though -- the migration assistant, run on the Windows VCS fails with:

 

Error: Unable to enumerate and validate the root certificates from the TRUSTED_ROOTS VECS store.

Resolution: Make sure that the vmafd service is reachable and started before continuing.

 

The VMware afd service is running though (it runs as a Windows service, "Local System" user).  I have tried the usual, restarting service to no avail.  The service does have "Allow service to interact with desktop" selected. Under the vSphere Web Client / Root Certificates I can see the normal CA cert (VMware Engineering) which is not expired and looks fine.

 

No idea why this isn't working (I'm not really a Windows guy), so any pointers appreciated.

Clusters with mixed ESXi versions: "officially supported" vs "discouraged?"

$
0
0
  • Some people say it's fine, period.
  • Some people say it's fine only in the short term (i.e during rolling upgrades).
  • Some people say it's strongly discouraged and you really shouldn't do it at all.

 

What's the official word from VMware on this?  If we have a problem and we open a support case, will we be advised to move away from this setup?  Have they published any guidance here?

 

What's the real world experience?  Has anyone had a support case that could be definitively blamed on their mixed version clusters?


503 ERROR on VSCA 6.5 after upgrade

$
0
0

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x000056500ffb14b0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)

 

 

Vcenter VSCA is some problematic why?

 

 

Two days ago I upgraded all my 6.5 ESXI hosts and VCSA 6.5

 

Now my VCSA fails to present

 

Any ideas?

Unable to install VMTools after upgrade

$
0
0

Just upgraded my ESXI hosts

 

On one host I was updating the VMTools on my VMs.

 

After a while I was unable to apply the VMtools I get this error

 

Any ideas?

 

vmwarevmtools.PNG

ESXI Problem Hyperthreading unmitigated

$
0
0

VMWARE 6.5

 

After upgrading several host I get this error see image below

 

vmwareerror.PNG

 

 

When I go to configure and processors

 

 

vmwarecpu.PNG

 

 

The hyperthreading value is set to ENABLE if I disable it the warning goes away but this I loose virtual cpu's

 

If this a CPU issue?  IF will a  different CPU be better?

 

Any ideas

 

Thank  you

 

Tom

/storage/archive 100% usage

$
0
0

Good morning,

 

/storage/archive is 100% full on a vcenter 6.7 appliance

1.png

How to free some space on this partition ?

ESXi 6.7 U2 Web client crashes when importing OVF

$
0
0
Cause: Possibly unhandled rejection: {}
Version: 1.33.3
Build: 12923304
ESXi: 6.7.0
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

Exception stack:

TypeError: Cannot read property 'keyValue' of undefined
  at updateSummaryPortlet (https://192.168.23.206/ui/scripts/main.js:375:415)  at $scope.wizardOptions.onFinish (https://192.168.23.206/ui/scripts/main.js:375:5968)  at https://192.168.23.206/ui/scripts/main.js:324:23176  at m.$digest (https://192.168.23.206/ui/scripts/main.js:324:28780)  at https://192.168.23.206/ui/scripts/main.js:324:30503  at e (https://192.168.23.206/ui/scripts/main.js:323:10071)  at https://192.168.23.206/ui/scripts/main.js:323:11522

 

when importing Power Panel Business Edition (Agent) (https://dl4jz3rbrsfum.cloudfront.net/software/ppbe340_agent_centos.zip)

Viewing all 172599 articles
Browse latest View live


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