Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 193198

auto deploy with image builder of mulitple host

$
0
0

Dear Friends,

I am experiencing issue to understand how to build an esxi5.1.0 host with imagebuilder. See below are the powercli command that I have been trying to get it done.

 

I am just knee to learn this next method.

...............................................................................................................................................................................................................................

 

 

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-EsxI
mageProfile -CloneProfile ESXi-5.1.0-799733-standard -Name CustomESXI5

cmdlet New-EsxImageProfile at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Vendor: get-esximageprofile

Name                           Vendor          Last Modified   Acceptance Level
----                           ------          -------------   ----------------
CustomESXI5                    get-esximage... 02/08/2012 0... PartnerSupported


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI>
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-EsxI
mageProfile -CloneProfile ESXi-5.1.0-799733-standard -Name "CustomESXI5"

cmdlet New-EsxImageProfile at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Vendor: get-esximageprofile
New-EsxImageProfile : Cannot add this ImageProfile: the name 'CustomESXI5' is a
lready taken.  Try again with a different name.
At line:1 char:20
+ New-EsxImageProfile <<<<  -CloneProfile ESXi-5.1.0-799733-standard -Name "Cus
tomESXI5"
    + CategoryInfo          : NotSpecified: (:) [New-EsxImageProfile], SoapExc
   eption
    + FullyQualifiedErrorId : System.Web.Services.Protocols.SoapException,VMwa
   re.ImageBuilder.Commands.NewImageProfile

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-EsxI
mageProfile -CloneProfile ESXi-5.1.0-799733-standard -Name "CustomESXI5.1"

cmdlet New-EsxImageProfile at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Vendor: help

Name                           Vendor          Last Modified   Acceptance Level
----                           ------          -------------   ----------------
CustomESXI5.1                  help            02/08/2012 0... PartnerSupported


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> customes
xi5.1
The term 'customesxi5.1' is not recognized as the name of a cmdlet, function, s
cript file, or operable program. Check the spelling of the name, or if a path w
as included, verify that the path is correct and try again.
At line:1 char:14
+ customesxi5.1 <<<<
    + CategoryInfo          : ObjectNotFound: (customesxi5.1:String) [], Comma
   ndNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-EsxI
mageProfile -CloneProfile ESXi-5.1.0-799733-standard -Name "CustomESXI5"

cmdlet New-EsxImageProfile at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Vendor: vmware.inc
New-EsxImageProfile : Cannot add this ImageProfile: the name 'CustomESXI5' is a
lready taken.  Try again with a different name.
At line:1 char:20
+ New-EsxImageProfile <<<<  -CloneProfile ESXi-5.1.0-799733-standard -Name "Cus
tomESXI5"
    + CategoryInfo          : NotSpecified: (:) [New-EsxImageProfile], SoapExc
   eption
    + FullyQualifiedErrorId : System.Web.Services.Protocols.SoapException,VMwa
   re.ImageBuilder.Commands.NewImageProfile

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-EsxI
mageProfile -CloneProfile ESXi-5.1.0-799733-standard -Name "CustomESXI5"

 

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-EsxI
mageProfile -CloneProfile ESXi-5.1.0-799733-standard -Name "CustomESXI5"

 

 

 


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> New-EsxI
mageProfile -CloneProfile ESXi-5.1.0-799733-standard -Name "CustomESXI5lsl"

cmdlet New-EsxImageProfile at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Vendor: !?
The new vendor of the cloned image profile.
Vendor: lsl

Name                           Vendor          Last Modified   Acceptance Level
----                           ------          -------------   ----------------
CustomESXI5lsl                 lsl             02/08/2012 0... PartnerSupported


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-EsxI
mageProfile

Name                           Vendor          Last Modified   Acceptance Level
----                           ------          -------------   ----------------
ESXi-5.1.0-799733-no-tools     VMware, Inc.    02/08/2012 0... PartnerSupported
CustomESXI5                    get-esximage... 02/08/2012 0... PartnerSupported
CustomESXI5lsl                 lsl             02/08/2012 0... PartnerSupported
ESXi-5.1.0-799733-standard     VMware, Inc.    02/08/2012 0... PartnerSupported
CustomESXI5.1                  help            02/08/2012 0... PartnerSupported


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-EsxS
oftwarePackage

Name                     Version                        Vendor     Creation Dat
                                                                   e
----                     -------                        ------     ------------
scsi-bnx2i               1.9.1d.v50.1-5vmw.510.0.0.7... VMware     02/08/201...
sata-sata-promise        2.12-3vmw.510.0.0.799733       VMware     02/08/201...
net-forcedeth            0.61-2vmw.510.0.0.799733       VMware     02/08/201...
esx-xserver              5.1.0-0.0.799733               VMware     02/08/201...
misc-cnic-register       1.1-1vmw.510.0.0.799733        VMware     02/08/201...
net-tg3                  3.110h.v50.4-4vmw.510.0.0.7... VMware     02/08/201...
scsi-megaraid-sas        5.34-4vmw.510.0.0.799733       VMware     02/08/201...
esx-xlibs                5.1.0-0.0.799733               VMware     02/08/201...
scsi-megaraid-mbox       2.20.5.1-6vmw.510.0.0.799733   VMware     02/08/201...
scsi-ips                 7.12.05-4vmw.510.0.0.799733    VMware     02/08/201...
net-e1000e               1.1.2-3vmw.510.0.0.799733      VMware     02/08/201...
sata-ahci                3.0-13vmw.510.0.0.799733       VMware     02/08/201...
sata-sata-svw            2.3-3vmw.510.0.0.799733        VMware     02/08/201...
net-cnic                 1.10.2j.v50.7-3vmw.510.0.0.... VMware     02/08/201...
net-e1000                8.0.3.1-2vmw.510.0.0.799733    VMware     02/08/201...
ata-pata-serverworks     0.4.3-3vmw.510.0.0.799733      VMware     02/08/201...
scsi-mptspi              4.23.01.00-6vmw.510.0.0.799733 VMware     02/08/201...
ata-pata-hpt3x2n         0.3.4-3vmw.510.0.0.799733      VMware     02/08/201...
net-s2io                 2.1.4.13427-3vmw.510.0.0.79... VMware     02/08/201...
esx-base                 5.1.0-0.0.799733               VMware     02/08/201...
net-vmxnet3              1.1.3.0-3vmw.510.0.0.799733    VMware     02/08/201...
net-bnx2                 2.0.15g.v50.11-7vmw.510.0.0... VMware     02/08/201...
scsi-aic79xx             3.1-5vmw.510.0.0.799733        VMware     02/08/201...
scsi-megaraid2           2.00.4-9vmw.510.0.0.799733     VMware     02/08/201...
ata-pata-amd             0.3.10-3vmw.510.0.0.799733     VMware     02/08/201...
esx-dvfilter-generic-... 5.1.0-0.0.799733               VMware     02/08/201...
scsi-lpfc820             8.2.3.1-127vmw.510.0.0.799733  VMware     02/08/201...
ata-pata-atiixp          0.4.6-4vmw.510.0.0.799733      VMware     02/08/201...
esx-tboot                5.1.0-0.0.799733               VMware     02/08/201...
ipmi-ipmi-devintf        39.1-4vmw.510.0.0.799733       VMware     02/08/201...
scsi-qla2xxx             902.k1.1-9vmw.510.0.0.799733   VMware     02/08/201...
net-r8169                6.011.00-2vmw.510.0.0.799733   VMware     02/08/201...
sata-sata-sil            2.3-4vmw.510.0.0.799733        VMware     02/08/201...
scsi-mpt2sas             10.00.00.00-5vmw.510.0.0.79... VMware     02/08/201...
sata-ata-piix            2.12-6vmw.510.0.0.799733       VMware     02/08/201...
scsi-hpsa                5.0.0-21vmw.510.0.0.799733     VMware     02/08/201...
ata-pata-via             0.3.3-2vmw.510.0.0.799733      VMware     02/08/201...
scsi-aacraid             1.1.5.1-9vmw.510.0.0.799733    VMware     02/08/201...
scsi-rste                2.0.2.0088-1vmw.510.0.0.799733 VMware     02/08/201...
ata-pata-cmd64x          0.2.5-3vmw.510.0.0.799733      VMware     02/08/201...
scsi-mptsas              4.23.01.00-6vmw.510.0.0.799733 VMware     02/08/201...
ohci-usb-ohci            1.0-3vmw.510.0.0.799733        VMware     02/08/201...
net-igb                  2.1.11.1-3vmw.510.0.0.799733   VMware     02/08/201...
scsi-qla4xxx             5.01.03.2-4vmw.510.0.0.799733  VMware     02/08/201...
block-cciss              3.6.14-10vmw.510.0.0.799733    VMware     02/08/201...
uhci-usb-uhci            1.0-3vmw.510.0.0.799733        VMware     02/08/201...
tools-light              5.1.0-0.0.799733               VMware     02/08/201...
net-sky2                 1.20-2vmw.510.0.0.799733       VMware     02/08/201...
sata-sata-nv             3.5-4vmw.510.0.0.799733        VMware     02/08/201...
net-ixgbe                3.7.13.6iov-10vmw.510.0.0.7... VMware     02/08/201...
sata-sata-sil24          1.1-1vmw.510.0.0.799733        VMware     02/08/201...
ipmi-ipmi-msghandler     39.1-4vmw.510.0.0.799733       VMware     02/08/201...
scsi-adp94xx             1.0.8.12-6vmw.510.0.0.799733   VMware     02/08/201...
scsi-fnic                1.5.0.3-1vmw.510.0.0.799733    VMware     02/08/201...
ata-pata-pdc2027x        1.0-3vmw.510.0.0.799733        VMware     02/08/201...
net-enic                 1.4.2.15a-1vmw.510.0.0.799733  VMware     02/08/201...
net-be2net               4.1.255.11-1vmw.510.0.0.799733 VMware     02/08/201...
net-nx-nic               4.0.558-3vmw.510.0.0.799733    VMware     02/08/201...
ima-qla4xxx              2.01.31-1vmw.510.0.0.799733    VMware     02/08/201...
net-bnx2x                1.61.15.v50.3-1vmw.510.0.0.... VMware     02/08/201...
ehci-ehci-hcd            1.0-3vmw.510.0.0.799733        VMware     02/08/201...
ipmi-ipmi-si-drv         39.1-4vmw.510.0.0.799733       VMware     02/08/201...
net-r8168                8.013.00-3vmw.510.0.0.799733   VMware     02/08/201...
ata-pata-sil680          0.4.8-3vmw.510.0.0.799733      VMware     02/08/201...
misc-drivers             5.1.0-0.0.799733               VMware     02/08/201...

 


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> add-EsxS
oftwareDepot -Depoturl D:\downloads\vmware\ESXi510-201210001.zip

Depot Url
---------
zip:D:\downloads\vmware\ESXi510-201210001.zip?index.xml


PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Add-EsxS
oftwarePackage -ImageProfile CustomESXI5lsl -SoftwarePackage scsi-bfa
Add-EsxSoftwarePackage : Cannot add VIB 'scsi-bfa' which is not in the depot
At line:1 char:23
+ Add-EsxSoftwarePackage <<<<  -ImageProfile CustomESXI5lsl -SoftwarePackage sc
si-bfa
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwarePackage], Soap
   Exception
    + FullyQualifiedErrorId : System.Web.Services.Protocols.SoapException,VMwa
   re.ImageBuilder.Commands.AddProfilePackage

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Add-

EsxSoftwarePackage -Imag
eProfile CustomESXI5lsl -SoftwarePackage scsi-


Viewing all articles
Browse latest Browse all 193198

Trending Articles