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

FAQ
It is currently Fri Dec 15, 2017 1:34 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 12 Go to page 1, 2

Message
 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 : 294 | 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 : 437 | 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 : 18846 | 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 : 6062 | 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 : 1118 | 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 : 757 | 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 : 917 | 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 : 1623 | Replies : 0

Top
 Post subject: KVM create FreeBSD10 guest VM with no graphics
PostPosted: Fri Jan 31, 2014 5:13 am 
Code:
# qemu-img create /var/lib/libvirt/pools/pool1/VM3.img 10G
# virt-install --connect qemu:///system  -n VM3-FreeBSD-10 -r 2048 --vcpus=2 --disk path=/var/lib/libvirt/pools/pool1/VM3.img  --os-variant freebsd8 --accelerate --network=bridge:br0 --network=bridge:br1 -c /var/lib/libvirt/images/FreeBSD-10.0-RC4-amd64-disc1.iso --graphics none

Read more : KVM create FreeBSD10 guest VM with no graphics | Views : 949 | Replies : 0

Top
 Post subject: KVM virt-install could not open disk image FreeBSD-10.0-RC4-amd64-disc1.iso: Permission denied
PostPosted: Wed Jan 29, 2014 11:04 am 
This error is because of SELinux. Move the FreeBSD ISO under /var/lib/libvirt/images/ and it will go away.

Read more : KVM virt-install could not open disk image FreeBSD-10.0-RC4-amd64-disc1.iso: Permission denied | Views : 852 | Replies : 0

Top
 [ Total topics 12 Go to page 1, 2


Last 10 active topics


Shell Scripting and Programming

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
No new posts Shell scripting
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
No new posts JUNOS BGP: How to drain a BGP peering router gracefully without bgp session reset
View the latest post

TCP/IP Networking

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

Memory, Storage, Backup and Filesystems

No new posts FreeBSD: List disk drives and re-scan after adding hot-add disk (in virtual environments)
View the latest post

Apache, Nginx, Lighttpd and other web server software

No new posts NGINX: 413 Request Entity Too Large
View the latest post

System administration

No new posts MAC OS X: read image/jpeg EXIF information on command line
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 612 | Total topics 982 | 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