Commit Graph

52 Commits

Author SHA1 Message Date
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
lissav
e01d6ba039 fix perl syntax error in xcatpreprocessed check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-16 17:58:41 +00:00
lissav
e2b1a4e4e3 update with use of _xcatpreprocessed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 15:32:16 +00:00
jbjohnso
74df90b097 -Fix nodestat for FQDN nodenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-09 18:26:56 +00:00
lissav
610ac90036 fix so that it now still calls processing of usage instead of exiting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-29 11:15:19 +00:00
jbjohnso
60539e0b1f -Do not distribute nodestat calls
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-07 18:54:40 +00:00
jbjohnso
79e6c93a6c -Change pping/nodestat to a more accurate set of arguments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-22 19:54:54 +00:00
jbjohnso
73e190c979 -If using the new style of nodeset, aggregate nodeset calls for further performance enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-07 15:47:42 +00:00
jbjohnso
3531cb60ae -Have nodestat not try to interrogate port 3001 if the fast scanning detects it to be futile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-07 15:09:13 +00:00
jbjohnso
4d02c5226e -Only use nodestat path if nnmap is executable at /usr/bin/nmap
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-06 21:35:48 +00:00
jbjohnso
cc96293f8b -Remove spurious line from nodestat plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-04 01:19:06 +00:00
jbjohnso
17bf1798b7 -Fix pping handling of FQDN-first /etc/hosts entries
-Have nodestat use nmap instead of fping/homegrown code
-Require nmap instead of fping


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-04 01:00:38 +00:00
jjhua
233b67e87e add some code to check if the nodes exist in /etc/hosts. bug2689638
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-01 06:52:40 +00:00
jbjohnso
b5dd66ff03 -Speed up nodestat
-Additionally, provide list of all known detected states rather than making value judgements as to what is most important


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-21 14:25:06 +00:00
lissav
bd30724e82 add check for no input to nodestat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-31 19:17:40 +00:00
lissav
c5eb054b91 add support for -h and -v and fix parsing for invalid flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2442 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-31 19:12:14 +00:00