Hi there,
I have applied one PBS Pro trial license and tried to install PBS Pro 14.2.6. The detailed steps are as follows:
- Create one account in https://secure.altair.com/UserArea/license_man.php and applied 30 days free trial license for 0.03 HWU with hostid 00001701A3E0,hostid type “Ethernet”. Save license file as “altair-serv.cfg”
- Download the Altair License Server and add the “altair-serv.cfg” license file.
- Check the license server is running.
[opc@pbsproserver usr]$ sudo systemctl status altairlmxd.service
● altairlmxd.service - LSB: Altair_Lmxd for Altair products
Loaded: loaded (/etc/rc.d/init.d/altairlmxd; bad; vendor preset: disabled)
Active: active (running) since Tue 2018-11-06 02:12:04 GMT; 2h 5min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 21
Memory: 724.0K
CGroup: /system.slice/altairlmxd.service
└─1988 /usr/local/altair/licensing13.0/bin/lmx-serv -b -c /usr/local/altair/licensing13.0/altair-serv.cfg
Nov 06 02:12:04 pbsproserver systemd[1]: Starting LSB: Altair_Lmxd for Altair products…
Nov 06 02:12:04 pbsproserver altairlmxd[1924]: Starting Altair License Manager…
Nov 06 02:12:04 pbsproserver altairlmxd[1924]: The Altair License Manager was successfully started.
Nov 06 02:12:04 pbsproserver systemd[1]: Started LSB: Altair_Lmxd for Altair products.
- Created user pbsdata and install pbs standalone server.
- Start pbs service.
[opc@pbsproserver licensing13.0]$ sudo systemctl status pbs
● pbs.service - Portable Batch System
Loaded: loaded (/opt/pbs/libexec/pbs_init.d; enabled; vendor preset: disabled)
Active: active (running) since Tue 2018-11-06 03:17:37 GMT; 55min ago
Docs: man:pbs(8)
Process: 12128 ExecStop=/opt/pbs/libexec/pbs_init.d stop stop (code=exited, status=0/SUCCESS)
Process: 12788 ExecStart=/opt/pbs/libexec/pbs_init.d start start (code=exited, status=0/SUCCESS)
Tasks: 12
Memory: 11.8M
CGroup: /system.slice/pbs.service
├─12831 /opt/pbs/sbin/pbs_comm
├─12859 /opt/pbs/sbin/pbs_mom
├─12871 /opt/pbs/sbin/pbs_sched
├─13067 /opt/pbs/sbin/pbs_ds_monitor monitor
├─13097 /opt/pbs/pgsql/bin/postgres -D /var/spool/pbs/datastore -p 15007
├─13106 postgres: logger process
├─13109 postgres: checkpointer process
├─13110 postgres: writer process
├─13111 postgres: wal writer process
├─13112 postgres: autovacuum launcher process
├─13113 postgres: stats collector process
├─13129 postgres: pbsdata pbs_datastore 10.0.0.253(48344) idle
└─13143 /opt/pbs/sbin/pbs_server.bin
Nov 06 03:17:32 pbsproserver pbs_init.d[12788]: PBS sched
Nov 06 03:17:33 pbsproserver su[12893]: (to pbsdata) root on none
Nov 06 03:17:33 pbsproserver su[12926]: (to pbsdata) root on none
Nov 06 03:17:33 pbsproserver su[12988]: (to pbsdata) root on none
Nov 06 03:17:33 pbsproserver su[13022]: (to pbsdata) root on none
Nov 06 03:17:33 pbsproserver su[13068]: (to pbsdata) root on none
Nov 06 03:17:37 pbsproserver pbs_init.d[12788]: Connecting to PBS dataservice…connected to PBS dataservice@pbsproserver
Nov 06 03:17:37 pbsproserver pbs_init.d[12788]: Licenses valid for 0 Floating hosts
Nov 06 03:17:37 pbsproserver pbs_init.d[12788]: PBS server
Nov 06 03:17:37 pbsproserver systemd[1]: Started Portable Batch System.
- Checked the server log:
11/06/2018 03:17:37;0004;Server@pbsproserver;Svr;Server@pbsproserver;Hostid is 0x000afd00
11/06/2018 03:17:37;0004;Server@pbsproserver;Svr;Server@pbsproserver;Licenses valid for 0 Floating hosts
- When submit job and trace it,
[opc@pbsproserver server_logs]$ tracejob 0
Job: 0.pbsproserver
11/06/2018 03:04:59 L Considering job to run
11/06/2018 03:04:59 L Could not run job - unable to obtain 1 cpu licenses. avail_licenses=0
11/06/2018 03:04:59 S enqueuing into workq, state 1 hop 1
Not sure why the license invalid. And my hostid is like this:
[root@pbsproserver bin]# ./almutil -hostid
AltairLM End-user Utility v13.0.0 build 156135 (Jun 3 2016)
Copyright (C) 2016 Altair Engineering, Inc. All rights reserved.
ETHERNET: ens3
Hostid: 00001701A3E0
ETHERNET: virbr0
Hostid: 525400F20968
ETHERNET: virbr0-nic
Hostid: 525400F20968
Could you please help me find why the license invalid? Thanks a lot!