Results 1 to 10 of 10

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Aug:2007
    Location: Sofia
    Posts: 36

    VMware Server 2 ESXi 5.0 -

    ,
    :

    VMware Server 2 VMware ESXi 5.0 :

    "Task Details:
    Name: PowerOnVM_Task
    Status: This virtual machine is not configured according to rules specified in /etc/vmware/configrules.

    Description: Power On virtual machine
    Start Time: 04.4.2012 . 18:38:14
    Completed Time: 04.4.2012 . 18:38:17
    State: Error

    Error Stack:
    This virtual machine is not configured according to rules specified in /etc/vmware/configrules.
    Invalid value "/data/VMMIRROR/rescue_system-common-en.iso" for configuration key "ide1:0.fileName". The value was not accepted by rule "Virtual IDE Devices".

    Additional Task Details:
    Host Build: 469512
    Error Type: GenericVmConfigFault
    Task Id: Task
    Cancelable: False
    Cancelled: False
    Description Id: VirtualMachine.powerOn
    Event Chain Id: 1368
    Progress: 100"

    vi -, , .

    VMware, , , .

    .

    --------- 18:59 --------- : 18:51 ---------

    E - configrules:

    ###
    ### File to describe some constraints on what file paths may be used when
    ### powering on a virtual machine.
    ###

    # Basic list to describe some paths no VM device backends should be using.
    rule "No System Files"
    {
    vm regex ".*"

    # General VM paths
    key match "suspend.directory"
    key match "log.fileName"
    key match "redoLogDir"
    key match "workingDir"
    key match "vmx.stdin"
    key match "vmx.stdout"
    key match "vmx.stderr"

    # Serial file backend. 4 devices
    key regex "^serial[0-3]\.fileName$"

    # Parallel file backend. 4 devices
    key regex "^parallel[0-3]\.fileName$"

    # Floppy file backend. 2 devices
    key regex "^floppy[0-1]\.fileName$"

    # IDE device backend. 2 controllers, 2 devices each
    key regex "^ide[0-1]:[0-1]\.fileName$"

    # SCSI device backend. 4 controllers, 16 devices each
    key regex "^scsi[0-3]([0-9])|(1[0-5]))\.name$"
    key regex "^scsi[0-3]([0-9])|(1[0-5]))\.fileName$"

    # Service Console Paths
    reject regex_case "^/bin/?"
    reject regex_case "^/boot/?"
    reject regex_case "^/etc/?"
    reject regex_case "^/home/?"
    reject regex_case "^/initrd/?"
    reject regex_case "^/lib/?"
    reject regex_case "^/mnt/?"
    reject regex_case "^/opt/?"
    reject regex_case "^/proc/?"
    reject regex_case "^/root/?"
    reject regex_case "^/sbin/?"
    reject regex_case "^/tmp/?"
    reject regex_case "^/var/?"

    # VMvisor paths
    reject regex_case "^/altbootbank/?"
    reject regex_case "^/bootbank/?"
    reject regex_case "^/locker/?"
    reject regex_case "^/mod/?"
    reject regex_case "^/productLocker/?"
    reject regex_case "^/scratch/?"
    reject regex_case "^/share/?"
    reject regex_case "^/store/?"
    reject regex_case "^/vmupgrade/?"
    reject regex_case "^/vmfs/volumes/Hypervisor[1-3]"

    # No parent directories in a path component
    reject regex "^(.*/)?\.\.(/.*)?$"
    }


    # Rule to restrict everything under /usr except the virtual media
    rule "No Files Under /usr Except Virtual Media"
    {
    vm regex ".*"

    # General VM paths
    key match "suspend.directory"
    key match "log.fileName"
    key match "redoLogDir"
    key match "workingDir"
    key match "vmx.stdin"
    key match "vmx.stdout"
    key match "vmx.stderr"

    # Serial file backend. 4 devices
    key regex "^serial[0-3]\.fileName$"

    # Parallel file backend. 4 devices
    key regex "^parallel[0-3]\.fileName$"

    # Floppy file backend. 2 devices
    key regex "^floppy[0-1]\.fileName$"

    # IDE device backend. 2 controllers, 2 devices each
    key regex "^ide[0-1]:[0-1]\.fileName$"

    # SCSI device backend. 4 controllers, 16 devices each
    key regex "^scsi[0-3]([0-9])|(1[0-5]))\.name$"
    key regex "^scsi[0-3]([0-9])|(1[0-5]))\.fileName$"

    # Service Console Paths
    accept prefix_case "/usr/lib/vmware/isoimages/"
    accept prefix_case "/usr/lib/vmware/floppies/"
    accept !regex_case "^/usr/"
    }


    # General virtual machine files may only reside on the VMFS volume
    rule "General Virtual Machine Files"
    {
    vm regex ".*"

    # General VM paths
    key match "suspend.directory"
    key match "log.fileName"
    key match "redoLogDir"
    key match "workingDir"
    key match "vmx.stdin"
    key match "vmx.stdout"
    key match "vmx.stderr"

    # Only allow paths under /vmfs/volumes and relative paths
    accept prefix_case "/vmfs/volumes/"
    accept !prefix "/"

    }


    # Virtual IDE devices can point to VMFS volume, raw device, or virtual
    # tools media.
    rule "Virtual IDE Devices"
    {
    vm regex ".*"

    # IDE device backend. 2 controllers, 2 devices each
    key regex "^ide[0-1]:[0-1]\.fileName$"

    # Allow CDROM devices
    accept regex_case "^/dev/cdrom[0-9]*$"
    accept regex_case "^/dev/hd[a-z]$"
    accept regex_case "^/dev/scd[0-9]+$"

    # Only allow paths under /vmfs/, /vmimages, and relative paths
    accept prefix_case "/vmfs/"
    accept prefix_case "/vmimages/"
    accept prefix_case "/usr/lib/vmware/isoimages/"
    accept !prefix "/"

    # Virtual Center sets dummy values
    accept match "/null.iso"
    }


    # Virtual IDE devices can point to VMFS volume, physical floppy device, or
    # virtual tools media.
    rule "Virtual Floppy Device Backend"
    {
    vm regex ".*"

    # Floppy file backend. 2 devices
    key regex "^floppy[0-1]\.fileName$"

    # Under /dev, only allow floppy device backends
    accept regex_case "^/dev/fd[0-9]+$"
    accept prefix_case "/vmfs/volumes/"

    accept prefix_case "/vmimages/"
    accept prefix_case "/usr/lib/vmware/floppies/"
    accept !prefix "/"

    # Virtual Center sets dummy values
    accept match "/null.flp"
    }


    # Under /dev, allow only /dev/ttyS* to be used as serial port backends.
    # Allow files in the VMFS volume.
    rule "Virtual Serial Port Device Backend"
    {
    vm regex ".*"

    # Serial file backend. 4 devices
    key regex "^serial[0-3]\.fileName$"

    # Under /dev, only allow serial port device backends
    accept regex_case "^/dev/ttyS[0-9]+$"
    accept regex_case "^/dev/char/serial/uart[0-9]+$"
    accept regex_case "^/vmfs/devices/char/serial/uart[0-9]+$"
    accept prefix_case "/vmfs/volumes/"
    accept prefix_case "/vmfs/devices/char/vmwire/"
    accept !prefix "/"
    }


    # Under /dev, allow only /dev/parport* to be used as a parallel port backend.
    # Allow files in the VMFS volume.
    rule "Virtual Parallel Port Device Backend"
    {
    vm regex ".*"

    # Parallel file backend. 4 devices
    key regex "^parallel[0-3]\.fileName$"

    # Under /dev, only allow parallel port device backends
    accept regex_case "^/dev/parport[0-9]+$"
    accept prefix_case "/vmfs/volumes/"
    accept !prefix "/"
    }

  2. #2
    Banned
    Join Date: Mar:2008
    Location: ᠌᠌᠌᠌
    Posts: 992
    Vmware Server 2 Vmware Workstation. vmware ESXi .

  3. #3
    The point of no return ifch0's Avatar
    Join Date: Jun:2007
    Location:
    Posts: 3,678
    , ( ), ESXi.

    ( , )
    , , , .
    : ( ) - (); (..) - (..).
    -----! , ...

  4. #4
    Registered User
    Join Date: Aug:2007
    Location: Sofia
    Posts: 36
    Quote Originally Posted by ifch0 View Post
    , ( ), ESXi.

    ( , )
    Kak ? , , ,

  5. #5
    The point of no return ifch0's Avatar
    Join Date: Jun:2007
    Location:
    Posts: 3,678
    , , , .
    : ( ) - (); (..) - (..).
    -----! , ...

  6. #6
    Registered User
    Join Date: Aug:2007
    Location: Sofia
    Posts: 36
    Quote Originally Posted by ifch0 View Post
    . - 5.0 4.0. , vmx , :

    "Unable to obtain hardware information for the selected machine."

    vmx .

    --> http://communities.vmware.com/thread...rt=15&tstart=0

    5.0, :

    "In my case Converter 4.0.1-161434 work fine, last version unable to obtain information of old virtual hardware virtual hardware"

    4.0.1, , . ""Unable to obtain hardware information for the selected machine.", .

    .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |