Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a spec sheet · part 15 of 26

Implementing Asset ID: Chapter 4. Integration with LCCM and SDA, pages 115 to 122

Pages 115 to 122 of 206, from Implementing Asset ID

The original document is the PDF (3.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the HID AMH100

Page 115

38.In D:\sdaapps (or the directory you entered in Figure 74), a new directory has been created: SDA ITSOSDA. To simplify matters, rename the SDA ITSOSDA folder to ITSOSDA. 39.Create a share point to the SDAAPPS folder. 40.We will now test the SDA package to ensure it works manually. Use LCCM profile Remote Ghost Capture to capture a Windows 2000 Professional installation, as described in 4.1.6, “Automating the use of a cloning tool with LCCM” on page 73. You may have to rename your previous GHSTCAP.GHO file to prevent it from being overwritten. 41.After the LCCM capture is complete, restart the client machine and log into the machine with administrative rights. 42.Copy the ITSOSDA folder from the SDAAPPS share to the test client machine. 43.From the local ITSOSDA folder you just copied, run SWSELECT.EXE file. You will be presented with the following window.

Figure 76. Choosing a group in SDA

44.Select one of the groups and click OK. In our example, we selected Sales. 45.You will now see SDA installing the applications that apply to the group Sales only.

Figure 77. Applications being installed

Chapter 4. Integration with LCCM and SDA

103

Page 116

46.If the Sales group works properly, restore the image you captured in step 40 on page 103 (that is, without any applications installed using SDA). 47.Follow steps 43 to 46 beginning on page 103 and verify that the other groups also work properly. If everything functions as designed we are now ready to automate the process. If there were errors, you will need to correct these and rebuild the package. The next step is to incorporate the use of Asset ID to completely automate the process.

4.2.3 Integrating SDA with Asset ID and LCCM The SDA installer can be started by manually launching the SWSELECT executable or by putting keys in the registry or combinations thereof. In our situation, we want to incorporate Asset ID and pull the department name from there to use as the group name in SDA. When the Installer is launched it will look for C:\SDAPROF.INI. If this file is found, the SDA installer will automatically install the predefined applications for the group specified in the SDAPROF.INI. We will use LCCM and AIAREAD to pull the department name from the Asset ID area and populate the SDAPROF.INI file with the appropriate department (group). The procedure to do this is as follows: 1. Create the text file SDAPROF.ORG in C:\LCCM\CLNTFILE\ and add the following lines: [User information] Group=%DEPARTMENT% Error in SDA 1.2 online help

The online help in SDA V1.2 (search on SDAPROF) indicates a different syntax from that listed above. Our testing has shown that syntax listed there is incorrect and does not work. The syntax in the SDA2MST.PDF product manual for V1.2 is correct, however, as is the information for SDA V1.1.

2. Make backup copies of SPRPCSTM.LCI and SYSPREP.ORG, both found in C:\LCCM\CLNTFILE. 3. Modify SPRPCSTM.LCI to look like the following. The highlighted lines are the ones to add.

104

Implementing Asset ID

Page 117

path=s:\; s: fat32 T: CD\ MD %CSERIAL% CD\%CSERIAL% aiaread NETWORKCONNECTION /S >NETCON.BAT echo lccustom s:\sysprep.org sysprep.inf >>NETCON.BAT echo copy sysprep.inf e:\sysprep >>NETCON.BAT echo lccustom s:\sdaprof.org sdaprof.ini >>NETCON.BAT echo copy sdaprof.ini e:\ >>NETCON.BAT NETCON.BAT Figure 78. Modified SPRPCSTM.LCI

4. Modify SYSPREP.ORG to look like the following: [Unattended] OemSkipEula=Yes [GuiUnattended] AdminPassword=ibm AutoLogon=Yes AutoLogonCount=2 OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1 [UserData] FullName=IBM OrgName=ITSO ComputerName=%FIELD1% productid=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx [Identification] JoinDomain=%FIELD2% DomainAdmin=administrator DomainAdminPassword=ibm [Networking] InstallDefaultComponents=Yes [GuiRunOnce] Command0=”c:\itsosda\startsda.bat” Figure 79. Modified SYSPREP.ORG

Chapter 4. Integration with LCCM and SDA

105

Page 118

5. In the above Command0 line (the last line) we start the batch file STARTSDA. The purpose of this batch file is to start SDA and then reboot the machine. SDA inherently does not have the ability to restart the machine. Create the following file STARTSDA.BAT in D:\SDAAPPS\ITSOSDA. c:\itsosda\swselect.exe start /low c:\itsosda\scriptit c:\itsosda\close.ini Figure 80. New STARTSDA.BAT

STARTSDA.BAT launches the ScriptIt. ScriptIt is a free unsupported utility provided by Microsoft. It can be downloaded from: http://www.microsoft.com/TechNet/winnt/winntas/tools/scriptit.asp We chose to delete the files once SDA has installed them (option Remove SDA-Installer from the user’s hard disk in Figure 72 on page 101). With this option you will be prompted to restart the computer now or at a later time. Since we want to fully automate the process we require the ability to automatically reboot the PC by responding to the prompt, hence the use of ScriptIt. 6. Copy SCRIPTIT.EXE to D:\SDAAPPS\ITSOSDA 7. Create CLOSE.INI (a response file for ScriptIt) in D:\SDAAPPS\ITSOSDA with the following lines of text. Type this line in exactly as it typed here. Tip: The last line is case and space sensitive. [SCRIPT] run= IBM Software Delivery Assistant-Installer+To complete=~ Figure 81. New CLOSE.INI

Notes: – In Figure 80 on page 106, we used the start /low command in STARTSDA.BAT because the ScriptIt utility will use a large proportion of CPU capacity waiting for the SDA reboot window to appear. This window does not appear until all the required applications are installed. We have found it best to keep the ScriptIt utility at the lowest priority preventing possible CPU utilization problems with the application installation process. – In Figure 81, the last line indicates ScriptIt should look for a window with the title “IBM Software Delivery Assistant-Installer” and the text “To

106

Implementing Asset ID

Page 119

complete...”. Once it finds this window, it simulates pressing Enter to reboot the client. – In Figure 79 on page 105, the purpose of the [GuiRunOnce] group and the use of STARTSDA.BAT is to automatically install the applications specific to the predefined group and secondly to reboot the machine so that the Director agent can initialize and start so the machine can be discovered. When the Director Server discovers the client, we then know our process has completed successfully. – Since we are installing the applications while being logged into the client as an administrator, some applications may not put program icons in the All Users folder so that they are available when other users log into this PC. If this is the case with your applications, you may have to create a batch file to copy the contents of those program folders from the Administrator folder to the All Users folder. In Windows 2000, both of these folders are found in the Documents and Settings folder on the client. – The above process can be further refined by creating two partitions where the SDA Package is copied on the second partition. Ultimately you can manage the operating system partition and the SDA package partition separately. Thus any changes made to the SDA package do not affect the rebuilding of the operating system partition which is key when working with different hardware platforms. You would use a two-partition cloning process to accomplish this. – Similarly, SDA has features for synchronization with a server if the SDA installer package is left on the system. Refer to the SDA documentation for information. 8. From your donor machine, copy the ITSOSDA folder from the shared resource \\ITSOSDA8\SDAAPPS to your local machine. 9. Follow steps outlined in 4.1.7, “Sysprep: preparing the client for cloning” on page 75 and the steps outlined in 4.1.8, “Creating the ghost image” on page 82. 10.We now should have a Sysprepped ghost image with the SDA installer package on it. We will test this Image and package combination. Again it is crucial that the key Asset ID fields (Field1, Field2 and Department) are correctly populated before we deploy the image. 11.Follow the steps outlined in 4.1.10, “Deploying the final image” on page 85.

Chapter 4. Integration with LCCM and SDA

107

Page 120

12.Once the cloning process completes, the client machine will shut down. This will be indicated by the checkmark beside each client in the LCCM processing window. At this point if the user turns on the machine it will run through the automated setup wizard and the automated SDA installation. Depending on how many applications are installed, this may take some time. One potential problem with this is that the user may inadvertently intervene in the process causing problems. To solve this, we propose to wake up the machine so it can run these processes before the user uses the PC for the first time. If the rollout occurs after hours this should not be a problem or if the user is away on lunch, training or out of the office. 13.We now want to power on the machine remotely. There are two ways we can do this: – Create a text file with the MAC addresses by exporting the LCCM database to simplify the process. a. From the LCCM menu, click File > Export > Clients database. This will export the database to a TXT file.

Figure 82. Saving the LCCM client database b. Enter a filename and location or just click Save to select the defaults. c. Click OK when prompted to create the database. d. Click OK at the prompt indicating success. e. Use a program such as Lotus 1-2-3 to import the text file and strip everything except the MAC addresses so it looks like Figure 83. Macros will expedite this process, especially if many machines are

108

Implementing Asset ID

Page 121

involved. This step may not be required if you have used the QueTel Asset TraQ, since it has the ability to create this file for you based on the machines inventoried, as described in 3.2.5, “LCCM Export Utility” on page 43. 0004AC6318C4 00062929B10E 0010A4A663A7 Figure 83. WAKEUP.TXT f. Save the file as WAKEUP.TXT in C:\LCCM. g. From the LCCM menu click Tools > Wake Clients. h. You will be presented with a window. Choose Text file, enter C:\LCCM\WAKEUP.TXT and click OK.

Figure 84. Wake Clients window i. Click Start waking, wait about 1-2 minutes and then click Stop waking. – Manually type in the MAC address of the PC to wake it up. The process is very similar to the one above with the exception that you choose Keyboard instead of Text File in LCCM. The MAC addresses

Chapter 4. Integration with LCCM and SDA

109

Page 122

for each machine can be found on the Details tab on each client machine as shown in Figure 85.

Figure 85. Finding the MAC address manually

14.The client PC will power on and will run through the setup wizard and then reboot and install applications via SDA. It will reboot once more and automatically log on as administrator. We want the machine in this state because an initial logon as administrator is required to properly complete the Director installation. Now is an optimum time to discover the Director clients because its agent should now be up and running. 15.Once the Director clients are discovered, use Director to either power off the PCs or restart the PCs so they do not remain logged on as administrator. More importantly, after the restart or power down, the machine will be ready to use by its intended user. You will have to notify the user to log into the domain rather than into the machine locally (which is the default after this reboot or power off) in advance. Tip: You may want to create a dynamic group in Director based on lease dates or purchase dates so that only the machines you deployed will be restarted or powered down.

110

Implementing Asset ID