Commit Graph

2409 Commits

Author SHA1 Message Date
wanghuaz
5ee13233fc Fixed the issue that if nodename in xcat database is not the same with lpar name, rnetboot will fail.
Root cause: rnetboot will resolve the lpar name from hmc in order to setup a full lpar_netboot command.  But rnetboot will also use this lpar name in xcat database to resolve the network, which will definitely fail.
Fix: pass the nodename to xcat database instead of lparname.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-11 06:32:58 +00:00
lissav
2ded87c984 These updates move the /install/postscripts/hostkeys private and public keys to reside in /etc/xcat/hostkeys directory. It will leave a copy of the public hostkeys in /install/postscripts/hostkeys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-10 19:48:29 +00:00
lissav
122dffca3b add copy of the private key to the nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-09 20:27:46 +00:00
lissav
0a35ed1193 fix ssh files are copied to /install/postscripts/_ssh not /install/postscripts/.ssh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2712 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-09 18:49:48 +00:00
jars99
0d5cc0b4a5 Added the Fedora 10 disc identifiers to anaconda.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2711 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-09 17:17:55 +00:00
lissav
45308d5595 fix manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 13:34:22 +00:00
lissav
7584f58b31 fix manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 13:21:11 +00:00
lissav
efe6d01948 add DEVICETYPE env variable and manpage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 13:18:31 +00:00
lissav
0b93291a41 change interface to use -l flag and remove -w flag when updating keys
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 12:52:36 +00:00
wanghuaz
4db5572dbb Fixed the copyright issues on sample scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 09:54:55 +00:00
daniceexi
ce6242c12a Bug2163004: The kickstart template file for ppc64 platform
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2705 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-06 09:15:46 +00:00
lissav
1ad6abf4e7 add support for Node structure in messaging
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-05 18:56:50 +00:00
jbjohnso
4d10aaf6a8 -Fix problem where mknb failed to set up PPC structure properly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-05 15:46:43 +00:00
lissav
bae1e1110a add code to support xdsh -K for non-root ids and not to use xcatbypass
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-04 17:18:44 +00:00
linggao
37db64b1e8 fix tabrestore to handle columns that are auto increment.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-04 01:53:34 +00:00
bp-sawyers
71d2f81fa5 Updated the section for downloading xCAT and dependencies
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-03 21:59:37 +00:00
linggao
998ccbd977 bug fix in xCAT-server.spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-03 17:16:17 +00:00
linggao
94ade30137 added support for logging batching events into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-03 17:13:20 +00:00
trevharmon
4a9653f746 added xCAT client Java API (both src and binary), both of which are stored in the java-xCAT/ directory.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-02 21:59:50 +00:00
lissav
ee0c5f9b60 allow access to /opt/xcat/lib/perl/xCAT/data dirctory by non-root user
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-02 14:50:09 +00:00
jbjohnso
d74f5f5689 -Revert accidental checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-01 00:24:34 +00:00
jbjohnso
afefaa419a -More careful treatment of migration to provide more accurate failure descriptions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-01 00:23:52 +00:00
jbjohnso
b9f440262f -Have blade plugin die a little more gracefully in a hypothetical failure in SNMP processing, still needs to be more specific
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-01 00:07:20 +00:00
jbjohnso
4c62b372aa -Workaround some Sys::Virt bugs and provide better error output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-31 23:51:31 +00:00
jbjohnso
0374e787f5 -Confine plugin bugs to the child process handling them in the common case, provide more feedback on these
than 'unexpected disconnect'.  Note that a rearchitecting to not fork when only one plugin is involved
 would make the 'impossible' message possible, but such a rearchitecting would make xcatd more susceptible to
 plugin bugs in other ways and is therefore unlikely.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-31 22:45:22 +00:00
jbjohnso
58b51e8acf -Have xen plugin not hang on certain hypervisors on a misconfiguration of ssh
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-31 19:51:04 +00:00
jbjohnso
ea7a896bd3 -Update disc id for RHEL 5.3 to GA level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-31 15:50:38 +00:00
nott
67ae9ca307 Minor updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 17:54:03 +00:00
jbjohnso
1b18fb5ada -Suppress expected errors and provide a hint on a common cisco misconfiguration.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 16:25:55 +00:00
bp-sawyers
e25247a3df Test check in for build process.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 14:44:01 +00:00
jbjohnso
72c2c0174e -New conserver backends that coordinate better to avoid high startup loads and not penalize a single console being restarted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 14:27:32 +00:00
jars99
e0470902d8 This patch returns the message "Guest is already on host $targ" when a xen vm is migrated to the same host is was already on.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 23:07:32 +00:00
bp-sawyers
5682bb9479 Added websrv table for VirtualBox support. Also added websrv and vm attributes to defspec for lsdef support.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 19:00:50 +00:00
nott
5f60447279 Add check to make sure the objtype value is provided.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2669 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 18:42:59 +00:00
linggao
1cc6b66c5c bug fix in chtab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 16:37:52 +00:00
linggao
07de3c80c7 added event response to log RMC events into the xCAT database.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 02:44:26 +00:00
linggao
71b917124f added eventtype column in the eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2666 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-29 02:41:02 +00:00
bp-sawyers
aabf2df59d Copied xen.tmpl from centos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2665 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 21:32:44 +00:00
bp-sawyers
91ce49a9ee removing xen.tmpl because it is a circular sym link
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 21:30:40 +00:00
bp-sawyers
3d9c7113db Fixed rpm names in mkAIXsnap
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 20:54:29 +00:00
bp-sawyers
7318c2d544 Fixed error in rpm file names on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 20:36:04 +00:00
bp-sawyers
1af0fb4bf3 Fixed modifyUtils and makeperlxcatrpm to work on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 20:26:03 +00:00
linggao
2b171fcb4d added defspec for eventlog and Util function for logging events into the eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 18:49:02 +00:00
bp-sawyers
22635b7893 Changed make scripts, build scripts, and Utils.pm so they all get version # from the new Version file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-28 15:42:14 +00:00
linggao
c7baf633f7 added eventlog table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-27 17:55:06 +00:00
linggao
7fba9cb39c added AUTO INCREMENT support for DB columns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-27 17:53:44 +00:00
lissav
dd727a5c7a add setup of MySQL to start after reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-26 18:02:07 +00:00
jbjohnso
4763d577e8 -update build scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-26 14:25:00 +00:00
linggao
e24c7b862c added predefined conditions and sensors for HFI monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-23 20:19:00 +00:00
lissav
5b953f5ad5 add restart dhcpd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-23 18:52:07 +00:00