Open Automation Guide Configuration and Command Line Reference
Total Page:16
File Type:pdf, Size:1020Kb
Open Automation Guide Configuration and Command Line Reference June 2014 Notes, Cautions, and Warnings NOTE: A NOTE indicates important information that helps you make better use of your computer. CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. WARNING: A WARNING indicates a potential for property damage, personal injury, or death. Information in this publication is subject to change without notice. Copyright © 2014 Dell Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. Dell and the Dell logo are trademarks of Dell Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. June 2014 1 About this Guide . .7 Objectives . .7 Audience . .7 Supported Platforms and Required Dell Networking OS Versions . .7 Conventions . .8 Information Symbols . .8 Related Documents . .9 2 Open Automation Framework . .11 Bare Metal Provisioning . .12 Smart Scripting . .13 Virtual Server Networking . .13 REST API . .14 Web Server with HTTP Support . .14 3 Bare Metal Provisioning . .15 Introduction . .15 How it Works . .15 Prerequisites . .16 Standard Upgrades with BMP . .16 BMP Process Overview . .17 BMP Operations . .17 Configuring BMP . .18 Reload Modes . .18 BMP Mode. .18 Normal Mode . .20 BMP Commands and Examples . .21 System Boot and Set-Up Behavior in BMP Mode . .21 BMP Mode: Boot and Set-UP Behavior . .23 Reload Without a DHCP Server Offer . .24 Reload with a DHCP Server Offer Without a Dell Networking OS Offer . .24 Reload with a DHCP Server Offer and no Configuration File . .25 Reload with a DHCP Server Offer Without a DNS Server. .26 DHCP Offer Vendor-Specific Option for BMP . .27 Software Upgrade Using BMP . .28 Applying Configurations Using BMP Scripts . .28 Preconfiguration Scripts. .28 Post Configuration Scripts . .29 Auto-Execution Scripts . .29 Preconfiguration Process for Scripts . .30 Running Scripts . .31 Using the Post Configuration Script (BMP Mode Only) . .31 Reload Using the Auto-Execution Script (Normal Mode Only) . .31 Script Examples . .32 Auto-Execution Script - Normal Mode . .32 | 3 Preconfiguration Script - BMP Mode . .35 Post Configuration Script - BMP Mode . .36 BMP Operations on Servers Overview . .38 DHCP Server . .38 DHCP Server Settings. .38 DHCP Server IP Blacklist . .39 MAC-Based Configuration. .40 MAC-Based IP Address Assignment . .40 Class-Based Configuration . .41 File Server Settings . .42 Domain Name Server Settings . .42 www.dell.com | support.dell.com 4 Bare Metal Provisioning CLI . .43 Overview . .43 Commands . .44 5 Smart Scripting . .53 Overview . .53 Downloading the Smart Scripting Package . .55 Installing Smart Scripting . .55 Displaying Installed Packages . .57 Uninstalling Smart Scripting . .57 Limits on System Usage . .57 Supported UNIX Utilities . .58 Smart Utils . .60 Creating a User Name and Password for Smart Scripting . .60 Logging in to a NetBSD UNIX Shell . .61 Downloading Scripts to a Switch . .61 Setting a Search Path for Scripts . .62 Scheduling Time / Event-based Scripts . .62 Triggering a Script to Run . .62 SQLite . .65 NET SNMP Client . ..