Temat: Nienadzorowana instalacja ESX-a
Jednak mam z jedna rzecza problem :)
Nie jestem w stanie wlaczyc vmotion po przez kick starta moj srypt wyglada nastepujaco:
accepteula
keyboard us
auth --enablemd5 --enableshadow
# Canonical drive names:
clearpart --overwritevmfs --drives=mpx.vmhba0:C0:T0:L0
# Uncomment to use first detected disk:
#clearpart --firstdisk
# Uncomment the esxlocation line and comment out the clearpart
# and physical partitions to do a non-destructive reinstall.
#esxlocation --uuid=2be8278c-007b-4389-947f-0f6a72a23036
install cdrom
rootpw --iscrypted $1$fh40NuLv$jo1FUrvpfHEXHINgANoEj/
timezone --utc 'Poland'
network --addvmportgroup=true --device=vmnic1 --bootproto=static --ip=192.168.10.10 --netmask=255.255.255.0 --gateway=192.168.10.1 --nameserver=192.168.10.1 --hostname=test
part '/boot' --fstype=ext3 --size=1100 --ondisk=mpx.vmhba0:C0:T0:L0
# Uncomment to use first detected disk:
#part '/boot' --fstype=ext3 --size=1100 --onfirstdisk
part 'none' --fstype=vmkcore --size=110 --ondisk=mpx.vmhba0:C0:T0:L0
# Uncomment to use first detected disk:
#part 'none' --fstype=vmkcore --size=110 --onfirstdisk
part 'Storage1' --fstype=vmfs3 --size=8604 --grow --ondisk=mpx.vmhba0:C0:T0:L0
# Uncomment to use first detected disk:
#part 'Storage1' --fstype=vmfs3 --size=8604 --grow --onfirstdisk
virtualdisk 'esxconsole' --size=7604 --onvmfs='Storage1'
part 'swap' --fstype=swap --size=600 --onvirtualdisk='esxconsole'
part '/var/log' --fstype=ext3 --size=2000 --onvirtualdisk='esxconsole'
part '/' --fstype=ext3 --size=5000 --grow --onvirtualdisk='esxconsole'
%post --interpreter=bash
esxcfg-vswitch -L vmnic0 vSwitch0
esxcfg-vswitch -D 'VM Network' vSwitch0
esxcfg-vswitch -A 'VLAN 64' vSwitch0
esxcfg-vswitch -A 'iSCSI' vSwitch0
esxcfg-vmknic -a "iSCSI" -i 192.168.10.11 -n 255.255.255.0
esxcfg-route 192.168.10.1
esxcfg-route -a default 255.255.255.0 192.168.10.1
service mgmt-vmware restart
sleep 5
/usr/bin/vmware-vim-cmd hostsvc/vmotion/vnic_set vmk0
service mgmt-vmware restart
komenda ktora wlacza vmotion to /usr/bin/vmware-vim-cmd hostsvc/vmotion/vnic_set vmk0 lecz nie dziala przy instalacji jesli wydam ta komende po instalacji z reki to wszystko smiga czy ktos moze mi powiedziec co robie zle??
Zbigniew Sitarek edytował(a) ten post dnia 02.03.10 o godzinie 09:26