server create
Creates a server configuration object. The syntax is:
server create server_name_list {-attribute attribute_list | attribute value} [-local]
Options
-attribute attribute_list Allows you to specify attributes using an attribute list rather than using the -attribute value option. The format of an attribute
list is:
{{attribute_value}
{attribute_value}}
-attribute_value As an alternative to using the -attribute option with an attribute list, you can create individual attribute options by prepending a hyphen
(-) to any attributes listed in the Attributes topic of this reference page.
-local Specifies that the command is to operate on the local dced object while the dced on the local machine is in partial service mode.
Description The server create operation creates a server configuration object. The server_name_list argument is a list of names of server configuration
objects to be created. An -attribute option with an argument list as a value is required to define attributes for the server to be created. Also accepts individual
attribute_value. It returns an empty string on success.
Privileges Required You must have i (insert) permission to the configuration container object.
Examples
dcecp> server create /.:/hosts/foster/config/srvconfig/try_tserver \ > -arguments /.:/hosts/foster/test_server \ > -program
tserver \ > -entryname /.:/hosts/foster/test_server \ > -services {{ifname {test server}} >
{annotation {dcecp server test program}} > {interface {008bebed-c7c1-1ddc-9cb3-0000c0ba4944 1.0}} >
{bindings {ncadg_ip_udp 130.105.5.50}} > {objects 0073f23a-2e1a-1ddd-b73a-0000c0ba4944} > {flags {}}
> {entryname /.:/hosts/foster/test_server}}} > -principals tserver \ > -starton {boot auto explicit failure \
> -directory {/opt/tserver} dcecp>
|