1、TeamCeanter系统管理培训(三),段立东,目录,系统管理常用的工具 系统管理员任务 系统优化,常用工具,数据库命令dropdb,数据库命令initdb,数据库命令initdb,数据管理命令,对象模型工具,网络服务工具,目录,系统管理常用的工具 系统管理员任务 系统优化,系统管理员任务,维护规则缓存文件,更新规则缓存命令,文件发布后重启服务,维护schedules服务,创建schedules,维护事件日志,维护事件队列,维护事件队列,数据导入和导出,Object dump导出结果,Bulkdump导出结果,UCL导入,执行如下命令: omfcl - PdmRoot BulkLoadDat
2、aDmm spec.txt data.txt ErrorLog=Yes 其中:spec.txt为定义的格式文件(参照本目录下此文件)data.txt为定义的数据文件(参照本目录下此文件),数据库冷备份,热备份,导出和导入,导出例子,导入例子,目录,系统管理常用的工具 系统管理员任务 系统优化,系统性能,性能问题是资源的瓶颈问题 你需要找到瓶颈 你需要知道为什么它是瓶颈 你解决瓶颈或者造成瓶颈的原因 用户不是问题 存在不足的资源,或者使用了错误的资源 解决一个瓶颈可能意味着只是将它转移 当所有的瓶颈相等,则意味着系统是最优的,确定需要改进的部分,数据库: Oracle(部署、索引、参数设置等)
3、操作系统 (核心参数等) Network(带宽等) Hardware(CPU、内存、硬盘等) TC Customization(代码中内存管理) Teamcenter Enterprise(config.cfg文件) Web Server(weblogic,websphere) Interfaces and Other Applications,操作系统优化的工具,UNIX tools such as top, sar, ps, netstat, and vmstat provide a wide range of metric coverage. Toolsets provided for
4、specific platforms (e.g. HP OpenView) are also available for visually monitoring, as well as recording, system performance. NT monitoring tools include Task Manager and Qslice. Network monitoring methods such as SNMP (Simple Network Management Protocol), ping, netstat, and sniffers. TC provides muxp
5、ing and dspstat commands,数据库和WEB服务器优化工具,Database: Oracle DBA Studio is a Windows based console used to monitor and tune instances of Oracle. Web Application Server: -Weblogic provides various metrics in the system console -Websphere has Resource Analyzer,WEBlogic控制台,Database Performance(数据库优化),索引推荐,
6、大数据库安装,类聚联,性能度量,TC网络性能,TeaCenter服务,TeamCenter服务,服务工作方式,When a request for a server comes in, the dispatcher determines whether there is already an active server belonging to the appropriate process group. Next, the free queue is checked. If no free servers match the request, the dispatcher attempts
7、to start one.,Omfsrv服务,Os_serv,Msql服务,Mloader服务,Mloader架构,通知服务,Advancerserv服务,Exireserv服务,Scheduleserv服务,服务参数,omfsvr “2 2 4 5 5 120 $(FILEPATH $(PDM_BIN) objserv)” service: Name of the service to be configured. autostart: Starts minimum number of idle servers in the pool until target is reached. min
8、: Minimum total of idle and assigned servers. target: Number of idle and assigned servers after which no more servers will be auto-started.,服务参数,omfsvr “2 2 4 5 5 120 $(FILEPATH $(PDM_BIN) objserv)” max: Maximum number of servers, for this service, allowed to run at a given time. variant_max: Maximu
9、m number, per variant, of servers allowed to run at a given time. timeout: Number of minutes a server is idle before reporting the idle state to the dispatcher. path: Full path command to start the servers for this service. args: Additional arguments to be passed to the server.,推荐配置,omfsvr “2 2 4 5 5 120 $(FILEPATH $(PDM_BIN) objserv)”,