This blog has moved to www.SharePointFabian.com
Goo Day all,
I am no longer posting new blogs here and all blog post that is here has been migrated to the new site. My new blog is http://www.sharepointfabian.com/blog please update your book mark and blog roll if I am on it.
Happy Thanksgiving – I’m Thankful for a great SharePoint Community
This is my final blog on using WordPress, I am thankful for all that WordPress gave me over the years. I am also thankful for FPWeb sponsorship of my New Blog which is located at http://www.SharePointFabian.com/Blog please bookmark that address moving forward please. The root site has more information beyond my blogging http://www.SharePointFabian.com such as event speaking, thing I find interesting etc. Thank you @drewbills for branding it and Thank You @marcykellar for the awesome pics you took of me.
See my latest blog on Managed Accounts in SharePoint 2010 using PowerShell
Happy Thanksgiving All!
Meet Fabian Williams at the SharePoint Symposium Washington DC Renaissance November 17,2010
I will be part of a panel called “Stump the SharePoint Consultant” between 10:45 am to 11:30 am – Track 3 SharePoint Ecosystem
I know a few of these panelist also and I am sure it will be a great discussion forum. Looking forward to seeing you there.
Code from Fabian Williams Session at SharePoint Saturday DC Federal on Linq to SharePoint
As promised here is the code… I may blog the experience also
please pick up the code on my SharePoint 2010 Blog. It is in three text file or one zip File.
Screen shots are below so you can remember where they were in my session
My Deck is also located there.
A little teaser for Fabian Session at SharePoint Saturday DC Federal at Booz Allen Hamilton McLean
So it is 3 am and I have just finished my Lab, as my Hard Drive died and as usual I am traveling all over the place, I just had the time to get this done. But it is good. Come see my session on Linq to SharePoint http://www.sharepointsaturday.org/dcfederal/meetings/17/LINQtoSharePointWhatisitHowdoIUseit.aspx
Here is a Code Snippet of what I have in store for you
Coding how to aggregate data from SQL Server, Pre Existing List in SharePoint and Console data. with Logic to discriminate
SharePoint Template Question Revealed – Where is the Intranet Collaboration Template in 2010
Synopsis
So I am on a client site this week yet again and I am doing an Envisioning, ADS, and a SharePoint Intranet Base Install. Now that I am about to talk Taxonomy and Information Architecture, we touched on just having a few sites to begin with so they are not overwhelmed, but more importantly I only have a limited time on this project and there are quick wins that I can have by using that old Microsoft Office SharePoint Server (MOSS) templates called “Intranet Publishing Portal Template” which was under the Publishing Tab for Creating Sites. Now in SharePoint Server 2010 that Template is not in the GUI under that Tab, however you can get to it and provision a site using that Template using PowerShell
Disclaimer
I have seen a few conversations by folks in the community that I have great respect for taking the position of both using that Template for provisioning new sites in the SharePoint 2010 world v/s NOT using that Template and rather using the newer templates on Microsoft SharePoint 2010
Microsoft does have some guidance on it on the Technet Planning Sheet Sites
http://technet.microsoft.com/en-us/library/cc262410.aspx
Pay attention to the last paragraph on the page which reads in part…
“Some Microsoft Office SharePoint Server 2007 site templates, such as the site directory, news, and collaboration portal templates, are not available as an option in SharePoint Server 2010…These templates are also still available as options in the UI if the SharePoint Server 2010 farm is upgraded from Office SharePoint Server 2007. Otherwise use the social tagging features in SharePoint Server 2010 to get much of the functionality provided in these templates”
How To
SO here we go…
If you are provisioning a Site Collection for an Intranet Site in SharePoint 2010 “I have seen” where folks use Templates out of the Tabs of either of the below two screenshots below. There are several food for thought as to using one over the other; one way is to start out with a Blank Site and just activate the features you need accordingly.
New SharePoint Site
New SharePoint Site
Powershell to the Rescue
So you can, with three (3) commands gain access to the Template that you had in MOSS, see below for the command and execution
Just to Verify; run the following command and look 9 from the bottom
To actually provision the site you need to run yet another PowerShell command as indicated below which identifies the template of choice with the other parameters needed.
And BoooYaaaH you have your Intranet Collaboration Site Created in SharePoint 2010 with all the starter sites at your disposal.
In Closing
Remember I told you. Microsoft does not have this in the GUI for whatever reasons which means that I did above is probably unsupported or has issues buried somewhere, or maybe not. The truth of the matter is that I dont know.
Use at your own risk
I welcome any questions, comments, rants
Cheers!
My Experience with @BrianLala SharePoint AutoInstaller – I like it
So… as an avid user of Twitter I noticed a few tweets going back and forth between Spence @Harbars and Brian @BrianLala about this tool on CodePlex called AutoSPInstaller. I have heard about it in the past but most recently and after speaking to Spence about what he ‘coined’ the Idiot Button i.e. the Farm Configuration Wizard; I have been on the quest to find a way to automate creating Service Accounts after installing the SharePoint bits. Spence does have a few blogs on the topic which i have used to great success, but in the end PowerShell is there for a reason, i just needed to know how to use it. As a DEV, I wasnt looking forward to learning PowerShell, though i know I have to, but this #AutoSPInstaller utility allows me to cheat – at least for a time – and I get the best of both worlds.
I felt it necessary to blog my experience because there are at least two gotchas that I am aware of but overall my experience was satisfactory.
So after downloading the tool, the first thing i will encourage you to do is.. yes.. Read the “ReadMe” file that is included. It details what you need to do to fire off the script. The tool comes with a few XML files that you will have to modify; by that I mean, configure. However, these configuration steps is just a matter of providing nomenclatures for your Databases, your Account Names for Service Accounts, your Passwords for those accounts, and whether you want to install features by indicating 1 or 0 (zero).
There is a Launch.bat file which executes the PowerShell (*.ps1) file; which inturn interrogates a Setup(optionalfilename).XML file for configuration specifics. In my modifications to my Setup.XML i also renamed to file to include the NETBIOS name of the Server, this allows me to have a specific file for each server in the Farm.
The First Gotcha I encountered had to do with the Installation of the Bits; the script provides for executing the PreInstaller which does work; however I had an issue whereby one of the packages failed so that didnt allow the SharePoint Install to run after the PreInstaller completed. Basically, the script didnt have a graceful exception rule for instances where the PreInstaller fails. What I got was a generic error BUT, the script log file did tell me where the error was encountered and I did notice it was in the [Region] for the PreInstaller. So I just ran the AutoInstaller by itself and then re-ran the AutoSPInstaller Launch.bat file
The Second Gotcha I met was right after I executed the batch file. The error is below in the screen shot.
The Error isnt that descriptive but after going back to Twitter and on CodePlex I saw that I either had to do one of the following
- Do a “Run-As” and run the batch file as an Administrator or
- Turn off User Access Control (UAC)
What I found particularly interesting is that although I ran the file on the SharePoint box; which is where I got the error, it was actually referencing an issue on a separate Box, i.e. the SQL Box
So, I elected to make the changes to UAC because I also don’t like the interruptions when i am installing products.
After I completed those issues with my mitigation techniques; it was smooth sailing. I have included below some screenshots of the process and the resultant logs
Below is the Command Window iterative logs; which is also captured in a log file
Below are all my Sites that were created.
So in Conclusion.
You are going to have questions on this blog, the first one may be..Well Fabian “What do i do if I wan to build out a Farm that Includes more than one Server (in-fact I fielded a question on Twitter already on this one)..
the answer is to create another specific Setup[YourNameHere]Inputs.xml file and this time it will JOIN the already created farm rather than create a new Farm. There are several “If Exist” statement in the PowerShell script that does checks for that. Now though I did this in my Lab fortunately this week, I am on a project where I need to do a Base Install of SharePoint 2010 and I plan to use the tool for that. I will let you know how it goes…
As usual, I welcome any Comments, Questions,
Cheers!
Fabian Williams WordPress Blog has been MOVED to http://www.sharepointfabian.com/blog
Please Bookmark my New Blog Site:
SharePoint Fabian – http://www.sharepointfabian.com/blog
For a period of 30 days I will post my Blogs on BOTH sites, but eventually i will taper off to my SharePoint 2010 Site being sponsored by FPWeb.net Thank you FPWeb; please follow them on twitter @fpweb or on Facebook http://www.facebook.com/#!/fpweb?ref=ts
See my new SharePoint 2010 Blog
Thank you all for following me on twitter @fabianwilliams and my corporate persona @adotobllc I really appreciate all the comments, critique, and suggestions.
Keep em coming!
How To: Configure and Consume Kerberos for use in SQL Server 2008 R2 and SharePoint 2010 Part 2
Part 1: – How To: Configure and Consume Kerberos for use in SQL Server 2008 R2 and SharePoint 2010 Part1
Part 2: – Configuring Service Applications, Sites, and Verifying our Work
Part 3: – Test out Using Web Parts and Communicating Securely across Web Applications with Kerberos
Synopsis
In Part 1 we covered the installation of SQL, creating SPN’s for SQL, creating and configuring Service Accounts for SharePoint and the requite SPNs for SharePoint Service Applications and Web Applications. In this Part 2 we will pick up from there an build out the following
- Create, Configure Search Service Application
- Create Kerberos Authentication Web Applications for
- Intranet Site – Portal
- Team Site – Teams
- My Site – My
- Create Site Collections for all three
Part 5: How to Make it Work
NEXT I WILL START CREATING SERVICE APPLICATIONS
MY FIRST ONE WILL BE SEARCH SO WHEN I CREATE MY SITES, THEY CAN ALREADY BE SQUARED AWAY FOR CRAWLING AND SEARCHING
So, right now my Service Applications is Naked.. lets get Search done first so when we create or Web Apps they will be added to the Content Source of the Search Service Applicaitons.
Screen clipping taken: 8/14/2010 11:29 AM
Screen clipping taken: 8/14/2010 11:39 AM
Screen clipping taken: 8/14/2010 11:49 AM
Screen clipping taken: 8/14/2010 11:51 AM
Now I will create my Web Apps for
- Portal
- Teams
- My
Right now the only Site is the Admin Site
Screen clipping taken: 8/14/2010 12:01 PM
We begin by creating a new Web App for our Portal
Screen clipping taken: 8/14/2010 12:03 PM
Change the Auth Provider to Kerberos
Screen clipping taken: 8/14/2010 12:04 PM
Create a new App Pool with the Managed Account that we have and already created the SPN for
Name your Content DB appropriately
Screen clipping taken: 8/14/2010 12:05 PM
Accept the other Defaults
Screen clipping taken: 8/14/2010 12:06 PM
Once you click OK you will get prompted about the use of Kerberos
Screen clipping taken: 8/14/2010 12:06 PM
Screen clipping taken: 8/14/2010 12:09 PM
Comfirmation is provided
Screen clipping taken: 8/14/2010 12:10 PM
Verify Auth Provider
Screen clipping taken: 8/14/2010 12:11 PM
Click Default
Screen clipping taken: 8/14/2010 12:14 PM
Screen clipping taken: 8/14/2010 12:14 PM
Now lets create a Site collection
Screen clipping taken: 8/14/2010 12:18 PM
Screen clipping taken: 8/14/2010 12:20 PM
Screen clipping taken: 8/14/2010 12:48 PM
And if all goes well
Screen clipping taken: 8/14/2010 1:22 PM
Let us now verify that Kerberos is what was used to get us to this point
We will use a variety of techniques
FIRST THRU IIS
Screen clipping taken: 8/14/2010 1:27 PM
Screen clipping taken: 8/14/2010 1:31 PM
Screen clipping taken: 8/14/2010 1:32 PM
Screen clipping taken: 8/14/2010 1:39 PM
You can also run Klist on the WFE
Screen clipping taken: 8/14/2010 1:56 PM
This is also what we have as far as Databases created so far based on our configs
Screen clipping taken: 8/14/2010 1:57 PM
Screen clipping taken: 8/14/2010 2:07 PM
Screen clipping taken: 8/14/2010 2:07 PM
Screen clipping taken: 8/14/2010 2:08 PM
Screen clipping taken: 8/14/2010 2:09 PM
DO THE SAME FOR the MySite
Then we should have the following Web Apps Created
Screen clipping taken: 8/14/2010 2:18 PM
Screen clipping taken: 8/14/2010 2:37 PM
Screen clipping taken: 8/14/2010 6:01 PM
On the MySite turn on Self Service Site Creation
Screen clipping taken: 8/14/2010 6:05 PM




