Commit Graph

271 Commits

Author SHA1 Message Date
d2cc1c69fd merge all service node plugins into AAsn.pm and update Utils.pm for support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 14:27:10 +00:00
47386fb1d3 added a function to compare the version numbers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-28 17:05:34 +00:00
703b56e08c Fix a defect in chvm: chvm might not handle some lines with quotation marks
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-28 01:14:35 +00:00
f32021562c Change chvm to support updating profile with attributes specified in command line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-27 14:19:35 +00:00
d803019252 The original logic to rnetboot/getmacs linux nodes takes too much time, since xdsh will wait there for some time if the nodes are not running.
Now just FORCE lpar shutdown if the nodes are running Linux.  

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-27 09:46:46 +00:00
bb8d7c91e3 fix bug 2629189
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-26 07:43:19 +00:00
571dda9c93 Export NFSSERVER variable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-24 21:07:29 +00:00
08aa2bcd99 fix 2 problem in lsslp (source forge defect 2608905):problem 1:sslp cannot always find hosts via snmp;problem 2:lsslp cannot distinguish nodes if their BPA has not been defined.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-24 11:02:34 +00:00
1ccc54d423 fix defect for cloning cecs ('mkvm -c'). SVN defect 2633044
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-24 10:39:18 +00:00
4e713b92df Note that the ntpserver attribute is not supported at this time in the comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-23 18:50:38 +00:00
bcbad1bef1 modified the usage and man page of rflash. Please see the bug 2615564 for more information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 08:31:50 +00:00
ca7610ba86 fix postscripts description
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-18 21:13:48 +00:00
4e50aab5b7 fix xdsh -k hierarchical
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-18 19:03:45 +00:00
182b472aee fix help
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-17 12:59:50 +00:00
41a911bd46 fix Version Utility
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-13 14:51:26 +00:00
5d4003fcc9 Make mkvm support lhea (increment lhea logical port numbers based the lpar specified)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-13 09:42:26 +00:00
d1430d01a3 added boottarget table to schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-12 22:44:31 +00:00
062d4f3645 added quotes for some of the env in the postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2729 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-12 13:56:47 +00:00
1aceee43e1 change copy.perl script to copy.sh script to copy keys on the node. Node may not have perl installed. used in xdsh <noderange> -K
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-11 17:33:58 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
eeb535f8b7 added supernode column in the ppc table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-23 14:51:46 +00:00
ac879caaf0 Updated the man page of xdsh for IB environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-19 10:12:11 +00:00
0c448cc86b lsslp second phase code drop(without man page)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-19 08:58:29 +00:00
d6988ca2f0 Modified some code in connect function of PPCcli.pm to make the rflash with -V work well. (Bug 2512281)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2617 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-16 03:01:04 +00:00
2aa7ab36dc more fixes to support mysql, chtab key=test site -d gives error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 17:47:54 +00:00
e5c3267933 -Prevent sqlite databases from being accessible by non-root users
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 15:04:05 +00:00
f60a7dcf6b modified the rflash to support BPA(bug 2508670)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2608 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-15 03:01:54 +00:00
3a7ae3f20e fix usage of getAllEntries, adding a flag for all and default only entries that are not disabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 19:57:39 +00:00
f69ee3624e minor fix for plugable schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 19:03:37 +00:00
2cddbeb6de change the setupSSH routine to only regenerate the ssh keys if they do not exist in roots home directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 15:54:57 +00:00
4fbba30ba0 fix split in line 2130
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 15:17:56 +00:00
d549325b97 HMC has been updated to add -K netmask option in lpar_netboot.expect. xCAT needs to read the netmask from table and pass this option to HMC if -G,-S,-C has been specified.
Defect  2485129:  Fail to getmacs from HMC with option -S -C -G



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2597 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-14 07:37:14 +00:00