9.5(0.1) Open Automation Guide
Total Page:16
File Type:pdf, Size:1020Kb
Open Automation Guide Configuration and Command Line Reference Aug 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. Aug 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 . .15 Web Server with HTTP Support . .15 3 Bare Metal Provisioning . .17 Introduction . .17 How it Works . .17 Prerequisites . .18 Standard Upgrades with BMP . .18 BMP Process Overview . .19 BMP Operations . .19 Configuring BMP . .20 Reload Modes . .20 BMP Mode. .20 Normal Mode . .22 BMP Commands and Examples . .23 System Boot and Set-Up Behavior in BMP Mode . .23 BMP Mode: Boot and Set-UP Behavior . .25 Reload Without a DHCP Server Offer . .26 Reload with a DHCP Server Offer Without a Dell Networking OS Offer . .26 Reload with a DHCP Server Offer and no Configuration File . .27 Reload with a DHCP Server Offer Without a DNS Server. .28 DHCP Offer Vendor-Specific Option for BMP . .29 Software Upgrade Using BMP . .30 Applying Configurations Using BMP Scripts . .30 Preconfiguration Scripts. .30 Post Configuration Scripts . .31 Auto-Execution Scripts . .31 Preconfiguration Process for Scripts . .32 Running Scripts . .33 Using the Post Configuration Script (BMP Mode Only) . .33 Reload Using the Auto-Execution Script (Normal Mode Only) . .33 Script Examples . .34 Auto-Execution Script - Normal Mode . .34 | 3 Preconfiguration Script - BMP Mode . .37 Post Configuration Script - BMP Mode . .38 BMP Operations on Servers Overview . .40 DHCP Server . .40 DHCP Server Settings. .40 DHCP Server IP Blacklist . .41 MAC-Based Configuration. .42 MAC-Based IP Address Assignment . .42 Class-Based Configuration . .43 File Server Settings . .44 Domain Name Server Settings . .44 www.dell.com | support.dell.com 4 Bare Metal Provisioning CLI . .45 Overview . .45 Commands . .46 5 Smart Scripting . .55 Overview . .55 Downloading the Smart Scripting Package . .57 Installing Smart Scripting . .57 Displaying Installed Packages . .59 Uninstalling Smart Scripting . .59 Limits on System Usage . .59 Supported UNIX Utilities . .60 Smart Utils . .62 Creating a User Name and Password for Smart Scripting . .62 Logging in to a NetBSD UNIX Shell . .63 Downloading Scripts to a Switch . .63 Setting a Search Path for Scripts . .64 Scheduling Time / Event-based Scripts . .64 Triggering a Script to Run . .64 SQLite . .67 NET SNMP Client . ..