Returns the ordinal value for the given configuration source type.
Synopsis
asadmin [asadmin-options] get-config-ordinal [--help] [--target=server]
[--source={domain|config|server|application|module|cluster}]
Options
- asadmin-options
-
Options for the
asadminutility. For information about these options, see theasadminhelp page. --help-?-
Displays the help text for the subcommand.
--source-
The ConfigSource to get the ordinal for.
Must be one of:
domain,config,server,application,module,cluster --target-
Specifies the target where the configuration source resides.
Valid values are as follows:server-
Specifies the DAS (default).
- instance-name
-
Specifies a Payara Server instance.
- cluster-name
-
Specifies a cluster.
- configuration-name
-
Specifies a named configuration.
Example
Example 1 Getting the ordinal value
This example gets the ordinal value for the source 'cluster'.
asadmin> get-config-ordinal --source=cluster