Wordpress Multisite in Virtual Machine

I have a wordpress multisite installation in a virtual machine. 
I want to link the wordpress multisite to my webmatrix and edit within Webmatrix? 
How can i get it done?

Hi,
Thanks for posting here.
Give this video tutorial a shot.
http://blog.libinuko.com/2013/02/windows-azure-using-webmatrix-to-create-wordpress-multisite-in-azure/
hope this helps you.
Girish Prajwal

Similar Messages

  • Install R12 on a Virtual Machine hosted on Windows Vista

    I wanted to install Oracle EBS R12.1.1 on Windows Vista Home Premium 64-bit but used to get .\jre\nt\1.6.0\bin\java error. Hussein Sawwan
    helped and said that this is not certified. He adviced me to create a VMWare Server. Following is my experience. I hope it is helpful. Any
    suggestions, additions are more than welcome. Thanks to all who helpmed me especially Hussein Sawwan, Helios, Gareth Roberts.
    I used to get .\jre\nt\1.6.0\bin\java error after the installation would zoom through 33%. That was because my staging area was not correct. The staging area should be just next to c:\ or whatever be the root directory (or drive). No space or special characters in folder name. My current structure is as follows:
    c:\r12stage. Under r12stage I have following folders and subfolders
    oraAppDB -- 49 Disks
    oraApps -- 11 Disks
    oraAS -- 3 Disks (This comes from the Rapid Install Tools)
    oraDB -- 5 Disks
    startCD -- 1 Disk plus other folders. Just copy startcd from the unzipped download and paste to r12stage area.
    I then created a virtual machine using VMWare Server (free download but need to register to get the serial number). Because I installed
    vmware server on Vista Home Premium 64 bit Host OS, I have to boot my machine by pressing F8 and then select Disable Digital Signature
    Enformcement. Thanks to Gareth Roberts for this tip. Create a vm and install Windows 2003 by selecting the .img file (first cd) by selecting Use ISO image and then path of the windows 2003 cd 1 (zipped file). start the virtual machine, that will install windows 2003 and then ask for location of 2nd cd. On the host machine, where the second win 2003 zip file resides, unzip the second zip file and name the folder as cd2. share this folder to the __vmware_user__ and from the virtual machine, map network drive to \\hostmachinename\cd2. Select this as the location of cd2 and complete the installation. Install MKS Toolkit from http://cygwin.com/ and visual c++ from Microsoft website. for information on this please refer to the following URL. Thanks to Muhammad Habib
    http://mhabib.wordpress.com/2007/03/14/installing-oracle-applications-e-bussiness-11i-on-windows-xp/
    After installation is done and Windows Update is run, share the r12stage directory on the host machine to the vmuser and launch rapidwiz.cmd from the command prompt and follow the instruction. For internet connection from the VM use Ethernet as NAT.
    If the installation errors halfway through, clean up your VM by following instructions in document id 292424.1 in MetaLink. If you dont have access to Metalink then I summarize the steps briefly over here.
    Launch the Registry Editor.
    Navigate to the HKEY_LOCAL_MACHINE\Software key.
    Select the Apache Group subkey and delete it.
    Select the Oracle subkey and delete it.
    Navigate to the HKEY_LOCAL_MACHINE\System\Current Control Set\Services.
    Carefully select and delete each service beginning with Oracle. For example, delete "Oracle Apache Server PROD_<nodename>".
    When you are finished, exit the Registry Editor.
    Navigate to the Environment Variables editing screen according to your system setup. For example, right-click My Computer and select
    Properties. From the Advanced tab, click the Environment Variables button.
    Select the following system variables if created during the failed installation, and delete them: DISCO_JRE, DISCO_VBROKER, JSERV,
    VBROKER_JAVAVM, VBROKER_TAG, WV_GATEWAY.
    Select the Path variable, but do not delete it. Carefully edit it and remove any component with "Oracle" in the name, or that otherwise
    references the failed install. For example, delete "E:\11.5.10\test\visora\8.0.6\bin;".
    Save and exit System Properties.
    Open a command window and navigate to the C:\Program Files\ directory. Delete the Oracle subdirectory.
    If your Oracle Inventory directory was not C:\Program Files\Oracle\Inventory and was therefore not deleted in the previous step, locate it
    and delete it.
    Restart your machine
    It is now safe to remove the Oracle filesystem that was partially installed during the failed installation. Go to the base install directory,
    or top-level directory under which you installed either the Database Server (DATA, DB) or the Applications Tier Server (APPL, ORA, COMN)
    directories, or both. Note that you may choose to rename a directory before you delete it. This allows you to use the same directory name and start a new installation even before you finish the delete filesystem operation. For example, if you placed your filesystem in a "test" directory under
    "E:\11.5.10":
    C:\> E:
    E:\> cd 11.5.10
    E:\> rename test oldtest
    E:\> del /s /q oldtest
    In another window:
    C:\> cd <stage install directory>
    Q:\> rapidwiz.cmd
    After cleaning up if you still get error like RW-50004: Error Code received when running external process. Check log file for
    details. Running database Install driver for VIS instance, after 13% complte step 1 of 5 then I suggest that you re-create the machine and follow the above steps again. Including installing win 2003, mks tool kit , vc++, etc. It will be a success.
    Starting concurrent manager takes up enormous memory and slows down everything, so if you dont need it then dont ever start it. APPS password is apps and sysadmin user is sysadmin.
    Good luck.
    Mahesh Acharya

    I had Vista 64-bit machine, installed Ubuntu in VMWare. Installed Oracle apps on 32-bit Ubuntu under VMware and was able to access Oracle apps. But, it is very very slow. It hangs sometimes and takes 15-20mins to display Ubuntu screens. Am I missing something here. I have a 4GB RAM and VMWare can not use all the 4GB. It may be using 2GB of 4GB. Am I missing something?

  • Bit Locker on windows 2008 R2 Virtual machine

    Hello there !
    We have a a number of Windows 2008 R2 machines and we wish to provide an encryption mechanism for each Virtual machine.
    It's a VMware environment and all the VM files go into NFS drives.
    Do you think , Bitlocker will help ?
    Is Bitlocker supported on Virtual machines ?
    In my opinion , Bitlocker is to safeguard against any "physical" threat to a machine.
    But I wanted a second opinion here.
    Please help me.

    VMs don't have a Trusted Platform Module (TPM) available to store the Full Volume Encryption Key (FVEK) used for BitLocker, but you can still use Hyper-V by storing the necessary information on a floppy drive. Use the command line:
    cscript c:\Windows\System32\manage-bde.wsf -on C: -rp -sk A:
    BitLocker is now enabled within the VM.
    VMs don't have a Trusted Platform Module (TPM) available to store the Full Volume Encryption Key (FVEK) used for BitLocker, but you can still use Hyper-V by storing the necessary information on a floppy drive. Use the command line:
    cscript c:\Windows\System32\manage-bde.wsf -on C: -rp -sk A:
    BitLocker is now enabled within the VM.
    Hyper-V Security How to: Use BitLocker to Protect Your VMs
    http://blogs.technet.com/b/tonyso/archive/2008/07/01/hyper-v-security-how-to-use-bitlocker-to-protect-your-vms.aspx
    for VMeare VMs you have to check with VMware and these links may help you
    How to Encrypt VMware VM running Windows 2008 R2 with Microsoft Bitlocker
    http://www.christowles.com/2010/10/how-to-encrypt-vmware-vm-running.html
    http://www.networknet.nl/apps/wp/archives/395
    Mohamed Fawzi | http://fawzi.wordpress.com

  • CS5.5 and WordPress Multisite

    So, I upgraded from my CS4 to CS5.5 last week.  I've extremely excited about the Live View / Inspector aspect of editing my php and WordPress projects.  I'm running this on a suped up win 7 box.  I deleted/uninstalled my old xampp setup and downloaded a new one.  I'm going to have a Solr search engine for a WordPress Multisite blog/directory when I'm all done.  So, I spent the time to also set up tomcat and get an instance of Solr running on my local machine.  (not that this is important, but shows I'm not a complete beginner).
    I've followed the tutorials on setting up WordPress to be able to do the testing server, live view and editing.  Everything works fine on a new single blog install (I started a brand new one just to check and to do the Lynda.com tutorials, which are working just fine.)  But, when I go to the Multisite Sub-Blog and set up the discovery of the related links DW gives me a whopping 4 files that are linked.  I can follow the links on the live view pages, but the dynamic linking files are not showing up in the top toolbar?  I can't jump over to the header.php file and then back to the index.php file, because they are not finding all of the linking php files.
    As, I mentioned, it's a multisite only problem, becuase it's working on a single blog install just fine.  I thought maybe it was because of the addressing, the testing folder was different from the root website.  So, I edited the vhosts.conf file and hosts file to add a specific testing domain name and there was no change except that I don't get the error anymore when I set up the testing server that the site url of "/" doesn't match the one I had that was "/mydirectory/".
    This was an older site that was set up in Dreamweaver that I just kept changing all of the local testing environment stuff, but the link to the remote server was still active.  So, I thought that might be causing the trouble because it was going out to that server to try to follow some of the dynamically linked pages.  So, I completely deleted everything and started over with a fresh Site with just the Testing server set up, fresh wordpress, fresh evreything.  I am able to discover the related links in the file right up to when I turn on multisite in a sub-directory install and the whole discovery of related links wigs out.
    If you look at the http://codex.wordpress.org/Create_A_Network I checked the dynamic links at each step.  It worked turning on Multisite and going to network setup, but as soon as I entered the code in the wp-config.php file for defining a multisite and added the .htaccess file then the whole thing breaks.
    I'm sure it has to do with how the path is loaded somehow dynamically, but as many people that there are running this combo, of Dreamweaver 5.5 and trying to work on Wordpress, and maybe a Multisite install since it's so much easier in 3.0+ I was surprised that there was nothing on the web about this issue.
    Thanks for any help upfront.
    Jerry

    The WordPress Multisite does use mod rewrite in .htaccess. The contents of that are found in the link I provided on setting up a WordPress Multisite install found at WordPress.org.  As each of the sub-blogs require the use of elements and data from the main site and structure to draw the pages I do not think that setting up each sub-blog as it’s own site definition would work.  It would still have issues finding the relating files.  I guess, if someone figured out how to use Dreamweaver on a blog hosted at wordpress.com to edit themes and such that would probably flow to solving this issue as well.
    Since this is on a Development XAMPP server on my own machine, if I put the .htaccess code in my httpd.conf file instead would that make a difference?  Or is it the mod rewrite that is the issue no matter where it resides?
    I basically decided to set up each sub-blog as a completely separate “site” for now since all I’m sync’ing is the theme folders anyways at that point and all I was truly after was the Live View / Inspector for making the layout changes.  When I did that though and activated all the plugins that I’m using I noticed some issues with file discovery as well.  I saw in one of the tutorials that there was a way to link a style.css file manually for “design” prior to uploading the site.  Is there anything inside of Dreamweaver that would allow us to manually add the necessary php file for the finder.  I’m pretty sure that it’s getting stuck at the line that is saying (dirname(__FILE__) . “wp-load.php” or something like that (off the top of my head).  Once that relative file would be found my guess is that it would discover all the other ones?  Or there is an issue with the ABSPATH variable being set early on in the WordPress installation.
    At this point I’ve tried a dozen different ways to get this to work and it’s obviously broken.  Since it’s so prevalent (I think a lot of the posts I read had this also as a multisite drupal/joomla issue as well) that it would be something worth figuring out how to provide a work around.
    Jerry

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

  • SCOM 2012 RC - SCVMM 2012 RC - Virtual machine manager management group is not getting monitored

    Hi All,
      I have integrated SCOM 2012 with SCVMM 2012 environment. I could see two strange behaviors. All these instance are running on Windows 2008 R2 + Sp1 OS along with SQL 2008 R2 for database.
    1) I could see two instance of VirtualmanagerDB
    in the Database State view under the Microsoft SQL Server, out of that
    one is showing as monitored and another one is
    showing as not monitored. Why it is showing two instance of the same database? How can I remove the not monitored one?
    2) In the distributed apps- Virtual machine manager management group is not showing as a monitored item. However the SCVMM server is getting monitored.
    I'd appreciate if someone could help me out in understanding and resolving this.
    Regards,
    Ren.

    Hi
    I opened up a connect ticket on this on 17th Jan so sorry for not noticing your post earlier. The response was:
    Health State dashboard view is targeted to two state views. "Agent Watcher State" and "Agent State". "Agent State" view (view with duplicate entry) is targeted to an abstract class "VMM Agent" which has below child classes.
        VMM Library Agent
        VMM Host Agent
        Guest Agent
    For the Dashboard view, we need to taget the view to "Host Agent" not "VMM Agent". When we install VMM, it adds itself as a Library server and that is the reason for duplicate entry (VMM Library Agent).
    Cheers
    Graham
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • Licence on up to 2 virtual machines

    A single licence of Windows Server 2012 standard entitles you to use that
    licence on up to 2 virtual machines on that same physical server. In each case you can use the same

    Windows Server 2012/2012 R2 Standard let you have up to 2 virtual machines (VOS : Virtual OS) per 2 CPU (Physical CPU).
    So if you have a physical server with 1 or 2 CPU : Using 1 single Widows Server 2012 Standard will let you  create 2 virtual machines with Windows Serve 2012 Standard or earlier.
    Don't forget that this limit is legal, no physical. You can create as many VMs as you want while the physical hardware permits it, only 2 VMs will be legally licensed
    Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com

  • How to create a all virtual machines collection.

    I need to create a collection of all virtual machines. There are only hyper-v VMs. I thought it would be an Attribute of the System Resource attribute class, but I don't see anything there.
    TechNetX

    May be you can try the below query. More details
    http://marckean.wordpress.com/2010/12/21/sccm-2007-r2-collection-queries/
    select SMS_R_System.Name, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_R_System.SMSAssignedSites, SMS_R_System.IPAddresses, SMS_R_System.IPSubnets, SMS_R_System.OperatingSystemNameandVersion, SMS_R_System.ResourceDomainORWorkgroup,
    SMS_R_System.LastLogonUserDomain, SMS_R_System.LastLogonUserName, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.NetbiosName from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID
    = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Manufacturer in ("VMware, Inc.","Microsoft Corporation","Apple Inc.")
    Anoop C Nair -
    @anoopmannur
    MY BLOG:
     http://anoopmannur.wordpress.com
    User Group:
     ConfigMgr Professionals
    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • Installing Hyper-V Powershell Module on Virtual Machine

    I have a situation where I am running Hyper-V 2012 and have several virtual RemoteApp RDS servers (server 2012 R2) with a user profile disk server (also 2012R2 virtual machine) that stores all of the VHDX user profile disks. I want to perform some maintenance
    on the VHDX files by running optimize-vhd to compact the disks to keep them from being larger than they need to be. Anyhow, that PowerShell commandlet won't run unless the Hyper-V module is installed but in order to install it, the Hyper-V role must be installed.
    Since it's a virtual machine, it's not supported to install the Hyper-V role (although I hear it may be possible) so I was wondering if it is possible to install only the Hyper-V PowerShell modules. I would just use a Hyper-V server to run it but the commandlet
    does not seem to allow UNC/Share paths. Any suggestions? Thank you in advance for your time!

    Hi Scott,
    I tested on my hyper-v enviroment, and installed the feature "Hyper-v Module for Windows Powershell" on VM, and I could run the cmdlet "optimize-vhd", however, It couldn't run successfully without Hyper-v Role installed:
    In addition, if you just want to compact the vhd file on vm, how about using the command "DiskPart":
    You can then complete the compacting using diskpart from a Command Prompt:
    Run diskpart
    Select the disk via its path: select vdisk file="<path>"
    Attach it as read-only: attach vdisk readonly
    Compact it: compact vdisk
    Upon completion of the compact, detach it again: detach vdisk
    You can then re-attach it via Disk Management in its normal and newly compacted state
    Refer to:
    https://fiddley.wordpress.com/2014/01/27/dynamically-expanding-vhd-not-compacting-in-hyper-v/
    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]

  • How to make virtual machines fullscreen in hyper v environment

    Hi , i m not able to turn my virtual machines screen into full screen mode in hyper v environment , please advise
    Thank you 
    Ahmad Hussaini
    [email protected]

    In Hyper-V Manager, double-click on a VM, click View/Full Screen Mode
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • IOPS metering of Hyper-V virtual machines.

    Hello,
    In Hyper-V there is very usefull resource metering, which shows AggregatedAverageNormalizedIOPS.
    Also in Hyper-V is storage QoS, there you can limit IOPS of Virtual Machines vhdx files.
    These IOPS which are shown by hyper-v resource metering and used for QoS are the same IOPS. I mean if I limit VM to 500 iops then and resource metering show maximum 500 iops.
    I really need to monitor these IOPS in SCOM 2012 R2. Need to see lets say all VMs IOPS in single chart. How to make it ? 

    It is the only related MP I can find. If it cannot meet your requirement, I think you need to author one based on PowerShell script. The link below is for your reference.
    http://robertsmit.wordpress.com/2013/07/26/windows-server-2012r2-iops-resource-metering-hyper-v-ws2012r2-winserv-msftprivatecloud/
    Juke Chou
    TechNet Community Support

  • Importing Virtual Machines

    I have a hyper-v server that got the BSOD so I reinstalled the OS and my machines were saved on another drive.  I tried to import the vms but I can't get the network connectivity going.  I created a virtual switch (VLAN 98 Port 1) but its not
    allowing me to connect to anything from the virtual machine.  Please help.  Thanks.

    NOC, I'll assume you're using Server 2012 R2 on your Hyper-V host.
    I recommend the following steps:
    - Verify your Hyper-V settings like:
    It's domain joined (you'll need that for live-migration)
    Check Hyper-V setting. Make sure your Virtual Hard Disk and Virtual Machine settings default to where you want them. Check Live-migration and storage migration settings. Make sure they match the standard set for your environment. 
    Check your Virtual Switch Manager settings. vSwitch name must match exactly the same vSwitch name on other Hyper-V hosts in your environment to allow live-migration. It's typically set as an external switch. Make sure it's connected the correct NIC from
    the drop down menu (the one with access to VLAN 98 in your case). If you want to give the parent partition access to this VLAN check the Allow Management OS.. box. If your physical switch port is configured as truck port (no VLAN 802.1q tagging) check the
    Enable VLAN ID.. box and enter the VLAN ID 98 below that. 
    - If we're talking about a handful of VMs (under 10), you can recreate them from scratch using the VHDX files. Point the VM disks to the existing disks. You don;t need any files from the old VMs except the VHD/VHDX files. Setup memory/cores/vNICs/... In
    most environments you would have this documented some where.. Assuming your physical switch port is configured as trunk port, you would VLAN tag your frames for each VM NIC. Check the Enable VLAN ID and enter the VLAN ID.
    Finally start the VM, log in with local admin credentials. The VM will have a new VNIC because of new MAC address presented by the new Hyper-V host. Enter the static IP desired, and verify communication (ping) other machines on the 98 VLAN. 
    - If we're talking about dozens or hundreds of VMs, I recommend using Powershell. Most of the scripts you'll need for this task can be found here http://superwidgets.wordpress.com/category/powershell/
    samb

  • How to improve application scalabilty hosted in windows azure virtual machine

    Hi,
    We are going to build and host an application in VM in azure environment where could receive a huge numeber of requests to the server(applicatio in IIS) . How can we handle the scalabilty of application . Is azure has
    any predefined supports ??
    With Regards,
    Selvam.M

    Azure offer both internal and external load balancing capabilities.
    It offers load balaning between virtual machines under the same load balance set.
    Check here
    http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-load-balance/
    You can create multiple Virtual machines hosting your IIS websites than use the service load balanced IP.
    For the Virtual machines performances, you can benefit from the auto-scale Azure capabilities. Autoscale will automatically turn on virtual machines when some performance thresholds are crosses (Memory, CPU usage) and turn them off when it's calm again.
    Look here
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/
    Only Standard virtual machines offer these capabilities, Basic VMs do not
    Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com

  • Windows 10 as a Hyper-V Virtual Machine

    Rather than install directly to hardware I installed the Windows 10 Preview as a virtual machine on a Windows Server 2012 R2 Hyper-V host. 
    I'm running 2048 MB RAM, dynamic Mem turned on. Only one processor.
    So, I'm looking for others who have similarly done so.  Did you/do you like it?  Are you running into any issues? 
    For me, I've encountered the following issues:
    Enhanced Session Mode:  Didn't work.  I hit the CTRL-ALT-DEL icon and it went to black screen.  Hyper-V Manager showed it at 0% CPU.  Turned off Enhanced Session mode and closed RDP window, then I was able to sign on.
    A couple of hangs.  Had to restart the vm serveral times.  My Server crashed.  I had to hold the power button down.  Came back up OK, no problems since, and I've done multiple restarts on the Win 10 VM.
    I cannot get the sound card to work.  I get an error that "an error was detected".  That's all.
    Anyways, post 'em as you get them!
    Dave
    Dave Franklyn MVP Windows Expert-IT Pro, MCDST, MCTS¹¹, MCSA², MCDBA, MCSE³, MCITP 6, MCT, Microsoft Small Business Specialist, Network+, Security+, Server+ Senior Information Technology Trainer Advanced Training Group, Continuing Education Auburn
    University Montgomery

    Hi Dave,
    I did 2 separate installation of
    Windows 10 Technical Preview outlines here. Both are Gen 2 VMs on Hyper-V 2012 R2. Installation went without a hitch. Joining the domain was uneventful (2012 R2 domain and forest level). 
    I have not had any crashes or blue screens. 
    CTRL-ALT-DEL is available in Basic session. It's grayed out in Enhanced session. This has been the case with other VMs on Hyper-V 2012 R2.
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Virtual machine metric values using timegrain

    Hi,
    I refered the below link URL to get the path of virtual machines metrics to collect the data
    https://convective.wordpress.com/2014/06/22/using-azure-monitoring-service-with-azure-virtual-machines/
    I refered the below URL link for sample java code
    http://gauravmantri.com/2013/08/25/consuming-windows-azure-service-management-api-in-java/
    I used the below string url in my java code to collect the metric values of virtual machines for every five minitues.
    But it does not give output.
    How to reterive the last five minitues of data?
    How to use timegrain in below query? Am i used it correct way?
    Input
    =====
    Syntax
    https://management.core.windows.net/<subscription_ID>/services/monitoring/metricvalues/query?&resourceId=/hostedservices/<SERVICE_NAME>/deployments/<DEPLOYMENT_NAME>/roles/<VM_NAME>&namespace=&names=Percentage CPU&timeGrain=PT5M&startTime=2014-12-22T14:30:00Z&endTime=2014-12-22T14:35:00Z
    (Example)
    https://management.core.windows.net/<subscription_ID>/services/monitoring/metricvalues/query?&resourceId=/hostedservices/egazuresqldb/deployments/egazuresqldb/roles/egazuresqldb&namespace=&names=Percentage CPU&timeGrain=PT5M&startTime=2014-12-22T14:30:00Z&endTime=2014-12-22T14:35:00Z
    output
    ======
    <MetricValueSetCollection xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Value><MetricValueSet><Name>Percentage CPU</Name><Namespace></Namespace><DisplayName>CPU
    Percentage</DisplayName><Unit>Percentage</Unit><PrimaryAggregation>Average</PrimaryAggregation><TimeGrain>PT5M</TimeGrain><StartTime>2014-12-22T14:30:00Z</StartTime><EndTime>2014-12-22T14:35:00Z</EndTime><MetricValues/></MetricValueSet></Value></MetricValueSetCollection>
    Please help me to resolve this.
    Thanks & Regards
    Rathidevi

    Hi,
    Thank you for reaching out to us.  From a support perspective the way forward would be to open up a support ticket. Please refer to
    this documentation on how to open a support ticket. Hope this helps.
    Warm Regards;
    Prasant

Maybe you are looking for