Open main menu

CDOT Wiki β

Changes

Viridis Commands

537 bytes added, 15:49, 1 April 2015
AC Power Control
== Controlling Host ==
The computer controlling the Viridis system is Iraq, which is a dual-homed host: it has a connection to Seneca's network as well as a separate connection to a private LAN which houses the Viridis and RaspberryPi (AC power control) systems. All connections to the Viridis, including SSH, SOL, and IPMI connections, must be initiated from Iraq. Iraq also supplies DHCP data to the Viridis system, handles DNS queries, and NATs communication with the outside world.
== AC Power Control ==
AC to the Viridis chassis is controlled by a the Raspberry Pi plugged into PDUs in the network[[EHL]] cabinet #1# Log into Be sure to shut down the Raspberry Pi from Iraq: <code>ssh raspi</code># Issue the appropriate "individual nodes before removing power" command:#* Get the AC , and remember to remove power status: <code>power status</code>#* Turn from each of the AC redundant power on: <code>power on</code>#* Turn supplies (via the AC power off: <code>power off</code>#* Power-cycle the AC (turn off, pause, turn onleft and right PDUs): <code>power reset</code> {{Admon/caution|Possible Filesystem Damage!|As with any system, it's important to shut down each node before powering the chassis off.}}
== IP Addresses of Nodes ==
== ipmitool ==
The ipmitool program is used to send IPMI commands to a single host. This is a standard tool, but Calxeda-specific patches are required for some functionality. As of 2013-09-17 the Calxeda-modified version is on course in review for inclusion in a successive version of Fedora([https://bugzilla.redhat.com/show_bug.cgi?id=918296 BZ 918296]).
Common options:
== cxmanage ==
The cxmanage script allows multiple nodes to be controlled with a single command. Basically, it's a smart wrapper around ipmitool. This is a Calxeda-specific tool; as of 2013-09-17 it is in package review in Fedora([https://bugzilla.redhat.com/show_bug.cgi?id=919592 BZ 919592]).
Common options:
The last argument to cxmanage is the hostname or IP address of a ECME. If the -a option is not given, then only the specified node is affected by the cxmanage command; if -a is given, all nodes on the fabric are affected.
== Serial-over-LAN (SOL) == Serial-over-LAN capability (SOL) is the equivalent of accessing serial output from a development board such as a PandaBoard, Rapsberry Pi, or TrimSlice. It is used to control pre-boot software (uBoot) and to view boot messages as well as Anaconda installer messages. It is also possible to login through this connection (though SSH is recommended/preferred).
To see the equivalent of the serial port output from activate a node, use the IPMI serial-over-LAN capabilitySOL session:
sudo ipmitool -I lanplus -H ''host'' -U ''user'' -P ''pass'' sol activate
part /boot --size 500 --fstype ext3 --label=boot
part swap --size 4000 --label=swap
part / --size 2000 --fstype ext4 --label=rootfs # --grow
# Reboot after the installation is complete.
== Firmware Update ==
To update the firmware, download the appropriate firmware packagefrom Calxeda, and issue this cxmanage command:
cxmanage -a update fwupdate package ''ECX-1000_update-production-VERSION.tar.gz'' seneca0b
== Additional Commands and Options ==