Dell S6000-ON Fan-out port configuration

Using Openswitch 2.3.1 on the Dell S6000-ON I was able to configure the fan-out \ breakout port configuration but the link was not coming up on my 10G switch or on the 4 sub interfaces generated by OPX. Use the following steps to solve that issue.

Don’t quote me on this but I believe that on the Dell S6000-ON ports 13-16 and 29-32 can NOT be enabled for fan out, which makes sense because the manual says upto 96 x 10G ports using fanout. 32 ports minus those 8 leaves 24. 24×4=96

Sept 1 – Configure the 4 way port split

Note, this works if you are using a QSFP+ to 4 x SFP+ cable or a QSFP+ to QSFP+ cable or a QSFP+ to SFP+ adapter.

opx-config-fanout e101-001-0 4x1 10g

 

Step 2 – Bring up the 10G channel
ip link set up e101-001-1

 

Step 3 – Disable Auto-negotiate
opx-ethtool -s e101-001-1 autoneg off

 

Step 4 – Configure link speed to 10GB/s
opx-ethtool -s e101-001-1 speed 10000

 

Check the link is up by running ip a

ip a
...
37: e101-001-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether f4:8e:38:47:a4:79 brd ff:ff:ff:ff:ff:ff
inet6 fe80::f68e:38ff:fe47:a479/64 scope link
valid_lft forever preferred_lft forever

If you’d like to have this persist a reboot then edit /etc/network/interfaces to include the following

auto e101-001-1 allow-hotplug e101-001-1 iface e101-001-1 inet manual pre-up sudo ip link set up $IFACE pre-up sudo opx-ethtool -s $IFACE autoneg off pre-up sudo opx-ethtool -s $IFACE speed 10000

and edit /etc/opx/dn_nas_fanout_init_config.xml to include

<interfaces> <interface name="e101-001-0" fanout="4x1" speed="10G"/> </interfaces>

Bootleg HP iLO Firmware

This absolute champion is keeping the most recent firmware for most HP iLO’s available to normal humans without a super secret super expensive support contract available online.

http://pingtool.org/latest-hp-ilo-firmwares/

Re-map all printers from one server to another

Script to migrate users from one server to another

Running the below will migrate all printer connections from “OLD-SERVER” to “NEW-SERVER” While keeping the original name of the printer.

strOldServer = "OLD-SERVER"
strNewServer = "NEW-SERVER"


strComputer = "."
Set WSHNetwork = CreateObject("WScript.Network")
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colInstalledPrinters = objWMIService.ExecQuery("Select * from Win32_Printer")

strOldServer = prepServer(strOldServer)
strNewServer = prepServer(strNewServer)

For Each objPrinter in colInstalledPrinters
strName = objPrinter.Name
iPrinterLocation = InStr(UCase(objPrinter.Name),UCase(strOldServer))
If iPrinterLocation > 0 then
strPrinter = strNewServer & Right(strName, Len(strName) - Len(strOldServer))
objPrinter.Delete_
WSHNetwork.AddWindowsPrinterConnection strPrinter
If objPrinter.Default = True Then
WSHNetwork.SetDefaultPrinter strPrinter
End If
End If
Next


Function prepServer(strServer)
If Left(strServer, 2) <> "\\" then
strServer = "\\" & strServer
End If
If Right(strServer, 1) <> "\" then
strServer = strServer & "\"
End If
prepServer = strServer
End Function