Commit Graph

66 Commits

Author SHA1 Message Date
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
zhanx
cc77e78933 Fix bug 2883802 lsslp print error when device have IPV6 addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-22 09:55:42 +00:00
zhanx
62192c361c Fix bug 2872935 lsslp/mkhwconn is not setting up ppc table with P6 He
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4431 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-21 11:45:26 +00:00
zhanx
7b40214de1 correct the wrong lsslp.pm checked-in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 13:37:44 +00:00
zhanx
cadaa488f2 2882115 lsslp should uses predefined BPA/FSPs nodename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-20 11:31:17 +00:00
zhanx
7844d8cf91 Update rspconfig man page, to add network function for FSP/BPA
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3943 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-05 11:43:46 +00:00
zhanx
6f5cefd9fb Fix bugs: 2829874 lsconn and mkconn not working in 0728 xCAT 2.3 build; 2826734 lsslp can only write one BPA side into xCAT DB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3912 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-31 19:45:28 +00:00
lissav
1919a52ca7 remove Linux check around XML::Simple::PREFERRED_PARSER
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-29 16:20:35 +00:00
zhanx
4bbc896185 Additional code change for bug 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3883 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 19:35:44 +00:00
zhanx
6bec9dd95a Additional code change for bug 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 16:59:24 +00:00
zhanx
d79ae69084 Fix defect 2822229 lsslp should set the correct node name in xCAT DB for BPA; 2824599 lsslp should add more attribute in DB for FSP/HMC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-27 15:28:11 +00:00
zhanx
a574da32af Fix defects: 2824357 lsslp is providing duplicate records for FSP and BPAs;2824601 lsslp should get correct hostname for BPA nodes;2824605 lsslp -w should update /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3872 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-23 20:02:39 +00:00
zhanx
3ec3088339 CRHS-like function 3rd code drop. Detailed code changes: 1. Fix lsslp problems found in NCSA environment, inlcuding adding more code to better identify nodes with same switch port; adding interval message when discovering; adding flag '-H' for lsslp. 2. Change lsconn to support HMC node range. 3. Change rspconfig to support change FSP nodes to dynamic IP addresses. 4. Fix bug for rspconfig (when running rspconfig to update network configuration for FSP/BPA nodes, it always return fails, though the actual result can be successful.)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-20 18:46:13 +00:00
lissav
dd2b9d10af update with use of _xcatpreprocessed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 15:13:46 +00:00