Thursday, January 15, 2015

Cara Melihat Virtual Machine di Xen

Cara melihat sistem operasinya

[root@WWW3 ~]# uname -a
Linux WWW3 2.6.18-238.12.1.el5xen #1 SMP Tue May 31 14:42:29 EDT 2011 i686 i686 i386 GNU/Linux

Cara melihat versinya
[root@WWW3 ~]# cat /etc/redhat-release
CentOS release 5.10 (Final)

Berdasarkan informasi ini, virtual machine menggunakan sistem operasi Xen.

Cara melihat nama-nama virtual yang ada di dalam mesin
[root@WWW3 ~]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0     1447     4 r----- 2510955.0
stargate                                   3      512     1 -b----    269.6

Cara masuk ke salah satu virtual (sebutkan nama virtualnya, misal stargate)
[root@WWW3 ~]# xm console stargate
Login timed out after 60 seconds

CentOS release 5.6 (Final)
Kernel 2.6.18-238.el5xen on an i686

sniper.ristek.go.id login:


Cara mengetahui kernel Proxmox
root@virtual70:~# uname -a
Linux virtual70 2.6.32-19-pve #1 SMP Wed May 15 07:32:52 CEST 2013 x86_64 GNU/Linux

Cara melihat versi Xen Host
[root@WWW3 ~]# xm info
host                   : WWW3
release                : 2.6.18-238.12.1.el5xen
version                : #1 SMP Tue May 31 14:42:29 EDT 2011
machine                : i686
nr_cpus                : 4
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2133
hw_caps                : bfebfbff:2c100000:00000000:00000940:029ee3ff:00000000:00000001
total_memory           : 1984
free_memory            : 0
node_to_cpu            : node0:0-3
xen_major              : 3
xen_minor              : 1
xen_extra              : .2-238.12.1.el5
xen_caps               : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
cc_compile_by          : mockbuild
cc_compile_domain      : centos.org
cc_compile_date        : Tue May 31 13:15:38 EDT 2011
xend_config_format     : 2



No comments:

Post a Comment