文档详情

零基础入门学习语言bbk tuxedo.pptx

发布:2025-05-14约4.05千字共18页下载文档
文本预览下载声明

DeployingaBasicApplication

ObjectivesAftercompletingthislesson,youshouldbeabletodothefollowing:IdentifythemainstepsindeployingabasicTuxedoapplication.ConfigureaverybasicTuxedoapplication.StartupandshutdownaTuxedoapplication.Usesomebasiccommandstomonitoranapplication.BeabletoverifytheinstallationofTuxedosoftware.

TueTuxedoConfigurationFileReferredtoastheUBBCONFIGfilebutcanbeanyfilename;itdefinestheparametersforTuxedotostartupanapplication.TheUBBCONFIGfileistypicallycreatedbyapplicationdevelopersandmodifiedbytheapplicationadministrator.Theconfigurationfileexistsintwoformats:UBBCONFIG:textversionTUXCONFIG:binaryversion,compliedfromtheUBBCONFIGfile;thisisthefilethatisusedtoactuallyboottheTuxedoapplicationdomain.

SimpleUBBCONFIGLayout

ASimpleConfigurationExample

TheDeploymentProcess

SettingEnvironmentVariablesBeforerunningTuxedocommandsweneedtosetsomeenvironmentvariables:Thesecanusuallybesetusingabatch/shellcommandscriptfile.Youcanwritethemintoyoushellprofile,forexample:.bash_profileinbashenvironment.

CompilingtheUBBCONFIGFileUsetmloadcftobuildthebinaryconfigurationfilefromtheUBBCONFIG:UsetmunloadcftoobtainthetextversionofaTUXCONFIGbinaryfile.$tmloadcf–yubbconfig$tmunloadcfUBB_text

BuildingtheClientUsebuildclienttobuildtheclientprogram:$buildclient-osimpcl–csimpcl.c

BuildingtheServerUsebuildservertobuildtheserverprogram:$buildserver-osimpserv–csimpserv.c–sTOUPPER

BootingtheTuxedoApplicationBoottheTuxedoapplicationwithtmboot:$tmboot-y

MonitoringanActiveApplicationUsetmadminto:monitorarunningsystem–somecommands:psr/printserver:togetinformationaboutservers.psc/printservice:togetinformationaboutservices.performadministrativetasks:bootandshutdowntheapplicationorpartsofitsuchasspecificserverprocesses.Run-timeadm

显示全部
相似文档