| type=page | |
| status=published | |
| title=verify-domain-xml | |
| next=version.html | |
| prev=validate-multicast.html | |
| ~~~~~~ | |
| verify-domain-xml | |
| ================= | |
| [[verify-domain-xml-1]][[GSRFM00260]][[verify-domain-xml]] | |
| verify-domain-xml | |
| ----------------- | |
| verifies the content of the domain.xml file | |
| [[sthref2339]] | |
| Synopsis | |
| [source,oac_no_warn] | |
| ---- | |
| asadmin [asadmin-options] verify-domain-xml [--help] | |
| [--domaindir domain-dir] [domain-name] | |
| ---- | |
| [[sthref2340]] | |
| Description | |
| Verifies the content of the `domain.xml` file by checking the following: | |
| * That the `domain.xml` file can be parsed | |
| * That the names for elements that have them are unique | |
| This subcommand is supported in local mode only. | |
| [[sthref2341]] | |
| Options | |
| asadmin-options:: | |
| Options for the `asadmin` utility. For information about these | |
| options, see the link:asadmin.html#asadmin-1m[`asadmin`(1M)] help page. | |
| `-h` `--help`:: | |
| Displays the help text for the subcommand. | |
| `--domaindir`:: | |
| Specifies the domain root directory, where the domains are located. | |
| The path must be accessible in the file system. The default is | |
| as-install`/domains`. | |
| [[sthref2342]] | |
| Operands | |
| domain_name:: | |
| Specifies the name of the domain. The default is `domain1`. | |
| [[sthref2343]] | |
| Examples | |
| [[GSRFM799]][[sthref2344]] | |
| Example 1 Using verify-domain-xml | |
| [source,oac_no_warn] | |
| ---- | |
| asadmin> verify-domain-xml | |
| All Tests Passed. | |
| domain.xml is valid | |
| ---- | |
| [[sthref2345]] | |
| Exit Status | |
| 0:: | |
| command executed successfully | |
| 1:: | |
| error in executing the command | |
| [[sthref2346]] | |
| See Also | |
| link:asadmin.html#asadmin-1m[`asadmin`(1M)] | |