Topology Manager is configured only by PowerShell cmdlets. We have to set the following variable
- CD Topology Type/Purpose Type
- CD Topology Environment
- CD Topology
- Create Topology Website app with website URL.
- WebSite mapping with publication and root path of Webapp
- CD Topology Type
This is the Step 1 and here have to define the environment purpose variable. By the below command, currently setting environment purpose for “Staging” only, if you need to add this id variable for multiple purpose like : Live and Staging, then have to pass the all purposes name in comma separated in one line (e.g. Staging, Live) or later on you can add by the SET-TtmcdTopologyType.
Note: Just for update, you can set 1 Topology Type for multiple purpose (means Live and Staging), If you do like this way then only can set the same publication for publishing the data to two or three different environment.
- CD Topology Environment
After setting the Topology type we have to map the defined purpose to discovery service URL like below
In the above command, have set environmentpurpose as “Staging” with staging server of discovery URL. Like the same, can set environmentpurpose as Live with Live server discovery URL.
- CD Topology
Now need to add the topology variable mapping between the Topology Type variable and Topology environment variable by below command
- Create Topology Website app with website URL.
In this step, need to define the topology webapp variable which will map with the base URL of the web site.
- Website mapping with publication and root path of Webapp variable
Before mapping on this step, need to define the Business Process Type in CMS and have to set with the publication. In my case.
In the above image Topology type name is coming from Step -1 and Purpose name is also display from Step-1. I have set the Business Process Type name as Staging only.
After defining the Business Process Type need to set this to Publication property window like below.
After setting the Business Process type with Publication copy the publication URI which will set with the webapp. For this go back to PowerShell window and run like below
After follow the above steps, once you publish any page or component then you will get the below screen