VMware Virtual Appliances Community
brugh
Enthusiast
Enthusiast
Jump to solution

ESX deployment appliance v1.05

https://solutionexchange.vmware.com/store/products/esx-deployment-appliance-eda

ESX Deployment Appliance (EDA) is a small and easy to use appliance

that makes deploying ESX servers a breeze. It has a very intuitive

web-interface that can configure and deploy dozens of ESX servers in

minutes. It has a script-builder that will allow any admin to create

%post-scripts that will do most anything one needs to get the ESX hosts

up and running! Even if deploying with RDP/Altiris or the UDA, this

script-builder can help setting those up very quickly.

850 Replies
brugh
Enthusiast
Enthusiast
Jump to solution

that would've been my next suggestion Smiley Wink good find. i already fixed it in my version so it will be fixed in the next update.

0 Kudos
Zsoldier
Expert
Expert
Jump to solution

Thanks. Another question. I'm getting prompted for an installation method for some reason. Any ideas why? I tried HTTP, but seems I run into this weird bug. It looks like it adds an extra "/" after the directory specified. See attached screenshots.

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos
Zsoldier
Expert
Expert
Jump to solution

Nevermind, I'm a moron, it was a problem w/ my nic mounting eth0 vs. eth1. Didn't catch that.

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos
Zsoldier
Expert
Expert
Jump to solution

ok, that doesn't seem to be the issue either. I'm stuck. ?:|

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos
KyleWeir
Enthusiast
Enthusiast
Jump to solution

Brugh/All,

I'm still having problems were the default vmkernel gateway it looks like it adds the gateway from the console, but when I go into the gui it's not there. Also I'm having a problem where I have a "VM Network" port group which I have set to go to vSwitch1, but it keeps ending up in vSwitch0 instead. Below is my script.

  1. Setup admin acct

grep ^admins: /etc/group > /dev/null || groupadd admins

grep ^%admins /etc/sudoers > /dev/null || echo %admins ALL = NOPASSWD: ALL >> /etc/sudoers

useradd esxadmin

echo XXXX| passwd --stdin esxadmin

usermod -G admins esxadmin

  1. Add addition nic to vSwitch0

esxcfg-vswitch -L vmnic1 vSwitch0

  1. Add additional nic to vSwitch1

esxcfg-vswitch -a vSwitch1

esxcfg-vswitch -L vmnic2 vSwitch1

esxcfg-vswitch -L vmnic3 vSwitch1

  1. Set vlan information for service ports

  2. esxcfg-vswitch vSwitch0 -p "Service Console"

  1. create Standard VM PortGroups

esxcfg-vswitch -A 'Server VLAN' vSwitch1

esxcfg-vswitch -A 'DMZ_public' vSwitch1

esxcfg-vswitch -v 6 -p 'DMZ_public' vSwitch1

esxcfg-vswitch -A 'DMZ_private' vSwitch1

esxcfg-vswitch -v 5 -p 'DMZ_private' vSwitch1

esxcfg-vswitch -A 'Tyler-Network' vSwitch1

esxcfg-vswitch -v 11 -p 'Tyler-Network' vSwitch1

esxcfg-vswitch -A 'CODY-Secure-Network-Restricted' vSwitch1

esxcfg-vswitch -v 40 -p 'CODY-Secure-Network-Restricted' vSwitch1

esxcfg-vswitch -A 'VM Network' vSwitch1

esxcfg-vswitch -v 210 -p 'VM Network' vSwitch1

  1. create the VMotion portgroup & set default gw

esxcfg-vswitch -A VMkernel vSwitch0

esxcfg-vswitch -v 0 -p 'VMkernel' vSwitch0

esxcfg-route 172.19.80.1

  1. Dont edit the next line! check ks link in table of ESX hosts for output

esxcfg-vmknic -a VMkernel -i ###HOSTIP### -n 255.255.255.0

  1. enable VMotion

service mgmt-vmware restart

sleep 5

while ; do

sleep 5

echo Waiting for hostd to accept connections..

done

vimsh -n -e "hostsvc/vmotion/vnic_set vmk0"

  1. Allow ROOT access using SSH

sed -e 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config > /etc/ssh/sshd_config.new

mv -f /etc/ssh/sshd_config.new /etc/ssh/sshd_config

service sshd restart

mv /etc/ntpd.conf /etc/ntpd.conf.bak

mv /etc/ntpd/step-tickers /etc/ntpd/step-tickers.bak

echo "1.north-america.pool.ntp.org" > /etc/ntp/step-tickers

echo "pool.ntp.org" >> /etc/ntp/step-tickers

echo "restrict 127.0.0.1" > /etc/ntp.conf

echo "restrict default kod nomodify notrap" >> /etc/ntp.conf

echo "server 1.north-america.pool.ntp.org" >> /etc/ntp.conf

echo "server pool.ntp.org" >> /etc/ntp.conf

echo "driftfile /var/lib/ntp/drift" >> /etc/ntp.conf

esxcfg-firewall -e ntpClient

service ntpd restart

chkconfig --level 345 ntpd on

hwclock --systohc

vimsh -n -e "hostsvc/advopt/update LVM.DisallowSnapshotLun int 0"

vimsh -n -e "hostsvc/storage/hba_rescan vmhba1"

vimsh -n -e "hostsvc/storage/hba_rescan vmhba2"

sleep 5

cd /vmfs/volumes/ISO-SoftwareRepository/hpmgmt/825

./install825vibs.sh --silent --inputfile hpmgmt.conf

0 Kudos
SSOVMWARE
Contributor
Contributor
Jump to solution

Hi Herco,

How are you?

I attached the ESX4 ISO. But it screwed my appliance when I "Import PXE Boot files".

ESX3.5 works perfectly. I deployed a dozen of servers in no time.

EDA is great!! You are doing a good job.

Thanks,

Jim Hillebrand

0 Kudos
Zsoldier
Expert
Expert
Jump to solution

After putzing with it for a little while finally determined that I had to use eth4... <sigh> I think this is the only box that is configured weird.

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos
solgae
Contributor
Contributor
Jump to solution

This is the ks file generated. I created this for installing ESX in VMware Workstation.

0 Kudos
NathanEly
Contributor
Contributor
Jump to solution

Hello,

I plan to run the deployment appliance from my ESX host to image up other blades in my chassis. Currently running 3.5 U4. I tried importing the OVF (v.90), and I'm getting an error " The hardware family of the OVF package is not supported: vmx-07" I'm assuming that's because it needs virtual hardware version 7 (vSphere) in order to run? If so, can you make the previous version available?

Thanks

-Nate

0 Kudos
davismisbehavis
Enthusiast
Enthusiast
Jump to solution

I'm trying to import the new EDA V0.90 appliance onto an ESX4i host but am getting an error regarding the VirtualCDrom (See attached screenshot)

Is this related to the VirtualCDrom within the EDA appliance or is this complaining about something in my ESX 4i box

0 Kudos
Zsoldier
Expert
Expert
Jump to solution

Question for ya. Is there a method to increase the Service Console memory allocation via the kickstart script or as an option prior to the kickstart script? I'm able to get it to change it through vimsh, but the box doesn't reboot automatically to commit that change.

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos
rock0n
VMware Employee
VMware Employee
Jump to solution

Vielen Dank für Ihre E-Mail

ich habe heute nur eingeschränkten Zugang zu meinen E-Mails.

Ihre Anfrage wird nicht weitergeleitet.

In dringenden Fällen wenden Sie sich bitte direkt an:

professionalservices@techdata.de

Mit freundlichen Grüßen

Raiko Mesterheide

DISCLAIMER:

Tech Data GmbH & Co. OHG, Sitz der Gesellschaft ist München, Amtsgericht München HRA 81177, WEEE-Reg.-Nr.: DE57403598; Gesellschafter: Sitz der Gesellschafter ist München; Tech Data Deutschland GmbH, Amtsgericht München HRB 81681, Geschäftsführer: Simone Frömming, Johannes Nussbickel, Günter Schiessl; Tech Data Midrange GmbH, Amtsgericht München HRB 90433, Geschäftsführer: Marc Müller, Johannes Nussbickel; Tech Data Information Technology GmbH, Amtsgericht München HRB 87050, Geschäftsführer: Gerald Langheck

0 Kudos
brugh
Enthusiast
Enthusiast
Jump to solution

hm, i'm not 100% sure because i switched the default a couple of times.

but a VM network is probably being created by default. you could first remove it from vSwitch0 and then add it again at vSwitch1.

0 Kudos
brugh
Enthusiast
Enthusiast
Jump to solution

hey jim! long time no see Smiley Happy i'm great. could use some more colleagues though.. (no dutch guys around that need a new job? Smiley Wink)

what exactly do you see when it breaks. does the import fail? or does the whole appliance break down?

0 Kudos
brugh
Enthusiast
Enthusiast
Jump to solution

well the ks file looks fine. no idea why you get the strange gateway messages. is it a valid IP? is it reachable from the console? i heard more people complaining about gateway errors.. maybe it's in the installer. but something still has to trigger it and as far as this ks file goes, nothing should.. strange.

0 Kudos
brugh
Enthusiast
Enthusiast
Jump to solution

at the same download location as the primary files for the EDA there's also an .OVF file for previous hardware versions. download that one and use it to import the EDA.

0 Kudos
brugh
Enthusiast
Enthusiast
Jump to solution

that's strange, the virtual cd should be compatible. could you try the old version .OVF file from the same download location and see if that works?

0 Kudos
brugh
Enthusiast
Enthusiast
Jump to solution

well no, it doesn't automatically reboot. but you can simply add a line at the end of the script that reboots it when the script is done. leave some room for the pegasus scripts to finish. usually a delay of 3 minutes is sufficient.

i use this scriptlet:

  • perl -p -e -i 's/memSize = \"272\"/memSize = \"800\"/g' /etc/vmware/esx.conf

  • esxcfg-boot -g

  • esxcfg-boot -b

  • shutdown -r +3 -t 60 &

0 Kudos
brugh
Enthusiast
Enthusiast
Jump to solution

and since my vacation is coming up, is there anything that you guys need for the eda? i usually have too much spare time in the weeks i'm not working, my wife doesn't let me bring any homework, so i have to settle with some hobbies Smiley Wink if there's anything missing, things not working, script-bits you need, let me know. when it's done, i can finaly promote it, with a few minor bugfixes, to 1.0.

0 Kudos
Zsoldier
Expert
Expert
Jump to solution

I think that might be a good option to add as a scriptlet and/or radio button that can be checked to reboot the system. And add the scriptlet to change the service console size for the next revision.

well no, it doesn't automatically reboot. but you can simply add a line at the end of the script that reboots it when the script is done. leave some room for the pegasus scripts to finish. usually a delay of 3 minutes is sufficient.

i use this scriptlet:

  • perl -p -e -i 's/memSize = \"272\"/memSize = \"800\"/g' /etc/vmware/esx.conf

  • esxcfg-boot -g

  • esxcfg-boot -b

  • shutdown -r +3 -t 60 &

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos