This topic provides instructions for setting up a grammar file and integrating it into BMC Server Automation by loading the grammar file onto the file server. In a multi-Application Server environment, all Application Servers can access a grammar file that is stored on the file server.
Warning
blcred
utility to obtain a session credential. Run the following command to load the grammar file. The grammar file is loaded in the <fileserverPath>\grammar directory.
blcli -v <profile> ConfigFileGrammar createConfigFileGrammarOnFileServer "<LocalGrammarFileDir>" "<LocalGrammarFileName>" "<GrammarName>" "<DisplayName>" "<Description>"
The variables in the command are defined as follows:
<LocalGrammarFileDir>
is the directory containing the grammar files.<LocalGrammarFileName>
is the name of the grammar file.<GrammarName>
is a unique name that is used internally to recognize the grammar file.<DisplayName>
is the name for this grammar that appears in the Configuration Object Dictionary's Name column.<Description>
is a short description of the grammar. This description appears in the Configuration Object Dictionary's Grammar column.