ܼ

VMware Web IntafaceˤƲۥޥɲäǤʤ

ۥޥκϿ˥ǡȥǰʲΥ顼ȯ롣

The Datastore Browser could not successfully retrieve data from the server.

  • 饦
    [Add Datastore]Ʊΰ򿷤DatastoreȤϿ롣
    ۥޥϿǡȥԤʤ

VMware Web Intaface˥Ǥʤʤ

̤Υɲ̤˿ʤޤʤʤ㳲


  • н
    Web Management InterfaceƵư롣
    ̾ߥץȤǤvmware-hostdʤᡢưɬפ롣
# /etc/init.d/vmware-mgmt stop
Stopping VMware management services:
  VMware Virtual Infrastructure Web Access
  VMware Server Host Agent                                [  OK  ] 

ʾνΤȡvmware-hostdư

# ps ax | grep vmware-hostd
[PID] ?        Ssl    0:05 /usr/lib/vmware/bin/vmware-hostd -a -d -u /etc/vmware/hostd/config.xml
kill [PID]

vmware-hostdȤǧȡٵư롣

# /etc/init.d/vmware-mgmt start 
Starting VMware management services:
  VMware Server Host Agent (background)                   [  OK  ]
  VMware Virtual Infrastructure Web Access

VMwareServerConsoleǥ˱ʤʤ

VMwareServerConsoleǥ󤷤ȡVMwareServerConsoleαʤʤꡢϥ󥰥åפ롣


  • VMwareServer¦TCPåѡǥ¤ߤƤȯ

ۥޥ󤬥󤹤

VMwareServerʲΥϤ졢ۥޥ󤬥󤹤㳲

  • /var/log/vmware/vmware-serverd.log
    app| VMServerd IPC closed the connection with thread  [ۥޥե].vmx (0x86adae8)
    app| Lost connection to  [ۥޥե].vmx ( [ۥޥե].vmx) unexpectedly.
    app| vmdbPipe_Streams Couldn't read: OVL_STATUS_EOF
    app| VMHS: Connection to VM broken: cfg: [ۥޥե].vmx; error: Pipe: Read failed; state: 3
    app| VM suddenly changed state: poweredOff.
    app| VM suddenly changed state: poweredOff.
    app| VM suddenly changed state: poweredOff.
    app| cleanup: cleaned up 1 objects

  • CentOS 5 + VMwareServer 1.xȯ븽ݡ
    CentOS 4.5 + VMwareServer 1.xǤƱͤθݤȯۥޥ3椬ƯδĶˤ2椬󡣡2008/08/29
    CentOS 4.7 + VMwareServer 2.xǤƱͤθݤȯ2008/10/16
    RAIDȥCiprico RAIDCore RC5152-08ˤȽ
    RAIDȥ3Ware 9690SAѹԤäȤܸݤϰȯʤʤä(2008/11/12)
  • к
    кȯǤ(CentOS5VMwareServerѤʤˡб)
  • 饦
    ۥޥŸ븽ݤķǤʤȤ顢饦ɤȤŪ˲ۥޥβư֤ƻ뤷󤷤Ω夲ʤץȤ
  • vmcheck.sh
    ץ鲾ۥޥβƯİץ¸ߤʤvmboot.shѤƲۥޥư롣
    #!/bin/sh
    # ------------------------
    #  VM Bootup Script
    # ------------------------
    # Version : 1.0
    # date    : 2008/10/19
    
    export LANG=C
    export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
    
    ## Set
    VMBOOT=/home/system/scripts/apl/vmware/vmboot.sh
    VMCKLOG=/home/system/logs/vm-check.log
    VMLIST=/home/system/logs/vmlist.txt 
    
    ## Cheack
    
    # CentOS-Web
    VMNAME=CentOS-Web
    ps ax | grep vmx | grep $VMNAME > /dev/null
    if [ $? -eq 1 ]; then
     date +%Y/%m/%d\ %H:%M:%S >> $VMCKLOG
     echo $VMNAME >> $VMCKLOG
     $VMBOOT $VMNAME >> $VMCKLOG 2>&1
     sleep 20
     echo "------------------" >> $VMCKLOG
    fi
    
    exit 0
    # EOF
  • vmlist.sh
    vmware-vim-cmdѤۥޥVMIDΥꥹȤ
    #!/bin/sh
    # ------------------------
    #  VM List Script
    # ------------------------
    # Version : 1.0
    # date    : 2008/10/19
    
    export LANG=C
    export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
    
    ## Set
    VMCMD=/usr/bin/vmware-vim-cmd
    VMLIST=/home/system/logs/vmlist.txt
    
    ## Exec
    
    $VMCMD vmsvc/getallvms > $VMLIST
    
    exit 0
    # EOF
  • vmboot.sh
    vmlist.shϤ줿ꥹȤVMIDϤ줿ۥޥvmware-vim-cmdѤVMư
    #!/bin/sh
    # ------------------------
    #  VM Bootup Script
    # ------------------------
    # Version : 1.0
    # date    : 2008/10/19
    
    export LANG=C
    export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
    
    ## Set
    VMCMD=/usr/bin/vmware-vim-cmd
    VMLIST=/home/system/logs/vmlist.txt
    
    ## Check
    if [ -z $1 ]; then
     echo "ERR : please VM name"
     echo "USE : ./vmboot.sh [VM NAME]" 
     exit 0
    else
     VMNAME=$1
    fi
    
    ## Get vmid
    cat $VMLIST | grep $VMNAME > /dev/null 2>&1
    
    if [ $? -eq 1 ]; then
     echo "ERR:"$VMNAME" - not found "
     exit 0
    fi
    
    ## Bootup
    VMID=`cat $VMLIST | grep $VMNAME`
    
    $VMCMD vmsvc/power.on $VMID
    
    exit 0
    # EOF

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2010-07-01 () 18:08:14 (3894d)