零基础入门学习语言bbk tuxedo.pptx
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