Set up a custom Alarm Notifier named HPOOAlarmNotifier and when trying to start it returns an Unknown error:
Launched using the launchinstdbapp method
cd $SPECROOT/bin
./launchinstdbapp localhost <PARTNAME> <auto restart y/n> <Log Name>
./launchinstdbapp localhost HPOOALARMNOTIFIER n HPOONOTIFIER.OUT
In this case, the .idb file (HPOOALARMNOTIFIER.idb) used by processd to start the process had an error
in the path to the notifier binary.
# Processd Install Ticket for AlarmNotifier
PARTNAME;HPOOALARMNOTIFIER;
APPNAME;HPOOAlarmNotifier;
WORKPATH;$SPECROOT/Notifier/HPOO_notifier;
LOGNAMEPATH;$WORKPATH/HPOONOTIFIER.OUT;
ADMINPRIVS;N;
AUTORESTART;y;
AUTOBOOTSTART;y;
STATEBASED;Y;
NUMPROCS;1; // one per host
RETRYTIMEOUT;600; // 10 minutes
#TICKETUSER;$spectrum;
RETRYMAX;3; // 3 retries allowed
STARTPRIORITY;30;
SERVERPROCESS;Y;
#ENV;<var>=<value>;
ARGV;$SPECROOT/Notifier/HPOO_notifier<CSEXE> -r .alarmrc2 -n HPOOALARMNOTIFIER;
The path to the binary is $SPECROOT/Notifier/HPOO_notifier and the binary name is HPOO_notifier.
Release : 10.x
Component : Spectrum Core / SpectroSERVER
Corrected the path in the .idb file and restarted processd to pick up the changes
- Corrected the path in the ARGV line
ARGV;$SPECROOT/Notifier/HPOO_notifier/HPOO_notifier<CSEXE> -r .alarmrc2 -n HPOOALARMNOTIFIER;
- saved the .idb file (HPOOALARMNOTIFIER.idb)
- restarted processd using processd.pl restart (processd will re-read the .idb files and pick up the change without affecting already running processes)
$SPECROOT/lib/SDPM/processd.pl restart
The HPOO_notifier.exe was launched by processd on the restart (as the AUTOBOOTSTART was set to y in the .idb)
https://knowledge.broadcom.com/external/article?articleId=201598