Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1004884.1
Update Date:2011-05-25
Keywords:

Solution Type  Technical Instruction Sure

Solution  1004884.1 :   How To Configure the "NET MGT" Port (ALOM (Advanced Lights Out Manager) Ethernet) Port  


Related Items
  • Sun Fire V240 Server
  •  
  • Sun Fire V210 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  

PreviouslyPublishedAs
206847


Description
This Technical Instruction article describes how to configure the ALOM "NET MGT" port for use on a network.



Steps to Follow
How to configure the NET MGT (ALOM Ethernet) Port:

The hardware set up is very basic. A standard network cable with RJ45 connectors needs to be plugged into the port on the I/O panel labeled "NET MGT" with the other end connected to the network.

Note: This interface is 10HDX so please ensure that the network hardware can negotiate to that speed or be forced to 10hdx. Some older hubs/switches are 100MB only, and are unable to establish link with the ALOM ethernet port.

 There are multiple ways to configure the ALOM NET MGT port. You can establish
a tip session into the ALOM SERIAL MGT port (explained in Technical Instruction <Document: 1010563.1> or
through the use of the scadm command provided in Solaris[TM]. This article
will cover both methods.

The method assuming a tip connection to the ALOM serial port is functioning first.

1) Use the "showsc" command to show the current config.

sc> showsc
Advanced Lights Out Manager v1.0

parameter value
--------- -----
if_network true
if_modem false
if_snmp false
if_emailalerts false
sys_autorestart xir
netsc_tpelinktest true
netsc_dhcp false
netsc_ipaddr 0.0.0.0
netsc_ipnetmask 255.255.255.0
netsc_ipgateway 0.0.0.0
mgt_mailhost
mgt_mailalert
sc_customerinfo
sc_escapechars #.
sc_powerondelay false
sc_clipasswdecho true
sc_cliprompt sc
sc_clitimeout 0
sc_clieventlevel 2
sys_eventlevel 2
ser_baudrate 9600
ser_parity none
ser_stopbits 1
ser_data 8
netsc_enetaddr 00:03:ba:29:5e:34
sys_hostname
sys_enetaddr 00:03:ba:29:5e:2b
sc>

If there are prior configuration settings that need to kept intact, then proceed from this point. If unsure of what has been set and want to go back to the default settings before configuring, then issue a "setdefaults" command.

sc> setdefaults
Are you sure you want to reset the SC configuration [y/n]? y

The parameters that need to be configured to make the NET MGT port
functional are:

if_network true
netsc_tpelinktest true
netsc_dhcp false
netsc_ipaddr 0.0.0.0
netsc_ipnetmask 255.255.255.0
netsc_ipgateway 0.0.0.0

2a) Use the "setsc"command to set the needed parameters.

sc> setsc if_network true

This command enables the NET MGT port.

sc> setsc netsc_tpelinktest true

This command enable/disables the link integrity test. Please check with your network admin to see if the network hardware supports this 10BaseT standard.

Note: When set to true, in the absence of network traffic, a 100ns heartbeat
pulse is sent every 16ms within a range of +/- 8 ms. A link fail condition
is entered if the receiver does not receive a packet or a link test pulse
within 50-150 ms. The link fail condition disables the data transmit, data
receive, and loopback functions. The link test pulses continue to be
transmitted and received during the link failure. The link is reestablished
when two consecutive link test pulses or a single data packet have been
received.

sc> setsc netsc_dhcp false

This command should be set to false unless you want DHCP to obtain your network configuration, which is not part of this example.

sc> setsc netsc_ipaddr 129.148.173.27

This command sets the the unique IP address for the NET MGT port, please see the network admin to get this address.

sc> setsc netsc_ipnetmask 255.255.255.0

This command sets the netmask and will depend on the class of network, please see the network admin to get this value.

sc> setsc netsc_ipgateway 129.148.173.253

This command sets the IP address of the gateway or router, please see the network admin to get this value.

If a change is made to the "if_network" or "netsc_tpelinktest" variable, it will not change until after the next ALOM reset(sc>resetsc -y) but is otherwise not needed.

Now verify the settings with the "shownetwork" command.

sc> shownetwork
SC network configuration is:
IP Address: 129.148.173.27
Gateway address: 129.148.173.253
Netmask: 255.255.255.0
Ethernet address: 00:03:ba:29:5e:34

The ALOM NET MGT port should now be functional. If at this point if unable to telnet/ping the ip address of the ALOM, see section 3 for suggestions to verify the port.

2b) The next steps will show how to do the same configuration but with the
Solaris[TM] based "scadm" command.

Here is the usage page for the "scadm" command:

#/usr/platform/`uname -i`/sbin/scadm help

USAGE: scadm <command> [options]
For a list of commands, type "scadm help"

scadm - COMMANDS SUPPORTED
help, date, set, show, resetrsc, download, send_event, modem_setup,
useradd, userdel, usershow, userpassword, userperm, shownetwork,
loghistory, version

scadm - COMMAND DETAILS
scadm help => this message
scadm date [-s] | [[mmdd]HHMM | mmddHHMM[cc]yy][.SS] => print or set date
scadm set <variable> <value> => set variable to value
scadm show [variable] => show variable(s)
scadm resetrsc [-s] => reset SC (-s soft reset)
scadm download [boot] <file> => program firmware or [boot] monitor
scadm send_event [-c] "message" => send message as event (-c CRITICAL)
scadm modem_setup => connect to modem port
scadm useradd <username> => add SC user account
scadm userdel <username> => delete SC user account
scadm usershow [username] => show user details
scadm userpassword <username> => set user password
scadm userperm <username> [cuar] => set user permissions
scadm shownetwork => show network configuration
scadm loghistory => show SC event log
scadm version [-v] => show SC version (-v verbose)

Use the "scadm set" command to set the same variables as described above.

#scadm set if_network true

#scadm set netsc_tpelinktest true

#scadm set netsc_dhcp false

#scadm set netsc_ipaddr 129.148.173.27

#scadm set netsc_ipnetmask 255.255.255.0

#scadm set netsc_ipgateway 129.148.173.253

#scadm shownetwork
IP Address: 129.148.173.27
Gateway address: 129.148.173.253
Netmask: 255.255.255.0
Ethernet address: 00:03:ba:29:5e:34

NOTE: There is also an interactive configuration process possible through the use of the "setupsc" command, which is beyond the scope of this document.

3) Link verification

If there are issues connecting into the NET MGT port try moving the rj45 connector from the switch/hub port to one of the bge (a cluster transport adapter) interfaces. When the connection is made the link led on both the bge and NET MGT port should light.

NOTE: When the bge is setup for autonegotiation it will connect up at 10HDX and
negotiate MDI/MDX. To verify the bge is setup for autoneg run the following:

#ndd -get /dev/bge3 adv_autoneg_cap
1

1=autoneg enabled 0=no autoneg

Next configure the bge as a point to point connection to avoid routing issues.

From the above example, the Alom IP is 129.148.173.27, then config bge3 for
an ip on the same subnet.

#ifconfig bge3 plumb 129.148.173.1 129.148.173.27 up

bge3: flags=1000851<UP,POINTOPOINT,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 129.148.173.1 --> 129.148.173.27 netmask ffff0000
ether 0:3:ba:29:37:96

Next, run snoop (snoop -d bge3), and telnet from the system to the ALOM IP addr. Observe the telnet traffic in the snoop.

 1   5.58497 129.148.173.1 -> (broadcast)  ARP C Who is 129.148.173.27,
129.148.173.27 ?
2   0.00079 129.148.173.27 -> 129.148.173.1 ARP R 129.148.173.27,
129.148.173.27 is 0:3:ba:29:37:9c
3   0.00017 129.148.173.1 -> 129.148.173.27 TELNET C port=32818
4   0.00149 129.148.173.27 -> 129.148.173.1 TELNET R port=32818
5   0.00009 129.148.173.1 -> 129.148.173.27 TELNET C port=32818
6   0.00039 129.148.173.1 -> 129.148.173.27 TELNET C port=32818
7   0.00238 129.148.173.27 -> 129.148.173.1 TELNET R port=32818
8   0.00005 129.148.173.1 -> 129.148.173.27 TELNET C port=32818 

If you do not see led lights on the bge or NET MGT port then try another cable. If there is a link but no response in snoop check the configuration or suspect a port issue.



Product
Sun Fire V240 Server
Sun Fire V210 Server

Internal Comments
To generate traffic from the netmgt port, the ping command can be used. To enable ping on alom use the following commands.


sc> setsc sc_servicemode true

Warning: misuse of this mode may invalidate your warranty.

sc> ping 192.168.1.1


ALOM, v210, v240, NET MGT
Previously Published As
72110

Change History
Date: 2011-05-24
User name: Dencho Kojucharov
Action: Currency check
Comments: audited by Entry-Level SPARC Content Lead
Date: 2009-12-01
User Name: Anthony Rulli
Action: updated
Comment: currency check, audited by Anthony Rulli, Entry Level SPARC Content team

Action: Update Canceled
Comment: *** Restored Published Content *** Just fixed tag, not anything in doc.
Version: 0
Date: 2005-09-23
User Name: 7058
Action: Update Started
Comment: fixing missing tech group
Version: 0
Date: 2005-06-27
User Name: 95826
Action: Update Canceled

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback