第二章 系统操作.docx

上传人:b****5 文档编号:7334607 上传时间:2023-01-23 格式:DOCX 页数:26 大小:34.16KB
下载 相关 举报
第二章 系统操作.docx_第1页
第1页 / 共26页
第二章 系统操作.docx_第2页
第2页 / 共26页
第二章 系统操作.docx_第3页
第3页 / 共26页
第二章 系统操作.docx_第4页
第4页 / 共26页
第二章 系统操作.docx_第5页
第5页 / 共26页
点击查看更多>>
下载资源
资源描述

第二章 系统操作.docx

《第二章 系统操作.docx》由会员分享,可在线阅读,更多相关《第二章 系统操作.docx(26页珍藏版)》请在冰豆网上搜索。

第二章 系统操作.docx

第二章系统操作

2

SYSTEMOPERATIONS

OASyS?

6.2UXBaselineDocumentRevision0.7

ProprietaryandConfidentialtoMetsoAutomation

系统操作

2.1概述

Atypicalsystemshouldhaveoneprimarysite,oneormorebackupsites,andoneormoredecisionsupportsites.Theprimarysitemayautomaticallygooperationalatstartup,butthebackupsitedoesnot.Sitefailoverisallowedforboththeprimaryandbackupsites,butnotforadecisionsupportsite.ThedecisionsupportsiteisfortheMISdepartment.Itnablesthedepartmenttoobtainaccesstodata.

一个典型的系统应有一个主站点,一个或更多的备份站点,以及一个或多个裁决支撑站点。

主站点应能够自动启动,备份站点不能自动启动。

站点失败对主站和备份站点是允许的,但对决策支撑站点是不支持的。

决策支撑站点为MIS部分服务,它允许MIS访问数据。

Figure2-1ATypicalOASySSystem

 

Thenamingconventionthatisusedforeachmachineis:

•XXXWYYYYZ(ALLINUPPERCASE)

•XXXSystemname(forexample,ABC)

•WSite(Pforprimary,Bforbackup,orDfordecisionsupport)

•YYYService(CMX,XIS,orXOS)

•ZAnidentifier(forexample,1,2,or3)

各类机器的命名规定是:

•XXXWYYYYZ(全部大写)

•XXX——系统名字(例如,ABC)

•W——站点名(P——主站,B——备份站,D——决策站)

•YYY——服务(CMX,XIS,orXOS)

•Z——标识符(例如,1,2,,3)

ThestatusofaCMXorXISmachinecanbedeterminedbytypingstatattheUNIXcommandpromptonahotorstandbyCMXorXIS.Itreturnstheservicestatus(forexample,hot,standbyorfail),andsitestatus(forexample,operational,ready,orfail).ThischapterdescribesthefunctionalcomponentsofsystemoperationswithwhichaSystem

Administratorshouldbefamiliar.Thesetopicsconsistof:

•OASyS®operation

•OASySoff-siteoperation

•OASySdecisionsupportoperation

•Licensing

•Troubleshooting

CMX或XIS机器状态能打入UXIX命令确定CMX或XIS是热还是备份。

将返回服务器状态(例如:

热,备份,失败)和站点状态(例如:

运作的,备用的或失败的)。

该部分叙述系统管理员应熟悉的系统操作功能,由以下内容组成:

•OASyS操作

•OASyS离线站点操作

•OASyS决策支撑操作

•许可

•故障处理

2.2OASySOperation(OASYS操作)

Thefollowingsystemadministrationfunctions,whicharedescribedinthenextfoursections,arerequiredformaintainingnormalOASySoperations:

•Startup

•Shutdown

•Backup

•Restoration

下述系统管理功能,是维护OASYS正常运行的基本要求,将分四个部分进行描述。

•启动

•卸载(关闭)

•备份

•恢复(还原)

2.2.1Startup(启动)

ThemachinesthatarecomponentsofanOASySsystemareconfiguredtoperformacombinationoftwoormoreOASySservices.Theseinclude:

•OASGeneralOASySservice(runsonallmachines)

•OMSOASySmanagementstation(runsonaUNIXserver)

•CMXSCADAkernel(runsonaUNIXserver)

•XISHistoricalinformation(runsonaUNIXserver)

•XOSGraphicaloperatorstation(runsoneachNTclientworkstation)

OASYS系统构成应配置为两个及以上OASYS服务器联合运行。

包含以下部分:

•一般的OASYS服务(所有机器都运行)

•OASYS管理工作站(运行于一个UNIX服务器)

•SCADA内核(运行于一个UNIX服务器)

•历史信息(运行于一个UNIX服务器)

•绘图操作工作站(运行于各NT客户工作站)

MostOASySservicesaretypicallyconfiguredtostartautomaticallywhenaserverorworkstationpowersup.TheOASserviceisstartedautomaticallyonallOASySserversandworkstations.

大部分OASYS服务被设置为当服务器或工作站上电时自动启动。

OAS服务在所有的OASYS服务器和工作站上都是自动启动。

CMXandXISalwaysstartautomaticallywhenaCMXorXISmachineispoweredup.

当装有CMX或XIS机器加电时CMX和XIS总是自动启动的

XOSstartsautomaticallyonallmachinesthatareconfiguredforregularXOSdisplay.Onmachinesforcasualusers,theXOSservicemustbestartedmanually.

为经常XOS显示的所有机器配置成XOS自动启动,在临时用户的机器上XOS服务可以手动启动。

ThesamemechanismthatisusedtoautomaticallystartupanOASySservicecanalsobeusedtostarttheservicemanually.Allservicesarestartedbyexecutingastartupscript.Itisrarelynecessarytomanuallystartanyserviceunlessithasbeenshutdownusingthemanualshutdownprocedures.Ifamanualstartupisrequired,thefirststepistodeterminewhichservicemustbestarted.Thesecondstepistoissuetheappropriatestartupcommand.Thestartupcommandcannotbeexecutedremotely;itmustbeissuedontheserverorworkstationonwhichtheserviceisrun.

同样的机械装置自动启动OASYS服务也可手工启动。

所有服务器执行启动脚本启动,这是针对很少需要手工启动的服务,但不排除手工停运程序。

如果需要手工启动第一步要确定哪个服务应当启动,第二步发布适当的启动命令。

启动命令不能被远程执行,必须在运行那个服务的机器上发布命令。

Duringstartupofthesystem,anyerrorsthatoccurresultintoerrormessagesbeingwrittentoalogfile,oasErrLog.Thesemessagesdescribetheactionthatshouldbetakentocorrectthesituation.ThisfileislocatedintheOASySroot/logdirectory.

在系统启动期间,发生的任何错误将写入日志文件“oasErrLog”,这些信息记述了发生过的事件动作。

该文件放在OASYSROOT/LOG目录下。

NOTEIfuncertainwhetherornotaservicehasbeenshutdown,performashutdownontheservicebeforeattemptingtorestartit.Ashutdownensuresthatremainingportionsofprocessesarepurged,anditdoesnotharmthesysteminanyway.OASySwillnotstartifaservicehasnotbeenshutdownproperly.TheOASySsystemwillnotoperatecorrectlyunlesstheCMXsystem,site,andservicetablesarecorrectlyconfiguredforyoursystem.

注意:

不管是否缺定服务在停运状态,在企图重启服务之前在服务器上执行停运命令。

关闭命令确保残留的进程被清除,对系统不产生任何伤害。

如果有一服务没正确卸下OASYS将不能启动。

2.2.1.1OASServiceManualStartup(手动启动OAS服务)

TheOASserviceisnormallystartedautomaticallywhenanyOASySserverorworkstationispoweredup.ThisserviceconsistsofafewprocessesthatarecommontoallOASySmachines,includingthesystemmonitorandthenetworkspoolerservice.TheOASservicemustberunningbeforeanyotherserviceisstarted.ItisalsopossibletomanuallystartuptheOASservicebyissuingtheoas_startupcommandfromtheUNIXprompt.TheOASstartupabortsifanOASserviceisalreadyrunning.Ifastartuperrorisencountered,amessageiswrittentoalogfile,oasErrLog,describingtheactiontobetaken.Forexample:

•Runoas_shutdownbeforeoas_startup.

•OASisalreadyrunning.

OAS服务通常当任一OAS服务器或工作站上电时自动启动。

OAS服务由所有OASYS机器公共的短小进程组成,包含系统监视和网络服务。

OAS必须在其它服务启动前运行。

同样可以在UNIX提示符上发出OASSTARTUP命令手工启动OAS服务。

如果一个OAS服务已经运行,OAS启动会失败。

如果一个启动错误出现了,该信息将被写进oasErrLog记录文件之中,用以描述已经发生的情况。

例如:

•在运行oas_startup之前,先运行oas_shutdown

•OAS已经在运行

NOTEOASserviceisautomaticallystartedonanXOS/OMSstationwhentheXOS/OMSsessionisstarted.

注意:

在XOS/OMS工作站上当XOS/OMS启动时OAS服务会自动启动。

2.2.1.2OMSServiceManualStartup(手动启动OMS服务)

TheOMSserviceisalwaysstartedmanually.TheOMSserviceconsistsofalltheprocessesthatmakeupthesystemmanagementportionoftheOASySsystem.TomanuallystartuptheOMSsystem,executetheoms_startupcommandontheOMS

station.OMSshouldstartifthefollowingconditionsaremet:

•AnOASservicemustbecurrentlyrunning

•AnOMSservicecannotalreadyberunning

OM服务器通常是手动启动。

OMS服务由所有的进程组成,这些进程构成了OAS系统的系统管理部分。

手动启动OMS系统,可以在OMS工作站执行oms_startup命令。

当下述条件满足时,OMS就启动了。

•OAS服务正在运行

•OMS服务没有运行

Ifastartuperrorisencountered,amessageiswrittentoalogfile,oasErrLog,describingtheactiontobetaken.Forexample:

•Nosystemmonitorpresentonthishost.

•(Nosystemmonitorpresent)

•Runoms_shutdownbeforeoms_startup.

•OMSisalreadyrunning.

假如遇到启动错误,就会有信息提示并将错误信息保存在日志文件oasErrLog里。

例如:

•主机没有系统监视器

•启动OMS前需将OMS关闭

•OMS才能启动运行

2.2.1.3CMXServiceManualStartup(手动启动CMX服务)

TheCMXserviceisnormallystartedautomaticallywhenaCMXserverispoweredup.TheCMXserviceconsistsofalltheprocessesmakinguptherealtimeportionoftheSCADAsystem,includingthecommunicationprocesses,CMXSQLserver,eventspoolers,etcetera.TheOASservicemustberunningontheCMXserverbeforetheCMXserviceisstarted.ItispossibletomanuallystartuptheCMXservicebyexecutingthecmx_startupcommandontheCMXstation.CMXshouldstartoncethefollowingconditionsaremet:

•TheremustbeanOASservicecurrentlyrunningontheserver.

•TheremustnotbeaCMXservicealreadyrunning.

•ThecurrentconfigurationmustmatchtheconfigurationentriesintheCMXoas_system,oas_siteandoas_servicetablesforaCMXservicerunningonthisstation.

CMX服务器在上电时CMX服务通常自动启动,CMX是由SCADA系统适时部分全部进程组成,其中包括通讯进程,CMXSQLserver,事件假脱机系统等。

OAS必须在CMX服务启动之前运行。

CMX也可在CMX工作站上用执行cmxstartup命令手工启动。

CMX符合以下条件才能启动:

•必须有一OAS服务正在运行

•必须无CMX在运行

•当前的配置必须与运行CMX服务工作站上CMX中oas_system,oas_site和oas_service表匹配

Ifastartuperrorisencountered,amessageiswrittentoalogfile,OASySroot/log/oasErrLog,describingtheactiontobetaken.Forexample:

•Runoas_startupbeforecmx_startup.

•Nosystemmonitorpresentonthishost.

•Runcmx_shutdownbeforecmx_startup.

•CannotloaddatabasewhileCMXisrunning.

•CMXisalreadyrunning.

假如遇到启动错误,就会有信息提示并将OAS错误保存在日志文件OASySroot/log/oasErrLog里。

例如:

•运行cmx_startup前,需先运行oas_startup

•主机没有系统监视器

•运行cmx_startup前,需先运行cmx_shutdown

•当CMX运行时,不能加载数据库

•CMX已经运行

CMXstartupcompletesaftergoingthroughseveralphases.ThefirstphaseinvolvescreatinganinitializedCMXdatabaseandloadingtextfilesthatdescribetheconfigurationofservices,site,andsystem.TheseinitializationfilesarecontainedwithinOASySroot/database/andarenamedoas_services.init,oas_site.init,andoas_system.init.OncetheinitializationfilesareloadedintoCMX,arbitrationprocessesdeterminewhichCMXdatabasetoload,whichcaneitherbethelocalfilecopyortheoneonthehotCMXservice.TheCMXdatabaseisthenreloadedandtheremainingCMXprocessesorservicesarestarted.

CMX启动要经过几个阶段才完成。

首先要创建和初始化CMX数据库和载入服务器、工作站及系统配置文本文件。

这些初始化文件位于OASySroot/database/名称是oas_services.init,oas_site.init,oas_system.init。

一旦初始化文件装入CMX,仲裁进程决定哪个CMX数据库装入,是当地文件拷贝或是热CMX服务器二者取一。

CMX数据库可重载并住留CMX进程或启动服务器。

CMXstartupmaytakeseveralminutestocomplete.ThestatutilitydisplaysthestateoftheCMXandXISservices.Whenstatisinvoked,thestartingservice’sstatusisinitiallylistedasinitializing.Oncestartuphassuccessfullycompleted,thestatusappearsashotorstandby.Thestatusfailisreturnedifthestartupfails.

CMX启动完成需几分钟。

STAT有效地显示CMX和XIS服务器状态。

当STAT调用时启动服务器状态初始化被显示。

一旦启动顺利完成,热和备用服务器状态出现。

如果启动失败返回失败状态。

2.2.1.4XISServiceManualStartup(手动启动XIS服务)

TheXISserviceisnormallystartedautomaticallywhenanXISserverispoweredup.TheXI

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 理学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1