bottkars / labbuildr

labbuildr is an fully automated tool to deploy windows vm´s and emc va´s and solutions using powershell on vmware workstation
90 stars 17 forks source link

Exchange is not installed #106

Closed keilma closed 7 years ago

keilma commented 7 years ago

Hi,

Exchange is not installed when using ".\build-lab.ps1 -Exchange2013 -e15_cu cu18 -NMM -nmm_ver nmm9111 -NW -nw_ver nw9111".

PS C:\MarcelKeil\labbuildr> .\build-lab.ps1 -Exchange2013 -e15_cu cu18 -NMM -nmm_ver nmm9111 -NW -nw_ver nw9111
==>Running labbuildr on a LENOVO 20BV004TGE with 1 x Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz with 2 Cores and 4 Logical CPUs and 16 GB Memory
Version 2017.Autunum VMworld2017 Edition
 ==>Building Proposed Workorder
 ==>Entering Download Section
 ==> selected 2016 not supported ith this Exchange Version, switching to 2012R2FallUpdate for Exchange Nodes
 ==>destination : C:\MarcelKeil\labbuildr\Sources\Exchange
 ==>prereq = C:\MarcelKeil\labbuildr\Sources\prereq
 ==>C:\MarcelKeil\labbuildr\Sources\prereq found
 ==>we are now going to test E2013 prereqs
 ==>found filterpack2010sp1-kb2460041-x64-fullfile-en-us.exe in C:\MarcelKeil\labbuildr\Sources\prereq
 ==>found FilterPack64bit.exe in C:\MarcelKeil\labbuildr\Sources\prereq
 ==>found UcmaRuntimeSetup.exe in C:\MarcelKeil\labbuildr\Sources\prereq
 ==>found ExchangeMapiCdo.EXE in C:\MarcelKeil\labbuildr\Sources\prereq
 ==>C:\MarcelKeil\labbuildr\Sources\prereq found
 ==>found NDP462-KB3151800-x86-x64-AllOS-ENU.exe in C:\MarcelKeil\labbuildr\Sources\prereq
 ==>Testing C:\MarcelKeil\labbuildr\Sources\prereq\ExchangeMapiCdo\ExchangeMapiCdo.msi
setup.exe already exists, overwrite with -force
 ==>Networker Modules nmm9111 will be intalled by User selection
 ==>we need to get nw9111, trying Automated Download
 ==>Receive Request for nw9111 in C:\MarcelKeil\labbuildr\Sources\Networker
 ==>NW Dot Ver 9.1.1.1
 ==>nwzip for ftp: nw911_win_x64.zip
 ==>nw9111_win_x64.zip not found, trying to download from ftp://ftp.legato.com/pub/NetWorker/Cumulative_Hotfixes/9.1.1/9.1.1.1/nw911_win_x64.zip
 ==>Filesize: -1
################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################### ==>extracting C:\MarcelKeil\labbuildr\Sources\Networker\nw9111_win_x64.zip to C:\MarcelKeil\labbuildr\Sources\Networker\nw9111
 ==>Using C:\Program Files (x86)\VMware\VMware Workstation\7za.exe with x -bb0 -bso0 -bsp0 -oC:\MarcelKeil\labbuildr\Sources\Networker\nw9111 C:\MarcelKeil\labbuildr\Sources\Networker\nw9111_win_x64.zip
 ==>Sucess expanding C:\MarcelKeil\labbuildr\Sources\Networker\nw9111_win_x64.zip
Received nw9111
 ==>we need to get nmm9111, trying Automated Download
 ==>Receive Request for nmm9111 in C:\MarcelKeil\labbuildr\Sources\Networker
 ==>NMM Dot Ver 9.1.1.1
 ==>SVCMM Zip Version : scvmm911_win_x64.zip
 ==>NMM Zip Version : nmm911_win_x64.zip
 ==>nmm911_win_x64.zip not found, trying to download from ftp://ftp.legato.com/pub/NetWorker/NMM/Cumulative_Hotfixes/9.1.1/9.1.1.1/nmm911_win_x64.zip
AUSFÜHRLICH: 230 User logged in, proceed.
 ==>Filesize: -1
############################################################################################################################################################################################################################################################################################################################################################ ==>extracting C:\MarcelKeil\labbuildr\Sources\Networker\nmm9111.zip to C:\MarcelKeil\labbuildr\Sources\Networker\nmm9111
 ==>Using C:\Program Files (x86)\VMware\VMware Workstation\7za.exe with x -bb0 -bso0 -bsp0 -oC:\MarcelKeil\labbuildr\Sources\Networker\nmm9111  C:\MarcelKeil\labbuildr\Sources\Networker\nmm9111.zip
 ==>Sucess expanding C:\MarcelKeil\labbuildr\Sources\Networker\nmm9111.zip
 ==>scvmm911_win_x64.zip not found, trying to download from ftp://ftp.legato.com/pub/NetWorker/NMM/Cumulative_Hotfixes/9.1.1/9.1.1.1/scvmm911_win_x64.zip
AUSFÜHRLICH: 230 User logged in, proceed.
 ==>Filesize: -1
############ ==>extracting C:\MarcelKeil\labbuildr\Sources\Networker\scvmm9111.zip to C:\MarcelKeil\labbuildr\Sources\Networker\scvmm9111
 ==>Using C:\Program Files (x86)\VMware\VMware Workstation\7za.exe with x -bb0 -bso0 -bsp0 -oC:\MarcelKeil\labbuildr\Sources\Networker\scvmm9111  C:\MarcelKeil\labbuildr\Sources\Networker\scvmm9111.zip
 ==>Sucess expanding C:\MarcelKeil\labbuildr\Sources\Networker\scvmm9111.zip
 ==>Networker nw9111 Node will be installed
 ==>destination : C:\MarcelKeil\labbuildr\Sources\Acrobat
 ==>File C:\MarcelKeil\labbuildr\Sources\Acrobat\AcroRdrDC1500720033_en_US.msi already exists, use -Force to overwrite
 ==>File C:\MarcelKeil\labbuildr\Sources\Acrobat\AcroRdrDCUpd1501720050.msp already exists, use -Force to overwrite
 ==>leaving download section
 ==>we will Build Domain labbuildr and Subnet 192.168.2.0  on vmnet2 for the Running Workorder
 ==>setting Language to de-DE
 ==>setting DNS1 192.168.2.10
 ==>saving defaults to ./defaults.json
 ==>creating Linked Clone from 2016 BASE for DCNODE[success]
 ==>setting MainMemoryUseFile to False for DCNODE[success]
 ==>adjusting VM to size L with 2 CPU and 2048 MB
 ==>configuring Ethernet0 as vmxnet3 with custom for DCNODE[success]
 ==>setting ethernet0 to vmnet2 for DCNODE[success]
 ==> Configuring IDE sata0:1 on DCNODE[success]
 ==>starting Virtual Machine DCNODE[success]
 ==>enabling shared folders (hgfs) for DCNODE[success]
 ==>adding Share Scripts for Folder C:\MarcelKeil\labbuildr\labbuildr-scripts to DCNODE[success]
 ==>adding Share Sources for Folder C:\MarcelKeil\labbuildr\Sources to DCNODE[success]
 ==>waiting for Sysprep finished [sysprep finished]
 ==>waiting for user Administrator logged in [success]
 ==>starting 'new-dc.ps1 -dcname labbuildrDC -Domain labbuildr -IPv4subnet 192.168.2 -IPv4Prefixlength 24 -IPv6PrefixLength 8 -IPv6Prefix FD00::  -AddressFamily IPv4 -TimeZone 'W. Europe Standard Time'  ' on DCNODE[success]
 ==>preparing Domain [success]
 ==>waiting for user Administrator logged in [success]
 ==>starting 'finish-domain.ps1 -domain labbuildr -domainsuffix local ' on DCNODE[success]
 ==>creating Domain labbuildr [finished]
 ==>starting 'dns.ps1 -IPv4subnet 192.168.2 -IPv4Prefixlength 24 -IPv6PrefixLength 8 -AddressFamily IPv4  -IPV6Prefix FD00::  ' on DCNODE[success]
 ==>starting 'add-serviceuser.ps1 ' on DCNODE[success]
 ==>starting 'disable-hardening.ps1 -UpdateType never' on DCNODE[success]
 ==>starting 'enable-ansiblewinrm.ps1 ' on DCNODE[success]
 ==>starting 'create-labshortcut.ps1 ' on DCNODE[success]
 ==>starting 'pwpolicy.ps1 ' on DCNODE[success]
 ==>starting 'set-winrm.ps1 ' on DCNODE[success]
 ==>starting 'install-nwclient.ps1 -nw_ver nw9111 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on DCNODE[success]
 ==>starting 'Set-Customlanguage.ps1 -LanguageTag de-DE ' on DCNODE[success]
 ==>starting 'powerconf.ps1 ' on DCNODE[success]
 ==>starting 'set-uac.ps1 ' on DCNODE[success]
 ==>starting 'set-step.ps1  -step step  -reboot' on DCNODE[success]
 ==>creating Linked Clone from 2012R2FallUpdate BASE for E2013N1[success]
 ==>setting MainMemoryUseFile to False for E2013N1[success]
 ==>creating new 500GB SCSI Disk SCSI1_LUN1.vmdk at C:\MarcelKeil\labbuildr\E2013N1[success]
 ==>adding Disk SCSI1_LUN1.vmdk at Controller 1 LUN 1 to E2013N1[success]
 ==>creating new 500GB SCSI Disk SCSI1_LUN2.vmdk at C:\MarcelKeil\labbuildr\E2013N1[success]
 ==>adding Disk SCSI1_LUN2.vmdk at Controller 1 LUN 2 to E2013N1[success]
 ==>creating new 500GB SCSI Disk SCSI1_LUN3.vmdk at C:\MarcelKeil\labbuildr\E2013N1[success]
 ==>adding Disk SCSI1_LUN3.vmdk at Controller 1 LUN 3 to E2013N1[success]
 ==>adjusting VM to size TXL with 2 CPU and 6144 MB
 ==>configuring Ethernet0 as vmxnet3 with custom for E2013N1[success]
 ==>setting ethernet0 to vmnet2 for E2013N1[success]
 ==> Configuring IDE sata0:1 on E2013N1[success]
 ==>starting Virtual Machine E2013N1[success]
 ==>enabling shared folders (hgfs) for E2013N1[success]
 ==>adding Share Scripts for Folder C:\MarcelKeil\labbuildr\labbuildr-scripts to E2013N1[success]
 ==>adding Share Sources for Folder C:\MarcelKeil\labbuildr\Sources to E2013N1[success]
 ==>waiting for Sysprep finished [sysprep finished]
 ==>waiting for user Administrator logged in [success]
 ==>starting 'configure-node.ps1 -nodeip 192.168.2.111 -nodename E2013N1 -Domain labbuildr -domainsuffix local -IPv4subnet 192.168.2 -IPV6Subnet FD00:: -AddressFamily IPv4 -IPv4PrefixLength 24 -IPv6PrefixLength 8 -IPv6Prefix FD00::  -AddOnfeatures 'RSAT-ADDS, RSAT-ADDS-TOOLS, AS-HTTP-Activation, NET-Framework-45-Features, RSAT-DNS-SERVER, Desktop-Experience, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation' -TimeZone 'W. Europe Standard Time' ' on E2013N1[success]
 ==>enabling shared folders (hgfs) for E2013N1[success]
 ==>Joining E2013N1 to Domain labbuildr [Done]
 ==>starting 'create-labshortcut.ps1 ' on E2013N1[success]
 ==>starting 'disable-hardening.ps1 -UpdateType never' on E2013N1[success]
 ==>starting 'enable-ansiblewinrm.ps1 ' on E2013N1[success]
 ==>starting 'prepare-disks.ps1 ' on E2013N1[success]
 ==>starting 'install-exchangeprereqs.ps1 -NET_VER 452 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on E2013N1[success]
 ==>starting 'powerconf.ps1 ' on E2013N1[success]
 ==>starting 'install-exchange.ps1  -ex_cu cu18 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on E2013N1[success]
 ==>waiting for user Administrator logged in [success]
 ==>waiting for Pass 4 (E15 Installed) for E2013N1

 ==>starting 'configure-exchange.ps1 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on E2013N1[success]
 ==>creating Accounts and Mailboxes:
==> running Post Config
 ==>starting 'create-security.ps1 ' on E2013N1[success]
 ==>starting 'install-nwclient.ps1 -nw_ver nw9111 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on E2013N1[success]
 ==>starting 'install-nmm.ps1 -nmm_ver nmm9111 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on E2013N1[success]
 ==>starting 'finish-nmm.ps1 ' on E2013N1[success]
 ==>starting 'Set-Customlanguage.ps1 -LanguageTag de-DE ' on E2013N1[success]
 ==>starting 'powerconf.ps1 ' on E2013N1[success]
 ==>starting 'set-uac.ps1 ' on E2013N1[success]
 ==>starting 'set-step.ps1  -step step  -reboot' on E2013N1[success]
 ==>creating Linked Clone from 2012R2FallUpdate BASE for NWSERVER[success]
 ==>setting MainMemoryUseFile to False for NWSERVER[success]
 ==>adjusting VM to size L with 2 CPU and 2048 MB
 ==>configuring Ethernet0 as vmxnet3 with custom for NWSERVER[success]
 ==>setting ethernet0 to vmnet2 for NWSERVER[success]
 ==> Configuring IDE sata0:1 on NWSERVER[success]
 ==>starting Virtual Machine NWSERVER[success]
 ==>enabling shared folders (hgfs) for NWSERVER[success]
 ==>adding Share Scripts for Folder C:\MarcelKeil\labbuildr\labbuildr-scripts to NWSERVER[success]
 ==>adding Share Sources for Folder C:\MarcelKeil\labbuildr\Sources to NWSERVER[success]
 ==>waiting for Sysprep finished [sysprep finished]
 ==>waiting for user Administrator logged in [success]
 ==>starting 'configure-node.ps1 -nodeip 192.168.2.11 -nodename NWSERVER -Domain labbuildr -domainsuffix local -IPv4subnet 192.168.2 -IPV6Subnet FD00:: -AddressFamily IPv4 -IPv4PrefixLength 24 -IPv6PrefixLength 8 -IPv6Prefix FD00::  -AddOnfeatures 'RSAT-ADDS, RSAT-ADDS-TOOLS, AS-HTTP-Activation, NET-Framework-45-Features' -TimeZone 'W. Europe Standard Time' ' on NWSERVER[success]
 ==>enabling shared folders (hgfs) for NWSERVER[success]
 ==>Joining NWSERVER to Domain labbuildr [Done]
 ==>starting 'create-labshortcut.ps1 ' on NWSERVER[success]
 ==>starting 'disable-hardening.ps1 -UpdateType never' on NWSERVER[success]
 ==>starting 'enable-ansiblewinrm.ps1 ' on NWSERVER[success]
 ==>waiting for user Administrator logged in [success]
 ==>starting 'install-java.ps1 -java_Ver 8 ' on NWSERVER[success]
 ==>starting 'install-acrobat.ps1 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on NWSERVER[success]
 ==>starting 'install-nwserver.ps1 -nw_ver nw9111 -SourcePath '\\vmware-host\Shared Folders\Sources' ' on NWSERVER[success]
 ==>starting 'set-step.ps1  -step networker  -reboot' on NWSERVER[success]
 ==>waiting on reboot Checkpoint networker [reached]
 ==>Waiting for NSR Media Daemon to start
[started]
 ==>starting 'nsruserlist.ps1 ' on NWSERVER[success]
 ==>starting 'create-nsrdevice.ps1 -AFTD AFTD1' on NWSERVER[success]
 ==>starting 'Set-Customlanguage.ps1 -LanguageTag de-DE ' on NWSERVER[success]
 ==>starting 'powerconf.ps1 ' on NWSERVER[success]
 ==>starting 'set-uac.ps1 ' on NWSERVER[success]
 ==>starting 'set-step.ps1  -step UAC  -reboot' on NWSERVER[success]
 ==>waiting on reboot Checkpoint UAC [reached]
 ==>starting 'configure-nmc.ps1 ' on NWSERVER[success]
 ==>Please finish NMC Setup by Double-Clicking Networker Management Console from Desktop on NWSERVER
Deployment took 00:56:46.9782188
Software Section took 00:23:23.6570310
Master Section took 00:00:00.6879831
Deployed VM´s in Scenario Exchange

VMXName  State   ActivationPreference
-------  -----   --------------------
DCNODE   running 0
E2013N1  running 1
NWSERVER running 9

Kind regards Marcel

bottkars commented 7 years ago

thanks for heading up. as i can see, even if netframework 4,6,1 is loaded, 4,5,2 is installed wich will block the install without error. i will check on my qa system an issue a fix by tomorrow

bottkars commented 7 years ago

fixed $net_ver required to 652 with required rebooit for E15 form SP16 onward, following the same schema as with 2016. should work now !