Xm create doesn't create required files, when creating vm from ISO file

Greetings,
I've created a virtual machine, but it won't start (blocked).
img file:
/srv/OL-DB2-PRI/OL-DB2-PRI.img
config file:
import os, re
arch = os.uname() [4]
kernel = "hvmloader"
builder='hvm'
memory = 10240
name = "OL-DB2-PRI"
cpus = "" # leave to Xen to pick
vcpus = 4
disk = [ 'file:/srv/OL-DB2-PRI/OL-DB2-PRI.img,xvda,w', 'file:/media/usb/extraISOs/OL6_64_1.iso,xvdc:cdrom,r' ]
vfb = [ 'vnc=1,vnclisten=0.0.0.0,vncdisplay=1,vncpasswd=Welkom_01' ]
root = "/dev/hda1 ro"
extra = "4"
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
boot="dc"
xm list :
[root@OVS-PRI xen]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 832 8 r----- 547.4
OL-DB2-PRI 7 10240 4 -b---- 6.8
The log shows, xen is trying to watch files or directories that don't exsist:
xs_read(/local/domain/0/device-model/7/xen_extended_power_mgmt): read error
xs_read(/local/domain/7/log-throttling): read error
Am I using odd parameters in my config file?
The ISO file is downloaded straight from Oracle site. Which I also used to install OL6 directly.
Where else could I check?
I've created the directories manualy, but have no idea, what the files should contain.
I prefer not to use OVM Manager. To much dependancies.
Any help is appreciated.

complete qemu-dm log file:
domid: 12
Using xvda for guest's hda
Using file /dev/sda4 in read-write mode
Using xvdc for guest's hdc
Using file /media/usb/extraISOs/OL6_64_1.iso in read-only mode
Watching /local/domain/0/device-model/12/logdirty/cmd
Watching /local/domain/0/device-model/12/command
Watching /local/domain/12/cpu
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = e9775a95-847d-7256-798e-68a2678be160
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/12/xen_extended_power_mgmt): read error
Using xvdc for guest's hdc
medium change watch on `xvdc' (index: 1): /media/usb/extraISOs/OL6_64_1.iso
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Log-dirty: no command yet.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
vcpu-set: watch node error.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
xs_read(/local/domain/12/log-throttling): read error
qemu: ignoring not-understood drive `/local/domain/12/log-throttling'
medium change watch on `/local/domain/12/log-throttling' - unknown device, ignored
char device redirected to /dev/pts/2
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
xen be: console-0: xen be: console-0: initialise() failed
initialise() failed
cirrus vga map change while on lfb mode
mapping vram to f0000000 - f0400000
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state.
Unknown PV product 3 loaded in guest
PV driver build 1

Similar Messages

  • How to change the default save encoding of the dvm files when create dvm???

    When I creating a DVM(domain-value mapping) in Chinese on the ESB control and confirm it, then restarted the SOA service, the DVM that I created in Chinese disappeared from ESB control. All the maps(both English and Chinese ) are in DVM Repository.
    After I updated the encoding from ‘UTF-8’ to ‘GB2312’ in the three files below, and restarted the SOA service, the DVM in Chinese appeared on ESB control.
    But when I adding the second row in Chinese and save it, then restart the SOA service, the DVM in Chinese disappeared from ESB Control once again. Because the encoding in the three files below is updated from ‘GB2312’ to ‘UTF-8’ .
    Files:
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm\Chinese.xml.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\content\files\dvm\Chinese.xml_1.0
    How to change the default save encoding of the dvm files when create dvm in ESB control ???

    I have the same problem.  When I updated to Mavericks now the bookmarks bar font is huge.  I liked it the way it was before.  I liked the smaller font.  Also wish I could change the color of the sidebar and font/folders too.
    I tried to see in preferences if there was anyway to change it, but I don't see anything there.

  • Unable to upload txt file when creating new message

    Hi Expert,
    We installed SolMan 7.1, but we are not able to upload txt file when
    create a new message, detailed steps as below:
    1. Click on “New
      Message” under “Common Tasks” in the left side
    2. Click on
      “Attachment” under “Create Message”
    3. Click on “Add”
      under “Attachment”
    4. Select file and
      click on “OK”
    5. But as the result, it says “No attachments. Select Add to
      upload a new attachment.”
    Could you please help advise the reason and solution?
    BR
    Takashi

    Hi Vikram,
    Thanks for your reply.
    I have tried again and found that, it seems if the file size is 0, it can't be uploaed; if the size if bigger than 0, then it can be uploaded.
    So I close this discussion now. Thank you!
    BR
    Takashi

  • Download doesn't work; i keep getting "unable to find firefox.exe" even when I open from program files folder; working onwindows xp with service pack 3

    download doesn't work; i keep getting "unable to find firefox.exe" even when I open from program files folder; working onwindows xp with service pack 3

    As you can see below, when I right click, I have no such option.  In the User Account Settings, I'm operating as the "System Administrator".
    Any other suggestions?

  • Why does a mail-merge in MS Publisher split into multiple files when printed as a pdf file?

    Why does a mail-merge in MS Publisher split into multiple files when printed as a pdf file?

    'Cuz that's what mail merges do.  They create multiple documents based on the parent doc and all the names/addresses in your data tables.
    Perhaps if you describe exactly what you're trying to do & why you need PDF, we can point you to relevant tutorials.
    Nancy O.

  • "Premature end of file" when reading in a GZIP file!

    Hello i'm trying to figure out what may be causing a "Premature end of file" when reading in a GZIP file!
    Basically, what i'm trying to do is read a GZIP file, create an XML file in GZIP format and then validate the GZIPed XML file using the SAX validator and this process works fine for LOW volume data, but for HIGH volume data it seems to have several problems. One problem i was getting was 'Corrupt GZIP trailer', which seems to be a known bug, used an override here and it's ok, and now i'm getting the 'Premature end of file error'.
    Here is the error report, see <<<<<<<<<!
    START: Wed Aug 03 12:03:41 EDT 2005
    Runparms :
    host: ....
    port: ....
    sid: ....
    usr: ....
    site: ....
    val_type: HVPEZ -- previously HVPEX, reason, reading zip file (.gz)
    dbo: NULL
    ddl: /home/......../HLPVAL/DAT/hlp_ddl_file
    table: ......
    db_name: NULL
    dat_file: /..../...../....../xxxxxxx1.dat.gz
    xsd: /home/....../....../XSD/xxxxxxx1.xsd
    sql: NULL
    debug: NULL
    sql query null
    pid: 11751
    xml: /home/.........../...../XML/xxxxxx1.dat_HVPEZ_xml.gz
    rep: /home/.........../...../XML/xxxxxx1.dat_HVPEZ.valrep
    fatalError:
    setValidity:
    Error number : 1
    Error starts on line number : 1302706816
    Error starts on column position: 8
    Error text is : org.xml.sax.SAXParseException: Premature end of file. <<<<<<<<<<<
    org.xml.sax.SAXParseException: Premature end of file.
    Here i'm reading in a GZIPed file, i then generate the XML and write out another GZIPed file, see <<<<<<<<<<:
           try {
            GZIPOutputStream     gz = new GZIPOutputStream(new FileOutputStream(xp.xml_file));  >>>>>>>> out GZIPed
            PrintWriter        outf = new PrintWriter (gz);
            GZIPInputStream      in = new GZIPInputStream(new FileInputStream(xp.dat_file),4096); <<<<<< in GZIPed
            byte[] buf = new byte[4096];int len=0; String[] sa = new String[NUM_COLS]; int bj=0; char[] ca=new char[1500];
            while ((len = in.read(buf)) > 0)
                String hrec = new String();
                for (int b=0;b<len;b++)
                     Byte byt=new Byte(buf); int bi=byt.intValue(); char c=(char)bi; ca[bj]=c;
    if (c == '\n')
    hrec=new String(ca); hrec=hrec.trim();
    for (int k=0;k<1500;k++) ca [k]=' ';
    int prevj=0; j=0;int fcnt=0;
    for (int w=0; w<hrec.length(); w++)
    if (hrec.charAt(w)=='|')
    sa[j]=hrec.substring(prevj,w);fcnt++;
    j++; prevj=w+1;
    sa[j]=hrec.substring(prevj,hrec.length());fcnt++; bj=-1;
    for (int i = 0; i < NUM_COLS; i++)
    if (i>(sa.length-1)) { sToken = new String(); } else { sToken = sa[i]; }
    if (sToken.indexOf('<')>-1 || sToken.indexOf('>')>-1 || sToken.indexOf('"')>-1 ||
    sToken.indexOf('&')>-1 )
    String sToken2 = new String();
    sToken2 = normalize(sToken);
    sToken = sToken2;
    outf.write(" <"+_columnNames[i]+">"+sToken+"</"+_columnNames[i]+">"+"\n");
    outf.write(" </"+FILE_NAME+">"+"\n");
    bj++;
    outf.write("</hlp_data>"+"\n");
    outf.flush(); <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< here if tried every combination of close command ect.
    outf.close();
    gz.finish();
    gz.close();
    in.close();
    Here i'm reading the GZIPed file from the previous program and this is where the 'Premature end of file' error is occurring. Notice that i'm using an extended class Called WorkingGZIPInputStream, this is to bypass the error message 'Corrupt GZIP trailer' message that seems to occur when processing high volume files, here's a previous link on issue:
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=1&t=011624
           HlpValSax1  sx = new HlpValSax1();
           SAXParser   sp = sx.getParser(xp.xsd_file);
           if (
                  xp.val_type.substring(0,5).equals("HVPEZ")
               || xp.val_type.substring(0,5).equals("HVPEX")
               || xp.val_type.substring(0,5).equals("HVOEX")
               WorkingGZIPInputStream is = new WorkingGZIPInputStream(new FileInputStream(xp.xml_file),4096); <<<<<<<<<<
               sp.parse(is,dh);
           else
              File file      = new File(xp.xml_file);
              InputStream is2 = new FileInputStream(file);
              sp.parse(is2,dh);
         catch (FileNotFoundException nf) {System.out.println(nf);}
         catch (SAXException sa)          {System.out.println(sa);}
         catch (IOException  io)          {System.out.println(io);}

    Turns out things were not exactly the same. When I had done it from disk I would always create a new InputStream when reading the resource, when doing it from the Jar I was reusing it.

  • How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tri

    How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tried to reopen and now it won't work. I am using Adobe InDesign CS5. It is the only version on my comp. I have tried opening on another comp & copying the file – same error comes up. PLEASE HELP

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

  • In Creative Cloud files when I update my INDD file all my sharers lose access to the updated

    In Creative Cloud files when I update my INDD file and export the pdf file all the share links are lost . All my sharers lose access to the updated file. This does not happen at dropbox where when I update a file the share links still work. This is a real nuisance as I want to up date files and keep the link open. Is there a workaround?

    I just had similar experience where I lost links to my files in creative cloud.  There was an update to creative cloud today and my creative cloud on PC was replaced with a new one.  I went to my User Account and found two Creative Cloud Accounts: "Creative Cloud" and "Creative Cloud (unknown)".  The "Creative Cloud (unknown)" is where I found my linked files.  Check to see if you now have two creative accounts on your PC.  This may be the reason????
    I am currently copying and pasting all my files into the current "Creative Cloud" from the "Creative Cloud (unknown)".   I am only focusing on 1 InDesign Doc I have due to tomorrow and had to manually reset all the links to it.  If I have to manually restore all links to my files saved in Creative Cloud--I will blow a gasket on Monday! All PDF files (interactive ones especially) I have saved have lost their links--I don't even want to look at or deal with right now.

  • Burning the CDs from ISO files - Solution

    I have just finished burning the cd images and as I type this my little baby is coming to life! he he :-)
    I did try Nero but failed misrably so I offer the following as a solution that worked for me. Apologies to anyone if it appears I'm teaching 'Grandma to suck eggs'.
    First you extract the files from the zips, uncorrupted zips that is, if you are using Winzip then the contents description etc will be displayed when you hover over the zip file with the mouse pointer.
    Next add the .iso file extension to each of the 3 files you have just extracted
    Next you need to create a Cue sheet/file. To do this go into notepad and create 1 file as shown below and save if with .cue file extension with the respective iso file.
    FILE "C:\YOURDIR\sol-8-4_01-fcs-bin-ia-v1.ISO" BINARY
    TRACK 01 MODE1/2048
    INDEX 01 00:00:00
    POSTGAP 00:02:00     
    Where YOURDIR corresponds to where you have the iso file stored.
    You need to create 1 cue sheet file for each of the binaries with the .iso extension changing the references shown above to match the location and the .iso filename.
    I then used cdrwin to write the file images loading each of the above cue sheets. But you could use any burning software that supports cue sheets, which give it the correct information to burn the image.
    Hope this helps
    Skaven

    I tried the skaven_1 recommendations using the latest (v5.5.9.9) version of Nero. This version of Nero supports .iso extensions. It also supports .cue files. skaven_1's sample cue sheet works in Nero.
    Despite all this the resulting CDs are unreadable on my Ultra10. All of the Solaris 9 CDs I have burned are readable on my PC.
    I have burned other OS ISO images (BSD, OpenBSD, etc...) using the same version of Nero and they are all bootable on x86 machines.
    I have found that if the CD is not readable using:
    dd if=/dev/rdsk/c0t2d0s2 bs=2048 | od -Ax -xc | less
    (BTW, this is a handy way to check the volume label at 0x8000 for the disk type)
    it is unlikely to be readable (and therefore bootable) at the PROM level.
    All of the other OS ISO images I have burned have been readable on the Ultra10 using the above command. NONE of the Solaris 9 images I have burned have been readable using the above command. The drive will "spin" and "click" indefinitely until interrupted (^C or kill).
    Having scoured this archive, I have determined that some people are successful in burning the Solaris [89] images while many others are not. There seems to be no clear understanding on what is necessary for success.
    Has anyone successfully burned Solaris 9 SPARC iso images to a CD. If so what specifically did you do to achieve this incredible success!? Detailed information on:
    - version
    - media
    - technique
    - phase of the moon :-}
    would be most helpful to the rest of the community.
    It would be nice if someone at Sun would chime in and provide this information. The information provided at the download area is less than informative. I have followed those instructions and still have not met with success.
    Sun...ARE YOU LISTENING? If people have difficulty with obtaining and successfully using these OSes, it makes it harder for startups (like I am working with) to lay the foudation to use your hardware. If this is hard, we are likely to make decisions to use other solutions. Much as we may not wish to do this, it is the reality. We have solutions to provide in a limited amout of time.

  • Log files when creating a pdf from PDFMaker Office COM addin

    Hello,
    I just bought Acrobat Standard to create pdfs on Word 2013.
    I'm making a catalog using this two softwares, Word 2013 (latest version with all updates) and Acrobat XI (latest version, 11.0.06). Unfortunately things are not working as I wish, and on some documents almost at the end of the transformation process, it can't save the pdf file or it gives a major word error, exiting word.
    When the transformation process is running/ending, are there any logs created to see what happens in case of errors?? If yes, where can I look up for them??

    Sorry, but when the pdf is created or not (like when happens on this particulary case), I don't see any logs on the same folder. 
    Let me try to explain my problem in depth.  I have a docx, a big file with 200 pages. It's created with Word 2013 but using the 2010 docx format for compatibility reasons. I beggun using the Word x64 but now I'm using the x86 and the problem happens on both and in the same ways. 
    First. If I try to convert the whole document, most of the times (I'd say 70%) the pdf doesn't get created or the rest of the times (30%) It causes a crash to Word with a dll error. Normally it halts (whether it doesn't create the pdf of halts word) at a certain page, after repaginanting all pages and when it says that is creating page nº X.
    I already pinpoint, more or less, where the error is. The error is located on the first pages, more exactly on the index pages. It's not a index created by the Word, it is a set of pages that I manually built with a grid of pictures with each one having a hyperlink to a designated bookmark to a desire page on the document. If I "pdfmaker" the rest of the whole document (without the index pages) I can get the pdf created.
    So, the index is where the problem resides. On this thread, http://forums.adobe.com/message/5816803#5816803 , you will see that I had a another problem due to the method used on Word 2003 about hyperlink of images that no longer works (when exporting to pdf) on the latests words versions, at least on the Word 2013. The pdf file was created with no problem, but on the pdf the hyperlinks were not created due to something that M$ has resolved to change between Word 2003 and Word 2007. I found a way to fix that (listed on that thread link). But as I like to invent, on the Field box, on the field options, for this time, I decided to choose the option "Data not stored with the document". That is what is breaking the pdf conversion. Too bad. Now I have to clear the index all the way and start again from the beggining but without that option. I already remake 3 pages and after the conversion the pdf is created. I have to finish the index redone once again and then create the full pdf document to see if any of those errors/halts happen again.
    I just wish to see a adobe log to see what type of error this bug produces so it would be possible to adobe crush the bug
    P.S. - Sorry if I was too confusiong for anyone to understand what I'm trying to say here
    Message was edited by: Onesolo

  • How to provide RDP cert file when create virtual machine deployment?

    hi,
    the Azure REST API here http://msdn.microsoft.com/en-us/library/azure/jj157194.aspx#bk_certificates did not say how to provide a cert for the VM when create it.
    the StoredCertificateSettings let you install the uploaded cert onto the vm, but this does not allow you to replace
    the RDP cert which created by Azure when the VM is created.
    see below:
    the highlighted cert is automatically created by Azure for the virtual machine to secure the RDP connection.
    so when you try to remote to the VM, you will see this error, because the cert used for the RDP on the VM is not installed into the "Trused Root Certification Authorities" on local machine.
    i want to replace the cert that azure automatically created :
    var dpinput = string.Format(
                        System.Globalization.CultureInfo.CurrentCulture,
                        @"<?xml version='1.0' encoding='utf-8' ?>
                    <Deployment xmlns='http://schemas.microsoft.com/windowsazure' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
                      <Name>{0}</Name>
                      <DeploymentSlot>Production</DeploymentSlot>
                      <Label>{1}</Label>
                      <RoleList>
                        <Role>
                          <RoleName>{2}</RoleName>
                          <RoleType>PersistentVMRole</RoleType>
                          <ConfigurationSets>
                            <ConfigurationSet i:type='WindowsProvisioningConfigurationSet'>
                              <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
                              <ComputerName>{3}</ComputerName>
                              <AdminPassword>{4}</AdminPassword>
              <StoredCertificateSettings>
                <CertificateSetting>
                  <StoreLocation>LocalMachine</StoreLocation>
                  <StoreName>Root</StoreName>
                  <Thumbprint>{5}</Thumbprint>
                </CertificateSetting>
              </StoredCertificateSettings>
                              <WinRM>
                                <Listeners>
                                  <Listener>
                                    <Protocol>Http</Protocol>
                                  </Listener>
                                  <Listener>
                                    <Protocol>Https</Protocol>
                                    <CertificateThumbprint>{6}</CertificateThumbprint>
                                  </Listener>
                                </Listeners>
                              </WinRM>
                            <AdminUsername>{7}</AdminUsername>
                            </ConfigurationSet>
                            <ConfigurationSet>
                              <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
                              <InputEndpoints>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>443</LocalPort>
                                  <Name>HTTPS</Name>
                                  <Port>443</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>5986</LocalPort>
                                  <Name>PowerShell</Name>
                                  <Port>5986</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>3389</LocalPort>
                                  <Name>Remote Desktop</Name>
                                  <Port>3389</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                              </InputEndpoints>
                              <SubnetNames/>
                            </ConfigurationSet>
                          </ConfigurationSets>
                          <DataVirtualHardDisks>
                            <DataVirtualHardDisk>
                              <HostCaching>ReadWrite</HostCaching>
                              <DiskLabel>data</DiskLabel>
                              <Lun>0</Lun>
                              <LogicalDiskSizeInGB>127</LogicalDiskSizeInGB>
                              <MediaLink>{8}</MediaLink>
                            </DataVirtualHardDisk>
                          </DataVirtualHardDisks>
                          <OSVirtualHardDisk>
                            <HostCaching>ReadWrite</HostCaching>
                            <MediaLink>{9}</MediaLink>
                            <SourceImageName>{10}</SourceImageName>
                          </OSVirtualHardDisk>
                          <RoleSize></RoleSize>
                          <ProvisionGuestAgent>false</ProvisionGuestAgent>
                          <ResourceExtensionReferences/>
                        </Role>
                      </RoleList>
                      <VirtualNetworkName/>
                      <Dns/>
                    </Deployment>",
                                  service,
                                  service,
                                  service,
                                  computer,
                                  password,
                                  thumbprint,
                                  thumbprint,
                                  user,
                                  datavhd,
                                  osvhd,
                                  osname);
    i want to use my own self-signed the cert as the RDP cert to be used by Azure when create the vm, but the above request does not replace the cert.
    how can i do that?
    Thanks
    the request i used as below:
    var dpinput = string.Format(
                        System.Globalization.CultureInfo.CurrentCulture,
                        @"<?xml version='1.0' encoding='utf-8' ?>
                    <Deployment xmlns='http://schemas.microsoft.com/windowsazure' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
                      <Name>{0}</Name>
                      <DeploymentSlot>Production</DeploymentSlot>
                      <Label>{1}</Label>
                      <RoleList>
                        <Role>
                          <RoleName>{2}</RoleName>
                          <RoleType>PersistentVMRole</RoleType>
                          <ConfigurationSets>
                            <ConfigurationSet i:type='WindowsProvisioningConfigurationSet'>
                              <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
                              <ComputerName>{3}</ComputerName>
                              <AdminPassword>{4}</AdminPassword>
              <StoredCertificateSettings>
                <CertificateSetting>
                  <StoreLocation>LocalMachine</StoreLocation>
                  <StoreName>Root</StoreName>
                  <Thumbprint>{5}</Thumbprint>
                </CertificateSetting>
              </StoredCertificateSettings>
                              <WinRM>
                                <Listeners>
                                  <Listener>
                                    <Protocol>Http</Protocol>
                                  </Listener>
                                  <Listener>
                                    <Protocol>Https</Protocol>
                                    <CertificateThumbprint>{6}</CertificateThumbprint>
                                  </Listener>
                                </Listeners>
                              </WinRM>
                            <AdminUsername>{7}</AdminUsername>
                            </ConfigurationSet>
                            <ConfigurationSet>
                              <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
                              <InputEndpoints>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>443</LocalPort>
                                  <Name>HTTPS</Name>
                                  <Port>443</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>5986</LocalPort>
                                  <Name>PowerShell</Name>
                                  <Port>5986</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>3389</LocalPort>
                                  <Name>Remote Desktop</Name>
                                  <Port>3389</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                              </InputEndpoints>
                              <SubnetNames/>
                            </ConfigurationSet>
                          </ConfigurationSets>
                          <DataVirtualHardDisks>
                            <DataVirtualHardDisk>
                              <HostCaching>ReadWrite</HostCaching>
                              <DiskLabel>data</DiskLabel>
                              <Lun>0</Lun>
                              <LogicalDiskSizeInGB>127</LogicalDiskSizeInGB>
                              <MediaLink>{8}</MediaLink>
                            </DataVirtualHardDisk>
                          </DataVirtualHardDisks>
                          <OSVirtualHardDisk>
                            <HostCaching>ReadWrite</HostCaching>
                            <MediaLink>{9}</MediaLink>
                            <SourceImageName>{10}</SourceImageName>
                          </OSVirtualHardDisk>
                          <RoleSize></RoleSize>
                          <ProvisionGuestAgent>false</ProvisionGuestAgent>
                          <ResourceExtensionReferences/>
                        </Role>
                      </RoleList>
                      <VirtualNetworkName/>
                      <Dns/>
                    </Deployment>",
                                  service,
                                  service,
                                  service,
                                  computer,
                                  password,
                                  thumbprint,
                                  thumbprint,
                                  user,
                                  datavhd,
                                  osvhd,
                                  osname);
    the request i used as below:
    var dpinput = string.Format(
                        System.Globalization.CultureInfo.CurrentCulture,
                        @"<?xml version='1.0' encoding='utf-8' ?>
                    <Deployment xmlns='http://schemas.microsoft.com/windowsazure' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'>
                      <Name>{0}</Name>
                      <DeploymentSlot>Production</DeploymentSlot>
                      <Label>{1}</Label>
                      <RoleList>
                        <Role>
                          <RoleName>{2}</RoleName>
                          <RoleType>PersistentVMRole</RoleType>
                          <ConfigurationSets>
                            <ConfigurationSet i:type='WindowsProvisioningConfigurationSet'>
                              <ConfigurationSetType>WindowsProvisioningConfiguration</ConfigurationSetType>
                              <ComputerName>{3}</ComputerName>
                              <AdminPassword>{4}</AdminPassword>
              <StoredCertificateSettings>
                <CertificateSetting>
                  <StoreLocation>LocalMachine</StoreLocation>
                  <StoreName>Root</StoreName>
                  <Thumbprint>{5}</Thumbprint>
                </CertificateSetting>
              </StoredCertificateSettings>
                              <WinRM>
                                <Listeners>
                                  <Listener>
                                    <Protocol>Http</Protocol>
                                  </Listener>
                                  <Listener>
                                    <Protocol>Https</Protocol>
                                    <CertificateThumbprint>{6}</CertificateThumbprint>
                                  </Listener>
                                </Listeners>
                              </WinRM>
                            <AdminUsername>{7}</AdminUsername>
                            </ConfigurationSet>
                            <ConfigurationSet>
                              <ConfigurationSetType>NetworkConfiguration</ConfigurationSetType>
                              <InputEndpoints>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>443</LocalPort>
                                  <Name>HTTPS</Name>
                                  <Port>443</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>5986</LocalPort>
                                  <Name>PowerShell</Name>
                                  <Port>5986</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                                <InputEndpoint>
                                  <LoadBalancedEndpointSetName></LoadBalancedEndpointSetName>
                                  <LocalPort>3389</LocalPort>
                                  <Name>Remote Desktop</Name>
                                  <Port>3389</Port>
                                  <Protocol>TCP</Protocol>
                                </InputEndpoint>
                              </InputEndpoints>
                              <SubnetNames/>
                            </ConfigurationSet>
                          </ConfigurationSets>
                          <DataVirtualHardDisks>
                            <DataVirtualHardDisk>
                              <HostCaching>ReadWrite</HostCaching>
                              <DiskLabel>data</DiskLabel>
                              <Lun>0</Lun>
                              <LogicalDiskSizeInGB>127</LogicalDiskSizeInGB>
                              <MediaLink>{8}</MediaLink>
                            </DataVirtualHardDisk>
                          </DataVirtualHardDisks>
                          <OSVirtualHardDisk>
                            <HostCaching>ReadWrite</HostCaching>
                            <MediaLink>{9}</MediaLink>
                            <SourceImageName>{10}</SourceImageName>
                          </OSVirtualHardDisk>
                          <RoleSize></RoleSize>
                          <ProvisionGuestAgent>false</ProvisionGuestAgent>
                          <ResourceExtensionReferences/>
                        </Role>
                      </RoleList>
                      <VirtualNetworkName/>
                      <Dns/>
                    </Deployment>",
                                  service,
                                  service,
                                  service,
                                  computer,
                                  password,
                                  thumbprint,
                                  thumbprint,
                                  user,
                                  datavhd,
                                  osvhd,
                                  osname);

    Hi,
    In Azure, this feature is called
    custom data. Currently, you can inject custom data into an Azure VM by using the
    Windows Azure command-line tools (--custom-data). 
    I assume that it is not supported in Python API. You can use “custom_data=xxx”
    within “create_virtual_machine_deployment” to check if it works.
    If it is not yet available, please submit your requirement in Azure feedback below:
    http://feedback.azure.com/forums/34192--general-feedback
    Best regards,
    Susie
    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 Subscriber Support, contact [email protected]

  • Maintaing the formulas from an existing excel file when creating a pdf form

    Im sure its been asked but I would like to maintain the active formulas in my existing excel (2013) file when I create a new form utilizind Adobe Acrobat XI Pro.
    Thanks,

    Not possible.  You have to re-create them.

  • Unable to combine microcsoft word or rtf files when creating a .pdf

    We cannot add microsoft word or .rtf files when trying to combine them into a single .pdf file..
    When you click on Add files..the word or .rtf files are greyed out and you
    cannot select them..
    We are using Mountain Lion OS (ltatest version) and adobe acrobat version 10.1.5

    Before Acrobat XI, it was only possible in Windows, not on a Macintosh.
    http://indesignsecrets.com/new-acrobat-xi-and-reader-xi-can-change-workflows.php
    "In previous versions of Acrobat, Mac users were stymied when you wanted to open a Microsoft Word, PowerPoint, or Excel file into Acrobat to convert it to PDF, or to include these files when combining documents together. Now, if you have Microsoft Office installed on your Mac, you can include these files. (There are still no PDF Maker plug-ins installed on the Mac, and hyperlink and bookmark export from Word is not yet supported.)"

  • Extra empty groupName in TDMS file when using DAQmx Start New File & stop DAQmx while waiting for trigger?

    I wrote a VI that listens to an external trigger coming from a PFI line and saves a user-defined number of pretrigger+posttrigger samples into disk, and then the DAQmx restarts to wait for the next trigger. I used the DAQmx Start New File.vi to change the filename of each of the next file. However, I found that for each of the resulting TDMS files, there is an additional group that is added in addition to the real data. For example, if the groupName is set to "task_voltage", then there is an additional groupName called "task_voltage #1".
    I suspect that this is because the program preallocate diskspace using the old filename for the pretriggered samples, but when the trigger happens and the samples are ready to be written into disk, an actual new file is opened and saved. The reason I think this might be the case is because, say each file would be 50kB and I already have 1 file triggered and saved, before the second trigger comes in, I can see that the file size of the first file is twice as much as it should be (100kB), but the file size will return to noraml (50kB) after the second trigger happens and a second file is created.
    Does anyone know if this is really the case? Is there a way to configure the task so that this doesn't happen?
    Another question I have is that the program currently set up so that the VI will wait until a trigger happens to return the values. However, this means that if a trigger doesn't happen, the VI waits indefintely, and the "stop" button in the while loop is useless. I have to use the "Abort Execustion" button on the tool bar to stop the VI. Is there a way to interrupt and stop the DAQmx task even if the trigger doesn't happen?
    Thanks in advance for any help!
    Attachments:
    pretrigger_loop_new_file.vi ‏29 KB

    I don't believe there is a way to programmatically change/delete the group name in a TDMS file. What you can do however, is convert between TDMS and TDM using the VIs found in the Data Storage palette and then perform whatever modifications you need using the TDM utilities.
    Applications/Systems/Test
    National Instruments | AWR Group

  • Cannot find file when starting jnlp from browser

    First of all, im not a web guru, so sorry for my weak knowledge on that part.
    I have a swing application packed in a war file.
    In the root of war file i put my jnlp, html that links to jnlp, and jar file. (everything created with NetBeans)
    But there is also a directory "data" inside war where i hold some files.
    My application is accessing those files at runtime. (those are save files for my game)
    So, when i start jnlp directly everything is fine, but when i start jnlp through html link, i got error message:
    SEVERE: null
    java.io.FileNotFoundException: data\options.data (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
            ...Java Web Start starts correctly, i can see my first panel of the application, but when i proceed (application tries to load save file), it can not find that file (options.data) obviously.
    How is it possible that everything works fine when i start jnlp directly, and it fails when i start it through the browser?
    What is the problem here?
    Thanks for the help!

    Adoendithas wrote:
    SEVERE: null
    java.io.FileNotFoundException: data\options.data (The system cannot find the path specified)
    Of course the JRE is not going to find a data\options.data on my PC, which is where it will look for it, if your software is running on my PC. Resources for JWS projects must either be available as an URL from the server, or downloaded locally to the user's local file system before they can be used as files. Why it fails to find it on your PC is probably that the 'root path' (the default directory at time of invocation) that is prefixed to data\options.data is different between running it off the local file system, and running from HTML. To say for sure, I would need a lot more information on how you are launching it when 'running locally'.
    A major question here is, does the software merely read the data in options.data, or does it actually need to update (i.e. write to) the options.data?

Maybe you are looking for