wiki:TipAndDoc/VM/VMware/Server

Version 20 (modified by mitty, 14 years ago) (diff)

--

VMware Server client

  • VMware Infrastructure ClientでVMware Server 2に接続 ノウハウ(Tips)
    • ESXi 3.5付属のVICのログインウインドウで"IPアドレス/名前"にサーバのIPアドレスやFQDNでなく、下記のようにURLを指定すると、VMware Server 2にも接続できる。
      https://127.0.0.1:8333
      
    • 最後に「/」は付けないこと
  • 4.0付属のvSphere Clientでは別途クライアントサポートファイルが必要な旨のプロンプトが出て接続できない。

install VMware Server 2.0.1 on Ubuntu Hardy (x64)

  • sudo aptitude install -R linux-headers-`uname -r` build-essential
  • sudo mkdir /home/vmware
  • sudo chown USERNAME.GROUPNAME /home/vmware/
  • tar xzf VMware-server-2.0.1-156745.x86_64.tar.gz
  • ~/vmware-server-distrib$ sudo ./vmware-install.pl
    Creating a new VMware Server installer database using the tar4 format.
    
    Installing VMware Server.
    
    (snip)
    
    Please specify a port for remote connections to use [902]
    
    Please specify a port for standard http connections to use [8222]
    
    Please specify a port for secure http (https) connections to use [8333]
    
    The current administrative user for VMware Server  is ''.  Would you like to
    specify a different administrator? [no] yes
    
    Please specify the user whom you wish to be the VMware Server administrator
     <<USERNAME>>
    
    Using <<USERNAME>> as the VMware Server administrator.
    
    In which directory do you want to keep your virtual machine files?
    [/var/lib/vmware/Virtual Machines] /home/vmware/
    
    Please enter your 20-character serial number.
    
    (snip)
    
    Starting VMware services:
       Virtual machine monitor                                             done
       Virtual machine communication interface                             done
       VM communication interface socket family:                           done
       Virtual ethernet                                                    done
       Bridged networking on /dev/vmnet0                                   done
       Host-only networking on /dev/vmnet1 (background)                    done
       DHCP server on /dev/vmnet1                                          done
       Host-only networking on /dev/vmnet8 (background)                    done
       DHCP server on /dev/vmnet8                                          done
       NAT service on /dev/vmnet8                                          done
       VMware Server Authentication Daemon (background)                    done
       Shared Memory Available                                             done
    Starting VMware management services:
       VMware Server Host Agent (background)                               done
       VMware Virtual Infrastructure Web Access
    Starting VMware autostart virtual machines:
       Virtual machines                                                    done
    
    The configuration of VMware Server 2.0.1 build-156745 for Linux for this
    running kernel completed successfully.
    
  • UI with IE8 => attachment:VMServer.png
    • 注: VMware on VMwareの場合、入れ子の中のVMは起動不可なので実用にはならない (ESXiはOKだったかもしれず)

Windows XP guest with SCSI HDD

Autostart with host boot

  • attachment:autoboot.png
    • VMware Serverではゲストの自動起動が可能
    • ホストの起動に合わせた自動起動は可能だが、自動shutdownのやり方は不明(ここでただ設定するだけでは不足?)

vmrun

install VMware Tools to ubuntu on VMware

  • sudo aptitude install -R linux-headers-`uname -r` make gcc
  • sudo mount /dev/cdrom /media/cdrom0/
  • tar -xzf /media/cdrom/VMwareTools-7.8.5-156735.tar.gz
  • ~/vmware-tools-distrib$ sudo ./vmware-install.pl --default

install VMware Tools to CentOS on VMware

  • sudo mount /dev/cdrom /media/
  • sudo rpm -Uhv /media/VMwareTools-7.7.5-156745.i386.rpm
    Before running VMware Tools for the first time, you need to
    configure it for your running kernel by invoking the
    following command: "/usr/bin/vmware-config-tools.pl".
    
  • sudo yum install perl
  • sudo vmware-config-tools.pl --default

cannot copy vmscsi.sys

  • VMへのWindows XPインストールの際、FDDにvmscsi-1.2.0.4.flpをマウントしているのにも関わらず、「vmscsi.sysがコピーできない」旨のエラーメッセージが出ることがある。
  • ServicePackなどを手動で統合したCDで、winnt.sifに特定の記述があるとこのエラーが出る。
  • winnt.sifから「OemPreinstall=Yes」を取り除くことで解決する。

misc

Attachments (4)

Download all attachments as: .zip