Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all 178257 articles
Browse latest View live

PSC certificate issue

$
0
0

Hello everyone,

 

I'm trying to issue sub CA certificate for my Embedded vCSA installation. vCAS version 6.5.0.14100.

 

/var/tmp/vmware/certool.cfg

 

Country = RU

Name = vlab-PSC-CA

Organization = vlab

OrgUnit = IT

State = Moscow

Locality = Moscow

IPAddress = <my IP>

Email = <Some email>

Hostname = <My vCSA FQDN>

 

/var/tmp/vmware/MACHINE_SSL_CERT.cfg

 

Country = RU

Name = <My vCSA FQDN>

Organization = vlab

OrgUnit = IT

State = Moscow

Locality = Moscow

IPAddress = <my IP>

Email = <Some email>

Hostname = <My vCSA FQDN, My vCSA Hostname>

 

I'm running

 

root@<hostname> [ /usr/lib/vmware-vmca/bin ]# ./certificate-manager

 

Option[1 to 8]: 2

Do you wish to generate all certificates using configuration file : Option[Y/N] ? : y

 

 

Please provide valid SSO and VC priviledged user credential to perform certificate operations.

Enter username [Administrator@vsphere.local]:

Enter password:

certool.cfg file exists, Do you wish to reconfigure : Option[Y/N] ? : n

         1. Generate Certificate Signing Request(s) and Key(s) for VMCA Root Signing certificate

 

 

         2. Import custom certificate(s) and key(s) to replace existing VMCA Root Signing certificate

 

 

Option [1 or 2]: 1

 

 

Please provide a directory location to write the CSR(s) and PrivateKey(s) to:

Output directory path: /custom

2018-03-02T09:50:11.492Z   Running command: ['/usr/lib/vmware-vmca/bin/certool', '--genkey', '--privkey', '/custom/vmca_issued_key.key', '--pubkey', '/tmp/pubkey.pub']

2018-03-02T09:50:11.679Z   Done running command

2018-03-02T09:50:11.679Z   Running command: ['/usr/lib/vmware-vmca/bin/certool', '--gencsrfromcert', '--privkey', '/custom/vmca_issued_key.key', '--cert', '/var/lib/vmware/vmca/root.cer', '--csrfile', '/custom/vmca_issued_csr.csr']

2018-03-02T09:50:11.700Z   Done running command

 

 

CSR generated at: /custom/vmca_issued_csr.csr

         1. Continue to importing Custom certificate(s) and key(s) for VMCA Root Signing certificate

 

 

         2. Exit certificate-manager

 

 

Option [1 or 2]:

 

As you can see vCSA generates CSR based on existing root certificate (certool', '--gencsrfromcert', '--privkey'), but I've clearly stated that I want to generate based on files (Do you wish to generate all certificates using configuration file : Option[Y/N] ? : y). The result is incorrect CSR. Does anyone knows how to force certificate-manager to respect config file content?


Install ESXi 6.5

$
0
0

Hi my friends...

I need to install the ESXi 6.5 on a notebook and I would like to know if it is compatible.

HP ZBook 15 Studio G3 MOBILE WORKSTATION

Xeon® E3-1505M v5 2.8GHz

SSD 512GB

RAM 32G

 

Thank you.

"Unable to connect to vCenter Inventory Service" in Web Client. I have tried resetting Inventory service database, with no change.

$
0
0

We are on V6.0 U3 with TLS1.2 enabled only.

In the Web Client, selecting "Edit Settings" on VMs shows the same message and no options. Using vSphere client is ok.

The vCenter is an appliance.

Purple Screen Of Death (POSD) - Need Diagnostic

$
0
0

Hello community, I just received the beautiful Purple Screen Of Death... I have downloaded the dump file but I need help interpreting it. What should I be looking for? Below i have attached a picture of the SOD it self. thank you so much.POSD.jpg

Building guest VM with PowerCLI: OS Customization Spec works at one site but not at another

$
0
0

I've created a Template in our core site, where building a guest with an OSCustomizationSpec allows me to configure the hostname and a static IP address for the NIC along with its DNS preferences reliably and consistently.

 

I copied the template to a site in Mexico (managed by the same vCenter), and when I try to deploy a server there, I get an error that says:A specified parameter was not correct: Timezone

 

I've tried supplying the Mexico timezone as a number and as a leading 0-padded string and as a string with no padding; nothing changes the error message.

Backup taking too much space

$
0
0

I'm having a VM with C drive (83.6 GB free of 129 GB) and D drive (353 GB free of 389 GB)

On taking a backup of my virtual machine through Vmware vCenter Converter , it was found that total backup taking 448 GB space on external source.

Please help me understanding this why it is taking so much space.

VM.jpg

vMotion not showing available hosts

$
0
0

I've just completed an upgrade from 3 x ESXi 5.0 hosts and a vCenter 5.1 appliance (Essentials Plus) to ESXi 6.0.5050593 and VCSA 6.5.5973321. This is a fully supported VMware setup. I upgraded the licenses and applied them to the new setup ok.

 

One very strange observation is that when I try and vmotion a VM to another host, if I select 'Change compute resource only', invariably the only destination host I'll see is the host the VM is currently running on - no other cluster hosts will show. If though, I select 'Change both compute resource and storage', I can expand the cluster and see all hosts. This method of migrating the VM will work, but I have to 'fake' a datastore change selection.

 

Things I've verified are;

 

It happens in both the Flash and HTML UI's.

Sometimes I will see all the migration hosts, but not all the time and very inconsistently

The message pre-migration will always show 'Compatability checks succeeded'.

 

I thought initially it was out of date VMware Tools, and it certainly looked more promising when tools was updated to 10.0.9 (build 10249), but then it all seemed to revert back and the same things happen. Is this a bug? I know I'm not running the latest ESXi version, or even the latest build of ESXi 6.0, but I'm not quite ready for that yet. It never happened in 5.x.

 

Ideas?

 

Thanks

Can someone help me with formatting the output of this script into an easily readable CSV?

$
0
0

Can someone help me with formatting the output of this script into an easily readable CSV?

 

Import-Module VMware.VimAutomation.Core

Import-Module VMware.VimAutomation.VDS

Connect-VIServer -Server X.X.X.X -Protocol https -User administrator@vsphere.local -Password password

$VMhosts = Get-VMHost

$hosts = $VMhosts.Name

 

 

foreach($i in $hosts){

echo $i

$esxcli = Get-EsxCli -VMHost $i

$x=$Esxcli.network.nic.list() | Select-Object *, @{N="FirmwareVersion"; E={$Esxcli.network.nic.get($_.name).driverinfo.firmwareVersion}}, @{N="Version"; E={$Esxcli.network.nic.get($_.name).driverinfo.Version}}

$y = $esxcli.software.vib.list() | Where-Object {$_.ID -Like "*ixgbe*"}

echo $y | Select-Object -Property ID

echo $x | Select-Object -Property Name,Version

}


MY VMware Client not getting ID Address from my VMware DHCP Server

$
0
0

Hi Vmware Support,

 

I have installed Windows Server 2012 on Vmware and And also have installed Windows 7  on VMware, after configuring DHCP service on server 2012 i keep my client Ethernet properties on DHCP but it's not getting IP from my DHCP server getting APIPA IP. please help me how can i configure my network connection on VMware so that i can get IP from DHCP  server.

 

Thank you.

ramdisk 'root is full. vsanmgmt.log grows quickly

$
0
0

Hello,

 

I'm trying to fix an issue where my root ramdisk / Scatch/logs fills up after a few hows of uptime and esxi can no longer write to its log files.

 

Unfortunately the only datastore I have is the vsan datastore, and redirecting system logs to that datastore is not supported. I do have vsphere log insight setup but the local path is still {} /scratch/log

 

I have 3 servers in the vsan, but one of them fills up the root ramdisk much faster than the others. This is an Lenovo server whereas the others are HPE servers.

 

After spending a fair bit of time looking into this, trying to see if the IBM has a higher logging level than the others etc but I can't see why the Lenovo's logs grow so fast.

 

Here's what the logs currently look like:

 

root@MOX-ESXi1:/scratch/log] ls -lah -lS

total 29880

-rw-------    1 root     root       10.0M Mar 15 14:54 vsanmgmt.log

-rw-------    1 root     root        7.6M Mar 15 18:28 hostd.log

-rw-------    1 root     root        3.1M Mar 15 18:29 vsanvpd.log

-rw-------    1 root     root        1.9M Mar 15 18:30 vpxa.log

-rw-------    1 root     root        1.6M Mar 15 18:34 vsansystem.log

-rw-------    1 root     root      943.9K Mar 15 18:29 syslog.log

-rw-------    1 root     root      875.4K Mar 15 18:31 osfsd.log

-rw-------    1 root     root      744.3K Mar 15 18:28 rhttpproxy.log

-rw-------    1 root     root      651.6K Mar 15 17:58 cmmdsTimeMachineDump.log

-rw-------    1 root     root      650.4K Mar 15 18:32 vmkernel.log

-rw-------    1 root     root      312.0K Mar 15 18:17 fdm.log

-rw-------    1 root     root      211.5K Mar 15 18:35 hostd-probe.log

-rw-------    1 root     root      172.0K Mar 15 18:40 clomd.log

 

And here;s the ramdisks:

 

Ramdisk                   Size      Used Available Use% Mounted on

root                       32M       32M        0B 100% --

etc                        28M      396K       27M   1% --

opt                        32M        0B       32M   0% --

var                        48M      816K       47M   1% --

tmp                       256M       72K      255M   0% --

iofilters                  32M        0B       32M   0% --

hostdstats                803M        4M      798M   0% --

vsantraces                300M      153M      146M  51% --

 

The largest log file is vsanmgmt.log.

 

[root@MOX-ESXi1:/scratch/log] tail -f vsanmgmt.log

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log] Profiler:

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   VsanHealthHelpers.IsWitnessNode: 0.00s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   LsomHealth.getHealthStats(): 0.05s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   plog devices: 0.00s, 0.00s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   get disks: 0.03s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   QueryPhysicalHealth.loopfor allVsanDisks: 0.09s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   impl.QueryDiskRebalanceStatus: 0.00s, 0.00s, 0.00s, 0.00s, 0.00s, 0.00s, 0.00s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   impl._QueryPhysicalDiskHealthSummary: 0.14s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   maxComps: 0.00s

2018-03-15T14:53:37Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-2] [VsanHealthUtil::log]   QueryPhysicalHealth.GetLocalVsanSystem: 0.01s

 

If I compare this to one of the HP servers who's logs are tiny in comparison, the output is basically the same:

 

[root@MOX-ESXi2:/tmp/scratch/log]  tail vsanmgmt.log

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   cls.ManipulateControllersWithStressOptions: 0.00s

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   cls._LookupDriverVersion: 0.00s, 0.00s, 0.00s, 0.00s

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   cls._LookupControllerQueueDepth: 0.00s, 0.00s, 0.00s, 0.00s

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   Get storage-core-path, core-adapter, hardware-pci, system-version: 0.03s

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   cls.checkDiskMode: 0.00s, 0.00s, 0.00s, 0.00s

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log] Profiler:

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   GetHclInfo.ConnectToLocalHosted: 0.01s

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   impl.GetHclInfo: 1.19s

2018-03-15T18:54:19Z VSANMGMTSVC: WARNING vsanperfsvc[43fc0038-2882-11e8] [VsanHealthUtil::log]   invoke-method:ServiceInstance:RetrieveContent: 0.01s

2018-03-15T18:54:19Z VSANMGMTSVC: INFO vsanperfsvc[Thread-12] [PyVmomiServer::log_message] ('127.0.0.1', 45342) - - "POST /vsan HTTP/1.1" 200 -

 

 

Any ideas??

Cannot navigate vCD console using FQDN

ESXi 6.5U1 HPE Custom Image / Protection against Spectre

$
0
0

Dear all,

 

I have two HPE ML350 Gen9 Server running with ESXi 6.5U1 Build 7388607 HPE Custom Image.

 

Latest BIOS-Update P92 2.56_01-22-2018 23.02.2018 is installed.

 

All running Windows 2012 R2 VMs got the latest Microsoft updates (including KB4056098). Antivirus software is also running and up-to-date.

 

The registry-keys were set, as mentioned in: https://support.microsoft.com/en-za/help/4072698/windows-server-guidance-to-protect-against-the-speculative-execution

 

If I run the the Microsoft "SpeculationControl"-Powershell-script, I get as result, that the CPU still have to be updated by microcode (please see attachment).

 

Does anybody know which additional vmWare-Update I need to install?

 

Thanks in advance for your assistance!

 

Regards

 

Marcus

VMware vRealize Log Insight™ 4.6?

$
0
0

Any ETA for VMware vRealize Log Insight 4.6 release?

Fehler beim Speicherplat erweitern einer 'HardDisk' (PowerCLI Set-HardDisk)

$
0
0

Hallo,

 

Code:

$vm=get-vm -Name  'testmas-v304'

$vm.PowerState
$size=60
Get-HardDisk -VM testmas-v304 -Name "Hard disk 1"
get-vm -Name  'testmas-v304' | Get-HardDisk  -Name "Hard disk 1" | Set-HardDisk  -CapacityGB 65.2  -Confirm:$false -Verbose


Get-HardDisk -VM testmas-v304 -Name "Hard disk 1"

 

-->Outputput:

 

Connected to..
vc-v003
KT\Smarty
PoweredOff

CapacityGB      Persistence                                                    Filename
----------      -----------                                                    --------
60.100          Persistent           ...od_nfs_win2_28d] testmas-v304/testmas-v304.vmdk
AUSFÜHRLICH: 14.03.2018 15:29:39 Set-HardDisk Started execution
AUSFÜHRLICH: Ausführen des Vorgangs "Setting CapacityGB: 65.19999980926513671875." für das Ziel "Hard disk 1".
AUSFÜHRLICH: 14.03.2018 15:29:39 Set-HardDisk Finished execution
Set-HardDisk : 14.03.2018 15:29:40 Set-HardDisk  Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
In \\kt.lunet.ch\shares\Powershell-Include\Server\Maintenance\vm-osLWresize.ps1:28 Zeichen:69
+ ... rd disk 1" | Set-HardDisk  -CapacityGB 65.2  -Confirm:$false -Verbose
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-HardDisk], ViError
    + FullyQualifiedErrorId : Client20_ClientSideTaskImpl_ThreadProc_UnhandledException,VMware.VimAutomation.ViCore.Cmdlets.Commands.VirtualDevice.SetHardDisk

60.100          Persistent           ...od_nfs_win2_28d] testmas-v304/testmas-v304.vmdk

 

Kennt jemand diesen Fehler?

503 Service Unavailable (Failed to connect to endpoint

$
0
0

When you open WebSphereClient

The following error has occurred.

 

 

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

 

 

It will not stop even if you restart vCenter.

 

 

vpxd is not running

I can not see vCenter even if I start up manually and log in WevSphereClient.

 

 

root @ TM - VC [~] # service - control - status

Running:

  applmgmt lwsmd vmafdd vmonapi vmware - cm vmware - content - library vmware - eam vmware - perfcharts vmware - rhttpproxy vmware - sca vmware - sps vmware - statsmonitor vmware - updatemgr vmware - vapi - endpoint vmware - vmon vmware - vpostgres vmware - vpxd - svcs vmware - vsan - health vmware - vsm vsphere - client vsphere - ui

Stopped:

  vmcam vmware - imagebuilder vmware - mbcs vmware - netdumper vmware - rbd - watchdog vmware - vcha vmware - vpxd

 

vCenter Version

 

If there is any way of carving

please tell me.


vSphere 5: Unable to login to vSphere Web Client or vCenter Server Appliance

$
0
0

Hello everybody,

Unfortunately, I currently have the problem that I can not log in directly to the vCenter Server Appliance (VM) through the vSphere Web Client.
Have already changed the root password in the appliance via the Grub menu, but I can then log in the completely booted system not synonymous.
SSH login is always reported as wrong.

Does anyone have any idea or solution?

Can I script changing the default snapshot in a pool?

$
0
0

I'm looking to automate the process of changing the default snapshot in a floating pool.  I've inserted a picture to hopefully better explain the image/snap I'm talking about:

Capture.PNG

 

I'm not too familiar with Power Shell or PowerCLI and would like to turn this into a learning experience.  If there isn't any specific way you know of I'm also interested in sites that would be useful for someone wanting to start scripting in View.

PowerCLI Script to locate VMs that do NOT have the Sync Clock to Host option checked

$
0
0

As per the subject, I am looking for a PowerCLI script that can run through all of the VMs in vSphere and list those that do not have the Sync VM Clock to Host option.  I am having issues trying to determine how to target that option.

VCAP6-DCV Deploy certification discontinued??

$
0
0

Do I've been studying for a while now and i'm ready to take this exam so I can finally get my VCIX cert ( I Currently hold the VCAP5-DCD ). Now I find out that this exam is no longer being offered

The frustrating thing is that my VCP will be expiring in a couple months so I don't have time to wait for the newer 6.5 version of this exam to be released!

Linux Host Memory Consumption Lower Than ESXi Reporting Used

$
0
0

ESXi is reporting 8GiB used, however top is showing about 3.2ish GiB used. 

Viewing all 178257 articles
Browse latest View live


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