OpenSuseを入れてみた。
デフォルトで準仮想化SCSIアダプタとVMXNET3が使える。
インストール時にもきちんと認識してくれるので大変楽w
パッケージ管理がYastの他は、RPMだしあまりCentOSやSLと
変わりがないように思います。
12.1ですね。
# cat /etc/SuSE-release openSUSE 12.1 (x86_64) VERSION = 12.1 CODENAME = Asparagus
特に何も選択しなければ、デスクトップ向け?Kernelがインストールされる
# uname -a Linux linux-m8zv 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
3.1系です。
Kernelモジュールに組み込まれています。
# cat /boot/config-3.1.0-1.2-desktop CONFIG_VMWARE_BALLOON=m CONFIG_VMWARE_PVSCSI=m CONFIG_VMXNET3=m
当たり前。。。。
モジュール
# ll /lib/modules/3.1.0-1.2-desktop/weak-updates/updates/ 合計 0 lrwxrwxrwx 1 root root 49 3月 9 21:32 vmblock.ko -> /lib/modules/3.1.0-1.1-desktop/updates/vmblock.ko lrwxrwxrwx 1 root root 46 3月 9 21:32 vmci.ko -> /lib/modules/3.1.0-1.1-desktop/updates/vmci.ko lrwxrwxrwx 1 root root 48 3月 9 21:32 vmhgfs.ko -> /lib/modules/3.1.0-1.1-desktop/updates/vmhgfs.ko lrwxrwxrwx 1 root root 48 3月 9 21:32 vmsync.ko -> /lib/modules/3.1.0-1.1-desktop/updates/vmsync.ko lrwxrwxrwx 1 root root 48 3月 9 21:32 vmxnet.ko -> /lib/modules/3.1.0-1.1-desktop/updates/vmxnet.ko lrwxrwxrwx 1 root root 47 3月 9 21:32 vsock.ko -> /lib/modules/3.1.0-1.1-desktop/updates/vsock.ko
ほうほう
ちなみに、Hyper-Vです。
こちらもモジュールが組み込まれています。
CONFIG_HYPERV=m CONFIG_HYPERV_STORAGE=m CONFIG_HYPERV_NET=m CONFIG_HYPERV_UTILS=m CONFIG_HYPERV_MOUSE=m
なので、Hyper-Vもインストールから準仮想化デバイスが使える。
まだStaggingにいます。
# ll /lib/modules/3.1.0-1.2-desktop/kernel/drivers/staging/hv 合計 160 -rw-r--r-- 1 root root 12120 11月 5 21:25 hv_mouse.ko -rw-r--r-- 1 root root 40696 11月 5 21:25 hv_netvsc.ko -rw-r--r-- 1 root root 24384 11月 5 21:25 hv_storvsc.ko -rw-r--r-- 1 root root 6752 11月 5 21:25 hv_timesource.ko -rw-r--r-- 1 root root 15152 11月 5 21:25 hv_utils.ko -rw-r--r-- 1 root root 58864 11月 5 21:25 hv_vmbus.ko
早く抜けるといいですね。
デフォルトで読み込まれているモジュール一覧
# lsmod Module Size Used by ip6t_LOG 17095 6 xt_tcpudp 12924 6 xt_pkttype 12504 3 ipt_LOG 13040 6 xt_limit 12711 12 af_packet 35338 0 ip6t_REJECT 12974 3 nf_conntrack_ipv6 14349 3 nf_defrag_ipv6 18438 1 nf_conntrack_ipv6 ip6table_raw 12683 1 xt_NOTRACK 12504 4 ipt_REJECT 12576 3 iptable_raw 12678 1 iptable_filter 12810 1 ip6table_mangle 12740 0 nf_conntrack_netbios_ns 12665 0 nf_conntrack_broadcast 12589 1 nf_conntrack_netbios_ns nf_conntrack_ipv4 14783 3 nf_defrag_ipv4 12729 1 nf_conntrack_ipv4 ip_tables 27717 2 iptable_raw,iptable_filter xt_conntrack 12760 6 nf_conntrack 96202 6 nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_broadcast,nf_conntrack_ipv4,xt_conntrack vmsync 13068 0 ip6table_filter 12815 1 vmblock 22807 1 ip6_tables 27864 4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter x_tables 34102 16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables mperf 12667 0 ppdev 17718 0 parport_pc 37537 0 parport 46528 2 ppdev,parport_pc floppy 74461 0 vmw_balloon 13593 0 pcspkr 12702 0 sr_mod 22464 0 cdrom 47994 1 sr_mod dm_mod 92333 0 vmxnet3 50518 0 shpchp 37277 0 pci_hotplug 39709 1 shpchp button 13949 0 vmci 91371 0 i2c_piix4 13828 0 container 12839 0 ac 13055 0 sg 36561 0 autofs4 43290 2 processor 45192 0 thermal_sys 25017 1 processor ata_generic 12937 0 vmw_pvscsi 27418 2
他のディストリと比べて多いです。
勝手にopen-vmware-toolsが入ってくれますw
# rpm -qa |grep vm lvm2-2.02.84-19.1.3.x86_64 libvmtools0-8.8.0-2.1.2.x86_64 open-vm-tools-8.8.0-2.1.2.x86_64 vmware-guest-kmp-desktop-8.8.0_k3.1.0_1.1-2.1.2.x86_64
「vmware-guest-kmp-desktop」と「open-vm-tools」
の違いってなんだろう。。。
詳細見てみる
# rpm -qi vmware-guest-kmp-desktop Name : vmware-guest-kmp-desktop Version : 8.8.0_k3.1.0_1.1 Release : 2.1.2 Architecture: x86_64 Install Date: 2012年03月09日 21時32分03秒 Group : System/Emulators/PC Size : 394704 License : BSD3c ; GPLv2 ; LGPLv2.1 Signature : RSA/SHA256, 2011年10月30日 09時25分53秒, Key ID b88b2fd43dbdc284 Source RPM : open-vm-tools-8.8.0-2.1.2.src.rpm Build Date : 2011年10月30日 09時23分13秒 Build Host : build06 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : http://open-vm-tools.sourceforge.net/ Summary : Open Virtual Machine Tools Description : Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools. They are a set of guest operating system virtualization components that enhance performance and user experience of virtual machines. As virtualization technology rapidly becomes mainstream, each virtualization solution provider implements their own set of tools and utilities to supplement the guest virtual machine. However, most of the implementations are proprietary and are tied to a specific virtualization platform. With the Open Virtual Machine Tools project, we are hoping to solve this and other related problems. The tools are currently composed of kernel modules for Linux and user-space programs for all VMware supported Unix-like guest operating systems. They provide several useful functions like: * File transfer between a host and guest * Improved memory management and network performance under virtualization * General mechanisms and protocols for communication between host and guests and from guest to guest Distribution: openSUSE 12.1
# rpm -qi open-vm-tools Name : open-vm-tools Version : 8.8.0 Release : 2.1.2 Architecture: x86_64 Install Date: 2012年03月09日 21時32分11秒 Group : System/Emulators/PC Size : 679391 License : BSD3c ; GPLv2 ; LGPLv2.1 Signature : RSA/SHA256, 2011年10月30日 09時25分52秒, Key ID b88b2fd43dbdc284 Source RPM : open-vm-tools-8.8.0-2.1.2.src.rpm Build Date : 2011年10月30日 09時23分13秒 Build Host : build06 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : http://open-vm-tools.sourceforge.net/ Summary : Open Virtual Machine Tools Description : Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools. They are a set of guest operating system virtualization components that enhance performance and user experience of virtual machines. As virtualization technology rapidly becomes mainstream, each virtualization solution provider implements their own set of tools and utilities to supplement the guest virtual machine. However, most of the implementations are proprietary and are tied to a specific virtualization platform. With the Open Virtual Machine Tools project, we are hoping to solve this and other related problems. The tools are currently composed of kernel modules for Linux and user-space programs for all VMware supported Unix-like guest operating systems. They provide several useful functions like: * File transfer between a host and guest * Improved memory management and network performance under virtualization * General mechanisms and protocols for communication between host and guests and from guest to guest Distribution: openSUSE 12.1
同じっぽくね。。。?
デーモンさん
# vmtoolsd -v VMware Tools daemon, version 8.8.0.7539 (build-471268) 純正と比べてちょっと古い? モジュール詳細 # modinfo vmw_pvscsi filename: /lib/modules/3.1.0-1.2-desktop/kernel/drivers/scsi/vmw_pvscsi.ko version: 1.0.1.0-k license: GPL author: VMware, Inc. description: VMware PVSCSI driver srcversion: 72BD3D9B625D2165C9230EE alias: pci:v000015ADd000007C0sv*sd*bc*sc*i* depends: vermagic: 3.1.0-1.2-desktop SMP preempt mod_unload modversions parm: ring_pages:Number of pages per req/cmp ring - (default=8) (int) parm: msg_ring_pages:Number of pages for the msg ring - (default=1) (int) parm: cmd_per_lun:Maximum commands per lun - (default=(32 * (((1UL) << 12) / sizeof(struct PVSCSIRingReqDesc)))) (int) parm: disable_msi:Disable MSI use in driver - (default=0) (bool) parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool) parm: use_msg:Use msg ring when available - (default=1) (bool)
# modinfo vmci filename: /lib/modules/3.1.0-1.2-desktop/weak-updates/updates/vmci.ko supported: external license: GPL v2 version: 9.1.18.0 description: VMware Virtual Machine Communication Interface (VMCI). author: VMware, Inc. srcversion: 6595324D70364E51E6540AC alias: pci:v000015ADd00000740sv*sd*bc*sc*i* depends: vermagic: 3.1.0-1.1-desktop SMP preempt mod_unload modversions parm: disable_host:Disable driver host personality - (default=0) (bool) parm: disable_guest:Disable driver guest personality - (default=0) (bool) parm: disable_msi:Disable MSI use in driver - (default=0) (bool) parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)
# modinfo vmxnet3 filename: /lib/modules/3.1.0-1.2-desktop/kernel/drivers/net/vmxnet3/vmxnet3.ko version: 1.1.18.0-k license: GPL v2 description: VMware vmxnet3 virtual NIC driver author: VMware, Inc. srcversion: B60355E95E2485E62A6FC6F alias: pci:v000015ADd000007B0sv*sd*bc*sc*i* depends: vermagic: 3.1.0-1.2-desktop SMP preempt mod_unload modversions
# modinfo vmblock filename: /lib/modules/3.1.0-1.2-desktop/weak-updates/updates/vmblock.ko supported: external version: 1.1.2.0 license: GPL v2 description: VMware Blocking File System author: VMware, Inc. srcversion: DB510DDBA5985523980B171 depends: vermagic: 3.1.0-1.1-desktop SMP preempt mod_unload modversions parm: root:The directory the file system redirects to. (charp)
# modinfo vmsync filename: /lib/modules/3.1.0-1.2-desktop/weak-updates/updates/vmsync.ko supported: external license: GPL v2 version: 1.1.0.1 description: VMware Sync Driver author: VMware, Inc. srcversion: 7F2013F5B03A6D78AA5AA5F depends: vermagic: 3.1.0-1.1-desktop SMP preempt mod_unload modversions
# modinfo vmw_balloon filename: /lib/modules/3.1.0-1.2-desktop/kernel/drivers/misc/vmw_balloon.ko license: GPL alias: vmware_vmmemctl alias: dmi:*:svnVMware*:* version: 1.2.1.3-k description: VMware Memory Control (Balloon) Driver author: VMware, Inc. srcversion: 31DDFD3FC4BAEE238C2B19D depends: vermagic: 3.1.0-1.2-desktop SMP preempt mod_unload modversions
ちょっとバージョンが古いので、
純正VMware-toolsを入れたほうがいい?
ハードウェア関係
# lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) 00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10) 00:0f.0 VGA compatible controller: VMware SVGA II Adapter 00:11.0 PCI bridge: VMware PCI bridge (rev 02) 00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01) 00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01) 03:00.0 Serial Attached SCSI controller: VMware PVSCSI SCSI Controller (rev 02) 0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
このあたりは、他のディストリと同じです。
サービス一覧
# chkconfig -l Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. SuSEfirewall2_init 0:off 1:off 2:off 3:on 4:off 5:on 6:off SuSEfirewall2_setup 0:off 1:off 2:off 3:on 4:off 5:on 6:off after.local 0:off 1:off 2:off 3:off 4:off 5:off 6:off autofs 0:off 1:off 2:off 3:off 4:off 5:off 6:off autoyast 0:off 1:off 2:off 3:off 4:off 5:off 6:off before.local 0:off 1:off 2:off 3:off 4:off 5:off 6:off canna 0:off 1:off 2:off 3:on 4:off 5:on 6:off cpufreq 0:off 1:off 2:on 3:on 4:off 5:on 6:off cron 0:off 1:off 2:on 3:on 4:off 5:on 6:off dbus 0:off 1:off 2:on 3:on 4:off 5:on 6:off earlysyslog 0:off 1:off 2:on 3:on 4:off 5:on 6:off fbset 0:off 1:on 2:on 3:on 4:off 5:on 6:off haveged 0:off 1:off 2:on 3:on 4:off 5:on 6:off kbd 0:off 1:on 2:on 3:on 4:off 5:on 6:off S:on kexec 0:off 1:off 2:off 3:off 4:off 5:off 6:off mdadmd 0:off 1:off 2:off 3:off 4:off 5:off 6:off multipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:off network 0:off 1:off 2:off 3:on 4:off 5:on 6:off network-remotefs 0:off 1:off 2:off 3:on 4:off 5:on 6:off nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off nscd 0:off 1:off 2:off 3:on 4:off 5:on 6:off ntp 0:off 1:off 2:off 3:on 4:off 5:on 6:off postfix 0:off 1:off 2:off 3:on 4:off 5:on 6:off powerd 0:off 1:off 2:off 3:off 4:off 5:off 6:off purge-kernels 0:off 1:off 2:off 3:on 4:off 5:on 6:off random 0:off 1:off 2:on 3:on 4:off 5:on 6:off raw 0:off 1:off 2:off 3:off 4:off 5:off 6:off rpcbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off rpmconfigcheck 0:off 1:off 2:off 3:off 4:off 5:off 6:off rsyncd 0:off 1:off 2:off 3:off 4:off 5:off 6:off skeleton.compat 0:off 1:off 2:off 3:off 4:off 5:off 6:off sshd 0:off 1:off 2:off 3:on 4:off 5:on 6:off syslog 0:off 1:off 2:on 3:on 4:off 5:on 6:off vmtoolsd 0:off 1:off 2:off 3:on 4:off 5:on 6:off xinetd 0:off 1:off 2:off 3:off 4:off 5:off 6:off ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off xinetd based services: chargen: off chargen-udp: off daytime: off daytime-udp: off discard: off discard-udp: off echo: off echo-udp: off netstat: off rsync: off servers: off services: off systat: off time: off time-udp: off
CentOSやSLと比べて多いと思う。
CentやSLでYUMを使っていると、Yastに戸惑うかもしれません。
(僕は最初さっぱり分からなかった。。。w)
Kernelが比較的新しいのでESXiやHyerp-Vなどで仮想化するには問題が少なく
ハマることも無いかと思います。
[tegaki]いろんなディストリがあるねぇ[/tegaki]