Onboard Administratorの構成スクリプトのサンプル


#Sample script for HPE OneView
#

#NOTE: Set Enclosure Information
SET RACK NAME "Insert_Rack_Name"

#Optionally Configure Power
SET POWER MODE REDUNDANT
SET POWER SAVINGS ON
SET ENCLOSURE POWER_CAP OFF
SET ENCLOSURE POWER_CAP_BAYS_TO_EXCLUDE None

#Set Interconnect PowerDelay Information
SET INTERCONNECT POWERDELAY 1-8 0
#Set Server Power Delay Information
SET SERVER POWERDELAY 1-16 0

#Optionally Configure Alertmail
SET ALERTMAIL SMTPSERVER
DISABLE ALERTMAIL

#Optionally Configure NTP
SET NTP SECONDARY
SET NTP POLL 720

#Optionally Set Remote Syslog Information
SET REMOTE SYSLOG SERVER ""
SET REMOTE SYSLOG PORT 514
DISABLE SYSLOG REMOTE

#Optionally ADD a new user account and set as Admin on ALL bays
ADD USER "admin" "password"
SET USER CONTACT "admin" ""
SET USER FULLNAME "admin" ""
SET USER ACCESS "admin" ADMINISTRATOR
ASSIGN SERVER 1-16 "admin"
ASSIGN INTERCONNECT 1-8 "admin"
ASSIGN OA "admin"
ENABLE USER "admin"

#Optionally reset the default Administrator password
Set USER Administrator "enter new password here"

#Set Login Banner Text Information
CLEAR LOGIN_BANNER_TEXT
DISABLE LOGIN_BANNER

#Set Network Information
#NOTE: Setting your network information through a script while
#      remotely accessing the server could drop your connection.
#      If your connection is dropped this script may not execute to conclusion.
#NOTE: Set the IP address and DNS name for both OA1 and OA2
SET NIC AUTO 1
SET NIC AUTO 2
ENABLE ENCLOSURE_IP_MODE
SET LLF INTERVAL 60
ENABLE LLF
DISABLE DHCPV6