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

FAQ
It is currently Sun Aug 20, 2017 6:19 pm


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 : 115 | 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 : 192 | 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 : 16959 | 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 : 5222 | 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 : 977 | 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 : 647 | 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 : 755 | 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 : 1406 | 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 : 846 | 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 : 761 | Replies : 0

Top
 [ Total topics 12 Go to page 1, 2


Last 10 active topics


Shell Scripting and Programming

No new posts AWK: How to replace a newline with actual \n
View the latest post
No new posts How to use $variable in conditional sentences?
View the latest post
No new posts Scan IP range using nmap
View the latest post
No new posts Password generator with user inputs bash script
View the latest post

Virtualization

No new posts SSH Login to Vmware ESXi with ssh keys
View the latest post
No new posts How to retrieve Vmware ESXi license from ssh shell command line
View the latest post

TCP/IP Networking

No new posts TCP ack after two packets
View the latest post

Junos Tips & Tricks

No new posts MTR / My traceroute in Junos
View the latest post

VPS Hosting & Security

No new posts Host a gmod server on a vps or shared host?
View the latest post

Juniper virtual MX (vMX)

No new posts Juniper Virtual MX (vMX) 14.2R5.3 Phase 2 (RE and MPC on different VMs)
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 601 | Total topics 970 | Total members 1193



cronNews 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