Sun Microsystems 3 manual Registering iIS Distributions

Page 144

Registering iIS Distributions

If process1 and process2 hard-code the reference to process3 on engine3, then process3 could not be moved to another engine without modifying both process1 and process2 in the Process Definition Workshop, creating the respective library distributions, and re-registering the process definitions with both engine1 and engine2. However, if process1 and process2 use an alias to reference process3 on engine3, then process3 could be moved to another engine by simply registering a new version of the alias with both engine1 and engine2.

To register an alias, specify the alias name (same as the process name) and the name of the engine executing the process definition. See “Registering Aliases” on page 148.

Registering iIS Distributions

Process definitions, assignment rule dictionaries, user profiles, and validations are all registered using the same procedure. Each of these types of library distributions, however, has unique registration characteristics, as described briefly below:

User Profile A user profile must be registered with every engine. The user profile is used along with the validation to authenticate users who attempt to open sessions with the engine. The user profile is also used by assignment rules in determining who has permission to perform activities. You can register more than one user profile with each engine, but this is normally done only for upgrade purposes. Each user profile registered with an engine must be uniquely named. (An upgraded validation and upgraded assignment rule dictionary, consistent with the upgraded user profile, must also be registered—see “Performing Application Upgrades” on page 153). You cannot register an upgraded user profile of the same name as a previously registered user profile.

Validation One, and only one, validation can be registered with an engine, which allows the engine to open sessions with client applications. Unlike process definitions, assignment rule dictionaries, and user profiles, there can be only one validation registered with an engine at any time. Subsequent registrations replace the existing validation with a new one (implicitly unregistering the old one).

Assignment Rule Dictionary If a process definition references an assignment rule, the dictionary that contains that assignment rule must be registered. Generally, designers group assignment rules into dictionaries containing more than one assignment rule and then generate library distributions containing all the assignment rules in the dictionary. When you register an assignment rule dictionary with an engine, you have registered all the assignment rules contained in the dictionary. The engine uses only the most recently registered assignment rule, retroactively applying it to all existing activities.

144 iPlanet Integration Server • Process System Guide • August 2001

Image 144
Contents Process System Guide Page Contents Setting Up an iIS Process Management System Managing Engines Managing Registrations 137 Managing Process Execution 157 Troubleshooting 203 Appendix a Conductor Script Commands 261 Conductor Script Commands Conductor Script Commands Index List of Figures IPlanet Integration Server Process System Guide August List of Procedures IPlanet Integration Server Process System Guide August List of Procedures IPlanet Integration Server Process System Guide August Preface Product Name ChangeAudience for This Guide Organization of This GuideText Conventions ALL CapsOther Documentation Resources Syntax StatementsIPlanet Integration Server Documentation Online HelpDocumentation Roadmap IIS Example Programs To copy the documentation to a client or serverTo view and search the documentation Toolbar Button Keyboard Command What Is an iIS Process Engine? Introduction iIS Process ManagementWhat Is an iIS Process Engine? Multiple Engine Systems Workshops Minimal Engine Configuration IIS Process Engine Components2Minimal Engine Configuration Failover Configuration 3Engine Configuration with FailoverIIS Process Engine Components Full Configuration Failover and Load Balancing Combined IIS ProcessEngine What Does an iIS Process Engine Do? Setting up and Maintaining an iIS System IIS Process Management TasksSetting Up an iPlanet UDS Runtime Environment Installing iIS Process Management SoftwareSetting Up and Maintaining Central Development Repositories Managing iIS Process Engines Managing RegistrationManaging Process Execution IIS Process Management Tools IIS ConsoleDump/Restore Facilities Conductor Script UtilityCustom System Management Tools Repository Management ToolsPage Setting Up an iIS Process Management System Preparation Setting up an iPlanet UDS Runtime Environment IIS Process System Components IIS Process Engines IIS Process System Software IIS BackboneProcess System Software Modules Details, see , Using the Conductor Compiled and Interpreted Engine Components Setccomp.sh True FalseIIS Process System Configuration IIS Process System Software 2iIS Process System Configuration IIS Function Node type Server/Client Node Names Setting Up an iIS Process System IIS Process System Setup ProcedureTo set up an iIS process system IIS Installation Program Central Server Installation Engine Server Installation DLLDevelopment Client Installation Configuring and Starting Your iIS Engines Runtime Client InstallationMaintaining an iIS Process System Adding New Nodes to an iIS SystemTo add a new node to an iIS system Moving an iIS Engine Creating a New iIS Repository ServerMoving an iIS Repository Server To create a new iIS Repository ServerCreating a Private iIS Repository Upgrading an iIS SystemTo create a private iIS Repository on a development node Uninstalling an iIS System IIS Console OverviewOverview Using the cconsole Command Starting the iIS ConsoleTo start the iIS Console on Windows or Windows NT To start the iIS Console on UNIX, OpenVMS, or Windows NTIIS Console Main Window IPlanet UDS System Management Guide for information aboutOff Engine is configured but has not been started Main Viewing PanelOnline Engine has fully started and is online Menu Bar Mouse Popup MenuSetting Password Protection for iIS Console To set a password for iIS ConsoleExiting iIS Console Using iIS Console Windows Using the MouseWindow Refresh Behavior To turn automatic refresh off or onFiltering iIS Console Lists To set the automatic refresh intervalTo force an immediate refresh Operators Specifying ValuesExample Filter Expression Sorting iIS Console Lists Using List Views 2iIS Console BrowserIIS Console Main Window Command Summary Environment MenuView Menu Engine MenuMonitor Menu Help Menu Page Managing Engines Production Engines Versus Development EnginesProduction Engines Versus Development Engines Configuring an Engine Engine Component Partitioning1Engine Configuration with both Failover and Load Balancing Configuring an Engine Engine Startup Properties 2Typical Engine Partitioning SchemeConfiguring an Engine Engine Configuration File Sample configuration file is reproduced belowDbservices NodenameservicenamepriorityDatabaseuserpassword LogtimersDbservicememoryflag DbservicestacksizeUnitrecovercursorsize GovernormemoryflagCustomizing Engine Database Schema MonitordisplaylimitUnitsessionreconnectlimit UnitsessionreconnectactionFORTEROOT/sysdata/conductr/clN/environment/enginename.dbs How to Configure a New Engine Code ExampleTo configure a new engine Property Description Configuring an Engine Configuring an Engine Configuring an Engine Minimum number of pages managed by the memory manager Configuring an Engine Process execution options are the following Duplicating an Engine Configuration Deleting an Engine ConfigurationTo duplicate an engine configuration To delete an engine configurationStarting an Engine GovernorEngine Unit IdleBoth Embryonic OnlineStandby Primary Engine Unit Startup Phases Database Service InformpartnerStartupcomplete How to Start an Engine To start an engineData on To start individual engine components Reconfiguring an Engine How to Reconfigure an EngineTo reconfigure an engine Reconfiguring an Engine How to Dynamically Modify Database Logging To modify database logging for an engineHow to Tune Process Execution Monitoring and Changing Engine States To check the engine runtime configuration Monitoring Engines and Engine ComponentsMonitoring the Engine Monitoring Engine Components To monitor individual engine componentsUnit Startup Phases on Property Description Changing Engine States Changing Engine Unit StatesTo change the state of an engine unit About Recovering State Information Database Management Issues Managing an Engine DatabaseShutting Down Engine Components Recovering Data Growth of the DatabaseFailure of the Database Dumping and Restoring Data Dumping Database TablesUsing the Dump/Restore Application To use the Dump/Restore application to dump database tablesManaging an Engine Database Managing an Engine Database Using the Dump Command-line Utility Restoring Database Tables Preserving Engine Database Schema Customizations Follow the instructions under Dumping Database Tables on Managing an Engine Database Using the Restore Command-line Utility Dump/Restore Environment Variables WfdrengineWfdrdirectory WfdrdatafileManaging Registrations About RegistrationAbout Registration What Does Registration Do? Install distribution on engine nodes Registration in Production Environments What Does Unregistration Do? Engine Registration ManagerAbout Aliases 2Subprocess Activity ReferencesRegistering iIS Distributions Registration Order Performing RegistrationsTo register one or more distributions using the iIS Console Upgrading Registrations Unregistering iIS DistributionsRegistering Aliases To register an alias using the iIS Console Viewing Registrations for an Engine Unregistering AliasesTo unregister an alias Unregistering a Distribution To view the registrations for a given engineTo unregister a registered distribution Monitoring Instances of a Registered Process Definition To monitor instances of a registered process definitionPerforming Application Upgrades Monolithic Upgrades To perform a monolithic upgradeRolling Upgrades To perform a rolling upgradePage Managing Process Execution IntroductionEngine Sessions ActiveSuspended Disrupted Sessions ReconnectioninprogressSuspend TerminateReconnectallowed ReconnectprohibitedExplicitly Suspended Sessions Explicitly Terminated SessionsActivity States PendingReady Completed AbortedActivity State Process Execution Activity TypesProcess Instance Creation Process Instance Execution Activity CreationActivity Execution Offered ActivitiesQueued Activities Subprocess Activities Activity Termination Automatic ActivitiesCompleted Activities Monitoring and Managing Engine Sessions Process Instance TerminationCompleted Process Instances Aborted Process InstancesMonitoring the State of a Session To obtain state information about a sessionMonitoring and Managing Engine Sessions Managing Sessions Suspending or Terminating SessionsTo suspend a session Sending and Broadcasting Messages to Sessions To terminate a sessionTo send a message to an active session Monitoring and Managing Engine Sessions Monitoring and Managing Process Execution To broadcast a message to all sessionsSession Managing Process Instances Checking the Status of a Process InstanceTo check the current execution status of a process instance Monitoring and Managing Process Execution Monitoring and Managing Process Execution Aborting a Process Instance To abort a process instanceManaging Activity Instances Checking the Status of an ActivityChanging the State of an Activity To change the state of an activity To view the contents of an activity queue Managing Activity QueuesChecking the Status of an Activity Queue Reprioritizing a Queued Activity To reprioritize a queued activityMonitoring and Managing Process Execution Managing Timer Instances Checking the Status of a TimerChanging the Timer State and Expiration Time To change the state and expiration time of a timerManaging Process Attributes Checking the Value and Lock State of a Process AttributeChanging a Process Attribute Value Removing a Process Attribute Lock To change the value of a process attributeTo remove a process attribute lock Checking for Bottlenecks in Process Execution To find a process bottleneckAnalyzing Process Execution History Log Schema State ValuesPreparecreate CreatedMonitoring and Managing Two-Phase Commit OFFExpired TerminatedIIS Process Engine Operations Monitoring and Managing Two-Phase Commit Managing Two-Phase Commit Operations Troubleshooting Introduction Process Engine Alarms Window Monitoring Alarms To register an engine with the alarm serviceTo unregister an engine from the Alarm service To filter alarms in the Process Engine Alarms windowViewing Alarms To search for an alarm in the Process Engine Alarms windowTo get detailed information about an alarm To remove an alarm from the Alarm windowEngine Log Files To view an engine component log file IIS Console Trace Window Messages and Message FiltersSpecifying Message Filters 1Specifying iPlanet UDS Message Output FiltersIIS Message Filters Message type trc debugUsing the iIS Console Trace Window Setting Message FiltersTo open the iIS Console Trace window To set message filters for a selected engine IIS Console Engine Event Filter Window Special Example Write Client Messages to Trace WindowTo set the engine tracing Using the iIS Console Engine Event Filter Window Engine Event TypesTo open the Engine Event Filter window Displaying All Engine Events Displaying Process Instance EventsTo view all engine events for the selected engine To view all engine events for an existing processEvents for the specified process instance display Performance Charts Filtering Engine EventsTo specify a custom filter Viewing Performance Indicators To view performance indicators for an engine Performance Charts Logging Performance Information To log performance informationTo stop logging performance information Page Using the Conductor Script Utility Starting Conductor Script Conductor Script HelpTo start Conductor Script on Windows or Windows NT Using the Cscript Command To start Conductor Script on UNIX, OpenVMS, or Windows NTWorking with Conductor Script General Conductor Script Operations See SetPathWriting and Executing Scripts CommentsOperating System and File Management Commands FileCopy a specified file in the local file system Managing iIS Process Engines with Conductor Script Starting an EngineTo start an engine where delays might be involved Starting Individual Engine ComponentsStart all components Example Manual Startup Scenario Monitoring Engines and Engine Components Monitoring Individual Engine Components FindDBService State Managing Registrations with Conductor Script Making iIS Library DistributionsTo make an iIS library distribution Include a plan as a Registering iIS Library Distributions To register an iIS distribution with an engineUnregistering iIS Library Distributions To unregister an iIS distribution from an engine Unregister the specified Alias from the current EngineManaging Process Execution with Conductor Script Monitoring and Managing Engine Sessions To suspend or terminate a sessionTo send a message to one or more sessions Send a message with Monitoring and Managing Process Execution Managing Process InstancesManaging Activity Instances To check the status of a process instanceTo list the contents of an activity queue Managing Activity QueuesTo reprioritize an activity in a queue Managing Timers To check the status of a timerManaging Process Attributes To check the value or lock state of a process attributeChecking for Bottlenecks in Process Execution To remove an attribute lockPlace the specified activity List all existing event filters for Current engine Monitoring and Managing Two-Phase Commit Transactions Monitoring Two-Phase Commit OperationsManaging Two-Phase Commit Operations Commits the in-progressTo resolve transactions after a client or engine failure Conductor Script Commands Conductor Script Command SummaryEnvironment Mode Engine Component Mode Environment Mode Commands Engine Mode Commands Engine Management Start the specified Engine Mode Commands Process Execution Management Abort all process instances Current engine Delegate the specified offered Activity from Pending to Set the specified timer to Component Mode Commands Generic component Engine UnitConductor Script Commands AbortActivityAbortAllProcesses AbortProcessBroadcastMessage CommitTransactionCompleteActivity ConsultActivityActivity instance to be delegated CreateActivity CreateFilter Event TypeObject Class Object InstanceDelegateActivity ExamplesActive FindDBService DeleteFilterFindEngine FindGovernorFindNode FindParentEngineFindPrimary FindUnit FlushLogIIOPServer ListActivitiesListActivityQueues ListConductorDistributions ListEngines ListFiltersListProcesses ListRegistrations OptionsListTimers ListSessionsListTransactions MakeConductorDistribution ModLogFlagsReadyActivity RegisterAlias RegisterAssignmentRulesRegisterProcessDefinition RegisterUserProfileRegisterValidation RemoveReadLock RemoveWriteLockRollbackActivity RollbackTransactionSendMessage CriticalSetPassword SetAttributeValueSetPrimary SetQueuedActivityPrioritySetTimer SetStateSetTimerDeadline SetTimerElapsed ShowActivityShowActivityQueue ShowConfiguration ShowEngineShowLogFlags ShowProcessShowSession ShowStatus EngineEngine unit Primary engine unit Instrument Description ShowTimer Shutdown StartActivityStartDBService StartEngineStartGovernor StartTimer StartUnitTable A-2StartUnit Command Options StopTimer SuspendAllSessionsSuspendSession TerminateAllSessionsUninstall TerminateSessionUnRegisterAlias UnRegisterAssignmentRulesUnRegisterProcessDefinition UnRegisterUserProfile WaitForStartupConductor Script Commands Page Engine Database Schema Database Tables by CategoryDatabase Tables by Category Alphabetical Listing of Tables WFHActivityUsersDatabase Table See… Description Database Schema Reference WFHSessionRoleCurrent State Tables Table B-2Table B-3 Actname VARCHAR264 Abortraction NUMBER38Wuser VARCHAR264 NolinkeduserActivityname VARCHAR264 Tokcounter NUMBER38Wuser Not NUMBER38 Not VARCHAR264Table B-7 Table B-9 WFHControl Table B-10 WFHLocksLocktype NUMBER38 Atttype NUMBER38Attseglength NUMBER38 Attvalue VARCHAR2255Table B-12 Table B-12 WFHProcess Table B-13 Table B-15Seqnumber Not NUMBER38 Null Processid NUMBER38Reqstatus NUMBER38 Actionflag NUMBER38Table B-19 WFHSession Table B-20 Not VARCHAR2158Environment VARCHAR264 Engine VARCHAR264Table B-23 WFHTimer Timername State Relativetime Not NUMBER38Null Attname VARCHAR264 Attsegmentid NUMBER38Registration Tables Table B-23Currelativetime VARCHAR232 Table B-24History Log Tables Libraryname Not VARCHAR232Loadoptions Projectname Wusage CreatetimeTable B-26 Processid NUMBER38Logtime Date Table B-27Table B-28 WFHAlarmLog Alarmtype VARCHAR264Details VARCHAR2255 Table B-29 WFHAliasLogTable B-30 Table B-31Table B-32 Activepage Not NUMBER38 Allocatepage Not NUMBER38Table B-33 Table B-34 Parentprocid NUMBER38Parentprocid Table B-35 Table B-36Table B-38 WFHTimerLog Timername VARCHAR264Table B-37 Sessname VARCHAR264Table B-39 Relativetime VARCHAR232State Values Page Index Section B Section D Section E 284 Section L Section Q See also recovery 309 Section U
Related manuals
Manual 30 pages 14.51 Kb