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 july
Amit 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 1
LiquidHub
 
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
 

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

Social CRM and Recruiting Integration
Social CRM and Recruiting IntegrationSocial CRM and Recruiting Integration
Social CRM and Recruiting Integration
Lance Haun
 
The 8 Man Rotation Ebook
The 8 Man Rotation EbookThe 8 Man Rotation Ebook
The 8 Man Rotation Ebook
H3 HR Advisors, Inc.
 
Social recruiting presentation for SWHRMA
Social recruiting presentation for SWHRMASocial recruiting presentation for SWHRMA
Social recruiting presentation for SWHRMA
Lance 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

Sps baltimore backupand_restore-dpm
Sps baltimore backupand_restore-dpmSps baltimore backupand_restore-dpm
Sps baltimore backupand_restore-dpm
Michael Noel
 
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
Tipstricksandbestpracticesformanagingmicrosoftofficesharepointserver2007 0905...
corin29
 
Noel sps bay_backup_restore
Noel sps bay_backup_restoreNoel sps bay_backup_restore
Noel sps bay_backup_restore
Michael Noel
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
George Kanellopoulos
 
Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
Sharon James
 
Bootstrap from CHEF Workstation
Bootstrap from CHEF WorkstationBootstrap from CHEF Workstation
Bootstrap from CHEF Workstation
suvadip mandal
 

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 mthodicalapproachmn
Vickey Bird
 
Sfspug april-2014 permissions
Sfspug april-2014 permissionsSfspug april-2014 permissions
Sfspug april-2014 permissions
Vickey 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 Server
Vickey 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 Platform
Vickey Bird
 
02-Using SharePoint 2010 Developer Tools
02-Using SharePoint 2010 Developer Tools02-Using SharePoint 2010 Developer Tools
02-Using SharePoint 2010 Developer Tools
Vickey Bird
 
10-Developing Silverlight Applications for SharePoint
10-Developing Silverlight Applications for SharePoint10-Developing Silverlight Applications for SharePoint
10-Developing Silverlight Applications for SharePoint
Vickey 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 2010
Vickey 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 APIs
Vickey Bird
 
09-Developing Interactive User Interfaces
09-Developing Interactive User Interfaces09-Developing Interactive User Interfaces
09-Developing Interactive User Interfaces
Vickey 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 Settings
Vickey Bird
 
13-Developing Content Management Solutions
13-Developing Content Management Solutions13-Developing Content Management Solutions
13-Developing Content Management Solutions
Vickey 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 Services
Vickey Bird
 
03-Developing SharePoint 2010 Web Parts
03-Developing SharePoint 2010 Web Parts03-Developing SharePoint 2010 Web Parts
03-Developing SharePoint 2010 Web Parts
Vickey Bird
 
11-Developing Sandboxed Solutions
11-Developing Sandboxed Solutions11-Developing Sandboxed Solutions
11-Developing Sandboxed Solutions
Vickey Bird
 
07-Developing SharePoint 2010 Workflows
07-Developing SharePoint 2010 Workflows07-Developing SharePoint 2010 Workflows
07-Developing SharePoint 2010 Workflows
Vickey 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

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

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.