在 SharePoint Server 中規劃網站維護與管理Plan for site maintenance and management in SharePoint Server

摘要: 了解在 SharePoint Server 2016 和 SharePoint 2013 中如何透過網站和網站集合的管理來控制資源使用狀況。Summary: Learn how to control resource utilization through management of sites and site collections in SharePoint Server 2016 and SharePoint 2013.

SharePoint Server 伺服器陣列中的每個網站和網站集合皆使用系統資源,例如儲存、處理、網路。已經不使用或放棄的網站會使用資源但不具備任何商業價值,也就是說,它們使用的是可以用在其他地方的儲存空間。除了您原本計劃配置的系統資源,故障的網站還會使用其他資源。在這兩種情況下存取系統資源都會遭拒,使得效能降低、負荷量增加、減少管理方便性。為了協助您避免發生這些問題,您需要規劃管理您的網站和網站集合。本文將介紹在 SharePoint Server 中可以用來管理網站與網站集合的工具。Every site and site collection in your SharePoint Server farm uses system resources, such as storage, processing, and network. If sites are unused or abandoned they use resources but don't deliver any business value, and so they are using storage space that could be used somewhere else. Out-of-control sites use system resources beyond what your original plan may have allocated to them. In both cases, access to system resources is being denied and performance will suffer, overhead increases, and manageability decreases. To help you avoid these issues, you need to plan for managing your sites and site collections. This article tells you about the tools you can use to manage sites and site collections in SharePoint Server.

配額Quotas

要控制您的網站和網站集合所使用的資源數量,第一個步驟是建立並套用配額範本。配額可以讓您控制網站集合存放的資料量,並在儲存區達到大小上限時鎖定網站不讓它存放更多內容。使用配額,您也可以控制資源的量,例如網站或網站集合可以使用的處理器和記憶體數量。配額可讓您設定儲存量限制值和警告限制值,以及應用程式不能超過的資源使用量限制。一旦您設定並套用配額,就會減少故障網站集合所造成問題的影響。如需有關如何使用及設定配額的詳細資訊,請參閱<在 SharePoint Server 中建立、編輯和刪除配額範本>。The first step in controlling the amount of resources that your sites and site collections use is to establish and apply quota templates. Quotas let you control how much data a site collection can hold and then lock the site to further content when site storage reaches a maximum size. With quotas you can also control the amount of resources, such as processor and memory, that a site or site collection can use. Quotas let you set storage limit values and warning limit values as well as resource utilization limits which applications cannot exceed. Once you configure and apply quotas, you reduce the impact of issues caused by out-of-control site collections. For more information on working with quotas and how to configure them, see Create, edit, and delete quota templates in SharePoint Server.

執行資料庫和伺服器容量規劃時,請決定您想要強制使用多大的大小限制 (如果有的話)。下列清單說明如何善用配額:When you perform your database and server capacity planning, determine what size limits (if any) you want to enforce. The following list describes how to take the best advantage of quotas:

  • 建立用於不同網站類型的不同配額範本。例如,您可能希望不同部門、不同客戶類型或不同路徑使用不同的配額 (可能是 /sites 路徑下之網站的每個網站集合只有 100MB,而 /VIP 路徑下之網站的每個網站集合最多可有 300MB)。當您從 管理中心 建立網站集合時,可以指定要使用的配額範本。請注意,使用自助網站管理所建立的網站,會為 Web 應用程式使用預設配額。Create different quota templates for different site types. For example, you might want different quotas for different divisions, or for different customer types, or for different paths (perhaps sites under the /sites path only get 100 MB per site collection, whereas sites under the /VIP path can take up to 300 MB per site collection). Whenever you create a site collection from Central Administration, you can specify which quota template to use. Note that sites created by using Self-Service Site Management use the default quota for the web application.

  • 提供網站合理成長的足夠空間。根據每個網站的用途,其儲存空間需求可能會有很大的不同。網站會設計成隨使用時間成長。一開始使用 50 MB 配額限制的儲存空間不僅對大多數網站而言可能不夠,對長時間運作的網站而言更是不夠。Give enough room for reasonable growth in sites. Depending on what each site is used for, storage space needs can vary dramatically. Sites are designed to grow over time as they are used. A quota limit of 50 MB is unlikely to be enough storage space to start with for most sites, and is unlikely to be anywhere near enough for a site that has a long life.

  • 允許從傳送警告電子郵件訊息到鎖住超出其配額的網站之前,有合理的通知。例如,請勿將警告限制設為 80MB 並將網站儲存量限制設為 85MB。如果使用者正在上傳數個大型檔案,在通知不足下便遭到封鎖而無法完成該工作,會使他們感到不悅。Allow for reasonable notice between the warning email message and locking the site for exceeding its quota. For example, do not set the warning limit to 80 MB and the site storage limit to 85 MB. If users are in the middle of uploading several large files, they will not be happy if they are blocked from completing that task with very little notice.

  • 封存過時的內容或網站。但是,若要封存或刪除過時的內容或網站,請確定使用者了解該項計劃,並確定您只會在預定時間內執行這些動作。例如,發佈您何時要封存內容或刪除未使用之網站的排程。Archive obsolete content or sites. However, if you are going to archive or delete obsolete content or sites, be sure that users understand that plan and that you perform these actions only at predictable times. For example, publish a schedule of when you are going to archive content or delete unused sites.

  • 定期檢閱網站權限。例如,每季檢閱權限,以移除任何已離開該群組或專案之使用者的權限。Periodically review site permissions. For example, review the permissions quarterly to remove permissions for any users who have left the group or project.

  • 經常建立備份網站內容的計劃。判斷或探索備份的頻率,以及在必要時還原內容的程序。如需詳細資訊,請參閱<在 SharePoint Server 中規劃備份和修復>。Create a plan to back up site content often. Determine or discover how often backups will be made, and the process for restoring content when necessary. For more , see Plan for backup and recovery in SharePoint Server.

使用情況報告Usage reports

配額讓整個網站集合不會超過您設定的限制,但網站集合之中的某些網站和網頁會比其他網站和網頁使用更多資源。為了平衡系統資源,您需要留意使用度高的網頁和網站以及使用度低或已放棄的網站。使用度高的網站可能需要更多的資源,而使用度低或已放棄的網站則應該加以封存或刪除。您的網站維護計劃應該包括如何管理環境中的網站集合大小和數量。如果您允許自助網站管理,這是最重要的。大多數組織想要能夠預測和控制網站的預期成長,因為會對他們的資料庫資源造成影響。例如,如果內容資料庫有 100 個網站,而這些網站的其中一個佔用的空間超過 50%,則您可能需要將該網站集合移動到其他的內容資料庫。如此可以確保為額外的成長保留一些空間,同時又能保有備份及還原資料庫的能力。Quotas prevent site collections as a whole from exceeding the limits you set, but within a site collection, some sites and pages will be used more than others. In order to balance your system resources you need to be aware of highly used pages and sites and of underused or abandoned sites. The highly used sites may need more resources and underused or abandoned ones should be archived or deleted. One part of your site maintenance plan should be a plan for how to manage the size and number of site collections in your environment. This is most important if you allow Self-Service Site Management. Most organizations want to be able to predict and control how much growth they can expect from sites because of the impact that they can have on database resources. For example, if a content database contains 100 sites, and one of those sites is taking up more than 50 percent of the space, then you might need to move that site collection to a different content database. This will ensure that you preserve some room for additional growth, while maintaining the ability to back up and restore the databases.

SharePoint Server的使用情況報告可讓您追蹤每日及每月的網站或網站集合的點擊數和特定使用者數目。伺服器陣列管理員必須先設定使用狀況和資料集合,您才可以檢視報告。如需詳細資訊,請參閱在 SharePoint Server 中設定 Usage and Health Data Collection。如需關於檢視並使用使用量報告的詳細資訊,請參閱View usage reports in SharePoint ServerIn SharePoint Server usage reports let you track the number of hits and number of unique users for a site or site collection on a daily and monthly basis. Before you can view the reports, a farm administrator must configure usage and data collection. For more information, see Configure usage and health data collection in SharePoint Server. For more information on viewing and using usage reports, see View usage reports in SharePoint Server.

網站與網站集合刪除Site and site collection deletion

您必須規劃如何處理專案結束後變成非使用中的網站,或使用者專為測驗一些構思所建立而在完成之後不再使用的網站。「網站使用確認與刪除」協助您找出何時不再需要網站,讓您可以保持更乾淨的環境。執行此功能時,會將電子郵件訊息自動傳送給網站擁有人,以判斷網站是否仍在使用中。若擁有人未回覆電子郵件訊息 (在指定時間長度內發送指定的郵件數後),即會刪除該網站。如需管理未使用網站集合的詳細資訊,請參閱<在 SharePoint Server 中管理未使用的網站集合>。You need to plan how you will handle sites that become inactive after a project has ended, or sites that users created just to test some ideas, but then abandoned. Site use confirmation and deletion can help you keep your environment cleaner, by helping you identify when sites are no longer needed. This feature works by automatically sending an email message to site owners to see if they consider their site active. If the owner does not respond to the email message (after a specified number of messages over a specified length of time), the site can be deleted. For more information on managing unused site collections, see Manage unused site collections in SharePoint Server.

若要規劃網站使用確認與刪除,請決定下列內容:To plan for site use confirmation and deletion, decide the following:

  • 查看網站是否非使用中之前,想要等候的時間長度。小組或專案網站的預設時間長度為網站建立後 90 天。網站從建立到大量使用,然後到準備要刪除或封存的時候,通常需要至少六個月到幾年的時間才算完成該生命週期。在此情況下,設定每六個月提醒一次相當適當。How long you want to wait before checking to see if a site is inactive. The default length of time for team or project sites is 90 days after site creation. Usually a site that was created, actively used, and is now ready to be deleted or archived, took at least six months and probably a few years to complete that life cycle. Reminders every six months are valuable for those situations.

  • 傳送電子郵件訊息給網站擁有人,判斷網站是否已非使用中的頻率。在第一封電子郵件訊息之後,如果網站管理員未回覆,您可以繼續以每天、每週或每月的間隔傳送其他通知。How often you want to send an email message to site owners to see if their sites are inactive. After the first email message, if the site administrator does not respond, you can continue with additional notices at daily, weekly, or monthly intervals.

  • 如果要自動刪除不再使用的網站。若網站管理員未回覆多封電子郵件訊息,您是否要繼續並自動刪除網站?建議您先行備份;確實執行定期備份,即可執行此作業。If you want to automatically delete unused sites. If the site administrator does not respond to multiple email messages, do you want to go ahead and delete the site automatically? We recommend that you make a backup first. You can do so by making sure that regular backups are performed.

  • 若要自動刪除未使用的網站,您會在傳送多少封電子郵件訊息給網站擁有人之後,才執行此作業?預設會在刪除網站前以每週為單位傳送四次通知,但是您可以增加或減少此數目,以符合您的需求。If you are going to automatically delete unused sites, how many email messages will you send to site owners before you do so? By default, four weekly notices are sent before site deletion, but you can increase or decrease this number to suit your needs.

請參閱See also

概念Concepts

在 SharePoint Server 中管理未使用的網站集合Manage unused site collections in SharePoint Server

在 SharePoint Server 中建立、編輯和刪除配額範本Create, edit, and delete quota templates in SharePoint Server

在 SharePoint Server 中設定 Usage and Health Data CollectionConfigure usage and health data collection in SharePoint Server

在 SharePoint Server 中刪除並還原網站集合Delete and restore site collections in SharePoint Server

在 SharePoint Server 中建立網站集合Create a site collection in SharePoint Server