Commit Graph

79 Commits

Author SHA1 Message Date
yinle
5b63871a20 Add support for finding the specified nodes. User need to input the node range. Fix a problem with find fsp/cec cageid.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8984 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-04 01:54:43 +00:00
yinle
dac4eb621e Fix bug 3190451:lsslp -s BPA/FSP output issue with IP address and hostname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 11:57:44 +00:00
yinle
40b1b0f87d FSP/BPA redundancy: Modify the definition of the secondary fsp and cec, use the primary fsp's cage id.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8919 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 09:22:12 +00:00
yinle
dece5f51ff Fix a mistake, add hidden attribute to the stanza file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8902 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-22 07:22:35 +00:00
yinle
c3379c7e67 FSP/BPA redundancy: copy passwd for the FSP/BPA nodes in the process of database migration.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-21 05:50:02 +00:00
yinle
0224a544c4 Fix bug 3184653:lsslp->mgt is not correct for CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 09:19:38 +00:00
yinle
78e6ac16ff Fix bug 3177685 :lsslp command on RH6 Linux provide slptool error. Disable the hierarchy of lsslp.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 03:14:59 +00:00
yinle
19218acbc8 FSP/BPA redundancy: do_makedhcp should check if the node itself is an IP first.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-11 07:38:02 +00:00
yinle
66117158c2 fix bug 3177471:lsslp with -r (raw) flag displays duplicate entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-11 06:18:52 +00:00
yinle
8f0ed3fa8d FSP/BPA redundancy: fix a mistake
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-28 15:42:00 +00:00
yinle
22ec8bfa56 CRHS phase IV: add -I flag to give warning to the user about the node which defined in database but have no SLP response.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-27 08:40:33 +00:00
yinle
a9b6dcc216 FSP/BPA redundancy: Add the part of database migration.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8735 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-24 16:11:56 +00:00
yinle
49feeca213 FSP/BPA redundancy: we need to take a consideration of the case that the existed hostname which we want to use is IP address and different from the new IP address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-18 09:34:10 +00:00
yinle
af100ac3b2 FSP/BPA redundancy: Fix a mistake, HMC node may still has multiple IP addresses.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 16:00:56 +00:00
yinle
1e2c697419 FSP/BPA redundancy: modified the process of the parse_response.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 15:12:52 +00:00
yinle
2bba1b7836 FSP/BPA redundancy: modify the process of finding nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8529 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-30 09:00:43 +00:00
yinle
ea8a59059d FSP/BPA redundancy: add -C flag to support the expect number of nodes specified by user.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-29 10:32:22 +00:00
yinle
d5d9989dbc FSP/BPA redundancy: do_resetnet should skip operating on CEC and frame object.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-27 02:13:21 +00:00
yinle
0c8c0ca5f9 FSP/BPA redundancy: minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8407 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 08:28:53 +00:00
yinle
f78f4f0b63 FSP/BPA redundancy: modify a code bug
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-07 08:12:36 +00:00
yinle
fb6b0241fe FSP/BPA redundancy:modify lsslp.pm, add definition of CEC and Frame. Now only support matching vpd table. Disable write DB temporarily.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8342 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-07 05:47:07 +00:00
wanghuaz
4f0ae042d9 Fixing bug: 3039292. Use xfork instead of perl subroutine fork to correctly handle the existing mysql DB connections
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-14 03:47:05 +00:00
wanghuaz
287685acb1 fixed defect 3034596, lsslp error with XCATBYPASS=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-07 09:24:16 +00:00
wanghuaz
8e4f81a2b3 Fixed the issue that --makedhcp option is not working in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 07:06:38 +00:00
wanghuaz
5e5f2d5ac8 Output the makedhcp errors in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 03:04:56 +00:00
wanghuaz
e1fbb38a73 Added hcp attribute in the stanza and xml output of lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 02:39:38 +00:00
wanghuaz
8583cffdc4 Make sure the otherinterfaces attribute value is always up to date
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 16:33:31 +00:00
wanghuaz
579af7d1e0 write the otherinterfaces attributes with discoveried IPs instead of ip attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 14:04:05 +00:00
wanghuaz
a3ccaaba90 Update otherinterfaces attribute in resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-31 09:12:46 +00:00
wanghuaz
25cadc1e29 For HMC, we should not out id and parent attribute in stanza or xml format. Remove these two attributes in stanza and xml formatting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5833 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 09:33:56 +00:00
wanghuaz
53031e65db Fixed bug 2987151: makedhcp have one issue with a clean DHCP configuration file on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 06:56:26 +00:00
wanghuaz
67d40f426a Fixed one issue that --resetnet option in lsslp should update the otherinterfaces attribute if resetnet succeed.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5752 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-13 05:59:05 +00:00
wanghuaz
b249bcca4d get hostsname from hosts table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-23 08:33:08 +00:00
wanghuaz
2dcb36dcb4 The original perl code to handle the children's response doesn't work in some systems, change to another way
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5552 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-23 02:57:06 +00:00
wanghuaz
2b1ab27d10 Update the login name for HMC/FSP/BPA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-19 13:16:09 +00:00
wanghuaz
ee4fa1e7f7 Add another check to determine if the discovered hardware is new or not in lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5443 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 08:42:55 +00:00
wanghuaz
330831300f Updated man page, fixed one issue for management module, -n flag support, read hostnames from name resolusion if no -M flag for hardware discovery feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-09 08:58:10 +00:00
wanghuaz
accf1ee65c Updated usage for lsslp, make support for MM, support raw output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-08 15:56:18 +00:00
wanghuaz
b9dc705795 Updated output of lsslp command and add the support for FSP redundancy. Also handled the case that there is hub during FSP/BPA and switch in switchport mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-06 14:00:25 +00:00
wanghuaz
0ceb572421 code checkin for hardware discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-05 16:36:16 +00:00
wanghuaz
d8e7b73f26 Part code check for class ready feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 08:12:33 +00:00
wanghuaz
c3e51d1da8 Correct some errors in the stanza and xml output of lsslp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-25 09:12:14 +00:00
zhanx
75cddb7df3 Fixed the wrong setting of mgt in stanza and xml output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-18 16:19:15 +00:00
wanghuaz
75b0a4417b Add -n option for lsslp to only show and write the newly discovered hardwares
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-29 14:29:02 +00:00
zhanx
ceea26ca17 hardware discovery enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-28 08:10:42 +00:00
wanghuaz
06aaca242e Remove useless code in last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 13:32:33 +00:00
wanghuaz
a8013ef8ef fixed the lsslp issue that it is possible to append -1,-2 to the existing hostname in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-13 12:56:37 +00:00
zhanx
fbf9b8458b Fix bug 2894526 lsslp creates same IP with different hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 10:37:13 +00:00
wanghuaz
a0d1a965a3 Fixed defect: 2884736--lsslp -w -s BPA should not create new node definition if the node exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-03 02:50:39 +00:00
zhanx
c48d753668 Fix bug 2884407 lsslp -i -w FSP should not reset previously defined hcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-26 13:46:52 +00:00