Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



  • Interface: As an admin, I would like to have the mom log her hostname each time the log file gets opened.


  • Visibility: Public
  • Change Control: Stable
  • Details: MOM logs her hostname information whenever a new log file is opened, on HUP, etc.
  • So that user can know easily and for sure which host produced a log file I am he is looking at.

  • This will get displayed in the next line sequential to after pbs_versionbuild.
  • Both PBS_LEAF_NAME and hostname are logged if PBS_LEAFMOM_NODE_NAME is setare logged along with hostname.
  • All the possible hostnames that the host could be known as based on the visible interfaces will be listed.
    • Sample Log:

      11/11/2016 17:56:31;0002;pbs_mom;Svr;Log;Log opened
      11/11/2016 17:56:31;0002;pbs_mom;Svr;pbs_mom;pbs_version=14.1.0
      11/11/2016 17:56:31;0002;pbs_mom;Svr;pbs_mom;pbs_build=mach=N/A:security=N/A:configure_args=N/A
      11/11/2016 17:56:31;0002;pbs_mom;Svr;pbs_mom;hostname=vbox,pbs_leaf_name=N/A,pbs_mom_node_name=N/A
      11/11/2016 17:56:31;0002;pbs_mom;Svr;pbs_mom;ipv4 interface lo: localhost localhost.localdomain localhost4 localhost4.localdomain4
      11/11/2016 17:56:31;0002;pbs_mom;Svr;pbs_mom;ipv4 interface eno15654763: vbox
      11/11/2016 17:56:31;0002;pbs_mom;Svr;pbs_mom;ipv4 interface enp0s8: otherinterface.xyz.pbspro.com otherinterface
      11/11/2016 17:56:31;0002;pbs_mom;Svr;pbs_mom;ipv6 interface lo: localhost localhost.localdomain localhost6 localhost6.localdomain6
      11/11/2016 17:56:31;0100;pbs_mom;Svr;parse_config;file config
      .................................................................................................................
      .................................................................................................................
      .................................................................................................................

...