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]

Similar Messages

  • How do I remove Kaspersky AV when the virtual machine it was associated with is gone?

    My hard disk crashed back in July.  I was able to restore my system from Time Machine but lost my Windows 7 Parallels VM.  Now I am trying to install McAfee Antivirus but it won't install because Kasperksy AV was running in the VM.  I can see the KAV file in the Activity Monitor.  The problem I am having is that I can't uninstall Kaspersky without the VM and the VM no longer exists.  Am stuck in a vicious loop.  Is there any way to remove the file some other way?  Force quitting the KAV file from the activity monitor does not seem to work.
    Thanks,
    Tim

    What OS are you running? You profile shows 10.6.8. If so, the erase the disk must be done with your Snow Leopard DVD or the disks that came with your computer.
    You can try this.
    Kapersky Uninstall
    If that isn't successful, you'll need to erase the hard drive to get rid of the file.
    Boot to the Recovery Volume (command - R on a restart). Run Disk Utility Verify/Repair and Repair Permissions. Then select the Erase tab. Format is Mac OS Extended (Journaled). Erase and then reinstall the OS.
    OS X Recovery
    OS X Recovery (2)
    Be selective when restoring from Time Machine so you don't import the problem again.

  • 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.

  • How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?

    How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
    Hi,
    I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
    but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
    ( f.ex. cannot verifying it correct in xmlspy )
    my dbms is
    NLS_CHARACTERSET          = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET     = AL16UTF16
    NLS_RDBMS_VERSION     = 10.2.0.1.0
    I do generate it in this matter :
    declare
    xmldoc CLOB;
    ctx number ;
    utl_file.file_type;
    begin
    -- generate fom xml-view :
    ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
    DBMS_XMLGEN.setRowSetTag(ctx, null);
    DBMS_XMLGEN.setRowTag(ctx, null );
    DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
    -- create xml-file:
    xmldoc := DBMS_XMLGEN.getXML(ctx);
    -- put data to host-file:
    vblob_len := DBMS_LOB.getlength(xmldoc);
    DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
    bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
    UTL_FILE.put_line(bHandle, vbuffer, FALSE);
    UTL_FILE.fclose(bHandle);
    end ;
    maybe while work UTL_FILE there is a change the encoding ?
    How can this solved ?
    Thank you
    Norbert
    Edited by: astramare on Feb 11, 2009 12:39 PM with database charsets

    Marco,
    I tryed to work with dbms_xslprocessor.clob2file,
    that works good,
    but what is in this matter with encoding UTF-8 ?
    in my understandig, the xmltyp created should be UTF8 (16),
    but when open the xml-file in xmlSpy as UTF-8,
    it is not well ( german caracter like Ä, Ö .. ):
    my dbms is
    NLS_CHARACTERSET = WE8MSWIN1252
    NLS_NCHAR_CHARACTERSET = AL16UTF16
    NLS_RDBMS_VERSION = 10.2.0.1.0
    -- test:
    create table nh_test ( s0 number, s1 varchar2(20) ) ;
    insert into nh_test (select 1,'hallo' from dual );
    insert into nh_test (select 2,'straße' from dual );
    insert into nh_test (select 3,'mäckie' from dual );
    insert into nh_test (select 4,'euro_€' from dual );
    commit;
    select * from nh_test ;
    S0     S1
    1     hallo
    1     hallo
    2     straße
    3     mäckie
    4     euro_€
    declare
    rc sys_refcursor;
    begin
    open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
    dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
    end;
    ( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
    open in xmlSpy is:
    <?xml version="1.0"?>
    <ROWSET>
    <ROW>
    <S0>1</S0>
    <S1>hallo</S1>
    </ROW>
    <ROW>
    <S0>2</S0>
    <S1>straޥ</S1>
    </ROW>
    <ROW>
    <S0>3</S0>
    <S1>m㢫ie</S1>
    </ROW>
    <ROW>
    <S0>4</S0>
    <S1>euro_€</S1>
    </ROW>
    </ROWSET>
    regards
    Norbert

  • How to install certifcate to tmg when create web listener

    how to install certifcate to tmg when create web listener

    Short comment that may help, if you've added the cert while the TMG MMC is open you need to refresh the MMC on the node second to the top (right-click on server/array name and select refresh) or simply restart the MMC.
    Then create the web listener as desired.
    As always you need a cert with the EKU of server authentication (regular web server cert will do) with the corresponding private key and the cert needs to be trusted on the computer where TMG is installed.
    Hth, Anders Janson Enfo Zipper

  • How to delete the temporary files when we log out from ESS

    Hello expert,
    In my company we are running ESS using ITS server, do you know how to delete the temporary files when we log out from ESS?
    Thanks.

    The temporary files used by ESS. For example paystub pdf file.

  • How to edit the nbu file when the mobile device is...

    How to edit the nbu file when the mobile device is not connected?
    That software that is available in the nokia site “nokia phone browser” is not useful! Why?
    It is not working unless the mobile device is connected (attached)
    It is quite slow when editing the contacts! (attached)
    Then why the nokia doesn’t offer a simple software that enable us to edit and explore the content of our nbu files?
    Is there some workaround in this regard?
    Is there some software the can edit the nbu files?
    Thank you for the help,
    Best
    Jamal
    Attachments:
    Clip_774.jpg ‏166 KB
    Clip_775.jpg ‏127 KB
    Clip_773.jpg ‏243 KB

    when serializing the DOM, use this: transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, scrReg.dtd");
    Merry Chrasmas too ;-)

  • How to inactive checking available budget when creating reservation

    Dear SAP Guru,
    Need your advice in how to inactive checking available budget when creating reservation under Project system and Investment management module
    Many thanks in advance.
    Nies

    ok

  • 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

  • "dtutil", how to tell which configuration file for packages using after deployment?

    Hello All, 
    Trying to achieve this feature, 
    Using DOS command to automatic my deployment process--glad I found dtutil. However, it doesnt give you any chance to identify which configuration file to be used by SSIS packages after deployment.
    Deployment Method: file deployment
    Configuration sued: XML file and SQL Table. IN XML file, it tells which DB connection for packages to look up the configuration table.
    Who can share some thoughts on this?
    Derek

    It is NOT about sequence.
    It is about how to point which configuration file to be used by deployed packages as during the "dtutil.exe"
    deployment, you dont have chance to identify which physical location confg files to be used.
    Derek
    That you do only at the time of execution of packages. By default it uses configuration settings created at design time within the package. If you want to override it, you can use \Configfile switch of dtexec for that. You can also set explicit values for
    properties using /SET switch
    http://technet.microsoft.com/en-us/library/ms162810(v=sql.105).aspx
    See this to understand how configs are applied in runtime
    http://technet.microsoft.com/en-us/library/ms141682(v=sql.105).aspx
    and this to understand behaviour difference in ssis 2008 
    http://technet.microsoft.com/en-us/library/bb500430(v=sql.105).aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Can't create Virtual Machine

    I want to create Virtual Machine used iso image (Oracle Enterprise Linux 5 update 3). I use one Shared pool master & Utility Server (in same machine), and 2 Virtual Machine Servers. I can't create Virtual Machine it display Error and log display My iso file doesn't exit! and Server Name display N/A.
    and I have 1 question about topology
    Once I create Server Pool I choose
    - Shared Pool Master , Utility Server , Virtual Machine Server (by default) but when I add Server (choose Virtual Machine Server)
    Then I deselect Virtual Machine Server in Server Pool
    I'm not sure that Server Pool can be only Shared Pool Master and Utility Server OR Shared Pool Master , Utility Server , Virtual Machine Server (by default)
    Thank you so much
    Fujimaru
    Edited by: user8810641 on 31 ส.ค. 2553, 2:59 น.

    Hi Fujimaru,
    a.) In each server pool, each server can have different responsibilities. In a server pool there exists exactly one server pool master, multiple (at least one) utility servers and multiple VM servers.
    These roles can be on one host or distributed. So yes one server with all three roles is possible (that is the standard if you only have 1 server in your server pool).
    b.) There are 2 types to create virtual machines from installation media.
    If you create a PVM (paravirutalized guest) which is recommended for Linux, then you have to use an NFS share with the .iso file extracted, and cannot use the ISO file directly.
    If you create a HVM (hardware virutalized guest) you can use an ISO file.
    However this ISO must be imported first into the OVM Manager (Under Resources, ISO Files).
    For this the ISO have to be placed in a subfolder under the iso_pool folder (in an OVS repository, e.g. /OVS).
    Sebastian

  • Can not create "Virtual Machine" - Oracle VM 3.0.2

    I seem to have everything built right as previous VMs I have created.
    Steps taken so far (not sure if these are in the exact order but it is close):
    New NFS storage device.
    Created a new Repository using new NFS storage.
    Installed a new Oracle VM server
    Discovered New Server.
    Presented new Repository to server.
    Created a new pool that used one mount point as the Cluster Storage.
    Added the new Server to the new pool.
    The new devices are all on a new network. I went to the Hardware - Networks tab and re-initialized the "virtual machine" setting. I even verified on the new OVM server that the new bridge is there.
    Uploaded an Oracle 5.5 ISO to the repository.
    So with that. I have a new pool with 1 server, a new repository that is presented, plenty of VNICs available and now I want to create a new VM guest.
    I click Create Virtual Machine and go through the pages. HVM, create my Vdisk, choose the ISO I created, and click finish.
    I then receive.
    Job Construction Phase
    begin()
    Appended operation 'Adding a queued job operation' to object '0004fb00001900006327b321727e6380 (Create Statistics Log)'.
    Appended operation 'Virtual Machine Cfg File Construct' to object 'cfgFile_0004fb00000600007110a139f728fb2d'.
    begin()
    Appended operation 'Virtual Machine Cfg File Configure' to object 'cfgFile_0004fb00000600007110a139f728fb2d'.
    rollback()
    begin()
    begin()
    Appended operation 'Files Construct' to object '0004fb0000030000e815f62cc08e573a (My_Repo)'.
    begin()
    begin()
    begin()
    commit()
    Completed Step: COMMIT
    Objects and Operations
    Object (CREATED): [VmDiskMapping] 0004fb0000130000357b7438cd7fface
    Object (CREATED): [VmDiskMapping] 0004fb0000130000ceb863d70aeb6d63
    Object (IN_USE): [NetworkFileSystem] ce0a6bdb-1890-4f9a-a68f-fc75c320c60c (nfs:/volume2/My_Repository)
    Object (CREATED): [VirtualDisk] 0004fb00001200005feb6de3ab5e6481.img (My_Image)
    Object (IN_USE): [Vnic] 0004fb0000070000b17661487c508066 (00:21:f6:00:00:06)
    Object (IN_USE): [EthernetNetwork] 192.168.2.0 (192.168.2.0)
    Object (IN_USE): [Server] 33:37:38:37:34:30:55:53:58:35:32:38:30:33:53:38 (ovs3.domain.com)
    Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb00000600007110a139f728fb2d
    Operation: Virtual Machine Cfg File Construct
    Object (IN_USE): [VirtualCdrom] 0004fb00001500006e223b608d71ea59.iso (Enterprise-R5-U5-Server-x86_64-dvd.iso)
    Object (CREATED): [VirtualMachine] 0004fb00000600007110a139f728fb2d (My New VM)
    Object (IN_USE): [Repository] 0004fb0000030000e815f62cc08e573a (My_Repo)
    Operation: Files Construct
    Object (CREATED): [CreateStatisticLog] 0004fb00001900006327b321727e6380 (Create Statistics Log)
    Operation: Adding a queued job operation
    Job Running Phase at 12:21 on Thu, Nov 10, 2011
    Job Participants: [33:37:38:37:34:30:55:53:58:35:32:38:30:33:53:38 (ovs3.domain.com)]
    Actioner
    Starting operation 'Virtual Machine Cfg File Construct' on object 'cfgFile_0004fb00000600007110a139f728fb2d'
    Job Internal Error (Indeterminate)java.lang.NullPointerException
    at com.oracle.ovm.mgr.action.vmcfgfile.XenVmCfgFileHandler.createDom0Cfg(XenVmCfgFileHandler.java:206)
    at com.oracle.ovm.mgr.action.VirtualMachineCfgFileAction.createVirtualMachineCfgFile(VirtualMachineCfgFileAction.java:85)
    at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileConstruct.constructVirtualMachineCfgFile(VirtualMachineCfgFileConstruct.java:74)
    at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileConstruct.action(VirtualMachineCfgFileConstruct.java:50)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:191)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:257)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1019)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:223)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    FailedOperationCleanup
    Starting failed operation 'Virtual Machine Cfg File Construct' cleanup on object 'cfgFile_0004fb00000600007110a139f728fb2d'
    Complete rollback operation 'Virtual Machine Cfg File Construct' completed with direction=cfgFile_0004fb00000600007110a139f728fb2d
    Rollbacker
    Objects To Be Rolled Back
    Object (CREATED): [VmDiskMapping] 0004fb0000130000357b7438cd7fface
    Object (CREATED): [VmDiskMapping] 0004fb0000130000ceb863d70aeb6d63
    Object (IN_USE): [NetworkFileSystem] ce0a6bdb-1890-4f9a-a68f-fc75c320c60c (nfs:/volume2/My_Repository)
    Object (CREATED): [VirtualDisk] 0004fb00001200005feb6de3ab5e6481.img (My_Image)
    Object (IN_USE): [Vnic] 0004fb0000070000b17661487c508066 (00:21:f6:00:00:06)
    Object (IN_USE): [EthernetNetwork] 192.168.2.0 (192.168.2.0)
    Object (IN_USE): [Server] 33:37:38:37:34:30:55:53:58:35:32:38:30:33:53:38 (ovs3.domain.com)
    Object (CREATED): [VirtualMachineCfgFile] cfgFile_0004fb00000600007110a139f728fb2d
    Object (IN_USE): [VirtualCdrom] 0004fb00001500006e223b608d71ea59.iso (Enterprise-R5-U5-Server-x86_64-dvd.iso)
    Object (CREATED): [VirtualMachine] 0004fb00000600007110a139f728fb2d (My New VM)
    Object (IN_USE): [Repository] 0004fb0000030000e815f62cc08e573a (My_Repo)
    Object (CREATED): [CreateStatisticLog] 0004fb00001900006327b321727e6380 (Create Statistics Log)
    Completed Step: ROLLBACK
    Job failed commit (internal) due to java.lang.NullPointerException
    at com.oracle.ovm.mgr.action.vmcfgfile.XenVmCfgFileHandler.createDom0Cfg(XenVmCfgFileHandler.java:206)
    at com.oracle.ovm.mgr.action.VirtualMachineCfgFileAction.createVirtualMachineCfgFile(VirtualMachineCfgFileAction.java:85)
    at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileConstruct.constructVirtualMachineCfgFile(VirtualMachineCfgFileConstruct.java:74)
    at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileConstruct.action(VirtualMachineCfgFileConstruct.java:50)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:191)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:257)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1019)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:223)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Thu Nov 10 12:22:36 EST 2011
    com.oracle.ovm.mgr.api.exception.FailedOperationException: java.lang.NullPointerException
    at com.oracle.ovm.mgr.action.vmcfgfile.XenVmCfgFileHandler.createDom0Cfg(XenVmCfgFileHandler.java:206)
    at com.oracle.ovm.mgr.action.VirtualMachineCfgFileAction.createVirtualMachineCfgFile(VirtualMachineCfgFileAction.java:85)
    at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileConstruct.constructVirtualMachineCfgFile(VirtualMachineCfgFileConstruct.java:74)
    at com.oracle.ovm.mgr.op.virtual.VirtualMachineCfgFileConstruct.action(VirtualMachineCfgFileConstruct.java:50)
    at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:191)
    at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:257)
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1019)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:223)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    Thu Nov 10 12:22:36 EST 2011
    at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1069)
    at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:223)
    at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
    at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
    at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
    at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
    at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
    at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
    at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
    at java.lang.Thread.run(Thread.java:662)
    End of Job
    Not sure what else to try, nor why it wouldn't work.

    Are you connecting to the VM Manager over HTTP or HTTPS?
    If you're using HTTPS, try HTTP - I had similar issues to you, which seemed to go away when I connected to the manager over HTTP.

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • How to enable diagnostics in cloud services and virtual machine

    Hi All,
    I need to enable diagnostics  for cloud services and virtual machine in our
    cloud environment. I referred the below link.
    https://convective.wordpress.com/2014/06/27/using-azure-monitoring-services-api-with-azure-cloud-services/
    Installed azure SDK 2.5 and cloud services instance is not displayed for cloud services in Visual studio 2013. Please provide the steps to enable at run time. 
    1) How to enable this diagnostics at run time.
    2) How to enable event logs for cloud and Virtual machine
    3) How to get the event log data's from REST API.
    Please help to resolve this.
    Thanks.
    Regards,
    Rathidevi

    hi Rathidevi,
    In addition, you could enable diagnostics feature on VM from this blog:
    http://azure.microsoft.com/blog/2014/09/02/windows-azure-virtual-machine-monitoring-with-wad-extension/
    Please refer to it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I can not create virtual machines   =(

    hi, I again
    I can not create virtual machines using the oracle manager, andalusia creandolas time this occurs, an error which generates two logs. These are:
    1.Get VNC Port: (XMachineX):
    failed:<Exception: failed:<Exception: xm list 98_XP_es=>Error: Domain '98_XP_es' does not exist. > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 196, in xen_get_vnc_port vm_id = xen_get_vm_id(vm_path) File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 35, in xen_get_vm_id stdout = run_cmd("xm list %s" % vm_name) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteXenStore.py", line 45, in get_vm_vnc_conn raise Exception(rs)
    2. ParaInstallation: (XMachineX):
    failed:<Exception: failed:<Exception: virt-install paravirt name=98_XP_es ram=512 vcpus=1 mac=00:16:3E:73:7D:45 bridge=xenbr0 file /OVS/running_pool/98_XP_es/System.img file-size=12 vnc vnclisten=0.0.0.0 vncpasswd=/tmp/tmpzYrJVG noautoconsole location=nfs:linuxvm:/el/EL5-x86 keymap=en-us=>ERROR: Invalid NFS location given: [Errno 2] No such file or directory: '/var/lib/xen/xennfs.ZceAYm/images/xen/vmlinuz' > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenVMInstall.py", line 306, in xen_install_vm_para run_cmd(cmd) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 184, in install_vm_para else: raise Exception(rs)
    thanks for any help; as I am new in this

    hi,
    i use vm 2.1.5, this upgrade from 2.1.2
    but i can't create vm
    err:
    failed:<KeyError: 'vcaps'> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 77, in install_vm_hvm l = [ h for h, srv in cds.db_srv.items() if not "hvm" in srv["vcaps"] ]
    help me plz...

Maybe you are looking for