Deploy SharePoint 2013 in Windows Azure

For most of the people who are into IT of large organizations, it’s easy to learn SharePoint as most of these organizations have right infrastructure along with right software licenses.

But if you are an individual who want’s to learn SharePoint, especially 2013 in private, the options are next to none as everything from hardware to software are prohibitively costly.

Now thanks to Microsoft’s Windows Azure, you have all the things needed to proceed with your learning at relatively low to moderate pricing. Even you get a 30 day trial.

The following are the topics I have covered to get you started and pointers to ponder before starting.

  1. Setting up in Azure
  2. Billing
  3. No more de-provisioning the VMs
  4. Missing Items
  5. Pointers

Setting up in Azure

You can visit the link Step-by-Step: Build a FREE SharePoint 2013 Lab in the Cloud with Windows Azure Infrastructure Services by Keith to deploy a SharePoint 2013 lab environment and even expose the site to internet.

This setup requires the following.

  1. A Windows Server 2012 based VM for AD
  2. A SQL Server 2012 based VM for Data
  3. A SharePoint 2013 Trial based VM for SharePoint 2013 App Server
  4. A DNS Server
  5. A Virtual Network
  6. An affinity group
  7. A storage account
  8. Setting your machine (client machine) with Windows Azure PowerShell

You have to note that this environment doesn’t have Visual Studio available for development. But as Keith mentions there is an option to setup a development environment.

If you want to run Visual Studio on a VM within Azure, I’d recommend preparing a new VM in your virtual network from the Windows Server 2012 platform image.  You’ll likely want to customize it a bit to act more like a development client environment – check out my prior article at blogs.technet.com/…/step-by-step-building-a-free-windows-8-app-dev-lab-in-the-cloud-with-windows-azure-virtual-machines.aspx for the steps.  This article if primarily oriented towards setting up a Windows 8 App Development environment on Azure, but a full copy of Visual Studio with SharePoint development support could easily be substituted at the end of the article instead of using Visual Studio Express.

Hope this helps!

Keith

Billing

At the time of writing this article the charges would be mostly towards the 3 VMs. The following is my assumption.

“When the VM’s are shutdown, the computing for related Cloud Services & storage would not be added.”

Take this with a grain of salt.

Hence the computing will be as following.

  1. AD – Small VM (1.6GHz CPU, 1.75GB RAM, 225GB Storage) – $0.09/hr (pay as you go)
  2. SQL Server – Medium VM (2 x 1.6GHz CPU, 3.5GB RAM, 490GB Storage) – $0.225/hr (pay as you go)
  3. SharePoint 2013 Trial – Large VM (4 x 1.6GHz CPU, 7GB RAM, 1,000GB Storage) – $0.36/hr (pay as you go)

No more de-provisioning the VMs

When Windows Azure was rolled out one of the issue for most of the people was that, even after the VM’s are shutdown, your computing will be accumulated and charged. The reason behind that is, until unless the VMs were de-provisioned, the fabric resources or resources which the VM’s use will be reserved.

Previous to this enhancement being available, the Azure platform maintained fabric resource reservations for VMs, even in a shutdown state, to ensure consistent resource availability when starting those VMs in the future.  And, this meant that VMs had to be exported and completely deprovisioned when not in use to avoid compute charges.

Hence user’s use to de-provision the VMs so that they are not charged when the VMs are not in use.

But during the June 2013 TechEd conference an enhancement was rolled out, called “VMs that are shutdown from the Windows Azure Management Portal will no longer continue to accumulate compute charges while stopped!

Hence from the time of posting this article, all you need to do was shutdown the VM from Azure Portal instead of running De-Provision PowerShell script and your computing will not be accumulated. That is your VM will be in “Stopped (Deallocated)” status.

But it has some after effects like when the VM is started again it will have new Dynamic IP.

“Deallocated” means that the VM configuration is no longer being actively associated with fabric resources, such as virtual CPUs, memory and networks. In this state, the VM will not continue to allocate compute charges, but since fabric resources are deallocated, the VM could receive a different internal IP address ( called “Dynamic IPs” or “DIPs” in Windows Azure ) the next time it is started.

Missing Items

CONTOSO\Administrator

In the article “Step-by-Step: Build a FREE SharePoint 2013 Lab in the Cloud with Windows Azure Infrastructure Services” Keith would have not mentioned about creating the user “CONTOSO\Administrator“. Do that at the time of creating the service accounts.

Joining the server to domain contoso.com

In the article “Step-by-Step: Build a FREE SharePoint 2013 Lab in the Cloud with Windows Azure Infrastructure Services” Keith would have mentioned the DB & SP App servers to be joined with contoso.com.

If you are not a Windows Server administrator or don’t have experience, then you may not know how to join a server to an existing domain.

It’s very simple, read the heading “Change server name or join a domain” at How to perform four common tasks in Windows Server 2012

Pointers

  • When you create a VM, make sure you select the right Virtual Network and Storage Account.
  • When you delete a VM, it’s associated Virtual Hard disk (VHD) would not be deleted. You have to manually delete it from storage account.
  • If you are not able to delete a VHD and get “Error deleting VHD: There is currently a lease on the blob and no lease ID was specified in the request” follow this Microsoft Forum Thread Error deleting VHD

When you visit the above links, don’t forget to go through the comments posted. Those comments have lot of useful queries from various users as well as replies from Keith.

Oh by the way, it took me not more than couple of hours to setup and configure SharePoint 2013 in Windows Azure and it’s awesomely easy. The only thing which took time was SharePoint configuration Wizard. It took nearly 10 minutes!.

So what are you waiting for, start messing with SharePoint 2013 !

Learning basics of photography without a real camera

Photography is one of the very interesting hobbies most of the people have. But for most of the newbies, understanding the concepts of various aspects like ISO, Aperture, Shutter Speed can be slightly daunting. People need a real SLR or bridge to understand how these parameters work hand in hand and becomes difficult when they don’t have one.

But now, thanks to Canon, you could understand these aspects without a need for real camera. Visit the site mentioned below and you could understand the basic of these parameters as well as try them out with virtual camera provided in the site.

 http://canonoutsideofauto.ca

Check out a screenshot of the page

Showing items counts in SharePoint 2010 Search Refinement Panel

Bringing search count in refinement panel of SharePoint 2010 search result page is very easy and straight forward.

  1. Edit the page containing the search result page with refinement panel.
  2. Go to the web part properties of refinement panel.
  3. Expand the “Refinement” section and edit “Filter Category Definition”
  4. For each “Category” add ShowCounts=”Count”
  5. Check-in and publish the page
<Category Title="Title" Description="Use this filter to restrict results authored by a specific author" Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" MetadataThreshold="1" NumberOfFiltersToDisplay="4" MaxNumberOfFilters="20" SortBy="Frequency" SortByForMoreFilters="Name" SortDirection="Descending" SortDirectionForMoreFilters="Ascending" ShowMoreLink="True" MappedProperty="Title" MoreLinkText="show more" LessLinkText="show fewer" ShowCounts="Count"/>

If the count doesn’t show up, then uncheck the “Use Default Configuration” checkbox under the same “Refinement” section.

Intellisense for AXML files doesn’t work in Visual Studio 2012

Most of the people who work with Xamarin’s Mono for Android in Visual Studio 2012 face a bug where Intellisense doesn’t work for AXML in source view.

One of the fix which worked for me is mentioned below.

  1. Launch Visual Studio 2012
  2. Open a solution with .AXML file in it
  3. Now XML main menu should be visible on top
  4. Open “Schemas…” menu
  5. Sort by “File Name” column and see if “android-layout-xml” and “schemas.android.com.apk.res.android” are there. If found, skip to step 13
  6. If not found, go to “Program Files” if 32-bit system or “Program Files (x86)” if 64-bit system.
  7. Then go to “\MSBuild\Novell” or “\MSBuild\Xamarin\Android”
  8. You should be able to see 2 files “android-layout-xml.xsd” and “schemas.android.com.apk.res.android.xsd”
  9. Copy these 2 files to “\Microsoft Visual Studio 11.0\Xml\Schemas”
  10. Again open the “Schemas…” menu as mentioned in steps 3&4
  11. Now click “Add…” button and add these 2 files which should be located as mentioned in step 7 & 8
  12. Now restart visual studio and the XML editor for design layout should work fine with Intellisense
  13. From step 5….
  14. If above steps don’t work, then close the Visual Studio 2012.
  15. Now open “Developer command prompt for VS2012” under Windows programs menu.
  16. Type “Devenv /ResetSettings” without quotes.
  17. Launch Visual Studio 2012 and see if Intellisense works.
  18. If still not working, better go to Xamarin  forums and post there.

Searching in a list with one keyword across two columns

We have a document list with 2 columns. One is a text column and other is a lookup column

The requirement was that, user should be able to search across two columns, where the condition being, search should match with either of the column. The following url format works for this particualr scenario.

http://server/sites/site1/sitePages/DocumentSearchPage.aspx?k= &r=Column1:”query*” OR Column2:”query*”&cs=This List&u=http://server/sites/site1/library1

Note:

DocumentSearchPage.aspx has a Search Core Results webpart.

The parameer “k” is not required. But sometime without this parameter search result is blank. Hence “k” will have a empty character as string.

cs=This List is a query paramter which helps in searching a particular library. This depends on the parameter “u” explained in next line.

u=http://server/sites/site1/library1 is the library from which search result should come.

Google as default search provider in Internet Explorer 10 for Windows 8 Pro

When I started using Internet Explorer 10 in Windows 8 Pro the default search provider was Bing. I wanted to switch to Google Search Provider.

So when I searched for that add on, it was not showing up for various reasons mentioned across the internet.

The one thing which worked was visiting the following link and add the Google search provider.

http://www.iegallery.com/en-US/Addons/Details/813

1.8 gigapixel ARGUS-IS – World’s highest resolution video surveillance platform

US Defence might soon or already have a 1.8 gigapixel video surveillance system called “ARGUS-IS” which should be able to identify a 6″ item from an altitude of 17,000 feet !

Take a look at the amazing technology in the below video !

[embedplusvideo height=”281″ width=”450″ standard=”http://www.youtube.com/v/QGxNyaXfJsA?fs=1″ vars=”ytid=QGxNyaXfJsA&width=450&height=281&start=&stop=&rs=w&hd=0&autoplay=0&react=0&chapters=&notes=” id=”ep6262″ /]

Source: Reddit

Head 2 Head – Bugatti Veyron vs Lamborghini Aventador vs Lexus LFA vs McLaren MP4-12C

One of my favourite drag race videos !

“Bugatti Veyron vs Lamborghini Aventador vs Lexus LFA vs McLaren MP4-12C” 

[embedplusvideo height=”281″ width=”450″ standard=”http://www.youtube.com/v/m5_AKjDdqaU?fs=1″ vars=”ytid=m5_AKjDdqaU&width=450&height=281&start=&stop=&rs=w&hd=0&autoplay=0&react=0&chapters=&notes=” id=”ep3069″ /]

Enjoy 🙂

Micromax A116 Canvas with 5-inch IPS HD display, 4-core processor, 1 GB RAM and Android 4.1 at 15K INR

Seems like Micromax is going to launch another flagship A116, mobile most probably a successor of A110.

Following is the specs based on various sites.

  • 5-inch (1280 x 720 pixels) HD IPS 16.7 million color display
  • 1.2 GHz quad-core MediaTek MT6589 processor
  • 1GB RAM, 4GB internal memory, 32GB expandable memory with MicroSD
  • Android 4.1 (Jelly Bean)
  • 8MP rear camera with LED Flash, VGA front-facing camera
  • 3.5mm audio jack
  • 3G, WiFi 802.11 b/g/n, Bluetooth, GPS/A-GPS
  • 2100 mAh battery

 

[embedplusvideo height=”281″ width=”450″ standard=”http://www.youtube.com/v/kIETgltyjzg?fs=1″ vars=”ytid=kIETgltyjzg&width=450&height=281&start=&stop=&rs=w&hd=0&autoplay=0&react=0&chapters=&notes=” id=”ep5095″ /]

The phone might cost Rs. 15,000/-

Source: FoneArena, EYF Times & iGyaan