Brian Henderson's shared items
Hey folks,
This week I am at presenting SharePoint and Hyper-V information to both EMC and Microsoft personnel @ the Microsoft campus, Building 33 in Redmond, WA. Strangely, its not raining!
I will be covering topics, such as best practices, Hyper-V virtualization, backup and recovery and DR. I hope to share these presentations with you once the conference is over, so stay tuned.
On to the real topic…SharePoint & the proliferation of SQL databases.
SharePoint’s main stay of information is in the form of SQL databases.
In a typical SharePoint SQL Server I would categorize these databases in the following four layers;
===SQL System Databases (created when SQL is installed)
-Master, Model, MSDB, TempDB
===SharePoint configuration Databases (created when SharePoint is installed)
-SP_Config, etc
===SharePoint content databases (created at the end of SP install, portal & content creation)
-WSS_Content_* (Portal),
SharePoint_AdminContent_* (Central Admin)
User-defined content databases (eg ContentDB01, 02, 03)
===SharePoint Shared Services Provider databases (created with SSP & application configuration)
-SharedServices_DB (SSP Configuration database)
Shared Services applications
-Search
-SharedServices_Search_DB (actual Office Search “Osearch” database)
-WSS_Search_{hostname} (WSS SPsearch DB – per host)
You need to follow standard SQL best practices, including storage BPs to ensure good SharePoint performance, granular backup and recovery and efficient disaster recovery. Agreed.
(I will go into more best practices for SharePoint SQL storage in a seperate post, let’s stay with this for now)
SharePoint does not allow the user to specify where the SQL database data and logs files should reside, and so the default database locations will be used. The default databases data and log files locations are a part of the SQL instance configuration.
These are recorded in the registry, specific to the SQL instant, e.g.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.$$INSTANCE$$\MSSQLServer\
\DefaultData (Default database data file location)
\DefaultLog (Default database log file location)
Easier is to use SQL Management Studio
– Right click the SQL instance, Properties, Database Settings -> Database default Locations.
Today, we have two choices in ensuring that SharePoint SQL databases are in the right locations…
1) Change the default SQL data file location prior to the SharePoint configuration task (e.g. create a SSP)
or
2) After the SharePoint configuration task, bring down SharePoint hosts, detach, relocate and re-attach the SQL databases.
I perfer #1 myself
So, here are the recommended sequence of steps to take
Recommended sequence
1) Install SQL with advanced options
-ensure that master, model, msdb locations are correctly set.
-ensure that tempdb is on different LUNs, ideally filegroup the datafiles
2) Change the default database file locations to your SP Configurations volume
-then install SharePoint.
3) Change the default database file locations to your “basic content” (or SP Configurations) volume
-then create your SharePoint portal(s).
4) Change the default database file locations to your SSP & Search Configurations volume
-then create your SharePoint SSP and add SPsearch roles to hosts
5) Change the default database file locations to your SSP Search Database volumes
-then create your SharePoint SSP Search application and associate a content source
Now, user-level content databases is trickier…
You dont want to have to follow this procedure every time as many content databases will be created in time.
My recommendation would be;
1) logged in as the SharePoint system account in SQL, manually create content databases in the right storage locations
2) then use either Central Admin or STSADM to attach an existing SQL Content Database
a) Central Admin way
– Central Administration > Application Management > Content Databases
– specify the name of the existing SQL content database
or
b) Stsadm way – stsadm -o addcontentdb -url (URL) -databasename (ContentDB name) -databaseserver (SQL name)
Example
stsadm -o addcontentdb -url http://portal.sps.com/site01 -databasename ContentDB01 -databaseserver SQL1
You should not need to specify the username/password as you will use a trusted connection within your domain.
I am putting in an enhancement request to Microsoft to allow SharePoint admins to specific the directory locations from Central Admin/STSADM/Powershell in future.
Every so often, especially with dispersed power users (capable of creating content databases), full audits of SharePoint database files should be carried out. It is vital to ensure that all databases are protected.
Hope this helps people
James.

Microsoft’s SaaS versions of Exchange/SharePoint/OCS have been out for a year. Here are some updates:
- BPOS (the bundle of Exchange, SharePoint, OCS, and Live Meeting) has a million paid seats.
- Largest customer is Glaxo Smith Kline, with 100,000 seats.
- Microsoft continues to prefer to deliver via business partners. They get 12% of the initial sale, and 6% of ongoing revenues.
- Currently sold into 20 markets. In addition, it’s being trialed in 15 new countries (e.g., Czech, Greece, Malaysia, Taiwan, Chile, Brazil).
- A new data center will open in Brazil in 2010. That will make a total of seven data centers throughout the world.
- Every 90 days substantial enhancements are added.
Pricing:
- Hitherto, the bundled mix of Exchange/SharePoint/OCS and Live Meeting was priced at $15/seat/month. The price is now reduced to $10/seat/month. However, there was a semipermanent 30% promotion in place, so the reduction isn’t as material as it might appear.
- Exchange Online Standard has gone from $10/seat/month to $5/seat/month, a big reduction. This will have material impact on competition.
- Office SharePoint Online Standard has gone from $7.25/seat/month to $5.25/seat/month.
- Office Communications Online has gone from $2.50/seat/month to $2/seat/month.
- The Web-browser-only Exchange/SharePoint version is still $3/seat/month.
These online offerings are very strong and very attractive. We continue to be impressed. Sales are still in their very early days. The main competitors for the foreseeable future are:
- On-premises versions of Exchange/SharePoint/OCS
- Cisco and Google
The SaaS offering from IBM/Lotus is some way from being a major threat; we look forward to this situation changing.
Adobe has posted a version of PhotoShop usable on the iPhone. The new program is sure to be a hit with the rapidly growing base of Apple device users. Using the popular finger gesture interface, users can crop, rotate, apply effects, adjust color and more. As a plus, users can also load their images up to their Photoshop.com account for web publication or to ensure backup. Get the free mobile app here.
Stories referenced:
(0:22) Cloud storage provider Zetta looks to replace production network-attached storage
(3:30) Quantum launches midrange data deduplication backup appliances
(5:02) IBM unveils new flagship storage system, DS8700
(7:14) Panasas delivers clustered NAS with SSD
(7:51) Riverbed updates RiOS; Steelhead WAFS device now supports Citrix and disaster recovery
(8:22) EMC cautiously optimistic about storage spending