It's a lot easier than..... Mayur's Weblog

Tuesday Oct 06, 2009

Below are the steps that I followed to enable Jumbo Frames and to increase the MTU from 1500 to
9000 for bge0 on a SunFire M5000 running Oracle Hyperion Essbase


­bash­3.00# ifconfig ­-a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
1
        inet 127.0.0.1 netmask ff000000
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU>
mtu 1500 index 3
        inet 199.199.224.2 ­­> 199.199.224.1 netmask ffffff00
        ether 0
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 8
        inet 10.1.15.106 netmask ffffff00 broadcast 10.1.15.255
        ether 0:21:28:1a:8b:28
­

bash­3.00# grep bge /etc/path_to_inst
"/pci@0,600000/pci@0/pci@8/pci@0/network@2" 0 "bge"
"/pci@0,600000/pci@0/pci@8/pci@0/network@2,1" 1 "bge"
­

bash­3.00# cat /etc/system
                set bge:bge_jumbo_enable = 1
­

 bash­3.00# cat /platform/sun4u/kernel/drv/bge.conf
default_mtu=9000;
name="bge" parent="/pci@0,600000" unitaddress="2" default_mtu=9000;
­

bash­3.00#reboot
­

bash­3.00# ifconfig ­-a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index
1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2
        inet 10.1.15.106 netmask ffffff00 broadcast 10.1.15.255
        ether 0:21:28:1a:8b:28
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU>
mtu 1500 index 3
        inet 199.199.224.2 ­­> 199.199.224.1 netmask ffffff00
        ether 0

Tuesday Jun 10, 2008

Ok, your team mate in India has just asked for console access for the Netra T2000
server that is sitting in the lab in Menlo Park, California.  Fret not, the answer to it
the NET MGT port can be used for exactly that purpore.

How to to set the IP address for the NET MGT port.

To connect through the network management port, use the telnet or ssh (based on
the value you provided below)

For telnet:
sc> setsc if_connection telnet

For ssh:
sc> setsc if_connection ssh

The Net management port can be activated by assigning it an IP address either by
using a static IP address, or through DHCP.

Commands to set up using a static IP address

sc> setsc netsc_dhcp false

sc> setsc netsc_ipaddr ip-address

sc> setsc netsc_ipnetmask ip-netmask

sc> setsc netsc_ipgateway ip-address

sc> resetrc

sc> shownetwork

sc> showsc

If you intend to use DHCP:
sc> setsc netsc_dhcp true

sc> resetrc

You are now ready to remotely access the consoles of your machine using telnet or ssh.
eg.

# telnet ip-address
Trying ip-address
Connected to ip-address (ip-address).
Escape character is '^]'.

Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

Sun(tm) Advanced Lights Out Manager CMT v1.6

Please login: admin
Please Enter password: *******

sc>

For one of my projects I was trying to setup LDoms on a T2000 server. To setup LDOMS we need to meet install

Solaris 10 Update 3, Build 8 or later. Also, the System Firmware needs to be 6.4 or later. The T2000 I had was from

an older lot, so the System Firmware was not up to the mark and needed to be upgraded.

Below are steps that need to followed to upgrade the System Firmware to the required level

Where can we find System Firmwares:

The best place to get firmware is from the system handbook:
http://sunsolve.sun.com/handbook_pub/Systems/

Off of the front page for each of the systems is a link to the latest firmware. For the Netra T2000:
http://sunsolve.sun.com/handbook_pub/validateUser.do?target=Systems/Netra_T2000/Netra_T2000

 Internally within Sun, System Firmwares can also be found at:

http://gates.west/biweekly/SystemFirmware/sysfw-6.6/

How to Upgrade System Firmware of a Netra T2000 Server:

Download Sun_System_Firmware-6_6_0_build_04-Netra_T2000.bin and the sysfwdownload
tool from the above location.

The below steps from 1 to 11 are from the README that comes along with the Firmware in
the Tools directory.

Assuming you have verified that your system supports this utility, follow
these steps for updating your Sun System Firmware using the sysfwdownload
utility:

1. Login to the system as root via the network using telnet
or rlogin or via the System Controller SERIAL MGT port.

2. Change directory to /tmp

# cd /tmp/

3. If there is not a subdirectory named 'images', then create it:

# mkdir images

4. Change directory to ./images

# cd images

5. Copy the 'sysfwdownload' binary and Sun System Firmware image
(e.g. Sun_System_Firmware---.bin) from the SunSolve
site to the /tmp/images directory.

6. Use the sysfwdownload utility to download the Sun System Firmware image
to the System Controller:
(In this example, we use Sun_System_Firmware-6_2_0-Sun_Fire_T2000.bin)

# /tmp/images/sysfwdownload Sun_System_Firmware-6_2_0-Sun_Fire_T2000.bin
.......... (10%).......... (20%).......... (30%).......... (41%).......... (51%).......... (61%).......... (71%).......... (82%).......... (92%)........ (100%)
Download completed successfully.

7. Wait until the download completes successfully. This should take 10-15
minutes.

8. Power off the system. (i.e. to standby mode).

a) As root, exit the OS such that the system returns to the PROM's "ok"
prompt:

# shutdown -i0
{0} ok

b) Access the System Controller command line interface (CLI). This is
accomplished using the console escape characters. (normally "#.")

{0} ok #.
sc>

c) From the System Controller CLI, issue the poweroff command
(this sequence will take about 60 seconds to completely power the
server off):

sc> poweroff
Are you sure you want to power off the system [y/n]? y
sc>
SC Alert: SC Request to Power Off Host.

SC Alert: Host system has shut down.
sc>

9. Make sure that your virtual keyswitch setting is not in the LOCKED position.
You can check the setting from the System Controller CLI with the following
command:

sc> showkeyswitch

If the virtual key switch is in LOCKED position you can change that
with the following command:

sc> setkeyswitch -y normal

10. Flash update the downloaded Sun System Firmware image:

sc> flashupdate -s 127.0.0.1

'127.0.0.1' is the default address for the local host.

As the download process progresses, a series of periods appear across your
screen.

.......................

When the download process is finished, ALOM displays the message:

Update complete. Reset device to use new software.

11. The Sun System Firmware has now been updated. For the system to use
the new firmware you must reset the System Controller.

Type the resetsc command to reset ALOM.

sc> resetsc
User Requested SC Shutdown

12. Power on the system controller.
sc> poweron

At the ok prompt type boot.

Check the current version of the System Firmware:
-----------------------------------------------------------------------------------
sc> showhost
System Firmware 6.6.0_build_04 Netra[TM] T2000 2007/12/11 20:49

Host flash versions:
OBP 4.x.build_128***PROTOTYPE BUILD*** 2007/12/11 18:29
Hypervisor 1.6.0.build_04**PROTOTYPE** 2007/12/11 18:56
Netra[TM] T2000 POST 4.x.build_128***PROTOTYPE BUILD*** 2007/12/11 18:58