Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Agent Developer's Guide   

Converting SMC Files to BMC Files

Use the bmcgen utility to convert SMC files to BMC files. For example:


bmcgen VRTSvcsSunAgent.smc

The file VRTSvcsSunAgent.bmc is created in the directory where the SMC file exists. A BMC file must have an extension: .bmc.

By default, the bmcgen utility assumes the SMC file is a Unicode (UCS-2) file. For ASCII or UTF-8 encoded files, use the -ascii option. For example:


bmcgen -ascii VRTSvcsSunAgent.smc

Storing BMC Files

By default, BMC files must be installed in /opt/VRTSvcs/messages/language, where language is a directory containing the BMCs of a given supported language. For example, the path to the BMC for a Japanese agent on a Solaris system resembles:

/opt/VRTSvcs/messages/ja/VRTSvcsSunAgent.bmc.

VCS Languages

The languages supported by VCS are listed as subdirectories, such as /ja (Japanese) and /en (English), in the directory /opt/VRTSvcs/messages.

Displaying the Contents of BMC Files

The bmcread command enables you to display the contents of the binary message catalog file. For example, the following command displays the contents of the specified BMC file:


bmcread VRTSvcsAIXAgent.bmc
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Agent Developer's Guide  
VERITAS Software Corporation
www.veritas.com