Home > Veritas Storage Foundation™ Volume Manager Manual Pages

VXREGCTL (1M)

Maintenance Commands

Table of contents


NAME

vxregctl - manipulates the Domain and Local Controller registry.

SYNOPSIS

vxregctl registryFile createkey keyName

vxregctl registryFile deletekey keyName

vxregctl registryFile deletekeyrecursive keyName

vxregctl registryFile queryvalue keyName attribute

vxregctl registryFile setvalue keyName attribute type value

vxregctl registryFile deletevalue keyname attribute

vxregctl registryFile enumkey keyName

vxregctl registryFile openkey keyName


DESCRIPTION

Domain and Local Controller components use the registry to store and retrieve configuration data. The vxregctl utility is used to maintain entries in the registry file (/etc/vx/isis/Registry). These entries are organized in a hierarchical structure. HKEY_LOCAL_MACHINE is the root node in the tree. A key refers to a node of the tree within HKEY_LOCAL_MACHINE. A key can have multiple levels of keys within it. A key can have multiple attributes. All keys use a relative path that starts from the root node, HKEY_LOCAL_MACHINE.

This utility facilitates operations such as creating and deleting a key, and setting, querying, and deleting a value assigned to a key. All operations are atomic. If the program crashes, the registry contains either the original structure or all the updated information.


OPTIONS

createkey keyName
Creates the specified key. The entire structure of the key can also be specified. createkey creates the structure and any intermediate key, if it is not present in the registry. The created structure is relative to the root node, HKEY_LOCAL_MACHINE.
deletekey keyName
Deletes the specified key. Only a leaf key can be deleted through this option. All attributes associated with the key are also deleted. A key that has other keys under it is not deleted.
deletekeyrecursive keyName
Deletes the specified key along with all the subkeys under it.
queryvalue keyName attribute
Gets the value of the specified attribute under the given key.
setvalue keyName attribute type value
Sets a value to the specified attribute under the given key. type specifies the type of value (REG_INT or REG_SZ).
deletevalue keyName attribute
Deletes the specified attribute under the given key.
enumkey keyName
Enumerates the subkeys under the specified key. For example, you could find out all the registered providers on the computers through the command:
vxregctl /etc/vx/isis/Registry enumkey 
HKEY_LOCAL_MACHINE/Software/VERITAS/VxSvc/CurrentVersion/Providers
openkey keyName
Checks whether or not the specified key exists. The command returns 1 if the key exists. Otherwise, it returns 0.

SEE ALSO

vxalerttype(1m)

vxgetinterfaceinfo(1m)

vxinterface(1m)

vxobjecttype(1m)

vxsecaz(1m)


COPYRIGHTS

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

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