SlideShare a Scribd company logo
1 of 31
Ben Curry
Sr. Instructor
Mindsharp
DM300
Why use scripted installs?
Prerequisites
Use setup.exe to Install Binaries
Overview of config.xml
Use PSConfig.exe to provision Farm
Use stsadm.exe to build out Web apps and
Shared Services
Fun with stsadm.exe!
Repeatable results for enterprise
deployment
Rapid Deployment
Disaster Recovery
Just to be cool!
SharePoint Server
2007
SQL Server 2005
SQL Client on App2
Windows Server
2003 R2
WFE1
(query)
WFE2
(query)
APP2
Central Admin
Index
APP1
SQL Server
Add farm account to SQL Server with
Security Administrator and DB Creator rights
Alternatively assign appropriate SQL
permissions to pre-created databases
Run scripts as Installer/Farm account
Reporting Services requires farm
admin/installer
Scaling to Query services is much easier
Need SQL Administrator rights during install
Installer account needs local admin during
installation
Scripts will be available for free download at
http://www.mindsharp.com (Premium
Content)
Install on Index Server first
App2 In our Demo
Copy adsutil.vbs from inetpubAdminscripts
directory to install directory
Take your time, and don’t make it difficult
Test, test, test
Get ready to go!
Don’t be afraid of the XML!
Config.xml files on the installation media
Standalone, Farm, Upgrade, Silent
Copy and edit
Setup.exe /config %location%config.xml
Detailed TechNet Reference
Must install sts
Windows SharePoint Services 3.0
Must also install spswfe
SharePoint Server 2007
Display Level should be none or basic
Basic for this demo so you can see what is
going on
If none, wait for setup.exe to disappear from
taskmgr.exe before continuing
SERVERROLE should be APPLICATION
demo
Use sqlcmd.exe to create databases
In SQL Server program files90ToolsBINN
Secure with additional script if you do not want
SharePoint accounts to be security
administrator and DB Creator
Take your time editing the DB Create Script!
Copy and paste for additional databases
Collation MUST be
Latin1_General_CI_AS_KS_WS
Don’t ask me why, I don’t know
CREATE DATABASE SharePoint_Config_Contoso
ON
(
NAME = SharePoint_Config_Contoso_data,
FILENAME =
'c:MSSQLDataSharePoint_Config_Contoso.mdf'
)
LOG ON
(
NAME = SharePoint_Config_Contoso_log,
FILENAME =
'c:MSSQLLogSharePoint_Config_Contoso.ldf'
)
COLLATE Latin1_General_CI_AS_KS_WS
demo
Use PSConfig.exe
It’s in the ‘12 Hive’
Detailed TechNet Command-line reference
Psconfig.exe –cmd configdb <options>
Uses pre-created configuration database
Attaches server to farm (configDB)
Provision Central Admin
Create Web application (psconfig.exe –cmd
adminvs –provision <options>)
Uses pre-created Central Admin content
database
Prevents database GUID naming convention
psconfig.exe -cmd configdb -create
-server app1 -database
SharePoint_Config_Contoso -user
contosomossfarm -password P@ssw0rd
-admincontentdatabase
Central_Admin_Content
demo
Use stsadm.exe to start farm services
–o osearch to start SharePoint Search
-o spsearch to start Windows SharePoint
Services 3.0 Search
Create My Site Provider
Use –o extendvs to create Web applications
Uses pre-created content databases
Create Shared Services Provider Web App
Uses pre-created content database
demo
Create Web applications by using –o
extendvs
Apply Collaboration Portal template (spsportal)
Add Host Headers
http://my and http://my.contoso.msft
http://portal and http://portal.contoso.msft
Allows access via either URL
MSDN ‘translate.js’
script.exe //nologo translate.js "Contoso Portal" >
siteid.txt
for /f %%I in (siteid.txt) do SET SITEID=%%I
cscript.exe Adsutil.vbs set w3svc/%SITEID%/serverbindings
":80:portal.contoso.msft" ":80:portal"
Del siteid.txt
demo
Logging Levels
Be smart
SMTP Server
Global outbound setting
Add Farm administrators
Remove local administrators
Best Practice
Enable Recycle Bin
Change Recycle Bin retention period to 90
days
Change Recycle Bin 2nd stage to 20%
Change max upload size
Add managed paths
Create HR embedded managed path site
Much, much more
demo
Lay down the same bits
Use the same config.xml
Change psconfig.exe settings
Start Services
Start Search – no roles
Then start Query
Will fail without psconfig.exe –cmd
secureresrouces!
Don’t forget the Host Headers
Copy 12 Hive and inetpub customizations
Could use solutions
psconfig.exe -cmd configdb -connect
-server app1 -database
SharePoint_Config_Contoso -user
contosomossfarm -password P@ssw0rd
IMPORTANT!!
Psconfig.exe –cmd secureresources
demo
Post Event DVD brought
to you courtesy of:
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related Content

What's hot

Obiee installation 31 july
Obiee installation 31 julyObiee installation 31 july
Obiee installation 31 julyAmit Sharma
 
Sharepoint 2007 Install Best Practice Phase 1
Sharepoint 2007 Install Best Practice  Phase 1Sharepoint 2007 Install Best Practice  Phase 1
Sharepoint 2007 Install Best Practice Phase 1LiquidHub
 
Microsoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud ComputingMicrosoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud ComputingJosh Holmes
 
Oracle Linux 7 Beta First Look (Installations)
Oracle Linux 7 Beta First Look (Installations)Oracle Linux 7 Beta First Look (Installations)
Oracle Linux 7 Beta First Look (Installations)Osama Mustafa
 
Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Alan Richards
 
Oracle grid control setup and usage challenges version5
Oracle grid control setup and usage challenges version5Oracle grid control setup and usage challenges version5
Oracle grid control setup and usage challenges version5Jeff Hinds
 
Novidades do Entity Framework Core 6
Novidades do Entity Framework Core 6Novidades do Entity Framework Core 6
Novidades do Entity Framework Core 6André Luiz Secco
 
IIS for Developers
IIS for DevelopersIIS for Developers
IIS for DevelopersIdo Flatow
 

What's hot (12)

Bi apps 11117
Bi apps 11117Bi apps 11117
Bi apps 11117
 
New vm ware santhosh
New vm ware santhoshNew vm ware santhosh
New vm ware santhosh
 
Obiee installation 31 july
Obiee installation 31 julyObiee installation 31 july
Obiee installation 31 july
 
Sharepoint 2007 Install Best Practice Phase 1
Sharepoint 2007 Install Best Practice  Phase 1Sharepoint 2007 Install Best Practice  Phase 1
Sharepoint 2007 Install Best Practice Phase 1
 
Microsoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud ComputingMicrosoft/Zend Webcast on Cloud Computing
Microsoft/Zend Webcast on Cloud Computing
 
Oracle Linux 7 Beta First Look (Installations)
Oracle Linux 7 Beta First Look (Installations)Oracle Linux 7 Beta First Look (Installations)
Oracle Linux 7 Beta First Look (Installations)
 
Oracle EMC 12 Installation
Oracle EMC 12 InstallationOracle EMC 12 Installation
Oracle EMC 12 Installation
 
Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010Upgrade, Migrate and Virtualisation with SharePoint 2010
Upgrade, Migrate and Virtualisation with SharePoint 2010
 
Oracle grid control setup and usage challenges version5
Oracle grid control setup and usage challenges version5Oracle grid control setup and usage challenges version5
Oracle grid control setup and usage challenges version5
 
Novidades do Entity Framework Core 6
Novidades do Entity Framework Core 6Novidades do Entity Framework Core 6
Novidades do Entity Framework Core 6
 
IIS for Developers
IIS for DevelopersIIS for Developers
IIS for Developers
 
Best ofmms kb_final
Best ofmms kb_finalBest ofmms kb_final
Best ofmms kb_final
 

Viewers also liked

Blogging 101 For Your Company or Career
Blogging 101 For Your Company or CareerBlogging 101 For Your Company or Career
Blogging 101 For Your Company or CareerLance Haun
 
Social CRM and Recruiting Integration
Social CRM and Recruiting IntegrationSocial CRM and Recruiting Integration
Social CRM and Recruiting IntegrationLance Haun
 
The 8 man rotation 2012 season
The 8 man rotation 2012 seasonThe 8 man rotation 2012 season
The 8 man rotation 2012 seasonLance Haun
 
Pension Risk Transfer Index: February 2012
Pension Risk Transfer Index: February 2012Pension Risk Transfer Index: February 2012
Pension Risk Transfer Index: February 2012Jay Dinunzio
 
Social recruiting presentation for SWHRMA
Social recruiting presentation for SWHRMASocial recruiting presentation for SWHRMA
Social recruiting presentation for SWHRMALance Haun
 

Viewers also liked (7)

Seth Graff
Seth GraffSeth Graff
Seth Graff
 
Blogging 101 For Your Company or Career
Blogging 101 For Your Company or CareerBlogging 101 For Your Company or Career
Blogging 101 For Your Company or Career
 
Social CRM and Recruiting Integration
Social CRM and Recruiting IntegrationSocial CRM and Recruiting Integration
Social CRM and Recruiting Integration
 
The 8 man rotation 2012 season
The 8 man rotation 2012 seasonThe 8 man rotation 2012 season
The 8 man rotation 2012 season
 
Pension Risk Transfer Index: February 2012
Pension Risk Transfer Index: February 2012Pension Risk Transfer Index: February 2012
Pension Risk Transfer Index: February 2012
 
The 8 Man Rotation Ebook
The 8 Man Rotation EbookThe 8 Man Rotation Ebook
The 8 Man Rotation Ebook
 
Social recruiting presentation for SWHRMA
Social recruiting presentation for SWHRMASocial recruiting presentation for SWHRMA
Social recruiting presentation for SWHRMA
 

Similar to Automated server farm installation using psconfig and stsadm dm300 - curry - v03

Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administratorsSharon James
 
[AU SPC 2011] Backup Restore SharePoint 2010
[AU SPC 2011] Backup Restore SharePoint 2010[AU SPC 2011] Backup Restore SharePoint 2010
[AU SPC 2011] Backup Restore SharePoint 2010Alpesh Nakar
 
Intro to PowerShell
Intro to PowerShellIntro to PowerShell
Intro to PowerShellAdam Preston
 
Sps baltimore backupand_restore-dpm
Sps baltimore backupand_restore-dpmSps baltimore backupand_restore-dpm
Sps baltimore backupand_restore-dpmMichael Noel
 
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...corin29
 
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...Joel Oleson
 
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software WebcastPreparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software WebcastJoel Oleson
 
Automating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShellAutomating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShellGeoff Varosky
 
Opscode Webinar: Cooking with Chef on Microsoft Windows
Opscode Webinar: Cooking with Chef on Microsoft WindowsOpscode Webinar: Cooking with Chef on Microsoft Windows
Opscode Webinar: Cooking with Chef on Microsoft WindowsChef Software, Inc.
 
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...SPTechCon
 
Private Cloud Academy: Backup and DPM 2010
Private Cloud Academy: Backup and DPM 2010Private Cloud Academy: Backup and DPM 2010
Private Cloud Academy: Backup and DPM 2010Aidan Finn
 
Noel sps bay_backup_restore
Noel sps bay_backup_restoreNoel sps bay_backup_restore
Noel sps bay_backup_restoreMichael Noel
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressGeorge Kanellopoulos
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSharon James
 
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday CopenhagenWhat's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday CopenhagenIlia Sotnikov
 
SharePoint 2010 Virtualization - Hungarian SharePoint User Group
SharePoint 2010 Virtualization - Hungarian SharePoint User GroupSharePoint 2010 Virtualization - Hungarian SharePoint User Group
SharePoint 2010 Virtualization - Hungarian SharePoint User GroupMichael Noel
 
Bootstrap from CHEF Workstation
Bootstrap from CHEF WorkstationBootstrap from CHEF Workstation
Bootstrap from CHEF Workstationsuvadip mandal
 
Exam Overview 70-533 Implementing Azure Infrastructure Solutions
Exam Overview 70-533 Implementing Azure Infrastructure SolutionsExam Overview 70-533 Implementing Azure Infrastructure Solutions
Exam Overview 70-533 Implementing Azure Infrastructure SolutionsGustavo Zimmermann (MVP)
 

Similar to Automated server farm installation using psconfig and stsadm dm300 - curry - v03 (20)

Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 
[AU SPC 2011] Backup Restore SharePoint 2010
[AU SPC 2011] Backup Restore SharePoint 2010[AU SPC 2011] Backup Restore SharePoint 2010
[AU SPC 2011] Backup Restore SharePoint 2010
 
Intro to PowerShell
Intro to PowerShellIntro to PowerShell
Intro to PowerShell
 
Road Show Asp Net
Road Show Asp NetRoad Show Asp Net
Road Show Asp Net
 
Sps baltimore backupand_restore-dpm
Sps baltimore backupand_restore-dpmSps baltimore backupand_restore-dpm
Sps baltimore backupand_restore-dpm
 
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
 
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
STSADM Automating SharePoint Administration - Tech Ed South East Asia 2008 wi...
 
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software WebcastPreparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
 
Automating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShellAutomating Your Enterprise Application Deployments with PowerShell
Automating Your Enterprise Application Deployments with PowerShell
 
Opscode Webinar: Cooking with Chef on Microsoft Windows
Opscode Webinar: Cooking with Chef on Microsoft WindowsOpscode Webinar: Cooking with Chef on Microsoft Windows
Opscode Webinar: Cooking with Chef on Microsoft Windows
 
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
 
Private Cloud Academy: Backup and DPM 2010
Private Cloud Academy: Backup and DPM 2010Private Cloud Academy: Backup and DPM 2010
Private Cloud Academy: Backup and DPM 2010
 
Noel sps bay_backup_restore
Noel sps bay_backup_restoreNoel sps bay_backup_restore
Noel sps bay_backup_restore
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
 
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday CopenhagenWhat's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
 
Power shell
Power shellPower shell
Power shell
 
SharePoint 2010 Virtualization - Hungarian SharePoint User Group
SharePoint 2010 Virtualization - Hungarian SharePoint User GroupSharePoint 2010 Virtualization - Hungarian SharePoint User Group
SharePoint 2010 Virtualization - Hungarian SharePoint User Group
 
Bootstrap from CHEF Workstation
Bootstrap from CHEF WorkstationBootstrap from CHEF Workstation
Bootstrap from CHEF Workstation
 
Exam Overview 70-533 Implementing Azure Infrastructure Solutions
Exam Overview 70-533 Implementing Azure Infrastructure SolutionsExam Overview 70-533 Implementing Azure Infrastructure Solutions
Exam Overview 70-533 Implementing Azure Infrastructure Solutions
 

More from Vickey Bird

Upgrade tosharepoint2013a mthodicalapproachmn
Upgrade tosharepoint2013a mthodicalapproachmnUpgrade tosharepoint2013a mthodicalapproachmn
Upgrade tosharepoint2013a mthodicalapproachmnVickey Bird
 
Sfspug april-2014 permissions
Sfspug april-2014 permissionsSfspug april-2014 permissions
Sfspug april-2014 permissionsVickey Bird
 
Designing an effective information architecture (
Designing an effective information architecture (Designing an effective information architecture (
Designing an effective information architecture (Vickey Bird
 
04-Working with SharePoint Objects on the Server
04-Working with SharePoint Objects on the Server04-Working with SharePoint Objects on the Server
04-Working with SharePoint Objects on the ServerVickey Bird
 
01-Introduction to the SharePoint 2010 Development Platform
01-Introduction to the SharePoint 2010 Development Platform01-Introduction to the SharePoint 2010 Development Platform
01-Introduction to the SharePoint 2010 Development PlatformVickey Bird
 
02-Using SharePoint 2010 Developer Tools
02-Using SharePoint 2010 Developer Tools02-Using SharePoint 2010 Developer Tools
02-Using SharePoint 2010 Developer ToolsVickey Bird
 
10-Developing Silverlight Applications for SharePoint
10-Developing Silverlight Applications for SharePoint10-Developing Silverlight Applications for SharePoint
10-Developing Silverlight Applications for SharePointVickey Bird
 
08-Working with Client-Based APIs for SharePoint 2010
08-Working with Client-Based APIs for SharePoint 201008-Working with Client-Based APIs for SharePoint 2010
08-Working with Client-Based APIs for SharePoint 2010Vickey Bird
 
12-Working with SharePoint Server Profiles and Taxonomy APIs
12-Working with SharePoint Server Profiles and Taxonomy APIs12-Working with SharePoint Server Profiles and Taxonomy APIs
12-Working with SharePoint Server Profiles and Taxonomy APIsVickey Bird
 
09-Developing Interactive User Interfaces
09-Developing Interactive User Interfaces09-Developing Interactive User Interfaces
09-Developing Interactive User InterfacesVickey Bird
 
05-Creating Event Receivers and Application Settings
05-Creating Event Receivers and Application Settings05-Creating Event Receivers and Application Settings
05-Creating Event Receivers and Application SettingsVickey Bird
 
13-Developing Content Management Solutions
13-Developing Content Management Solutions13-Developing Content Management Solutions
13-Developing Content Management SolutionsVickey Bird
 
06-Developing Solutions by Using Business Connectivity Services
06-Developing Solutions by Using Business Connectivity Services06-Developing Solutions by Using Business Connectivity Services
06-Developing Solutions by Using Business Connectivity ServicesVickey Bird
 
03-Developing SharePoint 2010 Web Parts
03-Developing SharePoint 2010 Web Parts03-Developing SharePoint 2010 Web Parts
03-Developing SharePoint 2010 Web PartsVickey Bird
 
11-Developing Sandboxed Solutions
11-Developing Sandboxed Solutions11-Developing Sandboxed Solutions
11-Developing Sandboxed SolutionsVickey Bird
 
07-Developing SharePoint 2010 Workflows
07-Developing SharePoint 2010 Workflows07-Developing SharePoint 2010 Workflows
07-Developing SharePoint 2010 WorkflowsVickey Bird
 

More from Vickey Bird (16)

Upgrade tosharepoint2013a mthodicalapproachmn
Upgrade tosharepoint2013a mthodicalapproachmnUpgrade tosharepoint2013a mthodicalapproachmn
Upgrade tosharepoint2013a mthodicalapproachmn
 
Sfspug april-2014 permissions
Sfspug april-2014 permissionsSfspug april-2014 permissions
Sfspug april-2014 permissions
 
Designing an effective information architecture (
Designing an effective information architecture (Designing an effective information architecture (
Designing an effective information architecture (
 
04-Working with SharePoint Objects on the Server
04-Working with SharePoint Objects on the Server04-Working with SharePoint Objects on the Server
04-Working with SharePoint Objects on the Server
 
01-Introduction to the SharePoint 2010 Development Platform
01-Introduction to the SharePoint 2010 Development Platform01-Introduction to the SharePoint 2010 Development Platform
01-Introduction to the SharePoint 2010 Development Platform
 
02-Using SharePoint 2010 Developer Tools
02-Using SharePoint 2010 Developer Tools02-Using SharePoint 2010 Developer Tools
02-Using SharePoint 2010 Developer Tools
 
10-Developing Silverlight Applications for SharePoint
10-Developing Silverlight Applications for SharePoint10-Developing Silverlight Applications for SharePoint
10-Developing Silverlight Applications for SharePoint
 
08-Working with Client-Based APIs for SharePoint 2010
08-Working with Client-Based APIs for SharePoint 201008-Working with Client-Based APIs for SharePoint 2010
08-Working with Client-Based APIs for SharePoint 2010
 
12-Working with SharePoint Server Profiles and Taxonomy APIs
12-Working with SharePoint Server Profiles and Taxonomy APIs12-Working with SharePoint Server Profiles and Taxonomy APIs
12-Working with SharePoint Server Profiles and Taxonomy APIs
 
09-Developing Interactive User Interfaces
09-Developing Interactive User Interfaces09-Developing Interactive User Interfaces
09-Developing Interactive User Interfaces
 
05-Creating Event Receivers and Application Settings
05-Creating Event Receivers and Application Settings05-Creating Event Receivers and Application Settings
05-Creating Event Receivers and Application Settings
 
13-Developing Content Management Solutions
13-Developing Content Management Solutions13-Developing Content Management Solutions
13-Developing Content Management Solutions
 
06-Developing Solutions by Using Business Connectivity Services
06-Developing Solutions by Using Business Connectivity Services06-Developing Solutions by Using Business Connectivity Services
06-Developing Solutions by Using Business Connectivity Services
 
03-Developing SharePoint 2010 Web Parts
03-Developing SharePoint 2010 Web Parts03-Developing SharePoint 2010 Web Parts
03-Developing SharePoint 2010 Web Parts
 
11-Developing Sandboxed Solutions
11-Developing Sandboxed Solutions11-Developing Sandboxed Solutions
11-Developing Sandboxed Solutions
 
07-Developing SharePoint 2010 Workflows
07-Developing SharePoint 2010 Workflows07-Developing SharePoint 2010 Workflows
07-Developing SharePoint 2010 Workflows
 

Recently uploaded

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Automated server farm installation using psconfig and stsadm dm300 - curry - v03

  • 1.
  • 3. Why use scripted installs? Prerequisites Use setup.exe to Install Binaries Overview of config.xml Use PSConfig.exe to provision Farm Use stsadm.exe to build out Web apps and Shared Services Fun with stsadm.exe!
  • 4. Repeatable results for enterprise deployment Rapid Deployment Disaster Recovery Just to be cool!
  • 5. SharePoint Server 2007 SQL Server 2005 SQL Client on App2 Windows Server 2003 R2 WFE1 (query) WFE2 (query) APP2 Central Admin Index APP1 SQL Server
  • 6. Add farm account to SQL Server with Security Administrator and DB Creator rights Alternatively assign appropriate SQL permissions to pre-created databases Run scripts as Installer/Farm account Reporting Services requires farm admin/installer Scaling to Query services is much easier Need SQL Administrator rights during install Installer account needs local admin during installation
  • 7. Scripts will be available for free download at http://www.mindsharp.com (Premium Content) Install on Index Server first App2 In our Demo Copy adsutil.vbs from inetpubAdminscripts directory to install directory Take your time, and don’t make it difficult Test, test, test Get ready to go!
  • 8. Don’t be afraid of the XML! Config.xml files on the installation media Standalone, Farm, Upgrade, Silent Copy and edit Setup.exe /config %location%config.xml
  • 9. Detailed TechNet Reference Must install sts Windows SharePoint Services 3.0 Must also install spswfe SharePoint Server 2007 Display Level should be none or basic Basic for this demo so you can see what is going on If none, wait for setup.exe to disappear from taskmgr.exe before continuing SERVERROLE should be APPLICATION
  • 10. demo
  • 11. Use sqlcmd.exe to create databases In SQL Server program files90ToolsBINN Secure with additional script if you do not want SharePoint accounts to be security administrator and DB Creator Take your time editing the DB Create Script! Copy and paste for additional databases Collation MUST be Latin1_General_CI_AS_KS_WS Don’t ask me why, I don’t know
  • 12. CREATE DATABASE SharePoint_Config_Contoso ON ( NAME = SharePoint_Config_Contoso_data, FILENAME = 'c:MSSQLDataSharePoint_Config_Contoso.mdf' ) LOG ON ( NAME = SharePoint_Config_Contoso_log, FILENAME = 'c:MSSQLLogSharePoint_Config_Contoso.ldf' ) COLLATE Latin1_General_CI_AS_KS_WS
  • 13. demo
  • 14. Use PSConfig.exe It’s in the ‘12 Hive’ Detailed TechNet Command-line reference Psconfig.exe –cmd configdb <options> Uses pre-created configuration database Attaches server to farm (configDB) Provision Central Admin Create Web application (psconfig.exe –cmd adminvs –provision <options>) Uses pre-created Central Admin content database Prevents database GUID naming convention
  • 15. psconfig.exe -cmd configdb -create -server app1 -database SharePoint_Config_Contoso -user contosomossfarm -password P@ssw0rd -admincontentdatabase Central_Admin_Content
  • 16. demo
  • 17. Use stsadm.exe to start farm services –o osearch to start SharePoint Search -o spsearch to start Windows SharePoint Services 3.0 Search Create My Site Provider Use –o extendvs to create Web applications Uses pre-created content databases Create Shared Services Provider Web App Uses pre-created content database
  • 18. demo
  • 19. Create Web applications by using –o extendvs Apply Collaboration Portal template (spsportal) Add Host Headers http://my and http://my.contoso.msft http://portal and http://portal.contoso.msft Allows access via either URL MSDN ‘translate.js’
  • 20. script.exe //nologo translate.js "Contoso Portal" > siteid.txt for /f %%I in (siteid.txt) do SET SITEID=%%I cscript.exe Adsutil.vbs set w3svc/%SITEID%/serverbindings ":80:portal.contoso.msft" ":80:portal" Del siteid.txt
  • 21. demo
  • 22. Logging Levels Be smart SMTP Server Global outbound setting Add Farm administrators Remove local administrators Best Practice
  • 23. Enable Recycle Bin Change Recycle Bin retention period to 90 days Change Recycle Bin 2nd stage to 20% Change max upload size Add managed paths Create HR embedded managed path site Much, much more
  • 24. demo
  • 25. Lay down the same bits Use the same config.xml Change psconfig.exe settings Start Services Start Search – no roles Then start Query Will fail without psconfig.exe –cmd secureresrouces! Don’t forget the Host Headers Copy 12 Hive and inetpub customizations Could use solutions
  • 26. psconfig.exe -cmd configdb -connect -server app1 -database SharePoint_Config_Contoso -user contosomossfarm -password P@ssw0rd IMPORTANT!! Psconfig.exe –cmd secureresources
  • 27. demo
  • 28.
  • 29. Post Event DVD brought to you courtesy of:
  • 30.
  • 31. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.