Commit Graph

101 Commits

Author SHA1 Message Date
sakolish
9e63b5144b Changed call to HTML::Form->parse() function to Click "OK/Cancel" - Line #597
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@325 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 15:57:14 +00:00
jbjohnso
1812d2e372 -Change '!xcat' hash members to '_xcat', which can survive XML-ization
-Have the xcatd service script source a /etc/sysconfig/xcat if available (to allow setting of XCATCFG)
-Modify xcatd to be able to relay requests to service nodes if the plugin can provide a map, using it's server key and certificate as client credentials
-Provide a more helpful message for SSL connection issue
-Modify Client.pm to accept custome key/cert/ca files to facilitate the aforementioned request relay.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-25 15:07:53 +00:00
jbjohnso
c7868bf082 -Remove error-inducing lines from templates (errors were in commented out template portions, so no functional impact).
-Revamp Table.pm to share database handles and have handles persist across object instances, avoiding numerous calls to connect in certain programmer use cases.
-Modify xfork to use the aforementioned structure rather than the generic structures which are warned as being read-only
-Remove probably deprecated interface field as a key in mac table


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@317 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-23 15:52:27 +00:00
lissav
1ede5d28ec Add isServiceNode routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-22 14:59:14 +00:00
jbjohnso
69e280dbf3 Fix setattribs sql statement structure for postgresql statement parse error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@309 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 22:15:26 +00:00
jbjohnso
b8b4e74f04 Fix most instances of fork by replacing with xfork, name xfork correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:49:59 +00:00
nott
39c7de2940 Fix getobjdefs so it uses the correct subroutine
to read node attributes. Not all node attributes
can be accessed by using a key of "node"!

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@305 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:49:55 +00:00
jbjohnso
4ff63ac90b Correct some unclosed table issues, implement a fork wrapper to clean DB handles, move NotifHandler and monitorctrl to use the aforementioned wrapper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-21 19:39:09 +00:00
jbjohnso
c8c7d356f0 -Report error on DB problems in chnode
-Fix UDP listening select semantics to allow clean exit again
-Alter lifespan of sitetab object in xcatd to avoid attempting to persist across forks (needed for PostgreSQL)
-Allow for possible quotation marks in DBI return data that happen in certain interactions with PostgreSQL
-Cleanup a few unfinished statements and unclosed tables, which might have adversely impacted DBI behavior


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 19:20:46 +00:00
jbjohnso
8836fd275d Add generic DBI attempts (oriented toward PostgreSQL so far, and not working correctly yet)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@301 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-20 02:15:55 +00:00
jbjohnso
ef58bfd707 Add a check to ignore and log malformed switch table entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-19 16:45:29 +00:00
sakolish
c3544c1a6f Added FSP CLI support for "date & time"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-18 16:27:05 +00:00
jbjohnso
decc71ac21 Provide enhanced iSCSI support for the opportunity for more seamless operation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 21:14:50 +00:00
lissav
36a754d5eb Add postscripts table to the schema.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-16 18:48:11 +00:00
jbjohnso
c048ba409a Implement multi-nic discovery
-Table now returns multiple records if appropriate for getNodeAttribs (needed for switch table)
  -makedhcp moved to the ondiscover method (makedhcp not run until discovery method has a chance to modify mac table)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 22:19:17 +00:00
linggao
e47683853f minor bug fix for monitoring plug-in infrastructure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 20:31:25 +00:00
jbjohnso
45fe630583 Multi-interface discovery support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 19:13:43 +00:00
linggao
7717527a3b Changed pname to name in monitoring table to make it easier to understand for user
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 17:10:14 +00:00
andywray
5653e63504 Set XCATROOT to default to /usr if no evironment variable and /opt/xcat does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 16:58:23 +00:00
sakolish
3ab51e3c13 Added support to set/get "I/O Adapter Enlargment Capacity" option - Line #663
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 16:38:44 +00:00
sakolish
ef4f2d2c80 Added support for "Auto Power Restart" option - Line #643
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-14 15:05:14 +00:00
jbjohnso
3b2b02b3e1 Improve performance of discovery process
-Pull UDP queue in to remove duplicates
-Query all caches before slow refresh activities
-Decrease timeout on nodediscover notification
-Switch now only bothers refreshing a cache older than 20 seconds


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 20:55:28 +00:00
sakolish
ca89329166 Swapped order of -h and -v flag check - Line #50
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:34:48 +00:00
sakolish
25ad0324a8 Swapped order of -h and -v flag check - Line #51
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:33:58 +00:00
sakolish
d93db1f6f5 Swapped order or -h and -v flag check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:32:52 +00:00
sakolish
52ba612bd7 Removed extra check for -v flag (version flag) - Line #62
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:30:31 +00:00
sakolish
3910da3b42 Removed extra check for -v flag (version flag) - Line #62
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:25:51 +00:00
sakolish
ccb71ca433 Removed extra check for -v (version flag) - Line #85
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@243 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 19:23:16 +00:00
sakolish
37f1884882 Added support to FSP CLI for "spdump" (Service Processor Dump)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@242 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 16:53:54 +00:00
sakolish
3fd4a9e521 Added support for FSP CLI - Line #29
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@241 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-11 16:15:51 +00:00
sakolish
5acfff0618 Changed module load error - Line #640
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-10 14:34:34 +00:00
jbjohnso
e5b88427dd Add a placeholder rcons/wcons. Fix client to report more useful errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-10 01:59:16 +00:00
linggao
7825f9b720 bug fixes for monitoring code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@229 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-08 21:18:39 +00:00
sakolish
711e6f03ab Stripped additional profile attributes for modify() function - Line 673
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-07 20:34:53 +00:00
sakolish
c43115ed4c Changed chvm usage - Line #136
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-07 17:57:53 +00:00
sakolish
4b6929af18 Corrected comment - Line #713
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 20:31:55 +00:00
sakolish
d1fa232371 Changed function name from "format_schema()" to "format_stanza()"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@210 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 19:06:02 +00:00
sakolish
c28ef0b9ab Added "--help" to usage - Line 41
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-04 16:14:27 +00:00
sakolish
dfef321dc8 Changed name and location of IVM netboot script "/usr/sbin/lpar_netboot" to "/sbin/lpar_netboot.expect" - Line #148
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-02 16:40:20 +00:00
sakolish
b7d9b60a4d Changed name and location of IVM netboot script "/usr/sbin/lpar_netboot" to "/sbin/lpar_netboot.expect" - Line #150
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-01-02 16:39:01 +00:00
lissav
a7b74a09be Add support to update ssh keys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-20 19:02:45 +00:00
lissav
9523f2a4f6 Add support for -K flag to update ssh keys to xdsh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-20 19:02:17 +00:00
sakolish
a98a3f4b25 Changed rnetboot output formatting - Line 287
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-20 15:29:12 +00:00
sakolish
5e23b7fd49 Changed getmacs output formatting - Line #301
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@196 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-20 15:28:28 +00:00
sakolish
d1ad43b174 Added support for rnetboot - Line #569
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-19 20:37:52 +00:00
sakolish
a69ec2f2c8 Changed getmacs output format - Line #304
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-19 20:35:49 +00:00
sakolish
1188428529 Added getmacs support for IVM in "ivm_getmacs" function - Line #136
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-19 19:21:30 +00:00
sakolish
3cad519e36 Added new options to "lpar_netboot" function - Line #569
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-19 19:20:26 +00:00
lissav
299fb094e7 Change from using dping to pping for dsh xdsh -v option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-19 16:04:20 +00:00
lissav
6f8f903393 Change from using dping to pping
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2007-12-19 16:03:56 +00:00