Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt tag

n. 1. The number six at dice.


> -- Webster's Revised Unabridged Dictionary, published 1913 by C. & G. Merriam Co.

SICE

Sun ILOM Configure Environment

Introduction

A tool written in Perl that uses the Expect module to automate ILOM configuration and firmware updates.

Version

Current version: 0.9.1

See CHANGELOG.md for the history of changes.

License

This software is licensed as CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike)

https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode

See the LICENSE file for the full text.

Usage

$ sice.pl -m model -i hostname -p password -[n,e,f,g]

	-i:	ILOM hostname or IP address
	-p:	Password (new password if used with -n or -a)
	-m:	Specify model (default is to detect it)
	-n:	Change Default password
	-c:	Check hosts keys (default is to ignore)
	-e:	Enable custom settings
	-g:	Check firmware version
	-f:	Update firmware if required
	-a:	Perform all steps
	-t:	Run in test mode (don't do firmware update)
	-F:	Print firmware information
	-d:	Specify default delay [10 sec]
	-T:	Set TFTP directory and run TFTP daemon
	-v:	Verbose output
	-V:	Print version information
	-h:	Print usage information

Examples

Check firmware version:

$ sice.pl -i 192.168.1.230 -p changeme -g
Password:
Waiting for daemons to initialize...
Daemons ready

Oracle(R) Integrated Lights Out Manager

Version 3.0.12.4.zb r83058

Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

Warning: password is set to factory default.

->
-> version
SP firmware 3.0.12.4.zb
SP firmware build number: 83058
SP firmware date: Fri Aug  9 19:28:50 PDT 2013
SP filesystem version: 0.1.22

-> show /SYS product_name

  /SYS
    Properties:
        product_name = SPARC-Enterprise-T5120

Hardware found: T5120

-> version
SP firmware 3.0.12.4.zb
SP firmware build number: 83058
SP firmware date: Fri Aug  9 19:28:50 PDT 2013
SP filesystem version: 0.1.22

-> show /HOST sysfw_version

  /HOST
    Properties:
        sysfw_version = Sun System Firmware 7.4.6.c 2013/08/09 20:48

Firmware is up to date

Requirements

The following Perl modules are required:

  • Expect
  • Getopt::Std
  • File::Slurp
  • File::Basename
  • Net::TFTPd
  • Cwd
  • Socket
  • Sys::Hostname

Help Support Development

If you find this software useful and would like to support its development, please consider buying me a coffee:

https://ko-fi.com/richardatlateralblast

About

A Perl script to automate the configuration of Sun ILOM via SSH

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages