Commit Graph

280 Commits

Author SHA1 Message Date
Jarrod Johnson
d183a0bb9d Support 'specific' copycds mode.
ESXi releases updates without bumping version numbers.  For such cases,
the default behavior is for the new version to supersede the old.  This
makes sense for the vast majority of cases.  There are, however, corner
cases where being explicit about the release is indicated.
2014-03-21 10:57:42 -04:00
Jarrod Johnson
ee812a995f Have esxi report itself ready at the correct time after a netboot or install 2014-01-07 14:18:05 -05:00
Jarrod Johnson
3664f1d5c3 Implement rescansan in esx.pm and wire up svc.pm to issue rescansan 2013-10-28 20:26:40 -04:00
Jarrod Johnson
fbce5a6a00 Add formatdisk to esx plugin, to be called by mkstorage 2013-10-28 16:07:38 -04:00
Jarrod Johnson
3243037a91 For newer versions of esxi for which we have selected a less vague name, ensure we remake it every time. 2013-10-22 10:45:42 -04:00
Jarrod Johnson
8862d59f99 Add a rmvcluster command for vSphere support 2013-10-08 16:08:51 -04:00
Jarrod Johnson
422cf661ee Add removevlan support to chhypervisor for vmware 2013-10-02 13:46:15 -04:00
Jarrod Johnson
8b786b30c5 If xCAT-vlan is installed, have chhypervisor change the switch and the hypervisor 2013-10-02 12:28:29 -04:00
Jarrod Johnson
698cf75276 Refactor hostportgroup management code in esx plugin
Have esxi support --addvlan parameter
2013-10-02 10:24:18 -04:00
Jarrod Johnson
fbb1c3c1c0 Add lsvcluster private esx function 2013-09-25 17:23:27 -04:00
Jarrod Johnson
c0585e091b Add an easter egg entry point for createvcluster 2013-09-25 17:10:49 -04:00
Jarrod Johnson
c3749b7f93 Add support for esxi5.5 2013-09-19 15:53:29 -04:00
lissav
0c36ee3155 add centos6 2013-09-10 09:13:58 -04:00
jbjohnso
3e86b5f20c Fix bug in esx.pm where spurious data could find its way into the nicmodel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 19:34:54 +00:00
jbjohnso
5dab441718 Fix problem with esxi detection of image template availability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-30 18:52:56 +00:00
jbjohnso
c0e81dc8ad Use a different error code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:18 +00:00
jbjohnso
bd67c19612 Have copycds error set exit code on client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:08 +00:00
jbjohnso
2d0f36801a Fix error in esxi plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15814 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 18:21:29 +00:00
jbjohnso
8360cddd12 Provide a mechanism for bundled xCAT instances to forbid image import without existing templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:19:30 +00:00
jbjohnso
3f87212616 Support SAS and PV SCSI for vmware guests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 21:02:29 +00:00
jbjohnso
60089fd7c2 Add Guest ID map for Windows 2012, 8, and ESXi itself for vmware support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 14:57:26 +00:00
jbjohnso
7606207542 Fix problem where esxi failed to honor '-n' argument in copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 15:21:37 +00:00
immarvin
648140c6ad set the MD5 Digest value of iso's fullpath as the default mount point of the iso,correct the code to umount $path in SIG{INT}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-17 08:34:33 +00:00
immarvin
9260b97282 set the MD5 Digest value of iso's fullpath as the default mount point of the iso
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 11:22:53 +00:00
jbjohnso
1ea24371ca Stop lazy unmounting when loopback devices are on the line...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-01 19:52:03 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
cjhardee
1acdee07e7 Made the unmounting lazy so it worked when in use
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-05 05:03:28 +00:00
jbjohnso
8251123d26 vSphere autologin configurability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-13 13:42:33 +00:00
jbjohnso
60a6b2d331 Fix problem where if template passed in has parameters on a module, xCAT would consider that part of the filename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13155 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:57:52 +00:00
jbjohnso
ee4e786d34 Fix problem where esx.pm would do a heavy handed bailout on a table error of one node
Have xCAT try to find nodes if vCenter is indeed in play even if the alleged hypervisor is not available.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13154 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-23 13:45:52 +00:00
jbjohnso
4fed39c1e5 Fix problem where 'copyIfNewer' was actually 'copyIfOlder'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 15:16:34 +00:00
jbjohnso
f35debd190 Provide method for users without desire of xcatmod.tgz to opt out
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-22 14:52:17 +00:00
immarvin
f4a7e87f32 According to the changes in copycds.pm, the internal option flag to specify mountpath is changed to -m
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-12 06:58:09 +00:00
jbjohnso
60758604ad Fix problem with clonevm in vmware when target uses the legacy vm.storage syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 13:35:13 +00:00
jbjohnso
298b4e0e3d Fix error with how enum is passed into vsphere api in vsphere support for win2k3 specialization
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-07 19:46:54 +00:00
jbjohnso
2c47c2613c Provide a default value for win2k3 cloning use with clonevm specialize
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12978 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-01 02:22:14 +00:00
jbjohnso
5a12985c62 Have nodeset return a more helpful message when passwd table is missing an entry for esxi when doing esxi operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 17:39:27 +00:00
jjhua
15618c0aad For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12868 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:00:37 +00:00
jbjohnso
ce3c323dd0 Omit a prefix= esxi boot config file if the source has one
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 18:13:37 +00:00
jbjohnso
d69a39d698 Few more fixes for esxi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:54:47 +00:00
jbjohnso
0a4caa922b Hopefully finish off the esxi5 clonevm with 'specialization'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:36:16 +00:00
jbjohnso
14dc354333 Flesh out cloning support for windows with specialize support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 21:06:53 +00:00
jbjohnso
7806922c3e Copy in mboot.c32 from custom path if applicable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 17:19:37 +00:00
jbjohnso
0c662e4e63 Put in draft clonevm with specialize for vsphere
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12668 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 21:02:35 +00:00
jbjohnso
e5bc9b43c7 Honor addkcmdline parameter in esxi5.x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 21:02:45 +00:00
jbjohnso
84152575a0 Have ks= in esxi install honor noderes.nfsserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12534 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:51:12 +00:00
jbjohnso
020ac78e7f Be content with just a boot.cfg.<whatever>.tmpl file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:45:44 +00:00
jbjohnso
2e6ccdb68d Have esx.pm put the kernel command line argument on 'b.b00' in tmpl case. It's still not the recommended approarch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 20:36:43 +00:00
jbjohnso
993b886f97 Recognize customized ESXi OS images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 14:23:16 +00:00
jbjohnso
83bcc20597 Revisit the 'templated' boot config based on refined requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:50:05 +00:00