Domino控制台指令大全.docx
《Domino控制台指令大全.docx》由会员分享,可在线阅读,更多相关《Domino控制台指令大全.docx(40页珍藏版)》请在冰豆网上搜索。
![Domino控制台指令大全.docx](https://file1.bdocx.com/fileroot1/2023-2/21/3c980886-512e-4820-bde3-2521aa642187/3c980886-512e-4820-bde3-2521aa6421871.gif)
Domino控制台指令大全
LotusDominoAdministrationinaNutshell ByGregNeilson
1stEditionAugust2000 1-56592-717-6,OrderNumber:
7176 384pages,$24.95
Chapter13
DominoServerTasksandConsoleCommands
Inthischapter,IdiscusshowtospecifywhichcomponenttasksDominoloadsatstartupandhowtoconfigureDominotorunscheduledmaintenancetasks.Thistypeofconfigurationisusuallydoneonceastheserveriscommissioned,withoccasionalchangesasneeded.
ThereisalsoasetofcommandsthatyoucanissueattheDominoserverconsoletodynamicallycontroltheoperationoftheserver.ThesecommandsaretypicallyusedtodiagnoseandresolveissueswithDominooperations,makedynamicconfigurationchangestotheDominoserver,ortooverridescheduledoperationsandmakethingssuchasmailroutingordatabasereplicationhappenimmediately.
DominoServerTasks
AfewlinesinNOTES.INIdefinewhichservertasksarestartedwhentheserverstartsup,andalsowhichscheduledtasksaretorunatvarioustimesduringtheday.
TheServerTasks=lineliststhetaskstostartastheserverstartsup.ThescheduledtasksarelistedintheServerTasksAt0=toServerTasksAt23=lines.Thesespecificationsusethe24-hourclock,where0ismidnightand23is11:
00P.M.
AnotheroptionforschedulingtasksistheProgramdocumentintheDominoDirectory.TheProgramdocumentisdescribedinChapter2,DominoDirectories.
Bydefault,thefollowingtasksareconfiguredtostart,dependingonhowtheserverhasbeenconfigured:
WhentheQuickandEasyConfigurationsetupoptionisselected,thetaskssettostartatstartupareRouter,Replica,Update,AMgr,AdminP,CalConn,Event,Sched,Stats,andMaps.Thenothertasksareaddeddependingonwhichotherclientaudienceoptionsareselected:
WebBrowsersaddsHTTPandDIIOP
InternetMailPackagesaddsIMAPandPOP3
NewsReadersaddsNNTP
EnterpriseConnectionServicesaddsDECs
WhentheAdvancedConfigurationsetupoptionisselected,thetaskssettostartatstartupareAdminP,AMgr,Update,Replica,Router,andMaps.Othertasks,suchasCalConn,Event,Sched,andStat,areoptionallyaddedifselected.Othertasksareaddediftheyareselectedbyname.Theseare:
HTTP,DIIOP
IMAP,POP3
LDAP
NNTP
DECS
Whentheserverhasbeenupgradedfrom4.x,youarenotrequiredtorunthesetupapplicationafterthecodehasbeeninstalled.Thismeansthattheoriginallistofstartuptasksisretained.BecausetheReportstasknolongerexistsinR5andhasbeenreplacedbytheCollecttask,youmustremoveit.YoualsomustremovetheSMTPMTAstatement,sincethisfunctionhasbeenaddedtotheRouterprocess.
Then,forthescheduledtasksinNOTES.INI,theseentriesareaddedaspartoftheoriginalinstallation:
ServerTasksAt1=Catalog,Design
ServerTasksAt2=UpdAll,ObjectCollectmailobj.nsf
ServerTasksAt3=ObjectInfo-Full
ServerTasksAt5=Statlog
YoushouldalsobeawarethatafteryoureinstallorupgradeyourDominoservercode,theseentriesareusuallyaddedagaintoNOTES.INI,iftheyhadbeenremoved.
HereisalistofalloftheDominoservertasks,theirfunctions,andthespecificconsolecommandstheyaccept:
AdminP
TheAdministrationProcessautomatesmanyadministrationtasks.Thistaskhasthefollowingcommandsavailabletomodifyitsbehaviorwhileitisrunning:
telladminpprocessall
Instructstheadminprocesstoprocessallnewandmodifiedimmediate/interval/daily/delayedrequests.
telladminpprocessdaily
Instructstheadminprocesstoprocessallnewandmodifieddailyrequests.
telladminpprocessdelayed
Instructstheadminprocesstoprocessallnewandmodifieddelayedrequests.
telladminpprocessinterval
Instructstheadminprocesstoprocessallimmediateandintervalrequests.
telladminpprocessnew
Instructstheadminprocesstoprocessallnewrequests.
telladminpprocesspeople
InstructstheadminprocesstoprocessallnewandmodifiedrequeststoupdatePersonrecordswithintheDominoDirectory.
telladminpprocesstime
Instructstheadminprocesstoprocessallnewandmodifiedrequeststodeletemailfilesthatbecomeunlinked.
telladminpshowdatabases
Liststhedatabasesthatanadministrationservermanages,andalsolistsdatabasesthatdonothaveanadministrationserverconfigured.
AMgr
TheAgentManagerrunsscheduledandtriggeredagentsinDominodatabases.Thistaskhasthefollowingcommandsavailabletomodifyitsbehaviorwhileitisrunning:
tellamgrpause
Pausestheagentmanagerservice,sononewagentscanbescheduledforexecutionontheserver.
tellamgrresume
Resumestheagentmanagerservice,sonewagentscanbescheduledforexecutionontheserver.
tellamgrschedule
Displaysthescheduledagentsthataretoruntoday,andalsothedatabaseinwhichtheyreside.
tellamgrstatus
Displaysthestatusoftheagentmanager,andalsoconfigurationinformationoftheagentmanagerfromtheserverdocumentintheDominoDirectory.
Billing
Collectstheconfiguredusageinformationforbilling.
Calconn(CalendarConnector)
Usedtorequestfree/busytimeinformationforuserswhosemaildatabasesresideonotherservers.
Catalog
MaintainstheDomainCatalog,whichhelpsuserstofindandlocateDominodatabasesandfilesofinteresttothemwithintheDominodomain.
Chronos
Performsupdatesofdatabasefulltextindexesfordatabasesthatareconfiguredtobeupdatedhourlyordaily.ThistaskisautostartedbyDominoanddoesnotneedtobeaddedtoNOTES.INIinordertorun.Youcancausethistasktorunimmediatelybyissuingthecommandsloadchronosdailyorloadchronoshourly.
Cladmin(ClusterAdministrationProcess)
EnsurescorrectoperationoftheDominoapplication-levelcluster.
Cldbdir(ClusterDatabaseDirectoryManager)
Maintainstheclusterdatabasedirectory.
Clrepl(ClusterReplicator)
Replicatesbetweenserversinaclusterinrealtime.Clusterreplicationisevent-driven,whereasstandardreplicationisschedule-driven.Thistaskhasthefollowingcommandsavailabletomodifyitsbehaviorwhileitisrunning:
tellclrepllog
Instructstheclusterreplicationtaskstoimmediatelyloginformationintotheserverlogdatabase,ratherthanwaitforthedefinedloginterval.Usethiscommandwhenclusterreplicationisencounteringproblems--youcanviewthelogentriesfortheerrorsandensurethattheproblemisresolvedbeforethenextclusterreplicationattempt.
Collect
Collectsserveractivitystatisticsfromoneormoreservers.Thistaskhasthefollowingcommandavailabletomodifyitsbehaviorwhileitisrunning:
tellcollectorcollect
RunstheDominoserverstatisticcollectiononeveryserverspecifiedandcreatesstatisticreports.
Compact(DatabaseCompaction)
Reorganizesthediskusagebyeachdatabaseinordertofreeupunusedspace.TheCompacttaskcanbeinvokedwiththefollowingcommands(thevariousoptionscanbecombinedasneeded):
loadcompact[database]
Compactsthedatabaseorspecifiedsubdirectory.
loadcompact[database]-SX
CompactsdatabaseswithgreaterthanX%freespace.
loadcompact[database]-D
Compactsdatabasesanddeletesanybuiltviewindexes.
loadcompact[database]-R
CompactsdatabasesandchangestheODSversiontoR4fromR5.UsedwhenbackingoutofanupgradefromR4toR5.
loadcompact[database]-M
ForR4databases,setsamaximumsizeof4GBandcompactsthedatabase.
loadcompact[database]-b
Compactsdatabasesinplace.Canbeusedonlyifthedatabaseinternalformatisnotbeingchangedduetoachangeinoneiftheadvanceddatabaseproperties.Itrecoversunusedspacewithinthedatabase,butdoesnotreducethefilesizeofthedatabase.
loadcompact[database]-B
Compactsdatabasesinplace.Itrecoversunusedspacewithinthedatabase,anddoesreducethefilesizeofthedatabase.
loadcompact[database]-c
Usescopy-stylecompactionofthedatabase,ratherthanin-placecompaction.
loadcompact[database]-L
Whenusingcopy-stylecompaction,allowsaccesstothedatabasewhilethecompactionisinprocess.Compactionendsforthedatabaseifauseraccessesthedatabase.
loadcompact[database]-i
Whenusingcopy-stylecompaction,ignoresanyerrorsthatoccurduringcompaction.
loadcompact[database]-f
Compactsthedatabaseandchangestheformatofthedatabasetodisablesupportfordocumenttablebitmapoptimization.
loadcompact[database]-F
Compactsthedatabaseandchangestheformatofthedatabasetoenablesupportfordocumenttablebitmapoptimization.
loadcompact[database]-H
Compactsthedatabaseandchangestheformatofthedatabasetoenablesupportformaintenanceofthespecializedresponsehierarchyusedbythe@AllChildrenand@AllDesendantsviewselectionformulae.
loadcompact[database]-h
Compactsthedatabaseandchangestheformatofthedatabasetodisablesupportformaintenanceofthespecializedresponsehierarchyusedbythe@AllChildrenand@AllDesendantsviewselectionformulae.
loadcompact[database]-T
Compactsthedatabaseandchangestheformatofthedatabasetoenabletransactionallogging.
loadcompact[database]-t
Compactsthedatabaseandchangestheformatofthedatabasetodisabletransactionallogging.
loadcompact[database]-U
Compactsthedatabaseandchangestheformatofthedatabasetomaintainunreadmarks.
loadcompact[database]-u
Compactsthedatabaseandchangestheformatofthedatabasetodisablemaintainingunreadmarks.
loadcompact[database]-A
Doesn'tcompactthedatabase;archivesdocumentstoanotherdatabase,a