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

Adding static route for second management interface

$
0
0

I have a dedicated server in the cloud with a /29 block of static IPs. One of the public IPs has been assigned to the first vmknic. This means that I can only manage ESXi from the internet. For security reasons, I want to add a second management interface on the internal side and then eventually disable the public management. I've successfully added vmk1 and assigned it an internal address. My VM (placed on the same subnet) can ping the vmk1 IP, but nothing outside of the subnet, which I assume is because the vmk1 nic has no routes/default gateway.

 

I tried adding the route from the CLI using "esxcli network ip route ipv4 add -n 10.100.1.2/24 -g 10.100.1.1" but I receive "Unable to Set: Sysinfo error: Network unreachableSee VMkernel log for details."

 

How can I get the static route added for the second to-be internal management interface?


NSX-T and vIDM. Unorthorized Error

$
0
0

i have tried a few things which i found in the communities and the troubleshooting of connectivity.  But with NSX-T 2.5 (2.5.0.0.0.14663978) and vIDM 3.3 (3.3.0.0 Build 1008410), i keep getting the unorthorized user error.  despite having the user assigned explicitly a role on the NSX-T Management console.

 

the error is below

 

{

  "module_name" : "common-service",

  "error_message" : "Unauthorized",

  "error_code" : "98"

}

 

The vIDM integration page is all green.  the URI is correct.  i can see the remote app has autocreated for the URI when in vIDM, and it is enabled. 

 

When i try to CURL though to the NSX-T Manager, with the NSX Manager admin account, I get an error specified below... 

 

{

    "module_name" : "common-services",

    "error_message" : "The credentials were incorrect or the account specified has been locked.",

    "error_code" : "403"

}

 

what am i missing?

Error: An SSL error occurred

$
0
0

as shown in figure below.

i'm doing VDI session test but some of the remote desktop session can't be established and the Horizon Client show such message.

here's my lab's settings:

1. vSphere version:6.7U3

2. Horizon version:7.10

3. Horizon client version:5.2

4. windows 10 is utilized for client and target desktop VMs and the horizon client is installed in all the client VMs.

5. the client and target desktop pools' type: instant clone, floating assignment

6. the "Do not verify server identity certificates" is configured in all the Horizon clients.

7. all the infrastructure and VMs are utilizing the same and the only one VLAN, does not need routing.

 

i also turned off all the firewalls on Horizon Connection server, client VMs and target VMs, however, when i perform the automatic VDI session test, some of the client VMs (randomly) always cannot connect to the target VMs.

since only some of the client VMs cannot connect to the Horizon Connection server, I doubt that there's truly networking issues?

can anyone provide some clues for troubleshooting ?

vSAN stretch cluster 1+1+1 vs 2+2+1

$
0
0

Hello,

 

I'm thinking about a small vSAN stretched cluster in two different sites + a third for the witness.

From a availability and resiliency stand point, are there some advantages using a stretched config of 2+2+1 instead of 1+1+1 ?

If I'm not wrong both have PFTT=1 and SFTT=0.

 

Thanks!

help !!! --- esxi have losed a datastorage

$
0
0

email: kodesay@163.com

(1)日志现象

 

Tcpip_Vmk: 123: nd6_rs_timer: no routers on 'vmk0'. Giving up

 

WARNING: NMP: nmpCompleteRetryForPath:382: Logical device "naa.644a8420245926001ce4f91c1401897b": awaiting fast path state update before retrying failed command

  1. again...

 

WARNING: NMP: nmpDeviceAttemptFailover:603: Retry world failover device "naa.644a8420245926001ce4f91c1401897b" - issuing command 0x41368261c3c0

 

NMP: nmpCompleteRetryForPath:352: Retry cmd 0x28 (0x41368261c3c0) to dev "naa.644a8420245926001ce4f91c1401897b" failed on path "vmhba0:C2:T1:L0" H:0x1 D:0x0 P:0x0

Possible sense data: 0x0 0x0 0x0.

 

(2)VMHBA0现象

~ # esxcli storage core path stats get

  1. unknown.vmhba0-unknown.2:0-naa.644a8420245926001ce4f8f511aeb58f

UID: unknown.vmhba0-unknown.2:0-naa.644a8420245926001ce4f8f511aeb58f

Runtime Name: vmhba0:C2:T0:L0

   Successful Commands: 22315

Blocks Read: 2182350

Blocks Written: 254925

Read Operations: 16092

Write Operations: 5245

Reserve Operations: 181

Reservation Conflicts: 0

Failed Commands: 23

Failed Blocks Read: 0

Failed Blocks Written: 0

Failed Read Operations: 0

   Failed Write Operations: 0

Failed Reserve Operations: 0

Total Splits: 1518

PAE Commands: 0

 

  1. unknown.vmhba0-unknown.2:1-naa.644a8420245926001ce4f91c1401897b

UID: unknown.vmhba0-unknown.2:1-naa.644a8420245926001ce4f91c1401897b

Runtime Name: vmhba0:C2:T1:L0

   Successful Commands: 73

Blocks Read: 0

Blocks Written: 0

Read Operations: 0

Write Operations: 0

Reserve Operations: 0

Reservation Conflicts: 0

Failed Commands: 3938

Failed Blocks Read: 1952

Failed Blocks Written: 0

   Failed Read Operations: 1952

Failed Write Operations: 0

Failed Reserve Operations: 0

Total Splits: 0

PAE Commands: 0

 

 

(3)物理状态描述

  1. ESXI主机无法加载一个名称为:naa.644a8420245926001ce4f91c1401897b的DATASTORE
  2. 虚拟机丢失其很多VMDK文件,浏览找不到对应的文件

How to disable time syncronization from Vmware Tools

what license is required for using vsan sdk

$
0
0

Can someone let me know what license is required for using vsan sdk. Also the license category?

issue appending result to csv

$
0
0

Hi,

 

I am facing issue appending the output to csv file as the second result is over writing the csv file.

 

please help.

 

$TotalCPU = 300

$UsedCPU = 200

 

$cpu = $TotalCPU - $UsedCPU

if (($cpu) -le 0) {

    "vCPU Validation Failed"

    return

}

else {

    "vCPU Validation Success"

$resultsarray = @()

 

# Create a new custom object to hold our result.

$contactObject = new-object PSObject

 

# Add our data to $contactObject as attributes using the add-member commandlet

$contactObject | add-member -membertype NoteProperty -name "CPU" -Value $cpu

 

# Save the current $contactObject by appending it to $resultsArray ( += means append a new element to ‘me’)

$resultsarray += $contactObject

 

$resultsarray | Export-csv D:\cpu_mem.csv -NoTypeInformation -Append

}

 

 

$Totalmem = 250

$Usedmem = 100

 

$mem = $Totalmem - $Usedmem

if (($mem) -le 0) {

    "Memory Validation Failed"

    return

}

else {

    "Memory Validation Success"

$resultsarray = @()

 

# Create a new custom object to hold our result.

$contactObject = new-object PSObject

 

# Add our data to $contactObject as attributes using the add-member commandlet

$contactObject | add-member -membertype NoteProperty -name "Memory" -Value $mem

 

# Save the current $contactObject by appending it to $resultsArray ( += means append a new element to ‘me’)

$resultsarray += $contactObject

 

$resultsarray | Export-csv D:\cpu_mem.csv -NoTypeInformation -Append

}

 

Error

Export-csv : Cannot append CSV content to the following file: D:\cpu_mem.csv. The appended object does not have a

property that corresponds to the following column: CPU. To continue with mismatched properties, add the -Force

parameter, and then retry the command.

At D:\check_host_mem_datastore_freespace.ps1:127 char:18

+ $resultsarray1 | Export-csv D:\cpu_mem.csv -NoTypeInformation -Append

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

    + CategoryInfo          : InvalidData: (CPU:String) [Export-Csv], InvalidOperationException

    + FullyQualifiedErrorId : CannotAppendCsvWithMismatchedPropertyNames,Microsoft.PowerShell.Commands.ExportCsvComman

   d


vCenter Appliance 6.5 File based backups fails with ERROR: Error at process LotusBackup

$
0
0

I have shell script which executes the file based native backup via cron job on a daily basis.

It gets triggered by making the POST call to the endpoint /rest/appliance/recovery/backup/job.

Backup shipping is done via SCP protocol.

Log::

The /var/log/vmware/applmgmt/backup.log shows the following trace

2019-10-17 02:00:38,291 [ConfigFilesBackup:PID-38685] INFO: tarCmd = tar -cz -C / --ignore-failed-read -T "/var/log/vmware/applmgmt/cfg_incl_pq_ggq.lst" -X "/var/log/vmware/applmgmt/cfg_excl_eB6DWP.lst" --warning="no-file-ignored"

2019-10-17 02:00:38,340 [LotusBackup:PID-38686] INFO: stdout: VdcBackupDB: Setting vmdir state to VMDIRD_READ_ONLY

VdcBackupDB: Backing up: /storage/db/vmware-vmdir//data.mdb

VdcBackupDB: Backing up: /storage/db/vmware-vmdir//lock.mdb

VdcBackupDB: Setting vmdir state to (3)

 

2019-10-17 02:00:38,340 [LotusBackup:PID-38686] INFO: BackupLotus: Dispatching files ['lock.mdb', 'data.mdb', 'partnerlist']

2019-10-17 02:00:38,341 [LotusBackup:PID-38686] INFO: tarCmd = tar -cz -C /tmp/backup_lotus/ --ignore-failed-read --warning="no-file-ignored" "lock.mdb" "data.mdb" "partnerlist"

2019-10-17 02:00:40,595 [LotusBackup:PID-38686] ERROR: Failed to backup Lotus DB

2019-10-17 02:00:40,595 [LotusBackup:PID-38686] ERROR: Failed to backup Lotus DB

Underlying process status. rc: 255

stdout:

stderr:

Traceback (most recent call last):

  File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/components/Lotus.py", line 93, in BackupLotus

    raise BackupRestoreError(err_msg, status)

BackupRestoreError: Failed to backup Lotus DB

Underlying process status. rc: 255

stdout:

stderr:

2019-10-17 02:00:40,696 [LotusBackup:PID-38686] INFO: Successfully completed Lotus cleanup.

2019-10-17 02:00:41,113 [MainProcess:PID-38117] ERROR: Error at process LotusBackup; rc:255.

2019-10-17 02:00:41,113 [MainProcess:PID-38117] ERROR: stderr:Failed to backup Lotus DB

 

2019-10-17 02:00:41,113 [MainProcess:PID-38117] INFO: Following error message isn't localized:

  stderr:Failed to backup Lotus DB

 

2019-10-17 02:00:41,114 [MainProcess:PID-38117] ERROR: BackupManager encountered an exception: Hit exception inside process LotusBackup:

2019-10-17 02:00:41,115 [MainProcess:PID-38117] INFO: Cleaning up the failed backup job.

2019-10-17 02:00:41,116 [MainProcess:PID-38117] INFO: Cleaning up all running backup child processes.

2019-10-17 02:00:41,181 [MainProcess:PID-38117] INFO: Cleaning up all sizeFiles.

2019-10-17 02:00:41,181 [MainProcess:PID-38117] INFO: Cleaning up ConfigFiles.

2019-10-17 02:00:41,181 [MainProcess:PID-38117] INFO: Cleaning up Lotus.

2019-10-17 02:00:41,181 [MainProcess:PID-38117] INFO: Successfully completed Lotus cleanup.

 

Solution I found is simply executing the script again to fire the backup, and it works.

Please help me understand,

1. What is Lotus DB and what information it holds w.r.t vCenter Appliance.

2. How can debug further to find the root cause for this issue.?


Thanks.

Deleted VSS Portgroup still shows in vCenter

$
0
0

At some time in the past, several portgroups on VSS switches were removed, and VM's moved to a VDS portgroup. However, the old VSS-based portgroups still show in the network tab. These no longer exist on any host in the cluster.  I need them to not show in vCenter.

 

If I select VLAN 321, I can see that vcenter thinks that 5 VM’s are still using it

 

If I select one of the VMs, in the Summary pane, both the old portgroup and the new portgroup are shown in the Related Objects section

 

However when you edit the VM settings, there is only one NIC (the new one) and no sign of the old one

I am stumped as to how to remove the old portgroup

vCenter Appliance 6.0.0.20000 Error - 503 Service Unavailable

$
0
0

Hello,

 

I have been asked to "revive" a vCenter Appliance server for a customer.

 

I can log into the server via port 5480 using root credentials.  I cannot access on 5480 with my aministrator@vCenter.local credentials.

 

When I try to access the server via port 443, I get this error:

 

 

I have ssh'd into the machine and tried to start all services.  All started except vmware-invsvc:

 

 

I'm not sure how to fix this issue?

 

Thanks for any and all help.

 

Bryan Hunt

VMWare Updates showing in Windows Update

$
0
0

Hi all, first time ive see this but i am showing VMWare Inc. Updates being pushed through Windows Update Services as below:

Only seems to be on Server 2016 and seems consistant with things ive seen online relating to VMWare Tools.

the installed version of VMWare Toold is 10.1.0.

 

Cannot find any more information online regarding these updates, any suggestions or advice on where else i can look?

 

I cannot believe for 1 minute VMWare would push out an update with no release notes/change log.

NO FILE CONFIGURE TO DUMP DATA

$
0
0

Hello Experts

 

I have attached an screen shot with the error I am getting, it is the pink screen error exception 14.

 

Please I need help configuring the file to dump data, would You please point me to the area where I can do this.

 

Thank You Very Much!!!

ESXI6.0安装上NVIDIA K1显卡后,Module Name: pciPassthru

$
0
0

企业微信截图_15713843671980.png服务器是DELL FS12-TY;

驱动程序是 NVIDIA-vGPU-kepler-VMware_ESXi_6.0_Host_Driver_367.132-1OEM.600.0.0.2494585.vib;

esxcli hardware pci list -c 0x0300 -m 0xf 执行这个命令显示的内容里有4组Module Name: pciPassthru,最后一组显示Module Name: None;如何才能变为 Module Name: NVIDIA

Expanding a VM disk in vCloud Director results in Storage vMotion

$
0
0

Hello,

i've got a question about Expanding a VM disk in vCloud Director v9.5. We have several vDC datastores available.

If I edit the properties of a VM and increase the disk size, then vCloud Director automatically performs a Storage vMotion and places the vmdk on another datastores even if the original datastore has plenty of free space.

Is this intended behaviour? Is it possible to configure vCloud Director so that if the original datastore has enough free space it leaves the vmdk on the original datastore?

 

Regards


Find if datastore is disconnected

$
0
0

Hello,

I have some VM in some hosts where datastore is disconnected from the hosts,

This VM show the disks but provisioned and used space are 0

 

I would like to identify these vm with host and datastore name (with UUID)

 

I used this as base to and then I filtered directly in CSV, but I would like to use something better,


Get-VM | Select Name, PowerState, Version, NumCpu, MemoryGB,


    @{N = 'UsedSpaceGB'; E = { [math]::Round($_.UsedSpaceGB, 1) } },    @{N = 'ProvisionedSpaceGB'; E = { [math]::Round($_.ProvisionedSpaceGB, 1) } } |


Export-Csv -Path C:\Users\gemela\Desktop\powerstate_report.csv -NoTypeInformation -UseCulture

 

Thanks  for support

igbn driver issue on ESXi 6.7 Update1

$
0
0

Hey guys,

 

We've encountered some issues with the igbn driver (version 1.4.7) on Dell hosts running ESXi 6.7 Update1. This has been raised with the vendors and Dell and VMware have both come back advising that there might a known issue in this driver. One our customers hosts running this driver encountered a PSOD.

 

Dell infact has reached out to their vendors (Intel) and they have confirmed that this impacting the Intel i350 cards. Both Vmware and Dell have advised to disable the igbn drivers and use the native igbo drivers.

 

Has anyone else encountered similar issues wit this driver? If yes then has anyone disabled it to use the igbo drivers instead? Is it a stable workaround?

 

Looking forward to some feedback on those who have switched over to the igb drivers.

 

Cheers, Onil

Fusion 11 Pro on Mojave with ESXI 5.0.0 MKS: Internal Error

$
0
0

I am running VMWare ESXi v5.0.0 that is running Arch Linux and Ubuntu Virtual Machines and all is well with them. However, when I use Fusion Pro 11 on Mojave 10.14 I get an error dialog appearing that says “Unable to connect to MKS: Internal Error” having never use this product before (as I’m am currently evaluating Fusion) I don’t know what it means, or how to fix it.

 

An internet search does produce results but would appear to be unrelated to my issue so any help in a resolution to this would be appreciated.

VMware Workstation 15 Player - can guest OS detect FireWire camera ?

$
0
0

Hello,

 

I have win 10 installed, and i have VMware Workstation 15 Player installed, where Windows XP is installed as guest OS.

 

When I run Windows XP on VMware, will it detect FireWire camera connected to pc, after I install driver on xp for it ?

 

I only need Windows xp for the camera, nothing else. As the camera driver is not working on newer OS.

 

It is Olympus DP25 for microscope.

 

I hope you can help me

 

Thanks

Get count of running workflows on VRO server

$
0
0

Hi all,

 

is there a way to read number of running workflows on a VRO server?

The same number, that VRO client displays:

Best options would be a REST call...

Second best would be some internal VRO class that holds this information...

Worst case would be to iterate all the workflows' executions and check their state...

 

The scenario is: I want to wait for the last workflow to finish before wiping the server as a part of CI. Any other way to approach that?

 

Thanks!

Viewing all 175116 articles
Browse latest View live