
#cmcheckconf 
6.If the cmcheckconf command does not report any errors, use the cmapplyconf command to add the package into Serviceguard environment.
For Example:
#cmapplyconf 
Toolkit User Configuration
All the user configuration variables are kept in a single file in shell script format. The variable names and their sample values are in Table 36 (page 133):
Table 36 User Configuration Variables
Configuration Variables  | Description  | |
NETBIOS_NAME | (for example, NETBIOS_NAME=smb1) | This variable holds the NetBIOS Name of the server.  | 
  | 
  | If the configuration of HP CIFS Server is done using  | 
  | 
  | /opt/samba/bin/samba_setup command, the | 
  | 
  | NetBIOS ame can be found in /etc/opt/samba/ | 
  | 
  | smb.conf. If you are configuring multiple HP CIFS | 
  | 
  | Server packages, ensure the NetBIOS name is unique  | 
  | 
  | for each of the packages. | 
CONF_FILE (for example,  | This variable holds the path of the  | |
CONF_FILE=/etc/opt/samba/smb.conf.${NETBIOS_NAME})  | "smb.conf.<netbios_name>". By default, the path is  | |
  | 
  | /etc/opt/samba/smb.conf.${NETBIOS_NAME}.  | 
  | 
  | If the path is different, modify the variable. | 
LOG_DIRECTORY (for example, | This variable holds the log directory path of the CIFS  | |
LOG_DIRECTORY=/var/opt/samba/${NETBIOS_NAME}/logs) | Server instance of the particular package. By default,  | |
  | 
  | the path is /var/opt/samba/${NETBIOS_NAME}/  | 
  | 
  | logs. If the path is different, modify the variable. | 
SMBD_PID_FILE | (for example, | This variable holds the PID File path of smbd process  | 
SMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/locks/smbd.pid)  | of the particular package. By default, the path is | |
  | 
  | /var/opt/samba/${NETBIOS_NAME}/locks/  | 
  | 
  | smbd.pid. If the path is different, modify the variable.  | 
NMBD_PID_FILE (for example, | This variable holds the PID File path of nmbd process  | |
NMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/locks/nmbd.pid)  | of the particular package. By default, the path is  | |
/var/opt/samba/${NETBIOS_NAME}/locks/ nmbd.pid. If the path is different, modify the variable.
Setting Up the Toolkit 133