Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Setting up a data store

This topic describes how to set up the data store for Microsoft Windows and Linux provisioning environments. The topic contains the following sections:

Data store overview

To provision operating systems on bare metal computers using the Preboot Execution Environment (PXE), you create a data store directory on a Windows or Linux server. Then you share the data store directory.

You can set up multiple data stores. If you are provisioning many devices simultaneously, using multiple data stores can potentially reduce network traffic. During the provisioning process, most network traffic occurs between the device being provisioned and the data store. Using multiple data stores can reduce the possibility of a bottleneck. Additionally, if you are provisioning devices on different network segments, you can place a data store on each segment, thereby substantially reducing network traffic.

For successful provisioning, you must share the data store. The type of share depends on the type of operating system you are provisioning to bare metal computers:

  • To provision Windows operating systems:
    • If the data store host is a Windows server, you share the data store as a Windows share.
    • If the data store host is a Linux server, you share the data store as a Samba share.
  • To provision Linux operating systems, you provide HTTP access to the data store (such as Apache on Linux or IIS on Windows) because the Linux installers run over HTTP.

Note

VMware ESX 2.5.x only: The data store must have NFS access. You might need to export the data store as an NFS share. This requires an NFS server on the data store server.

To set up a data store

  1. On the host computer that will function as a data store server, create a data store directory.
  2. If you are provisioning the Windows operating system, share the data store using one of following methods. If the data store server is a:
    • Windows host computer — Use Windows to set up sharing with the data store directory. The share should allow read-only access.
    • Linux host computer — Use Samba to set up sharing with the data store directory structure. The share should allow read-only access.
      If you are using WinPE, you need a password to access the data store share. Passwords are not necessary if using Gentoo. If you are using WinPE, the computer being provisioned must map a drive to the location of the installation files on the data store server. You must enable this account. You can use properties in BMC Server Automation to provide the connection information needed to access other data stores. For more information about defining BMC Server Automation properties and assigning properties to a system package being used to provision a server, see System package panels (generic) and Configuring the data store for PXE provisioning.

      Warning

      BMC recommends that any account used to share access to the data store be limited to read-only access. Otherwise, you are creating the potential for a dangerous security lapse.

  3. If you are provisioning the Linux operating system, perform the following steps:
    1. Set up HTTP access by taking one of the following actions. If the data store server is a:
      • Windows computer — Use IIS to define a virtual directory that corresponds to the data store directory structure. Use web sharing to grant read-only access to this virtual directory.

        In addition, if you have set up the data store on a Windows host computer where IIS and .Net Framework are installed, you must remove the file associations of .cs files in IIS by performing the following steps:
        1. From the Start menu, choose Programs > Administrator Tools > IIS Manager.
        2. In IIS Manager, choose Default Web Sites > datastore. Right-click and choose Properties.
          The Datastore Properties window opens.
        3. On the Virtual Directory tab, click Configurations.
          The Application Configuration window opens.
        4. Remove the application mappings for .cs files.
        5. Restart the IIS service.
      • Linux host computer — Set up HTTP read-only access to the data store directory structure. (To facilitate troubleshooting, you can optionally set up HTTP access to allow directory browsing. However, this makes your data store configuration less secure.)
    2. Extract the new provision-files.zip. 
    3. Locate the bmilinux.tar file (in the \provisioning\pxe directory) and copy it to the datastore directory.
    4. Locate the bmiwin.exe file (in the \provisioning\pxe directory) and copy it to the datastore\bmi directory. 
    5. (Windows only) Locate the bllibeay32.dll and blssleay32.dll files (in the \provisioning\winpe\x86 directory) and copy them to the datastore\bmi directory.
      See the BMC Communities forum article: 8.5 Upgrade - Changes to provisioning files for BMI

  4. If the data store server is a Windows host computer, and you plan to use this computer to provision Windows operating systems, configure the security settings as follows:
    1. In the Windows Control Panel, open Administrative Tools. Double-click Local Security Policy. Under Security Settings, click Local Policies and double-click Security Options.
    2. Set the policies as shown in the following table:

      Policy

      Security Setting

      Network security: Do not store LAN manager hash value on next password change

      Enabled

      Network security: LAN Manager authentication level

      Send LM & NTLM responses

  5. Install an RSCD agent on the data store server by using one of the following tasks:

Where to go from here

Stock the data store with the installers and other files that you expect to use, as described in the following tasks. See Stocking the data store.

Was this page helpful? Yes No Submitting... Thank you

Comments