Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Thu Nov 22, 2018 7:31 am


News News of Virtualization

Site map of Virtualization » Forum : Virtualization

Software and Hardware virtualization, Linux Kernel Virtualization Module, FreeBSD jails, Vmware, Virtualbox, Xen

 [ Total topics 14 Go to page 1, 2

Message
 Post subject: Vmware ESXi: create custom named vmdk virtual disk [cli]
PostPosted: Tue Jan 16, 2018 6:23 am 
Code:
vmkfstools -c 400G -d zeroedthick -a lsilogic disk-name-400G.vmdk
Create: 100% done.


Checkout below vmware link for more options, or use vmkfstools -H
https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-8D4D25C1-A14F-4133-B13A-7F7D4C3A59E3.html

Read more : Vmware ESXi: create custom named vmdk virtual disk [cli] | Views : 619 | Replies : 0

Top
 Post subject: Vmware ESXi: vmkfstools: Extra arguments at the end of the command line.
PostPosted: Tue Jan 16, 2018 6:11 am 
Code:
# vmkfstools -c 5G –diskformat thin testdisk2.vmdk
Extra arguments at the end of the command line.

OPTIONS FOR FILE SYSTEMS:


Above command would contain hidden characters as shown below:

$ echo -n 'vmkfstools -c 5G –diskformat thin testdisk2.vmdk' | wc -c
50
$ echo -n 'vmkfstools -c 5G –diskformat thin testdisk2.vmdk' | xxd
00000000: 766d 6b66 7374 6f6f 6c73 202d 6320 3547 vmkfstools -c 5G
00000010: 20e2 8093 6469 736b 666f 726d 6174 ...

Read more : Vmware ESXi: vmkfstools: Extra arguments at the end of the command line. | Views : 1101 | Replies : 0

Top
 Post subject: SSH Login to Vmware ESXi with ssh keys
PostPosted: Wed May 24, 2017 7:28 am 
To login with ssh private key in Vmware ESXi, store the public key in the following file: /etc/ssh/keys-root/authorized_keys
Code:
# cat mykey.pub >> /etc/ssh/keys-root/authorized_keys


Make sure to use double angle brackets to avoid losing the contents of /etc/ssh/keys-root/authorized_keys.

Read more : SSH Login to Vmware ESXi with ssh keys | Views : 782 | Replies : 0

Top
 Post subject: How to retrieve Vmware ESXi license from ssh shell command line
PostPosted: Wed May 03, 2017 8:51 am 
Code:
~ # vim-cmd vimsvc/license --show
[200] Sending request for installed licenses...[200] Complete, result is:
...

Read more : How to retrieve Vmware ESXi license from ssh shell command line | Views : 2807 | Replies : 0

Top
 Post subject: KVM Nested in Vmware ESXi 5.5 - enable guest hypervisor vmx/svm flags without vsphere web client
PostPosted: Sat Feb 21, 2015 8:21 pm 
Both Vmware ESXi and the open source alternative KVM (Kernel Virtualization Module) that turns a Linux server into a native hypervisor can run as nested hypervisors, meaning they are not installed on the bare metal machine, but they are themselves virtual machines under the other.

KVM nested in ESXi 5.5 - Requirements


In order for KVM module to load (or the packages to even install), the CPU has to have the Intel/AMD virtualization technology flags ...

Read more : KVM Nested in Vmware ESXi 5.5 - enable guest hypervisor vmx/svm flags without vsphere web client | Views : 22770 | Replies : 0

Top
 Post subject: ESXi: How to see network statistics for vSwitch port using esxcli
PostPosted: Mon Jan 26, 2015 7:07 am 
We are all familiar with Vmware ESXii vSwitches and how vSwitch ports are assigned to each machine individually. The vsphere client is a powerful tool for configuring vswitches, ports and VMs, but I prefer the black background and white font any day.

First step is to get the ID of the network port for the specific VM with esxtop command.

Identify vSwitch port ID using esxtop:


Run the "esxtop" command and press "n" key to ...

Read more : ESXi: How to see network statistics for vSwitch port using esxcli | Views : 8130 | Replies : 0

Top
 Post subject: Vmware ESXi - esxtop output is not readable
PostPosted: Mon Jan 26, 2015 6:53 am 
"esxtop" command is similar to Linux "top" command and it shows system (cpu/network) utilization statistics.

Some vmware esxi deployments will show very strange output in "esxtop" command:e(PCPU 4)\%P-State P10","\\apophis\PCPU Power State(PCPU 4)\%P-State P11","\\apophis\PCPU Power State(PCPU 4)\%P-State P12","\\apophis\PCPU Power State(PCPU 4)\%P-State P13","\\apophis\PCPU Power State(PCPU 4)\%P-State P14","\\apophis\PCPU Power State(PCPU 4)\%P-State P15","\\apophis\PCPU Power State(PCPU 5)\%C-State C0","\\apophis\PCPU Power State(PCPU 5)\%C-State C1","\\apophis\PCPU Power State(PCPU 5)\%C-State C2","\\apophis\PCPU Power State(PCPU 5)\%C-State C3","\\apophis\PCPU Power State(PCPU 5)\%P-State P0","\\apophis\PCPU Power State(PCPU 5)\%P-State P1","\\apophis\PCPU Power State(PCPU ...

Read more : Vmware ESXi - esxtop output is not readable | Views : 1754 | Replies : 0

Top
 Post subject: How to add BIOS boot delay for particular VM in VMWare ESXi 5.x
PostPosted: Wed Feb 19, 2014 4:05 pm 
Find the VMX file of the virtual machine and add the following line WHILE THE MACHINE IS TURNED OFF:
Code:
bios.bootdelay = 5000

The above line will add a 5seconds delay leaving enough time for bios related operations.

Read more : How to add BIOS boot delay for particular VM in VMWare ESXi 5.x | Views : 1249 | Replies : 0

Top
 Post subject: CentOS and KVM: Setup VNC server on the hypervisor
PostPosted: Tue Feb 04, 2014 9:05 am 
After a complete installation of the KVM hypervisor, libvirt and the rest of utilities, VNC server can be used to remotely access the graphical console (aka Video output) of the VMs via the Virtual Machine Manager.

But by default VNC will not run:
# chkconfig --list | grep vnc
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# chkconfig --levels 5 vncserver on
# chkconfig --list | grep vnc
vncserver 0:off 1:off 2:off 3:off 4:off ...

Read more : CentOS and KVM: Setup VNC server on the hypervisor | Views : 1535 | Replies : 0

Top
 Post subject: FreeBSD virsh console hangs in "Escape character is ^]" \w KVM hypervisor any text console provider
PostPosted: Fri Jan 31, 2014 5:35 am 
Installing FreeBSD under KVM requires a little tick to access the serial console (text) from KVM virsh because FreeBSD redirects output to video if using graphic installation (vidconsole).
Code:
# virsh console VM2
Connected to domain VM2
Escape character is ^]

After the box is installed and running configure the "comconsole" under /boot/loader.conf and configure the serial con
Code:
# cat /boot/loader.conf
console="comconsole"
# grep ttyu0 /etc/ttys
ttyu0   "/usr/libexec/getty std.9600"   vt100   on  secure



Now reboot the ...

Read more : FreeBSD virsh console hangs in "Escape character is ^]" \w KVM hypervisor any text console provider | Views : 2247 | Replies : 0

Top
 [ Total topics 14 Go to page 1, 2


Last 10 active topics


Tutorials for general Unix

No new posts use "Ctr-A Ctr-\ " combination to terminate SCREEN session
View the latest post

Juniper SRX

No new posts SRX300 - How to connect to serial console via USB port in MacOS
View the latest post

Shell Scripting and Programming

No new posts DD (Disk Dump) show write progress
View the latest post
No new posts BASH shell script to mointor a directory and move file without overwriting destination
View the latest post
No new posts FreeBSD: Install python package manager (pip)
View the latest post

Virtualization

No new posts Vmware ESXi: create custom named vmdk virtual disk [cli]
View the latest post
No new posts Vmware ESXi: vmkfstools: Extra arguments at the end of the command line.
View the latest post

OpenLDAP - Lightweight Directory Access Protocol

No new posts Synchronize OpenLDAP and Microsoft Active Directory
View the latest post

Routing and dynamic routing protocols

No new posts BGP Notification Message (3), length: 21, OPEN Message Error (2), subcode Authentication Failure
View the latest post

TCP/IP Networking

No new posts Problem pinging and using server with mobile hotspot
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 617 | Total topics 987 | Total members 1192



News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO