Quantcast
Channel: Ivanti User Community : All Content - OS Deployment and Provisioning
Viewing all 1803 articles
Browse latest View live

Wake on LAN to provision Bare Metal machines fails from LDMS console

$
0
0

I have created a CSV file with some network information to import bare metal machines into the Core Server (9.5 SP1) using CSVimport. The resulting ims files are similar to this:

 

Network - NIC Address = 3C970E0$C34C

Network - TCPIP - Address = 192.168.030.011

Network - TCPIP - Subnet Mask = 255.255.255.000

Network - TCPIP - Subnet Broadcast Address = 192.168.030.255

Network - TCPIP - Default Gateway Address = 192.168.030.254

Device Name = VEGA

Network - TCPIP - Host Name = VEGA.xxx.xxx

 

The new bare metal registers are created into the inventory DB in the core server, but when I try to wake up any of these using the LDMS console they fail to wake up. Any ideas on why these imported bare metal machines fail to respond to the wake up commands from the console?. Other LDMS client nodes in the same subnet are able to be waken up quite happily from the console.


Surface Pro 2 Imaging

$
0
0

Does anyone have any guidlines on how to image a MS Surface Pro 2 device.  I know that it is UEFI which we have never done.

 

Thanks! 

LDMS not talking across scopes

$
0
0

I am having an interesting problem.  In our environment the Core is attached to our main domain and our main domain talks to other PCI compliant remote domains within our network over secure VPN tunnels. The remote domains are setup with 4 different scopes which are assigned by the remote server:  10.14.xx.xx, 10.15.xx.xx, 10.16.xx.xx, 10.18.xx.xx. The server, at these remote domains, resides on 10.16.xx.xx – LDMS can talk to the server just fine but it is unable to talk to all 3 of the other scopes.

 

I am not really sure how to determine what is not opened up but I can UNC to the core server from all four scopes at some sites.  At one of our remote sites all of the computers are on the 10.16.xx.xx and I can provision these machines just fine using the same agent as our other remote sites.

 

 

What could be preventing LDMS from talking to the 10.14.x.x, 10.15.x.x, and 10.18.x.x scopes at these remote sites?

LDMS Provisioning Task Stops

$
0
0

I recently provisioned 150 HP/Lenovo laptops using LDMS 9.5 SP1 with HII.  For some reason, 3 HPs stopped during the middle of the provisioning template.  The task quit in the system configuration section of a template.  Is there a way to continue the task (I tried to PXE boot again to WinPE Provisioning, but no go) OR should I just delete the existing task and restart?  I appreciate any help given.  See pic.

 

Thanks,

Jeremiah

How to use CSVIMPORT.EXE to import bare metal devices

$
0
0

Question:

 

How to properly use CSVIMPORT.EXE to import bare metal devices.

 

In order to properly import devices into the Bare Metal Servers section of the Network view, the proper formatting, syntax, and network information must be supplied. 

 

Answer:

 

Automating the naming of computers during an OS Deployment task reduces the work load of the IT department, saving time and money. OSD has the ability to work with sysprep to name computers based off Device Name in the database. It uses the Mac Address of a computer to match a device tothe computer name associated with that Mac Address in the Database. Newly purchased computers do not exist in the LANDesk database as these computers have never been scanned. Such computers can be manually added to the database before deploying the image allowing the computers to be automatically named as part

of an OS Deployment task.


To accomplish this, LANDesk provides a utility called csvImport.exe to manually add devices to the database. This utility is located in the C:\Program

Files\LANDesk\ManagementSuite directory.

 

Adding devices to LANDesk using csvImport is a four step process:

 

1.  Create a template

2.  Create a .csv file

3.  Run csvImport to generate mini-scans

4.  Process the mini-scans

 

Step 1 - Creating a Template File

A template file is required by the csvImport utility. This file contains information about what content will be added to the inventory for a device created with the

csvImport utility.

 

(NOTE:  The template file is a plain text file. This file should be created in a plain text editor such as notepad.) Each line in the template file represents an entry that will be inserted into a miniscan file when csvImport.exe is run. This mini-scan processed by moving it to the ldscan directory, at which point the device is added to the database.

 

Syntax

 

The template file must be created following strict syntactical guidelines.

 

(NOTE: Failure to follow the correct syntax could result in one or more of the following:

 

  1. An invalid template file.
  2. Entering invalid data into the database for the added devices.
  3. Entering no data or missing data in the database for the added devices.

 

The syntax for each desired line is as follows:

[<Heading> - <Heading> - <Head...>] - <Value name> = <Value Data>

 

(NOTE:  The following characters are not used: <,>,[,]. These symbols are used to help clarify the syntax only.)

 

The following line is an example of correct syntax for a line in the template file:

Network - TCPIP - Subnet Mask = 255.255.255.0

 

In this line, "Network" is the first heading while "TCPIP" is a sub heading. "Subnet Mask" is the Value Name and "255.255.255.0" is the Value Data.


Heading


Headings are not required as indicated by the square brackets []. There can be multiple headings. Default heading values can be seen in the Inventory of a fully scanned client on the left panel underneath the computer name.

 

If a heading has a plus sign next to it, then more headings exist underneath the first heading. Expand any heading by clicking on the + sign and the default values for that heading will be displayed. Headings are not limited to the default values. Custom values may be used and will be entered into the database.

 

Value Name

 

This is a required field. Most default Value names can be seen in the right pane by highlighting any heading. All headings are visible in the left pane. If a Value Name is given without a heading, it will be entered under the computer name on the very top

of left panel of the Inventory screen. Value Names are not limited to the default values. Custom values may be used and will be entered into the database.

 

Value Data

 

Value Data can be any date, string, or integer. It is not required to specify in the template file whether the Value Data will be a date, string, or ineger because this is automatically detected. Value Data can be specified with a variable that gets its value from the .csv file (see Variables as Value Data), or it can be statically entered (see Static Entries as Value Data).

 

Variables as Value Data


Variables are used to get data from the .csv file. The template file is created so each line contains data to enter into the database. The variable %<number>% describes the column in the .csv file from which the value of the variable will be assigned. %1% is or the first column, %2% is for the second column, %3 is for the third column, and so on.


Static Entries as Value Data

 

If a line does not have a variable (such asthe second line of the example below), the Value Data is considered static. No Column should be made in the .csv file for this line because the data will be the same for all devices. Only lines with a variable should have a column in the .csv file.

 

Minimal Information Needed for OS Deployment

 

OS Deployment will use database information to rename a computer. The minimum inventory a device needs is “Device Name” and “Network – NIC Address.” This means the template file must have at least the following two lines:

Device Name = %1%

Network - NIC Address = %2%

Sample Template File

 

The following is the text from a sample template file.

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = %3%

BIOS - Asset Tag = %4%

Lines 1, 2, 3 and 5 use variables to get their data value from the .csv file. Line 3 gets its value from the assigned value in the template file.

 

Step 2 - Creating a .csv File


The .csv file is an information file referenced by the csvImport. It should contain all the information for the computers that are being added to the database. This information can often come for the computervendor or it can be manually gathered from the computers. Remember that by using csvImport, the naming of computers can be automated through the imaging process. The man hours used to gather the data needed for the .csv file is significantly less than the man hours needed to manually rename every computer during or after the imaging process.

 

Syntax

 

In order for csvImport to understand the .csv file, it reads the template file. The

template file determines how the .csv file should be created. Every variable in the

template file refers to a column in the .csv file. While the columns are determined

by the number of variables in the template file, the number of rows is determined by

the number of computers; one row is needed for each computer.

 

The following is the proper syntax

value1,value2,value3,...

value1,value2,value3,...

...

Alternately a space can exist after each comma.

 

(NOTE: The ellipsis “...” is not part of the syntax. This is used only to represent the

idea that data for more columns and more rows can be added.)

 

The following two lines are an example of correct syntax for a line in the .csv file:

ComputerName1, 000ABBCCDD01, SN-0001, ASSETTAG-01

ComputerName2, 000ABBCCDD02, SN-0002, ASSETTAG-02

 

Though the above two lines have four columns, any number of columns is possible. The minimum should include columns for the Device Name and NIC Address. The number of columns and the type of data the column contains is directly related to the Template file.

 

The Relationship between the Template File and the .csv File

 

Below is a copy of the template file from the previous step:

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = %3%

BIOS - Asset Tag = %4%


This sample template file has four variables %1%, %2%, %3%, %4%. This indicates that
the .csv file will have four columns. Each column should contain the data for which the variable represents. For example, in the template file shown above, %1% standsfor the NIC Address. Column one of the .csv file should contain only NIC Addresses; one NIC Address for each row, or each computer. Similarly, %2% represents the Serial Number for the BIOS. Column two of the .csv file should contain only BIOS Serial Numbers; one Serial Number for each row, or each row for each computer.

 

Sample .csv File

 

The following is a sample .csv file. This sample file has been created based on the sample template file using only four machines.

ComputerName1, 000ABBCCDD01, SN-0001, ASSETTAG-01

ComputerName2, 000ABBCCDD02, SN-0002, ASSETTAG-02

ComputerName3, 000ABBCCDD03, SN-0003, ASSETTAG-03

ComputerName4, 000ABBCCDD04, SN-0004, ASSETTAG-04

(NOTE:  This can be created in any text editoror in any spreadsheet application. If created in a spreadsheet application, makesure the file is saved as a comma delimited .csv file. Also note that the commas are automatically inserted when creating a file using a spreadsheet application and should not be

manually added in the spreadsheet.)

 

Step 3 - Running csvImport


The csvImport utility is used to create mini-scan files from a template file and a .csv file. It does not automatically enter these scans or create machines in the database.  Instead, it creates mini-scan files that must be placed in the ldscan directory so that the LANDesk Inventory service can process them. It is the LANDesk Inventory service that processes the mini-scans and adds the device to the database.

 

Syntax

 

The syntax for csvImport is as follows:

csvImport <template file> <.csv file> <output directory>

[template file = any template file]   [.csv file = any .csv file]   [output directory  = folder where mini-scans are created]

 

The csvImport utility requires all three options (the template file, the .csv file, and the output directory) to be specified. Ifthese files are not in the directory from

which csvImport is launched, then full paths may need to be specified.

 

Example:

csvImport c:\path\to\templatefile.txt c:\path\to\computers.csv c:\folder

 

Running csvImport will result in the generation of mini-scan files, one for each device in the .csv file.

 

Step 4 - Processing Mini-Scans


Mini-scan files are text files with a .IMS extension that contain information about a
device. This is information is in plain text but is formatted so that the LANDesk

Inventory service can read and process it. The LANDesk Inventory service uses the information from the mini-scan to add devices to the database.

Mini-scans are created by csvImport as explained in Step 3.

 

How to Process Mini-Scans

 

To process the mini-scans, copy all the mini-scan files (files with a .ims extension) to the \Program Files (x86)\LANDesk\Managementsuite\ldscan directory on the core. These scans will be processed and deleted from the directory by the LANDesk Inventory service. The devices created from the mini-scans will be viewable in the LANDesk Console in the Network View under All Devices.

 

Note: The core server will not process a mini-scan if it does not have [Network - NIC Address = ] in it.  The scans will be placed in the ErrorScan directory and no errors messages will be generated.

 

Sample Mini-Scan

 

The following information is the output of a sample mini-scan named csvImp2.ims.

 

Notice that the mini-scan is in the same format as the template without variables.

Device Name = COMPUTERNAME2

Network - NIC Address = 000ABBCCDD02

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = SN-0002

BIOS - Asset Tag = ASSETTAG-02

 

Creating a Mini-Scan in a Text Editor


Understand that csvImport is a utility that automates the creation of mini-scans. The csvImport utility is not required to create mini-scans.  Manual creation of mini-scans can be done in a text editor if created withthe correct syntax. The syntax for a miniscan is the same as for a template file without the variables; all data must be static.)

 

Test the following:

 

1.  Create a text file with the following syntax. Put in any computer name and any NIC Address not already in the database

Device Name = ANYNAME

Network - NIC Address = 000123456789

 

2.  Save the file as test.ims and copy the file to the ldscan directory for processing by the LANDesk Inventory service.

 

3.  In the LANDesk Console, refresh All Devices under the Network View. The new device will exist.

 

Sample Use of csvImport

 

This section will demonstrate the use of csvImport, using example files and example computers.

 

1.  Create a template file by opening a text editor and copying the information below. Save the file to c:\temp\template.txt.

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

BIOS - Serial Number = %3%

BIOS - Asset Tag = %4%

 

2.  Create a .csv file by opening a text editor and copying the information below. Notice that each column corresponds to a variable from the template file.

Save the file to c:\temp\data.csv.

ComputerName1, 000ABBCCDD01, SN-0001, ASSETTAG-01

ComputerName2, 000ABBCCDD02, SN-0002, ASSETTAG-02

ComputerName3, 000ABBCCDD03, SN-0003, ASSETTAG-03

ComputerName4, 000ABBCCDD04, SN-0004, ASSETTAG-04

 

3.  Open a command prompt and change to the C:\Program Files\LANDesk\ManagementSuite directory. Then run the following command:

csvImport c:\temp\template.txtc:\temp\data.csv c:\temp

 

4.  Once the above command is run, four .ims files (one for each computer), will be created in the c:\temp directly.
Copy those files to the \Program Files (x86)\LANDesk\ManagementSuite\ldscan directory.

 

5.  Open the console and go to the All Devices under the Network View to verify that the devices are added to the database.

 

Summary


This article has explained the four step process by which computers can be added to the database using csvImport.

 

  1. Creating a template
  2. Creating a .csv file
  3. Running csvImport to generate mini-scans
  4. Processing the mini-scans

 

Adding devices to the database using csvImport is necessary only before OS Deployment using Sysprep and is used in conjunction with OS Deployment and Sysprep to automate the naming of computers that are not already in the database.

 

Appendix A – Wake on LAN

 

For sending a wake on LAN packet, the following is the minimal information needed:

Device Name = %1%

Network - NIC Address = %2%

Network - TCPIP - Subnet Mask = 255.255.255.0

Network – TCPIP - Address = %3%

Network – TCPIP – Subnet Broadcast Address = %4%

Is it possible to NOT mount optical drives in WinPE?

$
0
0

Hello all,

 

When running provisioning templates from a PXE boot we encounter errors sometimes once we get to the "Inject Script" portion.  Through some troubleshooting we found that the WinPE environment was assinging the optical drive a higher priority than the hard drive/SSD, so the unattend file was not copied to the mainWin7 partition.  Is there a way to force WinPE to NOT mount optical drives?  This would make it a non-issue since we only deploy via PXE boot (at least until an offline provisioning mode is offered).

 

We are running LDMS 9.5, non SP1.

WinPE 4.0 and USB 3

$
0
0

Anyone successfully get USB 3.0 Host and Hub drivers to inject via HII in a Windows 7 image with the new WinPE 4.0 that came with SP1?

 

I used to be able to load the host drivers in WinPE 3.0 to allow it to see the hub so HII could detect it was there.  In WinPE 4.0, there are no USB 3.0 drivers for it since its Windows 8 based (at least none that i can find).  I tried using the windows 7 drivers but it errors on loading during WinPE setup script. Using Lenovo devices, FWIW.

Boot wim does not download from PXE Rep on Dell E7240

$
0
0

Boot wim does not download from PXE Rep on Dell E7240. Device has Intel Boot Agent GE v1.5.38.01. MTFTP pops up but then nothing downloads.

 

Anyone else seen issues with this version of the Intel Boot Agent?

 

Regards


SysPrep doesn't run on OEM W7, but yet it's "required"? Why?

$
0
0

I understand the purpose of SysPrep for generalizing a machine, or deploying via a script or whatever.  But SysPrep refuses to run on OEM versions of Windows 7.  That being the case, is there some reason not to just skip the SysPrep and deploy multiple images anyway, and then just rename each computer using Control Panel?  I have heard that it is necessary to use SysPrep to change the SID of the target computer, and there does appear to be no other "approved" (by Microsoft) tool to do that, but why should it matter if the SID is the same on multiple computers?

HP 840 unable boot into WinPE

$
0
0

We are demoing an HP 840 and we have tried every 840 g1 nic driver in the WinPE 3.1 (LANDesk 9.5 no SP).  We are not in a place to update to 9.5 SP1 which has WinPE 4.0.  Is there anyone out there that has any ideas to get the Nic driver to load in WinPE 3.1?

How do I determine which templates are referenced by other templates?

$
0
0

I have two templates created for the same program. The program was recently updated, and I modified the template that we are currently using for our provisioning process to reflect the new program version. I tried to delete the other template because it is not referenced in our current provisioning process. However, when I tried to delete the template I get an error message "Cannot delete template XYZ. It is included and referenced by other templates". I have looked at all of our main provisioning templates and cannot find where this template is referenced.

 

How can I determine where this template is being reference without having to go through each and every template we have saved?

How to add drivers into server for HII

Elitepad 900 Windows 8 deployment ?

$
0
0

Hello,

 

i'm using LDMS 9.5 SP1 and want to deploy windows 8.1 to Elitepad 900 devices with Provisioning Template. Has someone successfull deployed Windows 8.1 to Elitepad and could possibly share there template ? Especially the partitioning and deployment part.

 

I'm not able to boot deployed Windows 8.1 because of BCD errors and so on. The partitioning part with GPT or not and 100MB boot partition or not is confusing for me ..

 

Thanks

 

regards

Alex

Winpe with Dell 7440

$
0
0

hello,

 

i have a new latop (DELL E7440) in my company and i would like capture an image from OSD script. i inject the network drive in the boot.wim file. i create a new windows pe configuration. i start the schedule task, the laptop reboot and the ip adress still to 127.0.0.1. "failed to get localhost or resolve core server name. Please check your network and try again."

 

Any idea ?

 

Tks a lot

Provisioning: Patch System action not working correctly when repairing a group

$
0
0

Description:

LDMS 9.5 SP1

 

Provisioning: Patch System action not working correctly when repairing a group

 

Workaround:

Create an "execute file" action to execute vulscan.exe as in following document:

http://community.landesk.com/support/docs/DOC-30334

 

Resolution:

This will be resolved in Service Pack 2 for LDMS 9.5

 

Defect # 95026


HII issues

$
0
0

I am trying to deploy to a Dell 7010 using provisiong and HII. Everything goes well until you get to the HII part. It will install all the drivers and then get to the end and say it failed. Does anyone have any clue what would be causing this?

 

CMD screenshot:

hiierror.png

HIIHandler Log:

2013-12-20 00:16:07(1856-896) HIIHandler.exe:Going to excute HIIClient  /uncpath /taskid 100

2013-12-20 00:16:59(1856-896) HIIHandler.exe:Failed to execute HIIClient  /uncpath /taskid 100

2013-12-20 15:23:03(1352-2004) HIIHandler.exe:Failed to execute HIIClient  /uncpath /taskid 101

2013-12-20 15:34:05(1332-1328) HIIHandler.exe:Failed to execute HIIClient  /uncpath /taskid 102

 

I have also attached the dism.log

 

any help would be great.

Question - Multicast an Image

$
0
0

Have a customer with LDMS 9.0 and wants to multicast their image to 70 systems at once. How many systems has anyone out there imaged at once?  Just curious..

OSD multicast fails in LDMS 9.5 SP1

$
0
0

Hi,

 

I'm trying to multicast an OSD image task to some cliet nodes using PXE to boot the client nodes. Once the client nodes are up and the task start to work sending the multicast part for each of them, then it fails with a error message in the multicast task window of the core server:

Untitled.jpg

 

The client nodes suppossed to receive the multicast image show a "Disk Full" error message, but there is not such lack of disk space in the client node. In fact if I try the same OSD task but without multicast option the task completes correctly in each of the client computers.

 

I have tested this behaviour in two diferent LDMS 9.5 SP1 core servers with different network environments and in both cases the results are the same. More over one of the network environments doesn't have routers or switches betwen the core server and the client nodes so they are connected in a simple hub in a lab environment and the resut is exactly the same.

 

Ani ideas?

PXE Representative

$
0
0

Hi,

 

I have a prolem with the PXE representative deployment,

When I run the tasks with successfull issue, the PXE Services arent create. And I don't have any server in this section : configuration-- > PXE Representative. Any server are found when I start a computer to PXE

 

But if I run myself "osdrep.msi" the two PXE services are created. And if I start a computer with PXE, the WinPE menu is found but any OS is found.

 

Can you help me please ?

 

Thanks

Is it possible to NOT mount optical drives in WinPE?

$
0
0

Hello all,

 

When running provisioning templates from a PXE boot we encounter errors sometimes once we get to the "Inject Script" portion.  Through some troubleshooting we found that the WinPE environment was assinging the optical drive a higher priority than the hard drive/SSD, so the unattend file was not copied to the mainWin7 partition.  Is there a way to force WinPE to NOT mount optical drives?  This would make it a non-issue since we only deploy via PXE boot (at least until an offline provisioning mode is offered).

 

We are running LDMS 9.5, non SP1.

Viewing all 1803 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>