Top 10 VMware vSphere CLI commands you need to know!
Вставка
- Опубліковано 9 лип 2024
- ESXi contains powerful built-in commandline commands allowing admins to perform troubleshooting, configuration, management, and other tasks without the GUI. We look at the top 10 ESXi CLI commands you need to know and how they are used.
Special thanks to Vembu for sponsoring this video!
Download Vembu here: www.vembu.com/vembu-bdr-suite...
Subscribe to the channel: / @virtualizationhowto
My blog:
www.virtualizationhowto.com
_____________________________________________________
Social Media:
/ vspinmaster
LinkedIn:
/ brandon-lee-vht
Github:
github.com/brandonleegit
Introduction - 0:00
Video Sponsor - BDRSuite by Vembu - 0:49
Overview of the esxcli command and subcommands - 1:38
Looking at all the esxcli options - 1:52
Discover IP addresses - esxcli network ip interface ipv4 get - 2:10
More network details using - esxcli network ip interface list - 3:10
Netstat for ESXI! - esxcli network ip connection list - 4:23
Special ping for ESXi - vmkping command - 5:05
Running the vmkping command - 5:37
Verifying jumbo frame connectivity with vmkping - 6:21
Introduction to esxtop - 6:53
Highlighting one use case for esxtop - 7:20
Launching esxtop - 7:56
Esxtop network view and viewing which vmnic a VM is communicating on - 8:05
Restarting management services - 8:51
Services.sh restart command - 9:15
Discussing the behavior when restarting management services - 9:35
Launching the Direct Console User Interface (DCUI) from the command line - 10:13
Setting maintenance mode from the commandline - esxcli system maintenanceMode set --enable true - 11:01
Verifying maintenance mode from the commandline - 11:31
Updating your ESXi server from the commandline - 11:45
Unmapping thin provisioned blocks from the commandline - esxcli storage vmfs unmap -u - 12:32
Wrapping up the top ESXi CLI commands - 13:40
Upgrade to ESXi 8 in three ways:
www.virtualizationhowto.com/2...
Change ESXi hostname from command line:
www.virtualizationhowto.com/2... - Навчання та стиль
Wow thanks man it's very useful video i am looking for esxtop command but you made it in this video thanks that was expected from you.
Thanks for the great video.
Great Video, looking forward for more such videos...👍
Thank you Surendra!
Really very help full this please make more video on vm troubleshooting level
nice one, great job
Thank you! Cheers!
Great video. Thanks.
Glad you liked it!
Thanks a lot Man your are verry pro and skilled i wich you the best :)
SAOUT, thank you for your kind words!
Where are you getting the URL and version ID for the update command? Does VMWare have this documented somewhere?
Hey! All good? Is there a way to change IP, Mask, Gateway and VLAN in a single command or script?
you've a great male voice tone. You should try voice overs.
Nice video, but for the newbies to VMware admin I was hoping you would explain how to run esxicli. Do you have to run it from the physical console or can you install it on a Mac or Windows or Linux machine and run if over SSH? Is there anything you have to do to configure the VMware server to be able to support it? Thanks in advance for any help you can provide.
Mike, good question. The ESXCLI is a built-in command that is accessible by accessing the ESXi host via SSH or directly from the console. You need to enable SSH on the ESXi host before you can access the command remotely.
@@VirtualizationHowto - Thanks for the quick and helpful reply Brandon!
looking to figure out how to change the esxi switch so that it matches my network, i am taking a class, so we put vmware player on our computers then using playuer install esxi hypervisor as a guest to use it as a host for two guest.. (vm inside of a vm) i can ping from my main computer to the hypervisor but its doing some kind of routing as the hypervisor is 192.168.139 address as my home network is 192.168.70 addresses i tried puttinng the hypervisor into bridge mode it grabbed a 192.168.70 ip.. but i cannot ping from my main pc but if i put it back to default 192.168.139 NAT i can ping it.. in the web client i can see the switch is 192.168.139.x but how do i tell the hypervisor to NOT do dhcp , only get an ip from my physical network , and then the guests on the hypervisor would also be getting ips from my physical network.?
hello guys anyone can help? I have little home lab with ESxi8 and storage at synology nas via LUN connection , I increase LUN space for more storage, but I dont know how to inreacse it in esxi or vcenter, always get error anyone can help?
Have you tried to detach e reatach the LUN on VMware? I don't use VMware, but that makes some sense to me.
Legion, can you post your error? Extending space on a VMFS volume is generally pretty easy and uneventful. It should be able to consume the extra space without issue.
perform a rescan on the esxi hba adapter (or iscsi adapter in case of software) then Select Storage in the vSphere Client interface
Right-click the datastore and select Increase Datastore Capacity select the lun and if expandable option spots yes, finish the wizard and the datastore will be expanded
ME FIRST !
𝓟Ř𝔬𝓂𝔬𝐒ϻ 👇