Need commands to fetch Guest VM OS version from Xen and KVM


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Need commands to fetch Guest VM OS version from Xen and KVM
# 1  
Old 07-21-2014
Question Need commands to fetch Guest VM OS version from Xen and KVM

Im looking for the commands that can be executed to fetch the OS Version of the VMs running on the below Hypervisors.
  1. Xen (Not the citrix Xen server, but the Xen Sever hosted on a ubuntu Machine)
  2. KVM
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

KVM/Qemu allocated memory not showing in guest

So we have a RHEL 7.6 workstation with 128 gigs of ram. The OS sees all the ram and 80 cors (40 HT) We have 1 guest with 8 CPUs and 32gigs of ram running RHEL 7.6 workstation as well. We are trying to create another guest with 64 CPUs and 80 gigs of ram. We setup the system using... (0 Replies)
Discussion started by: joeg1484
0 Replies

2. Shell Programming and Scripting

How to Fetch latest version form a file?

Hi, I have a file where versions will be updated, i need to get latest/last updated version from that file. Could you please help? File looks like below - <versions> <version>R20180417.006</version> <version>R20180421.007</version> <version>R20180421.008</version> ... (5 Replies)
Discussion started by: schandra128
5 Replies

3. Red Hat

How to export the KVM based guest VM as template or ovf or some other format ?

Hi All, I am new to the KVM virtualization. I have deployed and configured KVM in one of my server. I am using RHEL 6.5. Also I created the guest VM successfully and installed OS on it. Its up and running without any issues. Is there any way I can export the VM and import it in... (2 Replies)
Discussion started by: kalpeer
2 Replies

4. Red Hat

KVM - VM Guest

Background : - Need to create addition 40G storage for VM guest. 1. I have created new KVM - VM guest on RHEL 5.8 server hosting server. 2. Hosting server has occupied all size with LV and there is not space to create new LV. 3. I tried to achieve this requirement by creating 40G file size and... (1 Reply)
Discussion started by: Nats
1 Replies

5. Red Hat

Kernel version required for installing KVM

Hi friends, I have a created a RHEL 6.4 for installing KVM in Virtual box. My machine is a 64 bit, but virtual box was not allowing to install x86_64 version RHEL. So I had to install 32 bit i686 version of RHEL. The kernel came with the CD was 2.6.32-358.el6.i686. But KVM doesnt support... (2 Replies)
Discussion started by: shyam2j
2 Replies

6. UNIX for Advanced & Expert Users

NFS3 over KVM-Guest don't map UnixACLs

Hi, I have an problem with ACLs over NFS3. The Problem is, when i mount a nfsshare from an KVMguest, the UnixACLs were not mapped too. I don't know why. But this is only when i have the NFSshares on an virtulamachine. When i do the same with ein real machine, ACLs work well. You can see that:... (4 Replies)
Discussion started by: darktux
4 Replies

7. UNIX for Advanced & Expert Users

[Solved] Cannot install KVM guest on CentOS/RedHat

Hi, I've a CentOS Server and I need to create KVM guest machine without X. /usr/sbin/virt-install --name server1 --ram 4000 --vcpus=8 --file=/srv/virtual/server1.img --file-size=20 --cdrom /tmp/server1.iso --mac=52:54:00:fd:48:7c The iso was created with cobbler... So, now the machine is... (5 Replies)
Discussion started by: hiddenshadow
5 Replies

8. Red Hat

Could not see virtual fc in KVM guest OS

Hi All, I have RHEL 5u4 physical system with 2 Qlogic fc cards. It hosts 2 KVM virtual machines which are also running RHEL 5u4 OS. After all these I have created a virutal HBA (refered in google) successfully on the base OS. But the same is not visible to guest OS. My question here is, ... (1 Reply)
Discussion started by: Vichu
1 Replies

9. Virtualization and Cloud Computing

KVM FC12 guest save not working ??

Howdy I am using Fedora12 with KVM, with XP64pro as a guest. Everything seems to be working just fine, BUT I can't Save. When I do instruction KVM to save, I get a continuing Saving display, but it continues for a long time until I finally terminate it due to boredom :) I have let it run for... (0 Replies)
Discussion started by: TJMan
0 Replies

10. Red Hat

Filesystems disappear on KVM guest machine after reboot.

Hello, I have a KVM system running on RHEL 5.4. It hosts 4 guest VMs. One of the guest host fails to get back the mounted filesystems after the system reboots. Does anyone have any idea what the issue could be? Regards, Mahive. (1 Reply)
Discussion started by: mahive
1 Replies
Login or Register to Ask a Question
dtc_write_xenhvm_conf(8)				      System Manager's Manual					  dtc_write_xenhvm_conf(8)

NAME
dtc_write_xenhvm_conf - rewrites the xen startup script with selected params SYNOPSIS
dtc_write_xenhvm_conf VPS_NUMBER MEMORY_SIZE ALL_IP_ADDRESSES VNC_CONSOLE_PASSWORD HOW_TO_BOOT DESCRIPTION
dtc_write_xenhvm_conf This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server. This script generate a Xen startup file with the parameters given to the script. PARAMETERS
Note that ALL parameters are mendatory. VPS_NUMBER has to be a number between 01 and 29 MEMORY_SIZE is the amount of memory in mega bytes that you want to have setup in the Xen startup file for this VPS ALL_IP_ADDRESSES is a list of IPs that you want to be set in the VM's startup file and in the VM's configuration. Note that the IPs have to be separated by spaces, and thus you might want to use single quotes like this: '1.2.3.4 1.2.3.5'. Note that only the first IP will be set in the VM's configuration, but the list will be set in the Xen startup file so you can use the anti-spoofing facilities of Xen if you need it (with untrusted users / unknown customers for example). VNC_CONSOLE_PASSWORD This is the VNC console password that you want to have set-up in the Xen domU configuration file, so that you can con- nect using VNC to the the setup. Note that special value no_vnc can be used to declare that you do not want the VNC console to be used at all. HOW_TO_BOOT This controls what the VPS will use to boot. A special value of hdd can be used to tell dtc_write_xenhvm_conf that you want to boot on the hard drive of the domU. Any other parameters will be used as a .iso file located in /var/lib/dtc-xen/ttyssh_home/xenXX where xenXX equals to the VPS number set in the VPS_NUMBER parameter (see above). Note that whatever is set in this parameter, dtc_write_xenhvm_conf will add as many cdrom devices as it finds .iso files in the /var/lib/dtc-xen/ttyssh_home/xenXX folder. EXAMPLE
The following command: dtc_write_xenhvm_conf 14 512 '1.2.3.4 1.2.3.5' mYvNcPaSs boot.iso will produce this config file in /etc/xen/xen14: kernel = "/usr/lib/xen/boot/hvmloader" builder = 'hvm' memory = 512 name = "xen14${VPSNAME}" vcpus=1 pae=0 acpi=0 apic=0 vif = [ 'type=ioemu, mac=00:00:00:00:00:00, ip=1.2.3.4 1.2.3.5' ] disk=[ 'phy:/dev/mapper/lvm1-xen14,ioemu:hda,w', 'file:/var/lib/dtc-xen/ttyssh_home/xen14/boot.iso,hdb:cdrom,r', 'file:/var/lib/dtc- xen/ttyssh_home/xen14/cd2.iso,hdc:cdrom,r' ] cdrom="/var/lib/dtc-xen/ttyssh_home/xen14/boot.iso" boot="d" vfb = [ "type=vnc,vncdisplay=21,vncpasswd=mYvNcPaSs" ] nographic=0 vnc=1 stdvga=1 serial='pty' Note that the above mac address will be calculated and depend on your node name: it will NOT be like the above example. UPDATES
See http://www.gplhost.com/software-dtc-xen.html for updates. dtc_write_xenhvm_conf(8)