Commit Graph

55 Commits

Author SHA1 Message Date
ligc
5d547f0985 fix for bug 4239: do not use ip command on AIX 2013-07-31 16:23:43 +08:00
lissav
3e1ff658fa defect 4091 2014-05-06 08:01:47 -04:00
lissav
066be36003 defect 4047 perl warnings 2014-04-07 10:38:49 -04:00
daniceexi
9164cf83a3 defect 3968: fixed the issue that for statelite on aix, the .statelite dir was not copied to shared_root spot from default spot 2014-01-16 04:49:17 -05:00
nott
79a0dcd3d5 add check for blank file name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-10 16:53:00 +00:00
sjing
34a90f1e78 fix for bug 3526 - remove litetree.table from inst_root for the update.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-25 07:56:59 +00:00
nott
9bde1bf177 add check for persistent /var/adm/ras
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 13:20:44 +00:00
zhaoertao
571f3e3962 for item: clean up Utils.pm, the code in perl-xCAT/xCAT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00
nott
ac30816620 fix perl INC path
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
nott
60741454d0 add mntopts to the litetree file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:55:29 +00:00
nott
331dc24373 add check for myxcatpost file name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 18:01:49 +00:00
jjhua
2d550820b2 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@12782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 03:15:00 +00:00
nott
d3c95f2d2a fixed target in dolitesetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-01 21:12:04 +00:00
nott
f171ef4052 remove bogus error msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11713 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-29 16:13:45 +00:00
wanghuaz
fce8747ca4 Fixed one issue while check if I am the given service node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 07:23:07 +00:00
nott
1413d85762 fix for bug #3474362
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-26 16:16:40 +00:00
lissav
8ae7cefc23 NIMprime to nimprime
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 11:33:41 +00:00
nott
a56b10e887 resolv.conf and statelite fixes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-02 17:06:58 +00:00
nott
6826e24b8a remove unnecessary msgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-26 15:16:49 +00:00
sjing
9db152a96d support <xcatmaster> keyword in site/networks table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9531 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 08:11:16 +00:00
sjing
049835a125 Fix for bug 3298196.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-09 01:55:37 +00:00
nott
e830625625 AIX statelite cleanup plus soft mount support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-13 19:19:31 +00:00
lissav
8ddf863e48 Comment out use/require Data:Dumper
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9270 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:49:13 +00:00
lissav
9d9e181638 our @ISA ,@EXPORT_OK
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9268 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 13:36:15 +00:00
lissav
3676e5b339 fix defect 3187839
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8911 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-23 14:49:16 +00:00
nott
ca225c7dfe check for duplicate entries in statelite table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-01 17:01:40 +00:00
nott
8b5a9c955f check for absolute path in litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-31 20:28:49 +00:00
nott
0b6c2347ca fix verbose msgs in runcmd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-30 17:00:54 +00:00
nott
bd1c62b14e updates for AIX statelite parent-child support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-16 19:32:23 +00:00
nott
ac88177e75 fix myxCATname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-12 12:26:46 +00:00
nott
afe6c1c420 add server name to verbose output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-07 20:42:31 +00:00
nott
b1281cdc44 use getObjectsOfType to get nodelist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7915 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-25 16:50:29 +00:00
daniceexi
e6e500e0e0 3089578: InstUtils::dolitesetup, set return code to 2 for normal shared-root case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-19 12:38:56 +00:00
mxi1
b841208705 for defect 3087228
add two checkpoints in InstUtils.pm and aixlitesetup

    if the entry in litefile table is one file and the entry in spot is one directory,
    or the entry in litefile table is one directory and the entry in spot is one file,
    there will be one error message to indicate the user to update the spot or the litefile table

    One loop is added to do the check in InstUtils.pm;

    in aixlitesetup script, two checkpoints are added to make sure the entries in litetree is comatible with the litefile entry

    Also add one checkpoint in aixinstall.pm to see the return code of dolitesetup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7864 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-15 08:34:00 +00:00
nott
5c0f072f1a misc. fixes to dolitesetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-14 19:37:16 +00:00
nott
754c887182 remove bugus error msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-13 18:10:55 +00:00
mxi1
0b435da37b for defect 3086530,
there's one small mistake when handling the directory for litefile entries, I have fixed it.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-13 10:12:49 +00:00
nott
551cde5ef9 add full path to litetree call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-07 16:29:54 +00:00
xq2005
0afc3ecb55 /install is hard coded
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-28 04:59:46 +00:00
nott
90eda95f4b always update shared_root with statelite info
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-13 20:00:40 +00:00
nott
b4f90c163e add dolitesetup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-12 22:14:05 +00:00
nott
5229862ac3 add get_nim_attrs subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-18 15:19:01 +00:00
ligc
7614a03edb ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 03:09:08 +00:00
ligc
dd0e3f7f35 ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 08:23:59 +00:00
ligc
dfb30a46a9 call NetworkUtils.pm subroutines instead of Utils.pm subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 02:44:50 +00:00
ligc
051eaae467 ipv6 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 09:32:49 +00:00
ligc
0ff0c8250a fix for bug 2945898: close(BNDFILE) not necessary, the bndfile is not opened
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 02:49:38 +00:00
mellor
0f240257c9 changed InstUtils->getOSnodes to default to local OS if nodetype.os not set for node (used to default to Linux)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-02 20:03:46 +00:00
nott
d69f41ea52 Removed reference to BNDFILE.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4982 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-19 19:39:07 +00:00
nott
0b2ae003e0 Add get_server_nodes routine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4701 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-01 18:11:50 +00:00