Home > Veritas Storage Foundation™ Volume Manager Manual Pages

VXOBJECTTYPE (1M)

Maintenance Commands

Table of contents


NAME

vxobjecttype - manipulates object type information.

SYNOPSIS

vxobjecttype [-p] [-i inputFile] [-o outputFile] [-r registryFile] [-b basedir] [[-a addFile | -m mergeFile] [-d [[-t typeList] [-F delFile]]]]


DESCRIPTION

vxobjecttype provides various options for manipulating the object type information. Object types are stored in a file in XML format. This utility provides options to merge the object types in one file with object types in another file. vxobjecttype also prints the resulting alert type information to standard output.


OPTIONS

-p, --print
Formats and prints the contents of the output file to standard output.
-i, --input inputFile
Specifies the input file. This file provides information on the object types to which the merge operations apply. The value associated with the ObjectTypeFile key in the registry file is the default file name.
-o, --output outputFile
Specifies the output file. The object type information is copied into this file after the merge operation is performed. If an output file is not specified, the input file itself is modified.
-r, --regfile registryFile
Specifies the fully-qualified pathname for the Domain or Local Controller (vxsvc) registry file on UNIX. The default pathname is /etc/vx/isis/Registry.
-b basedir
(Solaris only) Sets an alternative base output directory for merging object type information. Typically -b is used during Solaris Jumpstart installs where the basedir is not equal to root (/). -a, --add addFile Adds object types. The object type information stored in the file is added to the object type information in the input file only if there are no duplicate object types.
-m, --merge mergeFile
Specifies the file in which the object types in the input file are to be merged after validations such as "check for duplicate object types" and "check for duplicate properties."
-d, --delete -t, --type typeList
Deletes the object types specified in a comma-separated list of object type names. All the child object types that derive from the type being deleted will also be deleted. The entire list must be enclosed in double quotes.
-d, --delete -F, --file delFile
Deletes the object type specified in the given file. All the child object types that derive from the type being deleted will also be deleted.

NOTES

Stop the Domain or Local Controller (vxsvc) before running vxobjecttype.


EXAMPLES

This section provides usage examples for vxobjecttype.

EXAMPLE 1:

For merging the object type information in vm.xml with the XML file specified in the Domain or Local Controller (vxsvc) registry file /Isis/Registry:

vxobjecttype -r /Isis/Registry -m vm.xml

EXAMPLE 2:

For printing the object type information from the output file specified in the default registry file:

vxobjecttype -p

EXIT CODES

An exit code of zero indicates that the object type information is successfully saved to the output file.

An exit code greater than zero indicates an error. The error message is printed to standard output.


SEE ALSO

vxalerttype(1m)

vxgetinterfaceinfo(1m)

vxinterface(1m)

vxregctl(1m)

vxsecaz(1m)


COPYRIGHTS

Copyright (c) 2007 Symantec Corporation. All rights reserved.

Last updated: 05/17/2007
Copyright ©2009 Symantec Corporation
All rights reserved.