Step 2: Create a directive file

After you complete the Custom Server Details notebook, you can create a directive file. A directive file contains commands and scripts that capture additional attributes that were not previously discovered. Creating a directive file is optional, but it is a necessary step in this scenario because you need to collect the productVersion for myServer.

To create a directive file, complete the following steps:

  1. Open a text editor and type the following command:
    CMD:productVersion=cat /configfiles/myServer.conf|grep"^version"|awk'{print $2}'
  2. Save the file to the $COLLATION_HOME/etc/templates/commands/myServer directory.