規劃 SharePoint Server 跨網站發佈的邏輯架構Plan the logical architecture for cross-site publishing in SharePoint Server

摘要:了解 SharePoint Server 跨網站發佈網站的元件與一般架構。Summary: Learn about components and typical architectures for SharePoint Server cross-site publishing sites.

跨網站發佈是 SharePoint Server 的發佈方法,您可使用一個以上的製作網站集合來製作與儲存內容,或是使用一個以上的發佈網站集合來控制網站的設計、顯示內容。製作網站集合包含各種目錄,例如頁面庫,以及利用中繼資料標記的項目清單。搜尋系統會為這些目錄編製索引並提供給發佈網站集合。發佈網站集合會擷取已建立索引的資料,然後透過使用搜尋技術 (本文稱之為「搜尋網頁組件」) 的「網頁組件」顯示在網頁上。如需相關資訊,請參閱<SharePoint Server 的跨網站發佈概觀>。Cross-site publishing is a publishing method in SharePoint Server in which you use one or more authoring site collections to author and store content, and one or more publishing site collections to control the design of the site and to show content. The authoring site collection can contain catalogs such as Pages libraries, and lists of items that are tagged with metadata. These catalogs are indexed by the search system and made available to the publishing site collection. The publishing site collection takes the data that has been indexed and shows it on web pages by using Web Parts that use search technology (referred to in this article as Search Web Parts). For more information, see Overview of cross-site publishing in SharePoint Server.

本文說明跨網站發佈架構的元件,以及一般跨網站發佈架構。This article describes the components of a cross-site publishing architecture and illustrates typical cross-site publishing architectures.

SharePoint 跨網站發佈架構的元件Components of a SharePoint cross-site publishing architecture

大部分跨網站發佈架構皆包含兩個以上的網站集合,這樣可區隔製作環境與發佈環境。您建立的製作與發佈網站集合數量,須視專案需求而定,例如要有多少目錄、目錄的位置、有多少發佈網站要顯示內容。您需要的應用程式集區與 Web 應用程式數量,取決於您要建立的網站類型。例如內部網路網站可能使用同一個應用程式集區與 Web 應用程式來製作與發佈網站集合。相反地,網際網路網站的製作網站集合會在公司防火牆內部,且發佈網站集合 (可設定為允許使用者匿名存取) 可能位於不同的應用程式集區與 Web 應用程式中。因為跨網站發佈在所有 Web 應用程式與伺服器陣列中都能運作,所以您可建立跨網站發佈解決方案,符合您的 SharePoint Server 拓撲。Most cross-site publishing architectures include two or more site collections, which separate the authoring environment from the publishing environment. The number of authoring and publishing site collections that you create depends on project requirements such as how many catalogs there will be and where they are located, and how many publishing sites will show the content. The number of application pools and web applications that you require depends on the type of site you want to create. For example, an intranet site might use the same application pool and web application for both authoring and publishing site collections. Conversely, an Internet site's authoring site collection would be inside the company firewall, and the publishing site collection might be in a separate application pool and web application that is configured to allow anonymous access for users. Because cross-site publishing works across web applications and server farms, you can create a cross-site publishing solution that fits your SharePoint Server topology.

在您開始規劃要將哪些元件放入跨網站發佈架構內前,請思考下列問題:Before you begin to plan the components that go into a cross-site publishing architecture, consider the following questions:

  • 您要建立哪種類型的發佈網站?網際網路?內部網路?或是外部網路網站?What types of publishing sites are you creating? Are they Internet, intranet, or extranet sites?

  • 使用者將有哪些存取權?您要允許匿名存取嗎?或是僅供已驗證的使用者存取?還是兩者皆可?What kind of access will users have? Do you want to allow anonymous access, or authenticated users, or both?

  • 您需要區隔機密內容 (僅供特定對象存取) 和一般內容 (供大眾存取) 嗎?Do you need to separate sensitive content for a limited audience from content that will be accessible to a larger audience?

下節說明一些重要元件,在您使用跨網站發佈的 SharePoint Server 解決方案規劃邏輯架構時,必須針對這些元件做出重要決策。The following sections describe the components about which you must make key decisions as you plan the logical architecture for a SharePoint Server solution that uses cross-site publishing.

製作網站集合Authoring site collections

製作網站集合是製作或儲存內容的地方。您可以擁有一個以上的製作網站集合。單一網站集合可以有多個文件庫與清單。但是,每個網站只能有一個頁面庫。若要將內容分到多個頁面庫,您必須建立多個網站集合,或是在網站集合中建立多個網站。如需相關資訊,請參閱<規劃 SharePoint Server 中跨網站發佈用的製作網站>的<為 SharePoint 製作網站規劃網站集合與網站結構>。Authoring site collections are where content is authored or stored. You can have one or more authoring site collections. A single site collection can have multiple libraries and lists. However, there can be only one Pages library per site. If you want to separate content into multiple Pages libraries, you must either create multiple site collections, or create multiple sites within a site collection. For more information, see "Plan site collections and site structure for SharePoint authoring sites" in Plan authoring sites for cross-site publishing in SharePoint Server.

使用受管理的中繼資料網站欄位中的字彙,即可標記製作網站集合中的文件庫與清單內容。搜尋系統為內容建立索引後,索引會將欄位當作中繼資料包含在內,並用於分類內容,方便顯示在發佈網站集合。Library and list content in authoring site collections is tagged by using terms in a managed metadata site column. When the content is indexed by the search system, the column is included as metadata in the index, and is used to categorize content to appear in the publishing site collection.

您可在根網站集合建立文件庫與清單內容。但是,若您認為您最終仍會在網站中使用變化,建議您在網站集合中建立網站,然後在網站中建立內容。若您之後才決定需要使用變化,您可將網站指定為來源變化網站,並簡化網站集合中變化階層的建立程序。You can create library and list content at the root of the site collection. However, if you think that you might eventually use variations in your site, we recommend that you create a site within the site collection, and create content there. If you later decide that you need to use variations, this will enable you to specify the site as the source variation site, and will simplify the creation of a variations hierarchy within the site collection.

您為跨網站發佈架構規劃製作網站集合時,請思考下列問題:As you plan authoring site collections for your cross-site publishing architecture, consider the following questions:

  • 您必須要有幾個製作網站集合?How many authoring site collections do you have to have?

  • 有任何製作網站集合必須位於不同的 Web 應用程式嗎?Do any of the authoring site collections have to be in a separate web application?

  • 您有許多內容作者群組,分屬不同的安全性群組嗎?Will you have separate groups of content authors that belong to separate security groups?

發佈網站集合Publishing site collections

發佈網站集合是內容顯示的地方。您可以擁有一個以上的發佈網站集合。但是,您不需要按照我們針對製作網站集合所提供的建議,在網站集合中建立網站。一般而言,發佈網站集合的 URL 可依照位置、地區設定或品牌等準則區隔網站。若搜尋引擎最佳化是重要的業務需求,那麼這個功能通常會很實用。例如,若您有個外部網路網站,您可建立一個名為 https://partnerweb.contoso.com 的發佈網站集合,專供外部合作夥伴使用,還可建立一個名為 https://customerweb.contoso.com 的發佈網站集合,專供客戶使用。Publishing site collections are where content is shown. You can have one or more publishing site collections. However, you do not have to create a site within the site collection, as recommended for authoring site collections. Typically, publishing site collections have URLs that separate sites based on criteria such as location, locale, or brand. This is often helpful when search engine optimization is an important business need. For example, for an extranet site, you might have one publishing site collection named https://partnerweb.contoso.com for external partners, and another publishing site collection named https://customerweb.contoso.com for customers.

您為跨網站發佈架構規劃發佈網站集合時,請思考下列問題:As you plan publishing site collections for your cross-site publishing architecture, consider the following questions:

  • 您必須要有幾個發佈網站集合?How many publishing site collections do you have to have?

  • 有任何發佈網站集合必須位於不同的 Web 應用程式嗎?Do any of the publishing site collections have to be in a separate web application?

  • 您要使用多個 Web 應用程式,改善搜尋引擎最佳化嗎?Do you want to use multiple web applications to improve search engine optimization?

  • 您會有許多網站使用者群組,使用不同類型的驗證嗎?Will you have separate groups of site users who will use different types of authentication?

使用跨網站發佈功能時,您使用搜尋技術來擷取和顯示內容。指定於發佈網站中不同「搜尋網頁組件」的查詢,會傳送到搜尋索引,以擷取相關內容並顯示在「網頁組件」中。因此搜尋編目程式必須能夠存取製作網站集合的內容。如需詳細資訊,請參閱<在 SharePoint Server 中規劃編目及同盟>中的<規劃編目程式驗證>。When you use cross-site publishing, you use search technology to retrieve and show content. The queries that are specified in the different Search Web Parts on the publishing site are sent to the search index to retrieve relevant content and show it in the Web Parts. Accordingly, the search crawler must have access to content on authoring site collections. For more information, see "Plan crawler authentication" in Plan crawling and federation in SharePoint Server.

內容會根據搜尋查詢顯示在發佈網站集合中。查詢使用的字詞,將從製作網站用來標記內容的一組以上字詞集中挑選。這些字詞會固定在發佈網站集合的導覽區塊中,用來建置查詢,以便從搜尋索引取得並顯示內容。如需詳細資訊,請參閱<規劃 SharePoint Server 中跨網站發佈用的製作網站>的<規劃字詞集,以便標記 SharePoint 製作網站上的內容>、<規劃 SharePoint Server 中供網站間發佈用的製作網站>的<規劃 SharePoint 發佈網站的導覽字詞集>,以及<在 SharePoint Server 2016 中規劃跨網站發佈網站的搜尋功能>的<規劃結果來源與查詢規則>。Content is shown on the publishing site collection based on search queries. The queries use terms from one or more term sets that were used to tag content on the authoring site. These terms are pinned to the navigation of the publishing site collection, where they are used to build the queries that get and show content from the search index. For more information, see "Plan term sets for tagging content on SharePoint authoring sites" in Plan authoring sites for cross-site publishing in SharePoint Server, "Plan navigation term sets for SharePoint publishing sites" in Plan publishing sites for cross-site publishing in SharePoint Server, and "Plan result sources and query rules" in Plan search for cross-site publishing sites in SharePoint Server 2016.

資產庫Asset libraries

資產庫包含二進位大型物件 (BLOB),例如製作網站內容所用的圖片及視訊檔案。這些資產必須可由兩個不同的使用者群組存取:製作網站的內容作者,以及發佈網站的讀者。若發佈網站是可讓匿名使用者存取的網際網路網站,則資產庫所在的網站集合必須與製作網站不同,且必須位於允許匿名使用者存取的 Web 應用程式中。因此所在的 Web 應用程式不一定與發佈網站為同一個。不管在哪一種情況下,設計者或內容作者皆必須能上傳檔案到資產庫,且必須將資產庫加到製作網站的「建議的內容瀏覽器位置」清單中,方便內容作者尋找並使用儲存在資產庫的資產。Asset libraries contain binary large objects (BLOBs) such as pictures and video files that are used in content on the authoring site. These assets must be accessible by two separate groups of users: content authors on the authoring site, and readers on the publishing site. If the publishing site is an Internet site available to anonymous users, the asset library must be in a separate site collection from the authoring site, and must be in a web application that is configured to allow anonymous access. This could be in the same web application as the publishing site, or in a separate web application. In either case, designers or content authors must be able to upload files to the asset library, and the library should be added to the list of Suggested Content Browser Locations for the authoring site so that content authors can locate and use assets stored within the library.

您為跨網站發佈架構規劃資產庫時,請思考下列問題:As you plan asset libraries for your cross-site publishing architecture, consider the following questions:

  • 資產將位於何處?Where will assets be located?

  • 發佈網站使用者將如何獲得存取權,以便查看發佈網站內容所顯示的參照資產?How will publishing site users be granted access to see assets that are referenced in content that is shown on the publishing site?

  • 製作網站的內容作者將如何尋找資產並將資產插入內容?How will content authors on the authoring site locate assets and insert them into content?

一般 SharePoint 跨網站發佈架構Typical SharePoint cross-site publishing architectures

本節說明跨網站發佈的一般架構。這些架構為範例,教導您如何建構內部網路、外部網路及網際網路網站的架構。但是,安排解決方案的架構,方法有很多。This section illustrates typical architectures for cross-site publishing. These architectures are examples of how you might structure your architecture for an intranet, extranet, and Internet site. However, there are many different ways in which you can arrange the architecture for your solution.

內部網路網站Intranet site

下圖顯示發佈內部網路網站的簡易一對一 (1:1) 製作發佈網站設定。The following figure shows a simple one-to-one (1:1) authoring-to-publishing site configuration for a published intranet site.

發佈的內部網路範例架構

兩個網站集合皆位於使用宣告式驗證的單一 Web 應用程式內。製作網站集合 (http://authoring) 內含單一頁面庫,可包含一個以上的清單或非頁面庫的文件庫。所有文件庫與清單都會以目錄形式共用。目錄內容會顯示在單一發佈網站集合 (http://contosoweb)。Both site collections are located within a single web application that uses claims-based authentication. The authoring site collection (http://authoring) contains a single Pages library, and can also contain one or more lists or libraries that are not Pages libraries. All libraries and lists are shared as catalogs. The catalog content is shown in a single publishing site collection (http://contosoweb).

因為製作與發佈網站集合皆位於相同的 Web 應用程式中,所以資產庫檔案是儲存在製作網站集合中,且 http://contosoweb 的網站使用者對這些資產皆有讀取權限。Because the authoring and publishing site collections are in the same web application, asset library files are stored in the authoring site collection, and site users on http://contosoweb have read access to those assets.

搜尋系統會為製作網站的內容建立索引。若使用者檢視發佈網站的頁面,該頁面的「搜尋網頁組件」所送出的查詢會傳送到搜尋索引。搜尋索引會回傳結果並顯示在該頁面的「搜尋網頁組件」。The search system indexes content from the authoring site. When a user views a page on the publishing site, queries from Search Web Parts on that page are sent to the search index. Results are returned from the search index and shown in the Search Web Parts on the page.

外部網路網站Extranet site

下圖顯示發佈外部網路網站的一對多 (1:n) 製作發佈網站設定。The following figure shows a one-to-many (1:n) authoring-to-publishing site configuration for a published extranet site.

發佈的外部網路範例架構

製作與發佈網站集合位於不同的 Web 應用程式內。製作的內容 Web 應用程式會使用 Active Directory 網域服務 (AD DS) 來驗證內容作者,而內含發佈的外部網路網站的 Web 應用程式會使用表單型驗證來驗證設計者、客戶與合作夥伴。外部網路網站位於單一 Web 應用程式但不同的網站集合中,以便加強隔離客戶與合作夥伴。製作網站集合 (http://authoring/) 包含兩個網站:一個是客戶內容 (http://authoring/customer),另一個是合作夥伴內容 (http://authoring/partner)。每個網站都有一個頁面庫,也可包含一個以上的清單。所有文件庫與清單都會以目錄形式共用。頁面庫與清單內容分別顯示在兩個發佈網站集合,一個名為 https://customerweb.contoso.com,專供客戶使用,另一個名為 https://partnerweb.contoso.com,專供合作夥伴使用。如需如何規劃外部網路網站架構的詳細資訊,請參閱<SharePoint Server 設計範例:公司入口網站及外部網站>。The authoring and publishing site collections are located in separate web applications. The Authored content web application uses Active Directory Domain Services (AD DS) for authentication of content authors, whereas the web application that contains the Published extranet sites uses forms-based authentication for designers, customers, and partners. The extranet sites are located in a single web application, but are in separate site collections to provide for greater isolation between customers and partners. The authoring site collection (http://authoring/) contains two sites, one for customer content (http://authoring/customer) and one for partner content (http://authoring/partner). Each site contains a single Pages library, and can also contain one or more lists. All libraries and lists are shared as catalogs. The Pages library and list content is shown in two separate publishing site collections, one named https://customerweb.contoso.com for customers, and one named https://partnerweb.contoso.com for partners. For more information about how to plan an extranet site architecture, see SharePoint Server design samples: Corporate portal and extranet sites.

因為發佈網站集合在防火牆外部,資產庫會位於不同網站集合,但會與發佈外部網路網站集合在相同的 Web 應用程式中,所以發佈網站的使用者對這些資產皆有讀取權限。內部網路使用者 (例如設計者與其他內容作者) 擁有「參與」權限等級,可以加入、更新與刪除資產庫內的項目。資產庫會加至製作網站集合的「建議的內容瀏覽器位置」清單中,方便內容作者在內容中使用這些資產。Because the publishing site collections are outside the firewall, the asset library is located in a separate site collection in the same web application as the published extranet site collection so that users on the publishing sites have read access to those assets. Internal users such as designers and other content authors have the Contribute permission level to add, update, and delete items in the asset library. The asset library is added to the Suggested Content Browser Locations list for the authoring site collection so that content authors can use those assets in their content.

搜尋系統會為製作網站的內容建立索引。若使用者檢視其中一個發佈網站的頁面,該頁面的「搜尋網頁組件」所送出的查詢會傳送到搜尋索引。搜尋索引會回傳結果並顯示在該頁面的「搜尋網頁組件」。The search system indexes content from the authoring site. When a user views a page on one of the publishing sites, queries from Search Web Parts on that page are sent to the search index. Results are returned from the search index, and shown in the Search Web Parts on the page.

網際網路網站Internet site

下圖顯示發佈網際網路網站 (包含個別產品型錄) 的多對多 (n:n) 製作發佈網站設定。The following figure shows a many-to-many (n:n) authoring-to-publishing site configuration for a published Internet site that includes a separate product catalog.

發佈的內部網路範例架構

製作與發佈網站集合位於不同的 Web 應用程式內。製作的內容 Web 應用程式會使用 AD DS 來驗證內容作者,而發佈的網際網路網站 Web 應用程式則會使用表單型驗證來驗證設計者、客戶與合作夥伴,也會設定成允許外部使用者匿名存取。製作網站 (http://authoring) 包含單一頁面庫。產品型錄網站集合 (http://products) 包含產品資料清單。所有文件庫與清單都會以目錄形式共用。目錄內容會出現在兩個不同的發佈網站集合中,一個名為 http://www.contoso.com,另一個名為 http://www.fabrikam.com。不同的內容與產品會根據相關品牌顯示在發佈網站中。The authoring and publishing site collections are located in separate web applications. The Authored content web application uses AD DS for authentication of content authors, whereas the Published Internet sites web application uses forms-based authentication for designers and is also configured to allow anonymous access for external users. The authoring site (http://authoring) contains a single Pages library. The product catalog site collection (http://products) contains a list of product data. All libraries and lists are shared as catalogs. The catalog content appears in two separate publishing site collections, one named http://www.contoso.com and one named http://www.fabrikam.com. Different content and products are shown on the publishing sites based on the associated brand.

因為發佈網站集合在防火牆外部,資產庫會位於不同網站集合,但與發佈網站集合在相同的 Web 應用程式中,所以發佈網站的使用者對這些資產皆有讀取權限。內部網路使用者 (例如設計者與其他內容作者) 擁有「參與」權限等級,可以加入、更新與刪除資產庫內的項目。資產庫會加至製作與產品型錄網站集合的「建議的內容瀏覽器位置」清單中,方便內容作者在內容中使用這些資產。Because the publishing site collections are outside the firewall, the asset library is located in a separate site collection in the same web application as the publishing site collections so that users on the publishing sites have read access to those assets. Internal users such as designers and other content authors have Contribute permission level to add, update, and delete items in the asset library. The asset library is added to the Suggested Content Browser Locations list for the authoring and product catalog site collections so that content authors can use those assets in their content.

搜尋系統會為製作網站及產品型錄網站集合的內容建立索引。若使用者檢視其中一個發佈網站的頁面,該頁面的「搜尋網頁組件」所送出的查詢會傳送到搜尋索引。搜尋索引會回傳結果並顯示在該頁面的「搜尋網頁組件」。The search system indexes content from the authoring site and the product catalog site collection. When a user views a page on one of the publishing sites, queries from Search Web Parts on that page are sent to the search index. Results are returned from the search index, and shown in the Search Web Parts on the page.

另請參閱See also

概念Concepts

規劃 SharePoint Server 的跨網站發佈Plan for cross-site publishing in SharePoint Server

SharePoint Server 的跨網站發佈概觀Overview of cross-site publishing in SharePoint Server

規劃 SharePoint Server 中跨網站發佈用的製作網站Plan authoring sites for cross-site publishing in SharePoint Server

規劃 SharePoint Server 中供網站間發佈用的製作網站Plan publishing sites for cross-site publishing in SharePoint Server

在 SharePoint Server 2016 中規劃跨網站發佈網站的搜尋功能Plan search for cross-site publishing sites in SharePoint Server 2016

在 SharePoint Server 中設定跨網站發佈Configure cross-site publishing in SharePoint Server

評估 Web Content Management 的容量和效能 (SharePoint Server 2013)Estimate capacity and performance for Web Content Management (SharePoint Server 2013)