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

ssh -i /root/.ssh/id_esxi root@HOSTIP "esxcli storage core adapter list" permission denied after upgrade to 6.5

$
0
0

Hi

 

I upgraded from ESXi 6 to ESXi 6.5.0 Update 1 (Build 8285314) last evening and everything seems to be functioning with on exception. I used to be able to interact with esxcli the following way over ssh.

 

ssh -i /root/.ssh/id_esxi root@HOSTIP "esxcli storage core adapter list"

 

However, I now get the following error.

 

Error: Permission to perform this operation was denied..

 

The error seems to be some sort of security setting because other commands work just fine. For example,

 

ssh -i /root/.ssh/id_esxi_freenas root@192.168.1.128 "ls /vmimages"

floppies

tools-isoimages

 

If I use passwordless ssh to the server and then run esxcli I have no problems.

 

ssh -i /root/.ssh/id_esxi_freenas root@HOSTIP

esxcli storage core adapter list

 

HBA Name  Driver       Link State  UID                                   Capabilities         Description

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

vmhba0    vmw_ahci     link-n/a    sata.vmhba0                                                (0000:00:11.0) ATI Technologies Inc SB700 SATA Controller [IDE Mode]

vmhba1    pata_atiixp  link-n/a    ide.vmhba1                                                 (0000:00:14.1) ATI Technologies Inc SB700/SB800 IDE Controller

vmhba2    sata_sil     link-n/a    sata.vmhba2                                                (0000:01:03.0) Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller

vmhba64   iscsi_vmk    online      iqn.1998-01.com.vmware:esxi-20145e62  Second Level Lun ID  iSCSI Software Adapter

vmhba33   pata_atiixp  link-n/a    ide.vmhba33                                                (0000:00:14.1) ATI Technologies Inc SB700/SB800 IDE Controller

vmhba34   sata_sil     link-n/a    sata.vmhba34                                               (0000:01:03.0) Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller

vmhba35   sata_sil     link-n/a    sata.vmhba35                                               (0000:01:03.0) Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller

vmhba36   sata_sil     link-n/a    sata.vmhba36                                               (0000:01:03.0) Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller

 

 

Here is what the auth.log looks like when I get the error (I have removed IPs and RSA key). The log seems to indicate things are working just fine to me.

 

2019-05-18T20:18:28Z sshd[79114]: Connection from removed ip port 58278

2019-05-18T20:18:28Z sshd[79114]: Accepted publickey for root from removed ip port 58278 ssh2: RSA removed key

2019-05-18T20:18:28Z sshd[79114]: pam_unix(sshd:session): session opened for user root by (uid=0)

2019-05-18T20:18:28Z sshd[79114]: User 'root' running command 'esxcli storage core adapter list'

2019-05-18T20:18:33Z sshd[79114]: Received disconnect from removed ip port 58278:11: disconnected by user

2019-05-18T20:18:33Z sshd[79114]: Disconnected from user root removed ip port 58278

2019-05-18T20:18:33Z sshd[79114]: pam_unix(sshd:session): session closed for user root

 

I am sure this is something really simple, but I just cant seem to figure it out. help would be greatly appreciated.

 

Scott


Re: Upgrade VCSA 6.5U2e to 6.7U2 - VMware upgrade document

$
0
0

Thanks, had the link saved as is

Re: Upgrading Directly from 6.5 Update 1 to 6.7 Update 2

$
0
0

Thank you. Making a backup right now

Re: VMWare Usage Meter going bonky

$
0
0

Good to know.  I'll forward that on to my engineers.  Thank you very much.

 

I just heard there was an engineer working on getting them upgraded, because VMWare was troubled by our issues with it back in December, but he was let go back in early March due to headcount reduction.  (RIF)  Nobody has picked up on it since then.  I would bet this might encourage more movement on that matter.

Re: AMD 7870 GPU Passthrough and Dell R610

$
0
0

Thank you for your reply,

 

I appreciate it is unsupported, I have also tried for a GTX1060 which appears to be successfully used but I am still getting the reset back to Disabled once the host is rebooted. Worth trying later ESXi version?

 

Thank you,

 

Caleb

Re: NSX-T north-south traffic not working due to dropped ingress packets on Tier-0 router uplink

$
0
0

Ok things are working now. Per your suggestion about edge interface assignments, I took a look at the uplink profile used for the overlay transport zone - which had a [transport] vlan of 11. I changed this to use a different uplink profile that has a vlan of 0. This brought the VTEP on the edge back up and after this I'm able to ping external and LAN endpoints just fine from the web VM!

 

Summarizing my learnings here

 

  1. When I initially started, the edge hosting the tier0 router had only 2 interfaces - eth0 and fp-eth0. I was planning to use fp-eth0 both for transport/overlay and uplink traffic on the same VLAN. I expected the system to error out if using the same VLAN is not going to work.
  2. After a hunch (perhaps I read/heard about unique VLANs somewhere), I added a new VLAN 14 on ToR and enabled a new vnic on edge vm, thus having access to fp-eth1 for uplink traffic. While doing this, I also changed the VSS port-group (to which all edge VNIC are connecting to), to use VLAN 4095 (trunk and allow all VLANs). Then I changed the uplink profile for overlay transport zone to something that explicitly tags packets with VLAN 11 (for transport network) - this should work as the ToR is configured to accept untagged or tagged-with-11 packets. Anyways, after your valuable suggestions, I went back and changed this to VLAN 0, which made things work!

 

Overall this was a good learning experience but, oh boy there are way too many concepts, screens/steps, and tier-0 router port broken GUI etc.. But thanks to good community forum like this, I'm out of woods (for now)!

 

Thanks Rags

Re: Export VM List incomplete

$
0
0

I think I am agreeing with Dirch here. If the GUI is all you got then display the list of servers, CTRL-A to select them all (else click first one, SHIFT, Click last one) so they are all selected, then scroll down the page from top to bottom- seems like it gives the GUI time to load all the names in, then export and it works each time. I don't think you can do this in the webclient.

 

I don't think PowerCLI will work when the hosts have ESX Shell/SSH services off? Most of our host have these off so it would be a pain to have to turn them

Re: Export VM List incomplete

$
0
0

PowerCLI does not require or depend on SSH or ESXi shell.


Re: Vm migration

$
0
0

thank you for your feedback

the thing is we chosed to do Hot migration because our applications are critical.

what i want to know exactly is how to planned the migration .

Re: VMware ESXi 6.5 Installation fails with Error

$
0
0

While I am currently not in my ESXi season (currently planning out a future hardware upgrade), I will take this into account in my next go at it!

Re: Vm migration

$
0
0

what i want to know exactly is how to planned the migration .

We cannot give you exact instructions because we do not know your topology or how they are interconnected. Even if we knew those details (which you have not provided), it's generally bad manners to ask people to hand over bespoke instructions on a silver platter. Feel free to read the article in my signature to understand why that is.

Re: Calculate required resources to down-grade a cluster

$
0
0

It may be something vROps can do, but that's a fairly specific capacity planning requirement. You could also just do the math in your head, which would be fairly easy assuming a pure allocation model. Even though that may be somewhat conservative, you won't have to worry about resource exhaustion. Then add 10% for good measure.

 

The numbers for memory calc are one thing, but you also need to factor in vCPU-to-pCPU subscription ratios when you compact those workloads. Don't know what those CPUs are or how many physical cores, nor do I know what types of workloads they're running and how tolerant they are of contention, but you may find yourself in a position where you actually need more hosts not from a memory density standpoint but for more physical cores.

Re: HP Serial Attached SCSI Disk shows as "degraded" even though there's no hardware failure and file system health is good?

$
0
0

Anyone has any update on this issue? ddavenport you got anything man? I'm running the latest possible 6.0 U3 from VMware-ESXi-6.0.0-Update3-9313334-HPE-preGen9-600.9.8.5.4-Sep2018.iso  and it still does not like the controller firmware level even though this is the latest available firmware from HPE

 

~B

Re: High Sierra Fusion 6 - installation destroyed my file permissions

$
0
0

Thank you very much for the reply although it’s negative... I fear I won’t be able to fix all permissions with missing full system backup and removed OSX feature to fix filesystem permissions. Never expected such a problem so I only have included /Users in TimeMachine but after this experience seems I will have to back up everything. (and my friends wonder why I am so paranoid - well, experiences...)

 

btw it almost reminds me the critical issue in one of older releases of OSX that removed Home in certain situation when switched to another user. The only thing I am disappointed about is the fact that VMware allowed me to download their buggy package even without single notification about this critical issue, not even talking that it should have been fixed in all releases that are still offered.

 

Now when reading the negative review for Fusion 11 seems this issue was the last nail into the coffin of relationship between me and VMware, time to convert VMs to Parallels and say farewell. Fusion/Workstation is obviously not a product that represents this company so the quality stays below ice.

Re: what version of view agent is support in 7.0.1

$
0
0

I'd go with 10ZIG or Dell/Wyse ThinOS devices. We've tested both and been happy with them. Depending on the model they can do both Blast/PCoIP along with Citrix and RDP which provides a lot of flexibility.


Changed VDS uplink association, vSAN down, hosts can't ping.

$
0
0

Greetings,

 

I changed the associated VDS uplink to which physical vmnic was on which VDS vmnic (ex VDS uplink vmnic0 = physical vmnic1) to where vmnic0=vmnic4. Now my vCenter was running on this vSAN cluster and after doing that change, I can no longer ping the hosts on their vSAN IPs from others, vSAN itself is down and the vCenter server was on this vSAN and cannot be reached as it's down. Any idea on anything that I can do to get this back up and running?

 

On the ESXi host itself, it can't see the datastore to do anything with it.

Re: Changed VDS uplink association, vSAN down, hosts can't ping.

$
0
0

Sooo.... turns out fixing the association via cli on the ESXi host with esxcfg-vswitch and putting back the NICs in the same order, resolved the issue entirely. We were trying to get rid of the copper management cable and go to all 10Gig.

 

I will update this post here soon with more information and screenshots to help any future users with this issue.

VMware Workstation Player 15.1.0 - Accelerate 3D graphics bugged

$
0
0

Selecting Accelerate 3D graphics bugs the program. No matter what i do afterwards, an error pops up. Observation: This error wasn't happening on previous versions (15.0.2, 15.0.3, 15.0.4).

VMware Workstation Player 15.1.0 Accelerate 3D graphics bugged.png

Can't expand datastore on ESXI 6.0

$
0
0

Hi!

Can't expand datastore on ESXI 6.0

I'm running version 6.0.0 Update 3 (Build 7967664)

I followed this guide.

https://kb.vmware.com/s/article/2002461

 

vmkfstools --growfs "/vmfs/devices/disks/naa.600508b100104c395657453248550006:3" "/vmfs/devices/disks/naa.600508b100104c395657453248550006:3" says

Not found Error 
No such file or directory.

 

Output of ls -lathr /vmfs/devices/disks/naa.600508b100104c395657453248550006:3

-rw------- 1 root root 676.1G May 19 05:50 /vmfs/devices/disks/naa.600508b100104c395657453248550006:3

 

Output of partedUtil get /vmfs/devices/disks/naa.600508b100104c395657453248550006

89226 255 63 1433416496
1 64 8191 0 128
5 8224 520191 0 0
6 520224 1032191 0 0
7 1032224 1257471 0 0
8 1257504 1843199 0 0
9 1843200 7086079 0 0
2 7086080 15472639 0 0
3 15472640 1433416462 0 0

 

When i enter vmkfstools --growfs in /var/log/vmkernel.log entries appears:

2019-05-19T05:36:18.758Z cpu12:69247)LVM: 10084: Device naa.600508b100104c395657453248550006:3 detected to be a snapshot:
2019-05-19T05:36:18.758Z cpu12:69247)LVM: 10091:   queried disk ID: <type 2, len 22, lun 1, devType 0, scsi 0, h(id) 13627968333917293612>
2019-05-19T05:36:18.758Z cpu12:69247)LVM: 10098:   on-disk disk ID: <type 0, len 10, lun 0, devType 0, scsi 0, h(id) 13427631733060988540>
2019-05-19T05:36:18.775Z cpu14:69247)VC: 3551: Device rescan time 7 msec (total number of devices 5)
2019-05-19T05:36:18.775Z cpu14:69247)VC: 3554: Filesystem probe time 13 msec (devices probed 3 of 5)
2019-05-19T05:36:18.775Z cpu14:69247)VC: 3556: Refresh open volume time 3 msec

 

But esxcli storage vmfs snapshot list is empty

 

esxcfg-volume -l also empty.

 

Previously, the host had two device and datatstores. Second device and datastore was unmounted, detached and removed from host.Virtual machines were transferred to the existing datastore through the Veeam migration.Virtual machines did not have snapshots.

 

Help me understand why I cannot expand the datastore?

 

 

Re: Export VM List incomplete

$
0
0

you can use RVtools Software

it is best report software for VMs.

Viewing all 252940 articles
Browse latest View live


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