use case 1 - for sitecore automation module

7
@RobsonAutomato r HOW TO ADD PLENTY IIS BINDINGS & HOSTS ENTRIES IN SECOND SITECORE SITES CONFIGUR ATION IIS BINDING S HOSTS FIles SITECORE AUTOMATION MODULE https://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

Upload: robert-senktas

Post on 15-Apr-2017

139 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Use case 1 - for Sitecore Automation Module

@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

HOW TO ADD PLENTY IIS BINDINGS & HOSTS ENTRIES IN SECOND

SITECORE SITES

CONFIGURATION

IIS BINDING

SHOSTS FIles

SITECORE AUTOMATION

MODULE

Page 2: Use case 1 - for Sitecore Automation Module

@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

Use Case for Sitecore Automation ModuleMigration of 4 servers SIT/CM/2xCD

Page 3: Use case 1 - for Sitecore Automation Module

@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

Use Get-SitecoreSites command and extract hostName propertyGet Sitecore Sites

$webPath = 'E:\www\MySite\Website\App_Config\Include\Novo' $hosts = Get-SitecoreSites -Path $webPath | Select-Object -ExpandProperty hostName

Page 4: Use case 1 - for Sitecore Automation Module

@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

Add IIS BindingsUse Add-SitecoreBindings to add hosts to IIS

Add-SitecoreBindings -Hosts $hosts -WebSite "Sitecore8"

Page 5: Use case 1 - for Sitecore Automation Module

@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

Add Hosts EntriesUse New-SitecoreHostEntry to add entries to hosts file

foreach($hostName in $hosts){ New-SitecoreHostsEntry -IpAddress 127.0.0.1 -HostName $hostName

New-SitecoreHostsEntry -IpAddress 255.255.255.255 -HostName $hostName -Path $devhosts }

Page 6: Use case 1 - for Sitecore Automation Module

@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

Powershell ScriptUsing Sitecore-Automation module

Page 7: Use case 1 - for Sitecore Automation Module

@RobsonAutomatorhttps://bitbucket.org/sitecoreautomationteam/sitecore-automation/wiki/Home

More about Sitecore Automation Module