Configuring a Raritan PX2-5260A4R: Difference between revisions
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{howto_header}} | {{howto_header}} | ||
{ | {| | ||
|[[image:Raritan_PX2_PX3.png|thumb|left|800px|Raritan [http://www.raritan.com/products/power-distribution/intelligent-rack-pdus PX2-series PDU]. Photo by [http://cdn.raritan.com/download/px2/version-3.2.10/QSG-DPX2-0N-v3.2.10-E.pdf Raritan].]] | |||
|} | |||
= Serial Access = | |||
[[image:Raritan_PX2_Control_panel.png|thumb|right|500px|Raritan [http://www.raritan.com/products/power-distribution/intelligent-rack-pdus PX2 Control Panel]. Photo by [https://www.raritan.com/?ACT=186&path=product-selector%2Fpdu-detail-print%2Fpx2-5260a4r&size=letter&orientation=portrait&key=&attachment=0&compress=1&filename=PX2-5260A4R.pdf Raritan].]] | |||
The Raritan PDU has a built-in serial to USB adapter. So to connect, simply plug the USB cable into the USB-B connector on the PDU and the other end into your computer. On Linux systems, this will create the '<span class="code">/dev/ttyASM0</span>' serial port device. | |||
{{note|1=The [[Build an m2 Anvil! - Detailed|m2 ''Anvil!'']] installs <span class="code">screen</span> on both nodes and ''Striker'' dashboards.}} | |||
We're going to use a program called <span class="code">[http://www.gnu.org/software/screen/ screen]</span> to talk to the PDU over the serial port. | |||
<syntaxhighlight lang="bash"> | |||
screen /dev/ttyASM0 115200 | |||
</syntaxhighlight> | |||
{{note|1=The baud rate '<span class="code">115200</span>' must be defined.}} | |||
Press '<span class="code"><enter></span>' until the login prompt appears: | |||
<syntaxhighlight lang="bash"> | |||
=> _ | |||
</syntaxhighlight> | |||
Connected! | |||
= Reset to defaults = | = Reset to defaults = | ||
Line 9: | Line 33: | ||
{{note|1=You must connect to the PDU using the RS232 (DB9) port. The USB port shuts down as part of the reset process and you'll not be able to factory reset!}} | {{note|1=You must connect to the PDU using the RS232 (DB9) port. The USB port shuts down as part of the reset process and you'll not be able to factory reset!}} | ||
Ensure that you've connected to the PDU's serial port. Using pin, press the recessed '<span class="highlight_detail">Reset</span>' switch and then immediately start pressing <span class="code"><esc></span> on your keyboard until the '<span class="code">=> _</span>' prompt appears. Enter; | |||
<syntaxhighlight lang="bash"> | |||
defaults | |||
</syntaxhighlight> | |||
The system will reset to factory defaults. Be patient! It takes a couple of minutes. | |||
Log in with the default user name '<span class="code">admin</span>' and the default password '<span class="code">raritan</span>'. Once logged in, you will be prompted to enter a new password. | |||
= Configure an IP address = | = Configure an IP address = | ||
Connect to the PDU's serial interface and log into the PDU. Enter; | |||
<syntaxhighlight lang="bash"> | |||
config | |||
</syntaxhighlight> | |||
Next, enter; | |||
<syntaxhighlight lang="bash"> | |||
network ipv4 ipConfigurationMode static ipAddress 10.20.2.1 subnetMask 255.255.0.0 gateway 10.20.255.254 primaryDNSServer 8.8.8.8 secondaryDNSServer 8.8.4.4 | |||
</syntaxhighlight> | |||
Now apply the change; | |||
<syntaxhighlight lang="bash"> | |||
apply | |||
</syntaxhighlight> | |||
And finally, reset the PDU. | |||
<syntaxhighlight lang="bash"> | |||
reset unit | |||
</syntaxhighlight> | |||
The unit will reboot and then you can log into the UI. | The unit will reboot and then you can log into the UI. | ||
= Access the Web Interface = | |||
From this point on, you can use the web interface to manage the PDU. | |||
{{note|1=You must connect using '<span class="code">[[https]]</span>' on port 443! (ie: <span class="code">https://10.20.2.1</span>). It does not listen for a connection on standard <span class="code">[[http]]</span>'.}} | {{note|1=You must connect using '<span class="code">[[https]]</span>' on port 443! (ie: <span class="code">https://10.20.2.1</span>). It does not listen for a connection on standard <span class="code">[[http]]</span>'.}} | ||
Line 36: | Line 81: | ||
For the <span class="code">[https://github.com/digimer/fence_raritan_snmp fence_raritan_snmp]</span> agent to work, the private SNMP community name must be set to '<span class="code">private</span>'. | For the <span class="code">[https://github.com/digimer/fence_raritan_snmp fence_raritan_snmp]</span> agent to work, the private SNMP community name must be set to '<span class="code">private</span>'. | ||
Log into the PDU's web interface. (ie: [https://10.20.2.1 https://10.20.2.1]). Enter you user name (usually '<span class="code">admin</span>') and password (default is '<span class="code">raritan</span>'). | |||
Click on '<span class="highlight_detail">Device Settings</span>' -> '<span class="highlight_detail">Network Services</span>' -> '<span class="highlight_detail">SNMP</span>'. | |||
In the '<span class="highlight_detail">Write Community String</span>', set the value to: '<span class="code">private</span>'. | |||
= Further Reading = | = Further Reading = | ||
* [http://support.raritan.com/px2/version-3.1.0/user-guides/DPX2-0O-v3.1-E..pdf PX2-3000/4000/5000 Series - Users Guide v3.1] | * [http://support.raritan.com/px2/version-3.1.0/user-guides/DPX2-0O-v3.1-E..pdf PX2-3000/4000/5000 Series - Users Guide v3.1] | ||
{{footer}} | {{footer}} |
Latest revision as of 19:56, 16 November 2016
Alteeve Wiki :: How To :: Configuring a Raritan PX2-5260A4R |
![]() |
Serial Access

The Raritan PDU has a built-in serial to USB adapter. So to connect, simply plug the USB cable into the USB-B connector on the PDU and the other end into your computer. On Linux systems, this will create the '/dev/ttyASM0' serial port device.
![]() |
Note: The m2 Anvil! installs screen on both nodes and Striker dashboards. |
We're going to use a program called screen to talk to the PDU over the serial port.
screen /dev/ttyASM0 115200
![]() |
Note: The baud rate '115200' must be defined. |
Press '<enter>' until the login prompt appears:
=> _
Connected!
Reset to defaults
![]() |
Note: You must connect to the PDU using the RS232 (DB9) port. The USB port shuts down as part of the reset process and you'll not be able to factory reset! |
Ensure that you've connected to the PDU's serial port. Using pin, press the recessed 'Reset' switch and then immediately start pressing <esc> on your keyboard until the '=> _' prompt appears. Enter;
defaults
The system will reset to factory defaults. Be patient! It takes a couple of minutes.
Log in with the default user name 'admin' and the default password 'raritan'. Once logged in, you will be prompted to enter a new password.
Configure an IP address
Connect to the PDU's serial interface and log into the PDU. Enter;
config
Next, enter;
network ipv4 ipConfigurationMode static ipAddress 10.20.2.1 subnetMask 255.255.0.0 gateway 10.20.255.254 primaryDNSServer 8.8.8.8 secondaryDNSServer 8.8.4.4
Now apply the change;
apply
And finally, reset the PDU.
reset unit
The unit will reboot and then you can log into the UI.
Access the Web Interface
From this point on, you can use the web interface to manage the PDU.
![]() |
Note: You must connect using 'https' on port 443! (ie: https://10.20.2.1). It does not listen for a connection on standard http'. |
Enabling Fencing
For the fence_raritan_snmp agent to work, the private SNMP community name must be set to 'private'.
Log into the PDU's web interface. (ie: https://10.20.2.1). Enter you user name (usually 'admin') and password (default is 'raritan').
Click on 'Device Settings' -> 'Network Services' -> 'SNMP'.
In the 'Write Community String', set the value to: 'private'.
Further Reading
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Alteeve Enterprise Support | Community Support | |
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |