mxi1
4f80ea942c
"cp -a" can't copy the files with "." as the prefix,
...
and "cp -r -a" can do it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 11:05:38 +00:00
mxi1
461c236542
for defect 2989912,
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 10:10:47 +00:00
mxi1
ec11964907
for defect 3031489,
...
expr is not installed on redhat6 by default, so I removed expr form statelite script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 08:31:42 +00:00
mxi1
8637c96318
update the code to handle the entries with "persistent" option,
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-12 10:03:48 +00:00
mxi1
1e2a27663c
add one new rc.statelite file for rc.statelite.ppc.redhat,
...
on redhat5.x PPC64, we need to use "chroot" to run "openssl" command, or else, it will fail without any output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 08:16:30 +00:00
mxi1
1c59d01b64
changed "#!/bin/sh" to "#!/bin/bash"
...
because redhat5.x use "anaconda.busybox sh" which doesn't support POSIX shell standards very well,
for example, it doesn't support array-type variables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-10 09:45:15 +00:00
bp-sawyers
e7d4696c69
Fixed bug 3011426 (var MYNAME undefined)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-04 20:36:55 +00:00
jbjohnso
5c4fece838
-Try Use shortname explicitly for STATEMNT things
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 17:27:52 +00:00
mxi1
8a532cabce
update rc.statelite to support both one directory and its sub-items in the litefile table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-26 07:56:41 +00:00
datajerk
2ad6ca4ac4
PBS_HOME wrong, should be /var/spool/torque (not /var/spool/pbs).
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-13 15:53:08 +00:00
vallard
508af695e9
removed noderange to be backwards compatible
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 17:47:07 +00:00
mxi1
bb9f222eaf
use ${3} to instead the $hn variable in the xCATcmd function
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 11:47:03 +00:00
mxi1
eb756f9804
the litefile and litetree commands need the <noderange> argument,
...
xCATcmd() is updated by adding "<noderange></noderange>"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-03 08:36:41 +00:00
mxi1
9658788864
add code to enchance the litimg command, if the entry is changed/removed from the litefile table, or some file are replaced in the root image, the code can both handle them now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 07:03:56 +00:00
linggao
666713d204
bug fix for statelite.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 22:29:56 +00:00
mxi1
aeae30cc5b
-two new optins: bind and bind,perssistent is added for the statelite mode support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 14:52:57 +00:00
vallard
fa1f259c9b
fixed bug for mounting directories. Now will mount the full path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5064 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 19:05:26 +00:00
vallard
c9ad6e7855
fixed a bug to get rid of trailing / so link would work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-27 00:10:34 +00:00
mxi1
3f3b504df8
add one checkpoint for this situation when the directory already exists during booting up
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 10:41:32 +00:00
vallard
ee5cb54bcb
removed verbose output
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-23 19:29:10 +00:00
vallard
226c0a64f2
updated to fix mounting directory and paths. In this way if there is an NFS server that has two paths like: mgt:/statelite/new-york and mgt:/statelite/globals to sync from then it will only mount mgt:/statelite and then traverse the directories. This should make boot up faster and look cleaner as there are not as many mount points.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-23 19:28:46 +00:00
vallard
3b5a384b12
file used to initialize statelite images
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 20:34:04 +00:00
vallard
24b5d26cbc
creation scripts for statelite nodes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4718 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 00:55:48 +00:00
datajerk
274edcb7bf
Fixed issue where node was detected as new when gethostbyname failed.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-16 21:17:57 +00:00
datajerk
8d039313e1
Bug fix for BLOCK=yes and no gpfs in fstab.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3566 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-13 15:18:04 +00:00
datajerk
227a16a196
Fix to mmlscluster call to allow cleanup.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3378 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-14 08:24:47 +00:00
datajerk
d41b97cd4b
More bug fixes.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-14 06:51:00 +00:00
datajerk
9246f5fa22
Updated exit code in autogpfsc.pl to be more unique.
...
Fixed but in autogpfsc BLOCK=yes code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-14 06:35:00 +00:00
datajerk
707a734322
Auto GPFS for stateless (and stateful ;-)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2966 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-24 16:55:50 +00:00
vallard
ed6cba80fb
changed /var/spool/pbs to /var/spool/torque
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 17:54:49 +00:00
vallard
82c4873646
changed /var/spool/pbs to /var/spool/torque
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 17:54:37 +00:00
vallard
daa040d898
changed from /var/spool/pbs to /var/spool/torque
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 17:54:02 +00:00
vallard
b485bf7747
fixed space bug
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 06:35:50 +00:00
vallard
05ce8e2065
added support for homogenious systems, no arch required in torque install
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-04 05:52:36 +00:00
jbjohnso
e68fe9d2db
-Move xCAT-server and client to not have 2.0 in name for trunk
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00