OVS 2.2 :: Unable to install RHEL HVM on physical disk from command line

[root@ovs2 xen]# /usr/sbin/virt-install hvm name=test2 ram=1024 vcpus=1 bridge=xenbr0 file /dev/sdc --nographics
What would you like to use for the virtual CD image? /var/ovs/mount/1FB2E6B36D21418792A1DD30B62C689F/iso_pool/rhel-server-5.6-x86_64-dvd.iso
Starting install...
Guest installation complete... restarting guest.
exception was: Domain named test2 already exists!
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'xm create -c test2'; otherwise, please
restart your installation.
[root@ovs2 xen]# more test2
# Automatically generated xen config file
name = "test2"
builder = "hvm"
memory = "1024"
disk = [ 'phy:/dev/sdc,hda,w', ]
vif = [ 'type=ioemu, mac=00:16:3e:3d:d0:5c, bridge=xenbr0', ]
uuid = "f99f6a07-6d03-a0ae-8f2f-a7a0e1af5e31"
device_model = "/usr/lib/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
nographic=1
timer_mode=0
apic=1
acpi=1
pae=1
vcpus=1
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'
[root@ovs2 xen]# xm console test2
xenconsole: Could not read tty from store: No such file or directory
[root@ovs2 xen]#
+ No errors in xend.log or qemu-*.log
+ hypervisor inittab is default .. co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav
Using similar syntax, and installing paravirtualized guest to physical disk works fine.
[root@ovs2 xen]# /usr/sbin/virt-install paravirt name=demo3 ram=1024 vcpus=2 bridge=xenbr0 file=/dev/sdc nographics location=http://192.168.229.74/RHEL5764bit
Starting install...
Bootdata ok (command line is method=http://192.168.229.74/RHEL5764bit )
Linux version 2.6.18-238.el5xen ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Sun Dec 19 14:42:02 EST 2010
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000040800000 (usable)
No mptable found.
Built 1 zonelists. Total pages: 264192
Kernel command line: method=http://192.168.229.74/RHEL5764bit ...................................
Any suggestions ??

and i go to the temp mountpoint that the script will mount on
Starting install...
ERROR: Invalid NFS location given: [Errno 2] No such file or directory: '/var/lib/xen/xennfs.7x4Rf4/boot/x86_64/vmlinuz-xen'
[root@ovs2 opt1]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p2 3050092 3033308 0 100% /
/dev/cciss/c0d0p1 101086 47114 48753 50% /boot
tmpfs 288856 0 288856 0% /dev/shm
none 288768 40 288728 1% /var/lib/xenstored
/dev/cciss/c0d0p3 288623616 301056 288322560 1% /var/ovs/mount/A52CB661C1CF41D198D50F6379822694
/var/isos/OracleLinux-R5-U7-Server-x86_64-dvd.iso
3755446 3755446 0 100% /el/EL5-x86
192.168.229.110:/el/EL5-x86
3755456 3755456 0 100% /opt1
192.168.229.110:/el/EL5-x86/
3755456 3755456 0 100% /var/lib/xen/xennfs.NnE54I
[root@ovs2 opt1]# cd /var/lib/xen/xen
xend-db/ xennfs.7jHT0q/ xennfs.fQNnQD/ xennfs.LR6hDx/ xennfs.QnxyeH/
xennfs.5Pr0vm/ xennfs.8aMSAA/ xennfs.fRhXiN/ xennfs.NnE54I/ xennfs.yEw4KL/
[root@ovs2 opt1]# cd /var/lib/xen/xen
xend-db/ xennfs.7jHT0q/ xennfs.fQNnQD/ xennfs.LR6hDx/ xennfs.QnxyeH/
xennfs.5Pr0vm/ xennfs.8aMSAA/ xennfs.fRhXiN/ xennfs.NnE54I/ xennfs.yEw4KL/
[root@ovs2 opt1]# cd /var/lib/xen/xennfs.NnE54I/
[root@ovs2 xennfs.NnE54I]# ls
blafdoc.css EULA GPL README-en RELEASE-NOTES-en.html Server VT
Cluster eula.en_US images README-en.html RPM-GPG-KEY supportinfo
ClusterStorage eula.py isolinux RELEASE-NOTES-en RPM-GPG-KEY-oracle TRANS.TBL
[root@ovs2 xennfs.NnE54I]# find . -name vmlinuz\*
./images/pxeboot/vmlinuz
./images/xen/vmlinuz
./isolinux/vmlinuz
[root@ovs2 xennfs.NnE54I]#

Similar Messages

  • Install Adobe Air application (.air file) from command line in Mac OS X

    Hello everybody
    I would like to install an air application on many systems (Mac OS X) using remote install. Is there a way to achieve this?
    Is there a pure command line utility to install Adobe AIR applications (.air files) in Mac OS X?
    Thanks. Masteradi

    Thanks for your reply. I already knew that command but it's good to see it again.
    In the meantime I have found a tool called ARH (AIR Redistribution Helper) which can be used to install an air application, uninstall an air application, etc.
    Now I would like to create a .pkg file (for Mac OS X) that will use ARH together with my .air file and that will install or update (uninstall/install) the application. But I guess this is no more an issue for Adobe AIR. I have to learn the tools specific for Mac (Iceberg, Xcode).
    Best regards
    Masteradi

  • Unable to determine Physical Disk from the VM manager : 3.2.1

    Unable to determine Physical Disk from the VM manager :
    OVM manager : 3.2.1.516
    VM Server : Available disks on vm server
    # fdisk -l
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sda1 1 13 104391 83 Linux
    /dev/sda2 14 405 3148740 83 Linux
    /dev/sda3 406 536 1052257+ 82 Linux swap / Solaris
    Disk /dev/sdb: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 13 104391 83 Linux
    /dev/sdb2 14 9328 74822737+ 83 Linux
    /dev/sdb3 9329 9459 1052257+ 82 Linux swap / Solaris
    Disk /dev/dm-0: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    /dev/dm-0p1 * 1 13 104391 83 Linux
    /dev/dm-0p2 14 9328 74822737+ 83 Linux
    /dev/dm-0p3 9329 9459 1052257+ 82 Linux swap / Solaris
    Disk /dev/dm-1: 106 MB, 106896384 bytes
    255 heads, 63 sectors/track, 12 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Device Boot Start End Blocks Id System
    Disk /dev/dm-2: 76.6 GB, 76618483200 bytes
    255 heads, 63 sectors/track, 9315 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk /dev/dm-2 doesn't contain a valid partition table
    Disk /dev/dm-3: 1077 MB, 1077511680 bytes
    255 heads, 63 sectors/track, 131 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk /dev/dm-3 doesn't contain a valid partition table
    #

    thanks for your prompt response.
    I am aware of that we can't use any free spaces where the VM is installed.Hence the additional storage added to the server.
    1. Install VM Server on 80GB HD ( /dev/sdb)
    2. Later, i added 500GB to the storage ( no installation - just the disk ) ( /dev/sda)
    Same configuration worked fine in 3.0, now i am not able to identified the additional disk which was added later with 3.2.1.

  • How to install msmq on server 2012 r2 by command line

    Is it possible to install msmq on server 2012 r2 by command line?

    Hi Skylerjcollins,
    Agree with Stacy, you can refer to the script below: 
    #List the related features with "Name" and "Display Name"
    Get-WindowsFeature "*msmq*"
    #Install the features with the names get from above cmdlet
    Install-WindowsFeature -Name "FeatureName"
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Unable to build and run Javapetstore using  Sun SDK from Command Line

    Hi,
    Here is a problem I?ve come across building and running JavaPetstore from Command Line using Ant.
    It shows that Build is successful but there is an error message in very beginning:
    ?Unable to locate tools. jar. Expected to find it in C:\Program Files\Java\jre 1.5.0_11\lib\tools.jar?
    But there is no such a file in jre-1.5.0_11 or previous versions.
    The only place where the file with such name can be found is jdk\lib.
    All attempts to run end up with:
    ? BUILD FAILED.
    C:\<PETSTORE_HOME>\bp-project\command-line-ant-task.xml:77;unable to find javac compiler;com.sun.tools.javac.Main is not on the class path.
    Perhaps JAVA_HOME does not point to JDK."
    Directories C:\Sun\SDK\bin and C:\Sun\SDK\jdk are in the PATH.
    JAVA_HOME as a System variable is set up to C:\Sun\SDK\jdk.
    Building and running other applications like a BluePrints or Samples bring to same result.
    I will post more information if needed.
    Thank you in advance for help.

    If you are using Windows XP:
    1. Right click on my computer
    2. Select Properties from the popup dialog
    3. Click on the "Advanced" tab
    4. Click the button towards the bottom that says "Environment Variables"
    5. In the dialog that pops up, look in both the User variables and the System variables for a variable named CLASSPATH
    6. If its not there, you need to create it. If you want to make it available to all users of your computer, create it as a System variable. If you only want it to be available to the current user, add it as a User variable.
    7. If it is there, or if you just created it, it needs to contain the following values: the current directory (symbolically abbreviated as a period: "."), any class libraries you want to be available to the java compiler (javac) or the java interpreter (java). By default, jre/lib and jre/lib/ext are searched for classes, so you don't need to include anything located in one of these folders on the classpath.

  • Install and setup FTP in Windows 7 from command line

    Hi
    I want to do the following things from command line in Windows 7.
    1. Enable IIS and FTP. The command in the following link installs only the IIS: http://www.iis.net/learn/install/installing-iis-7/installing-iis-from-the-command-line
    2. Create ftp site and edit bindings as well
    Thanks,
    Lina :)

    You are looking for this information
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/dc4fcf93-8268-44f4-822a-d463d9443f6c/windows-7-and-server-2003-printer-server-issues?forum=winserverprint
    Alan Morris Windows Printing Team

  • Unable to restart the Microsoft Software Protection Platform service from command line - Win81 MS Office 2013 SP1

    I'm unable to restart the Microsoft Software Protection Platform service on a Windows 8.1 laptop for MS Office 2013 SP1 (32-bit) using the following command:
    cscript ospp.vbs /osppsvcrestart (issued from C:\Program Files (x86)\Microsoft Office\Office15)
    When this is run, a window appears with the title ospp.vbs and the text "Error: The Software Protection Platform service is not installed"
    I verified that the service is installed in services.msc, and was able to manually stop and restart the SPP service in the Services console without issue.
    The command runs correctly when restarting the MS Office 2013 SPP on Windows 7 devices.
    Has anyone else seen this or have a solution for it?
    The reason that I am attempting to restart the service from the command line is because this command is part of a script to change the KMS server IP Address used by OSPP prior to software activation.
    The only other options that I have at this time is to ask the users to reboot, or manually force a reboot.  This is both time consuming and disruptive to the users.
    The Fix It tool to remove MS Office 2013 was run, and the MS Office 2013 software was successfully reinstalled after a reboot.  The software was successfully activated.  When the command was run, it produced the same exact error.

    Hi,
    I am able to reproduce this on my own machine, but in my case, I don't see the specific service running in the Services console. 
    I would like first confirm that whether you've the right service running on your Windows 8.1 system. The display name of this service should be "Office Software Protection Platform", service name is "osppsvc".
    You can also check this by going to below path where you should see the executable file (OSPPSVC.EXE) if the service is installed on your system (in my case, the folder is empty):
    C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Running mxmlc from command line - unable to open file

    Hello all,
    Just tried to get Flex up and running - but have run into
    probably a simple problem. Here's the scenario:
    1. I've put the flex 2.0 installation folder on my C drive
    such that the path is c:\flex_sdk_2
    2. I've set my system path to reference the the mxmlc with
    c:\flex_sdk_2\bin
    3. I've set up a folder on my desktop for my flex programs,
    creatively called 'flex'
    4. From my command line I use 'xmxlc --strict=true
    --file-specs filename.mxml'
    My output is this:
    Loading configuration file <etc>
    Error: unable to open filename.mxml
    As I said before, probably an easy fix but thought I'd put
    something up to see if anybody knew an answer off the top of their
    head? I'm running Windows XP. Home Edition, V. 2002 if it helps.
    Many thanks!
    Shannan

    Nevermind, figured it out. My files had the .txt appended to
    the end of the file-name.
    *der*

  • Install .app from command line?

    How do I install a .app from the command line?
    Yes, I know that if the .app is a directory, I can just copy it.  That seems to work fine for Google Chrome and Firefox.  However, now I want to script the install of Adobe Flash Player.  It's a directory, but just copying it won't work... something in the execution of the installer fires off another installer inside the .app to install the plugin.  I can get a little creative, manually figure this out, do some copying and moving and deleting and use installer to install the plugin... but the next time I need to do this with a different package, or if Adobe changes the contants of Flash Player, I'll be back to square one.  I'd like to know how to kick off this install with the same results as double-clicking it in Finder.

    friends: i have a similar problem. i want to try and install final cut pro HD 4.5 on my macbook air 11 inch. it is running great on my other macbook air 11 inch but when i bought another macbook air 11 inch (newer model) it came with OS X 10.7.2 which does not support powerpc as you know. but i have heard that sometimes it is just the installer that needs the powerpc so i am trying to install it via terminal. the problem is, i do not know how to configure my string properly. when i drop the .app into the terminal window i get this location:
    /Users/mycomputername/Desktop/Final\ Cut\ Pro\ HD.app
    and i was using variations of this:
    sudo installer -package /Users/mycomputername/Desktop/Final\ Cut\ Pro\ HD.app -target /
    try not to laugh, i am not a coder, just trying to get my computer to run this program that i love. the new FCP is too expensive and i don't even like it. thanks so much for your help!

  • Fresh install (2012/11/01): Not reaching the command line after boot

    Hi
    I just installed the latest 2012/11/01 base + base-devel Arch, but after booting in. the process stopped at the point were the last messages from the kernel were printed in the console. The boot process never reached the shell command line for logging in. I re-installed, thinking I did something wrong but again I had the same problem. Eventually. I accidentally found that by keying Enter, I could get the shell login request and I could login OK, having a seemingly functional base system. However, the console font I specified in vconsole.conf did not take effect and the halt command would hang, although reboot worked OK.
    I have of course little experience with systemd, but I get the feeling the all this is due to systemd not running properly. I read whatever documentation I found relevant but since there is so much of it, I believe I must have missed the relevant info.
    Please help me to get my new install run properly and please clarify whether  have to explicitely enable systemd after completing the official installation instructions.
    My thanks in advance.

    neok wrote:please clarify whether  have to explicitely enable systemd after completing the official installation instructions.
    Read this news item.
    https://www.archlinux.org/news/systemd- … allations/
    neok wrote:the console font I specified in vconsole.conf did not take effect
    Please always post your configuration files if you reference them.
    neok wrote:the halt command would hang
    The halt command does not turn off your computer. The "poweroff" command does.
    Writing "systemctl poweroff" is not necessary, as /sbin/poweroff is a link to systemctl poweroff.
    Last but not least search for suspicous lines in the log files. You can read them with this command.
    $ journalctl

  • I am unable to Install windows xp with recovery disks.

    I have a Toshiba’s Satellite Pro S300-10J laptop Model#PSSB0E-02H00FDU. Some days back its operating system got corrupted. I have its recovery disks(windows Xp)  and now I am trying to reinstall the windows by using recovery disks but unable to do so. Actually when I insert disk 1 it start installation process and then prompt for 2nd disk and when I insert 2nd disk it starts unpacking software image process. At the end it shows a pop up box with the following information.
    Info:
                    Done(Files:28339/28339 Folders: 2558/2558).
                    Please remove the recovery medium!
                                                    |OK|
    As I remove the 2nd disk and press ok and then exit it goes shut down instead of rebooting. When I press power button to on it then it goes stuck on windows startup with a message of please wait .
    Please support that how can I get rid of this situation and can restore operating system with recovery disk.

    I made another attempt but nothing goes productive.
    One thing is clear that the recovery disks are ok because a few months back I used same disks to refresh my notebook and did it without any error.
    There might be a chance of bios setting because in my absence my sister and her friend tried to install windows and I doubt her friend made some changes in bios but she says that she didn’t made any change except boot priority and during installation got the error.
    I have already rest the bios setting to default and in SATA CONTROLLER MODE I changed it from AHCI into IDE.
    With recovery disks of XP Installation starts and after image loading it doesn’t restart just goes shut down and upon restarting just stop responding/hang up on startup.
    I tried with another CD of XP and during installation when system restarts setup continues on ‘INSTALLING WINDOWS’ with the message that ‘Setup will complete in approximately 35 minutes ‘Installing devices’ and at this stage it hanged up. Finally it shows blue screen with an error like
    Technical Information
    STOP: 0X000000F4 (0X0000003,0X89936670,0X899367E4,0X805D1142)
    Beginning dump of physical memory.
    On several attempts the result remains same.
    Need your valuable advice please..

  • Unable to install Lion. Installer says disk is used for Time Machine backups. But it's my Mac's HD.

    On attempt to install Lion from CD, the installer says: "Mac OSX cannot be installed on "Macintosh HD". This disk is used for Time Machine backups."
    I have an external drive that I've been using for Time Machine backups, but it stopped functioning recently and I have not replaced it.
    Is there a workaround?
    Thx in advance. Bryant

    Maybe this http://support.apple.com/kb/TS2986 can help you.
    Stefan

  • Unable to install SP1 after reinstalling windows 7 from recovery disks from onekey revoery

    Windows shows as activated but updates do not work, cannot install SP1 from download gives a critcal error.

    hi Hozby,
    Welcome to the Lenovo Forums.
    Are you trying to install Windows 7 SP1 via the Windows Update? If you do and you get an error using this method, try to:
    1. Check this Windows 7 Service Pack 1 Article
    2. Run the Windows 7 SP1 Disk Cleanup Tool
    2. Download and install Windows 7 SP1 from a Standalone Installer (see details below)
    For Windows 7 64bit:
    windows6.1-KB976932-X64.exe  - 903.2 MB
    For Windows 7 32bit:
    windows6.1-KB976932-X86.exe - 537.8 MB
    Let me know your findings.
    Cheers
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Unable to install/upgrade/update two purchased apps from App store.

    An iOS newbie question. I hope it is not one of those malware attacks my client ran into too!
    He currently has two installed iOS programs on his iPhone 4S that have updates:
    Zillow Real Estate v5.2 (5/25/2012)
    Faith Comes by Hearing v1.9.2 (5/25/2012)
    However, both have/show greyed out "Installing" button that last forever. How does one fix this?
    FYI, this iPhone 4S is not jail broken. Thank you in advance.

    First, before you make yourself look even more foolish, is the fact that we're users here, NOT APPLE.  This is a USER TO USER technical support forum.  You're not addressing apple here, just making yourself look shall we say, not smart.
    Feedback to apple goes here: http://www.apple.com/support/iphone.html
    Second, did you bother to Google 0xE800801C error, or to look this up on Apple's support site?  In less than 10 seconds of searching, I have come up with multiple helpful articles.
    Good things truly come to those who help themselves.

  • Unable to install mountain lion...disk error??

    Guys..is there any way to skip this mountain lion installation? i dont understand why i got
    this disk error message when i tried to upgrade in Mountain Lion even though my MBP 2011 LION is OK.
    I need your expertise here..Please!! Thank you!! :(

    Just quit the installer - you should be able to do that. There should be a file still in your Applications folder named "Install OS X Mountain Lion.app". Just leave it alone for a moment. Then download Lion DiskMaker and make a bootable USB install flash drive and/or DVD.
    Then start up using your Recovery partition (Command and R keys held down on boot) and select Disk Utility and verify and, if need, repair your disk. Reboot and try installing Mountain Lion using your USB installer. Everything should work fine - unless there are errors found on your disk that can't be repaired.
    Good luck,
    Clinton

Maybe you are looking for

  • When a Program Won't Open?

    I was using Canon's Digital Photo Professional when it told me an error occurred and it needed to shut down. Now DPP won't open for me. I bounces on the dock but never shows up. I've restarted the machine with no luck then shut it down for the night.

  • When i connect my ipad to my computer via usb, the latest version of itunes states that the mobile version cannot be started because of an unknown error

    i have just downloaded and installed the latest version of itunes.  Now when i connect my ipad to my computer via USB, itunes states that the apple mobile device service cannot be started because of an unknown error (1058).  The connection worked fin

  • SDM not working after upgrade to SP12

    I have just upgraded my Netweaver from SP9 to SP12. After doing the upgrade, SDM no longer runs and attempting to manually start it also fails. A colleague of mine who also installed SP12 has the same problem. Any suggestions? Walter

  • Search functionality in portal

    Hi, We are implementing SAP EP 7.0 for our customer...this portal is only for top level management which contain only BW(3.5) reports as iviews ...these iviews are developed using Visual Composer and some of them are standard business packages(like s

  • Missing Descritpor for One to One Mapping

    Hi, I have a one to one mapping from an Object A to Object B. When I execute the code, I get an exception as given below. Has any one encountered the same problem ? Appreciate your help. Thanks Priya Local Exception Stack: Exception [TOPLINK-7009] (O