2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

67 Commits

Author SHA1 Message Date
Mark Gurevich
3ecf73ce6b Fix 'quiet' spelling 2022-11-29 11:50:18 -05:00
Bin Xu
40d74ace1b Adding port 22 for unprivileged node ping (#4324) (#5699) 2018-10-12 17:01:37 +08:00
GONG Jie
859a72caee Remove trailing spaces in file xCAT-server/lib/xcat/plugins/nodestat.pm 2017-12-31 23:59:59 +00:00
robin2008
671231833d modify nodestat usage and manpage for -f|--useping 2018-05-31 17:13:04 +08:00
Victor Hu
3f03d53e8b Initialized more_options variable to avoid uninitialized error message 2017-04-25 16:51:24 -04:00
immarvin
e944e7fd22 fix issue xcat command returns 0 when cmd fails due authorization #2636 2017-03-13 23:08:39 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
linggao
82c90e2227 null node appstatus when status is noping for nodestat -u. 2015-04-21 16:51:59 -04:00
jjohnson2
fb02c18853 Fix erroneous 'noping' in various circumstances
nmap's raw IP facility is prone to mistakes in various
environments.  Disable the raw IP handling by
telling nmap to run as if it didn't have privilege
2015-03-20 10:58:26 -04:00
linggao
73d08b58fa added nmapoptions in the site table to resolve network slow response issues in nmap. defect 4300 2014-10-22 18:36:59 -04:00
jbjohnso
dabd5d5f09 Certain nmap output with ipv6 could leave nodename with a trailing \n, correct
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-25 16:26:08 +00:00
immarvin
4b2677b87e replace "XCATBYPASS=Y xdsh..." with "InstUtils->xcmd()"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 08:22:01 +00:00
lissav
7adbe1de86 fix defect 2985
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 18:54:00 +00:00
ligc
7469e7dc83 fix two perl syntax errors in nodestat.pm: Use of uninitialized value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 02:19:31 +00:00
jbjohnso
83ea798bcd Fix problem where nodestat with hosts table lookup fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-04 17:25:32 +00:00
jbjohnso
16f9d196ca nmap ipv6 support can be pretty easily messed up, change probe parameters from default '80'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-08 21:08:03 +00:00
jbjohnso
d5064385f8 Fix problem where nodestat would make two ipv4 passes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13482 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-10 16:23:23 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jbjohnso
07b89a8df3 Hve nodestat also look for https server
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13458 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 20:59:29 +00:00
jbjohnso
1d4db3c080 Fix nmap to never attempt reverse lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 20:56:47 +00:00
jbjohnso
9f8d68ed3d Have nodestat support IPv6 destinations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 13:35:55 +00:00
jbjohnso
f590db8fc4 Have nodestat fallback to hosts.ip lookup if applicable
Make nodestat more IPv6 workable with nmap

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13163 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 19:41:33 +00:00
jjhua
dab53851c9 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:17:42 +00:00
jbjohnso
60f1f2ed5f Fix nodestat reliability issue
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 17:43:24 +00:00
linggao
5c047d1073 fixed a bug for nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-08 18:37:48 +00:00
linggao
e92cdf5792 fixed a bug for nodestatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-08 16:28:48 +00:00
datajerk
cd13afb3d5 Added MS RCP and RDP to detect installed node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-12 17:37:27 +00:00
jbjohnso
6f81d9b68a Fix nodestat without arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-12 12:57:32 +00:00
jbjohnso
89743f5fbc Provide user way to specify manual use of fping to allow workaround for RHEL 6.0 bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-29 12:03:28 +00:00
jbjohnso
eb1ecfbc5b -Prevent attempting query of xCAT install monitor script if the node is not in install state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-23 18:32:29 +00:00
ellen56
ee9ee54e5b fix defect 3152286
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-11 07:04:37 +00:00
linggao
9d69302916 added support to run command on the mn against all the nodes for nodestat command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-29 18:18:03 +00:00
linggao
c0aa4c2a24 bug fix, extra line like XXXXXYYYYYZZZ was printed out for noping nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-12 20:44:45 +00:00
jbjohnso
5b63531ff4 -Fix previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-23 18:34:17 +00:00
jbjohnso
28161c99f2 -Fix for rhel6 nodestat/pping
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-23 18:15:48 +00:00
jbjohnso
2238966cda -Fix nodestat for routed nodes using nmap
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-10 18:57:30 +00:00
ligc
7293793c1a ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 09:04:59 +00:00
linggao
99bea5bc1f added option for getting power status for nodestat comand
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5530 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-19 14:57:57 +00:00
linggao
56e62e91a0 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-16 20:42:12 +00:00
linggao
6a2947a492 minor, removed a debug message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-16 20:33:32 +00:00
linggao
0f2075d595 support getting power sttaus for nodes that are noping in nodestat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-16 20:29:56 +00:00
linggao
523f862d06 add time stamps for nodelist.status and nodelist.appstatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5433 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-10 19:09:30 +00:00
linggao
1cae57f314 added default ll and gpfs port number in nodestat.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-02 18:35:28 +00:00
linggao
1a19bf0389 added searching for port number in /etc/services for applications that do not have port number specified in monsetting table for appstatus monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-02 17:58:28 +00:00
linggao
aa68229e33 change status string from 'active' to 'ping' in nodestat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-02 16:31:05 +00:00
linggao
bde3e92d14 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-01 16:51:43 +00:00
linggao
ee1eec6f95 appstatus support, xcatmon updates appstatus, nodestat command supporting updating the db
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-01 16:18:49 +00:00
jbjohnso
d2b03ac4f4 -Tolerate mismatch between forward and reverse lookups
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-15 19:31:26 +00:00
linggao
e15a6563a0 added useNmapfromMN in the site table for nodestat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-05 23:08:07 +00:00
lissav
af0a034e90 add check in preprocess for nmap installed, if installed skip hierarchy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-28 17:32:16 +00:00