Windchill10.0-系統管理培訓教材_第1頁
Windchill10.0-系統管理培訓教材_第2頁
Windchill10.0-系統管理培訓教材_第3頁
Windchill10.0-系統管理培訓教材_第4頁
Windchill10.0-系統管理培訓教材_第5頁
已閱讀5頁,還剩58頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

Windchill10.0系統管理2023/2/4Agenda系統管理員職責識別系統組件管理系統服務管理電子倉庫Windchill服務調優數據備份與恢復系統監控FutureplanssubjecttochangeatPTC’sdiscretion系統管理員職責系統管理員職責管理系統日志

MethodServer日志數據庫日志配置管理系統參數pertiespertiespertiespertiessite.xconf維護系統組件ApacheTomcatWindchillDSMethodServer管理系統性能服務器狀態數據庫狀態磁盤管理網絡狀況管理系統數據備份及恢復數據庫數據WindchillDS數據FileVault系統日常點檢及維護數據備份檢查系統可用性檢查隊列檢查CUP和內存使用狀況識別系統組件識別系統組件Windchill服務WindchillServerServerManagerMethodServerWebServerApacheTomcat

識別系統組件客戶端NetworkAccessSoftware:WebBrowserPro/E(可選)WGM(可選)JREWindchillServerURLAddress識別系統組件Windchill服務識別系統組件可選服務IndexingServer

索引服務,支持按文件內容檢索。MailServer

郵件服務器,基于SMTP協議,Windchill服務自動將通知發送至用戶郵箱。VisualizationServer

可視化服務器,支持Office、CAD檔的可視化轉換。EnterpriseDirectoryServer

企業級目錄服務,如MicrosoftActiveDirectory,支持用戶賬戶的統一管理。管理系統服務管理系統服務啟動/停止OracleWindows

啟動進入Windows服務,啟動OracleOraDb11g_home1TNSListener和OracleServiceWIND 命令行執行 lsnrcltstart

以sysdba身份登錄,執行startup

停止進入Windows服務,停止 OracleOraDb11g_home1TNSListener和OracleServiceWIND命令行執行 lsnrcltstop

以sysdba身份登錄,執行shutdow管理系統服務啟動/停止OracleUnix

終端進入安裝Oralce的用戶執行:lsnrcltstart以sysdba身份登錄,執行startup管理系統服務啟動/停止ApacheWindows

啟動開始所有程序Windchill_10.0Apache

<Apache_Home>\bin\httpd.exe

停止

直接關閉Unix

終端進入<Apache_Home>/bin執行: ./apachectlstart ./apachectlstop管理系統服務啟動/停止WindchillDSWindows<Windchill>\WindchillDS\server\bat\start-ds.bat<Windchill>\WindchillDS\server\bat\stop-ds.batUnix 終端進入<Windchill>/WindchillDS/server/bin執行:

./start-ds

./stop-ds管理系統服務啟動/停止Windchill服務Windows啟動開始所有程序Windchill_10.0WindchillMethodServerWindchillshell下執行:windchillstart停止關閉ServerManager和MethodServerWindchillshell下執行:windchillstopUnix

進入<Windchill_Home>/bin執行: ./windchillstart ./windchillstop管理系統服務將Apache注冊為Windows服務注冊 Windchillshell下執行:ant–fconfig.xmlinstallService–DserviceName=<ServiceName>httpd–kinstall–n<ServiceName>卸載Windchillshell下執行:ant–fconfig.xmluninstallService–DserviceName=<ServiceName>httpd–kuninstall–n<ServiceName>管理系統服務將WindchillDS注冊為Windows服務注冊

執行<Windchill>\WindchillDS\server\bat\windows-service.bat卸載

執行<Windchill>\WindchillDS\server\bat\control-panel.bat RuntimeOptionsWindowsServerDisable管理系統服務WindchillCommandswindchillwindchillstop/windchillstartwindchillversionwindchillshellwindchillstatuswindchillpropertiesperties?wt.*xconfmanagerxconfmanager–dxconfmanager–sxconfmanager–pxconfmanager–hxconfmanager--resetwt.*-pxconfmanager–swt.*-tperties-p管理系統服務WindchillPropertyFile<Windchill>\site.xconf管理Windchill參數<Windchill>\db\perties數據庫參數<Windchill>\codebase\pertiesWindchill運行時參數<Windchill>\codebase\perties可視化<Windchill>\codebase\pertiesWindchill注冊服務管理電子倉庫管理電子倉庫文件的存儲方式電子倉庫實體數據存儲脫離OracleBLOBs包含資料夾對應實際物理磁盤位置加強了上載與下載的速度數據庫以大對象(BLOBS)的形式存儲實體文件不利于大文件的存儲管理電子倉庫電子倉庫

使用電子倉庫存儲文檔和CAD的實體內容。管理電子倉庫電子倉庫多電子倉庫配置創建多電子倉庫創建倉庫規則單電子倉庫配置強制轉換成單電子倉庫wt.fv.forceContentToVault=true單電子倉庫不需要配置規則管理電子倉庫副本站點

異地協同

定時同步Windchill服務調優Windchill服務調優Windchill調優識別WindchillServer調優對象管理WindchillHeapsize設置Windchillcachesizes調整OS調整網絡Windchill服務調優Windchill調優調整MethodServer堆大小增加MethodServerHeapSize值一般設定在1024MB~2048MB之間wt.method.minheapwt.method.maxheap目標文件:<windchill>\codebase\pertiesWindchill服務調優Windchill調優調整Windchill緩存減少從database中請求的次數wt.admin.cache.maxDomains(default2000)wt.cache.size.AclCache(default200)wt.cache.size.IndexListCache(default200)wt.cache.size.WTPrincipalCache(default2000)wt.cache.size.Session.Cache(default500)wt.cache.size.TeamTemplateCache(default200)wt.cache.size.ReferenceCache(default200)wt.cache.size.PagingSessionCache(default100)wt.folder.ResultsLimit(default15000)wt.cache.size.WTCalendarCache(default100)wt.folder.oneLevel(defaultfalse)目標文件<windchill>\codebase\pertiesWindchill服務調優Windchill調優調整Windchill緩存減少從database中請求的次數wt.pom.statementCacheSize(default50)wt.pom.cachedStatementReuseLimit(default50to32000)wt.pom.maxDbConnections(default5)wt.pom.maxIdleStatementCaches(default0)wt.pom.queryLimit(default-1)wt.pom.paging.snapshotQueryLimit(between10000and20000)目標文件<windchill>\db\pertiesWindchill服務調優服務器狀況Windchill服務調優隊列狀態ReadyFailedSuspendedRescheduledExecutingCompletedServerWindchill服務調優后臺隊列DeliveryQueueDeliveryStatusOnStartupNotificationQueueIndexingQueueandBulkIndexingQueuePurgeScheduleHistoryQueuePurgeUnreferencedFvItemQueuePublisherQueueandPublisherQueue1WfPropagationQueueWfUserworkQueueWindchill服務調優隊列配置參數wt.queue.[queuename]wt.queue.executeQueueswt.queue.defaultIntervalwt.queue.queueGroupwt.queue.removeCompletedwt.queue.log.enabledwt.queue.log.appendwt.index.useQueueWindchill服務調優日常隊列維護打開隊列管理根據隊列狀態進行排序刪除或者重置已經失敗的隊列刪除或者重置Server狀態的隊列重復以上操作Windchill服務調優配置單個MethodServer目標文件pertieswt.manager.loadObjects=wt.manager.StandardServerMonitorwt.manager.monitor.services=MethodServerwt.manager.monitor.start.MethodServer=1wt.queue.executeQueue=trueMethodServer處理所有隊列單個CPU最好配置單個MethodServerWindchill服務調優配置單個BackgroundMethodServer目標文件pertieswt.manager.monitor.services=MethodServerBackgroundMethodServerwt.manager.monitor.start.MethodServer=1wt.manager.monitor.start.BackgroundMethodServer=1wt.queue.executeQueue=false基于多個CPU后臺隊列有BG處理Windchill服務調優Tomcat調優調整請求進程數maxThreads,最大請求數量設定minSpareThreads,設置最小啟動進程創建數量maxSpareThreads,設置最大數量的空閑請求數<tomcat_home>\conf\server.xmlWindchill服務調優Tomcat調優調整會話失效時間session-timeout,設置session會話時間,默認為30min<tomcat_home>\conf\Web.xmlWindchill服務調優Tomcat調優調整Tomcat堆大小Tomcatheapsize,默認128MB,一般最少設定為512MB或者更大<tomcat_home>\bin\wttomcat_start.bat數據備份與恢復數據備份與恢復為了保證數據的完整性和一致性,備份之前先關閉Windchill服務,Windchill目錄的備份比較消耗存儲空間,一般建議在代碼發生變更的情況下備份整個目錄。對于Oracle數據庫、LDAP和電子倉庫,如果數據量較大建議每天備份一次,如果數據量不大則可以每周備份兩次。為節約存儲空間,可以只保留近三個月的數據。備份的內容主要分為五部分:Windchill安裝目錄的全備份Oralce安裝目錄備份LDAP目錄服務數據的備份Oracle數據庫的備份電子倉庫的備份數據備份與恢復Windchill安裝目錄的全備份包括Apache服務目錄、WindchillDS目錄和Windchill應用服務目錄。可采用以下兩種方式之一:(1)直接復制文件夾至備份目錄#cp-r/ptc/Windchill_10.0/ptc/bakup20111224(2)壓縮備份#tar-cvf/ptc/apache/ptc/bakup20111224/Windchill_10.0.tar備份Windchill安裝目錄數據備份與恢復以下兩種方式任選其一:(1)直接復制文件夾至備份目錄#cp-r/oracle/bakup/bakup20111224(2)壓縮備份#tar-cvf/oracle/bakup/bakup20111224/oracle.tar備份Oracle安裝目錄數據備份與恢復修改系統參數使支持導出空表:sqlplussystem/managerSQL>showparameterDEFERRED_SEGMENT_CREATIONSQL>altersystemsetdeferred_segment_creation=false;SQL>conn/assysdba

已連接。SQL>createdirectorydb_bakas'\app\dump';

目錄已創建。SQL>grantread,writeondirectorydb_baktopdm10;

授權成功。SQL>exit備份數據庫(一)數據備份與恢復終端執行:expdpusername/passwddirectory=dump_filelogfile=20111224.logumpfile=20111224.dmp備份數據庫(二)數據備份與恢復除非必要,否則不要隨意恢復數據庫。刪除數據庫用戶進入數據庫的安裝用戶:

#su–oracle#sqlplussystem/password@windSQL->dropuserpdm10cascade;進入Windchillshell,執行: cddb/sql3 sqlplussystem/password@wind SQL->@create_user.sql;恢復數據庫(一)數據備份與恢復恢復數據庫(二)按提示依次輸入:Windchill使用的數據庫用戶名

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論