| ### Sample Command File A sample command file, config.cmd, is provided by OSF with the DCE source. You can copy the file and use it as supplied or you can use it as guide to creating your own environment file. The sample file is not copied to the install tree during DCE installation. The figure titled Sample Command File shows this file. The file consists of install and config command lines and comment lines that document the script's actions. The install lines specify the component to install and, for DFS, the type of server (System Control Machine, Private File Server, File Server, or File Location Database Server). The config lines specify: · The component to configure · Whether to configure the component as a client, server, or replica (for Security and GDS) · Whether to configure the component as a local server, global server, clerk, or time provider (for DTS) · Whether to configure the component as a System Control Machine, Private File Server, File Server, or File Location Database Server (for DFS) The file is thoroughly annotated and can be used simply by uncommenting the lines that install and configure the components you want. The # character indicates a comment line. Remove the # to uncomment the line. For example, to install the Security server, change the following line: #install sec # Security Server to look like: install sec # Security Server Note that the text # Security Server following install sec is a comment that documents what will be installed by the line. Note also that comments also appear at the beginning of each logical grouping of actions. For example, the following comment appears at the beginning of the lines that install components: # install commands # #----------------------------------------------------- # # install <what> # <what> := sec gds appdev sec-replica # cds dts cdsbrowser # client nidl_to_idl # # install dfs <which> # <which> := client|scm|privatefs|fs|fldb Sample Command File # # This file is an example of what you can pass to dce_config # via the -c switch. It is sourced in to dce_config, and # can contain shell script commands if you wish. # # install commands # #----------------------------------------------------- # # install <what> # <what> := sec appdev sec-replica # cds dts cdsbrowser # client nidl_to_idl # # install gds <which> # <which> := client|server # # install dfs <which> # <which> := client|scm|privatefs|fs|fldb # #install sec # Security Server #install cds # CDS Server #install dts # DTS Server #install client # DCE Client #install appdev # Application Development Environment #install sec-replica # Replica Security Server #install cdsbrowser # Install cdsbrowser #install nidl_to_idl # Install nidl_to_idl # # GDS install # #install gds client # # You do not need to install gds client if you install the gds server. # #install gds server # DFS install # #install dfs client # # You do not need to install dfs client if you install one of the servers. # #install dfs scm #install dfs privatefs #install dfs fs #install dfs fldb # # config commands # #----------------------------------------------------- # config <component> <how> # # <component> := # client # sec <how> := client|server|replica # cds <how> := client|server|replica # gda # # dts <how> := clerk|local|global|server|none # ntp-provider|null-provider # # dfs <how> := client|scm|privatefs|fs|fldb # #config client # Same as: # config sec client # config cds client # config dts $DTS_CONFIG # # Security # # Can only pick one, server implies client. #config sec client # Security Client #config sec server # Security Server #config sec replica # Security Replica # # CDS # # Can only pick one, server implies client. #config cds client # CDS Client #config cds server # CDS Server #config cds replica # Additional CDS server on this machine # # GDA # #config gda # Run a gdad on this machine # # Audit subsystem # #config audit # Fire up auditd # # DTS # # Can only pick one, server implies client. #config dts clerk # DTS Clerk #config dts local # DTS Local Server #config dts global # DTS Global Server # # DTS Time providers # # Can only pick one #config dts ntp-provider # Run NTP provider on this node #config dts null-provider # Run Null provider on this node # # DFS # # You may pick one of these three server types #config dfs fldb # file Location Database server #config dfs fs # File Server #config dfs privatefs # Private File Server # Any of the above can be a SCM. #config dfs scm # System Control Machine # # Client must be configured after server #config dfs client # DFS Client ##