Sunteți pe pagina 1din 4

IBM Blade Center Management Module CLI reference by example by Robert Chase robert.b.chase@gmail.

com Further information Management Module command-line interface reference guide - IBM BladeCenter MIGR-54667 Command Targets The -T switch species the target of the command. Here are some common Targets that you will nd. Many commands without targets will not execute and will give an error message about the target. The prompt within the CLI will indicate the default target established by the env variable. System is the default level of the CLI and all commands are levels below it. Without a target specied the command will execute against the current target dened by the prompt. system mm blade switch mt The outer chassis and blowers Management module Blade server I/O Switch module such as FC or ESM Media Tray

Interactive Help By entering help or ? from the command line the user is presented with the following command list. For most commands issuing the command itself will either execute the command or issue further interactive help messages. system> ? or help ? -- Display commands accseccfg -- View/edit account security cong advfailover -- View/edit advanced failover mode alertcfg -- Displays/Congures the global remote alert settings alertentries -- View/edit remote alert recipients baydata -- View/edit Blade Bay Data string boot -- Boot target bootmode -- Boot mode bootseq -- View/edit the blade boot sequence settings cin -- Displays/Congures Chassis Internal Network cinstatus -- Displays Status of Chassis Internal Network clear -- Clear the cong clearlog -- Clear the event log clock -- View/edit date, time, GMT offset, and dst setting cong -- View/edit general settings console -- Start SOL session to a blade dhcpinfo -- View DHCP server assigned settings displaylog -- Display log entries displaysd -- Display service data

dns -- View/edit DNS cong env -- Set persistent command target exit -- Log off les -- Displays and deletes les stored on the AMM fuelg -- Power management health -- View system health status help -- Display command list history -- Display command history identify -- Control target location LED ifcong -- View/edit network interface cong info -- Display identity and cong of target iocomp -- View I/O compatibility for blades and switches kvm -- Controls the kvm owner ldapcfg -- View/edit LDAP cong led -- Display and control Leds list -- Display installed targets modactlog -- Displays module activity log monalerts -- Displays and congures monitored alerts monalertsleg -- Displays and congures legacy monitored alerts mt -- Controls the media tray owner nat -- Display and congure NAT ntp -- View/edit NTP cong ping -- Pings targeted switch module pmpolicy -- View/edit power management policy settings portcfg -- Serial port conguration ports -- Port conguration power -- Control target power read -- Restore conguration from the chassis or a le remotechassis -- Chassis discovered over the network reset -- Reset target sddump -- Initiate service data dump security -- View/edit security cong service -- Enable debugging by service personnel shutdown -- Shutdown target slp -- View/edit SLP parameters smtp -- View/edit SMTP cong snmp -- View/edit SNMP cong sol -- View SOL status and view/edit SOL cong sshcfg -- View/edit SSH cong sslcfg -- View/edit SSL cong syslog -- View/edit syslog cong tcpcmdmode -- View/edit TCP command mode cong telnetcfg -- View/edit telnet cong temps -- View temperatures trespass -- View/edit trespassing warning cong uicfg -- View/edit user interface conguration

update -- Update rmware from TFTP server uplink -- View/edit failover on network uplink loss cong users -- View/edit user login proles volts -- View voltages write -- Save conguration to chassis or a local le zonecfg -- Zone conguration for I/O modules Type "<command> -h" for individual command syntax help. [ ] is used for indexing (by bay number) < > denotes a variable { } denotes optional arguments | denotes choice Common Commands exit kvm -b # kvm kvm -b 0 mt -b # help ? history users -T system:mm[#] env -T system env -T system:blade[#] env -T system:mm[#] terminates command line interface changes kvm owner #=blade displays the current kvm owner sets kvm owner to no one changes media tray owner #=blade displays list of commands same as help displays the last 8 commands issued displays all user accounts in mm sets system as command target sets blade as command target sets mm as command target displays SEL stored in ASM 5 lines at a time displays all logs in SEL displays power domain usage displays power domain 1 displays power domain 2 displays system health displays blade health displays MM health displays support information saves a gzip support archive (saves in MM displays le list and space in MM lesystem deletes le specied by lename displays mm information displays blade information restarts blade

Logs and Info displaylog -T system:mm[#] displaylog -a -T system:mm[#] fuelg -T system fuelg pd1 -T system fuelg pd2 -T system health -T system health -T system:blade[#] health -T system:mm[#] dipslaysd displaysd -save lename.tgz lesystem) les les -d lename info -T system:mm[#] info -T system:blade[#] Power and Restarts reset -T system:blade[#]

reset -T system:mm[#] reset -T system:switch[#] power -on -T system:blade[#] power -off -T system:blade[#] power -cycle -T system:blade[#] shutdown -f -T system:blade[#]

restarts mm #=mm restarts switch #=switch turn on blade power off blade power cycle's blade forced shutdown of blade displays boot sequence for blade #=blade set boot sequence to cdrom #=blade set boot sequence to network #=blade set boot sequence to hdd #=blade set boot sequence to cd rst and then hd0 displays current LED's on blade (AMM and T turns off information LED turns off information LED for blade displays full LED status for blade turns on locator light on blade turns on locator light on chassis starts sol session with system #=blade starts override sol session with system #=blade displays SOL status of MM displays SOL status of blade

Boot Sequence bootseq -T system:blade[#] bootseq cd -T system:blade[#] bootseq nw -T system:blade[#] bootseq hd0 -T system:blade[#] bootseq cd hd0 -T system:blade[#] Identication and LED's led -T system:blade[#] chassis only) led -info -T system led -info -T system:blade[#] led -l -T system:blade[#] identify -s blink -T system:blade[#] identify -s blink -T system Serial over LAN console -T system:blade[#] console -o -T system:blade[#] sol -T system:mm[#] sol -T system:blade[#]

Common AIX Hardware Commands lsattr -El mem0 lsdev -Cc disk lscfg -vl hdisk1 lspv df -k ps -ef errpt -a errclear 0 errclear -N sysplanar0 0 diag cfgmgr cfgmgr -i /dev/cd0 lscfg -vp|grep CL instx -i | grep -i aix oslevel -r displays current physical memory displays all disk drives displays info on individual disk drives displays disks installed on system displays le system size information displays current system processes displays system error report including power outages clears the system error log clears only select items specied by the resource system diagnostics command to get system to recognize new hardware installs drivers from cd for new hardware displays current rmware version displays maintenance level for AIX displays OS level with maintenance level

S-ar putea să vă placă și