Thursday, October 25, 2012

Change network speed and duplex mode on Solaris 10

When I try to FTP some files using an interface, the speed is unexpectedly slow. Then I try to see the network interfaces status:

root@sunserver # dladm show-dev
nxge0           link: down      speed: 0     Mbps       duplex: unknown
nxge1           link: down      speed: 0     Mbps       duplex: unknown
nxge2           link: unknown   speed: 0     Mbps       duplex: unknown
nxge3           link: unknown   speed: 0     Mbps       duplex: unknown
igb0            link: up        speed: 100   Mbps       duplex: half
igb1            link: unknown   speed: 0     Mbps       duplex: half
igb2            link: up        speed: 100   Mbps       duplex: full
igb3            link: up        speed: 1000  Mbps       duplex: full


Seems 100 Half is a wrong setting. Since the speed is set by auto negotiation mode, we have to change it manually:

First, check the interface properties by "ndd":
root@sunserver # ndd -get /dev/igb0 ?
?                             (read only)
mtu                           (read and write)
min_allowed_mtu               (read only)
max_allowed_mtu               (read only)
adv_autoneg_cap               (read and write)
adv_1000fdx_cap               (read and write)
adv_1000hdx_cap               (read only)
adv_100fdx_cap                (read and write)
adv_100hdx_cap                (read and write)
adv_10fdx_cap                 (read and write)
adv_10hdx_cap                 (read and write)
adv_100T4_cap                 (read only)
link_status                   (read only)
link_speed                    (read only)
link_duplex                   (read only)
autoneg_cap                   (read only)
pause_cap                     (read only)
asym_pause_cap                (read only)
1000fdx_cap                   (read only)
1000hdx_cap                   (read only)
100fdx_cap                    (read only)
100hdx_cap                    (read only)
10fdx_cap                     (read only)
10hdx_cap                     (read only)
lp_autoneg_cap                (read only)
lp_pause_cap                  (read only)
lp_asym_pause_cap             (read only)
lp_1000hdx_cap                (read only)
lp_1000fdx_cap                (read only)
lp_100fdx_cap                 (read only)
lp_100hdx_cap                 (read only)
lp_10fdx_cap                  (read only)
lp_10hdx_cap                  (read only)
link_autoneg                  (read only)
tx_copy_thresh                (read and write)
tx_recycle_thresh             (read and write)
tx_overload_thresh            (read and write)
tx_resched_thresh             (read and write)
rx_copy_thresh                (read and write)
rx_limit_per_intr             (read and write)
intr_throttling               (read and write)
adv_pause_cap                 (read only)
adv_asym_pause_cap            (read only)


As those "read only" properties are not useful, let's filter out further:

Thursday, October 11, 2012

SUN Cluster (3.3) installation screen dump

Just a screen dump of the installation. Assumed the Solaris 10 is installed and media of the cluster is ready.

Just a screen dump of the installation. Assumed the Solaris 10 is installed and media of the cluster is ready.

# cd 
# ./installer

Unable to access a usable display on the remote system. Continue in command-line mode?(Y/N)

Y

Java Accessibility Bridge for GNOME loaded.

 

 

Monday, October 08, 2012

Symmetrix Command Line

My current job needs to take care of some EMC storages, from DMX to VMAX (also some Clariion/VNX and Celerra). Since I forget all the symcli commands, I created the following tables for quick reference (the table will be updated time to time...) :

symcfg list -sid -v

symcfg list -sid -applications

symcfg list -sid -connections
symcfg list -sid -connections -sorthost        
symcfg list -sid -connections -capacity

symcfg -dir all list -sid
symcfg -dir all list -sid -address
symcfg -dir all list -sid -address -available

 symcfg -sa all list -sid
 symcfg -da all list -sid
SA: fc address
DA: disk address
symcfg -fa all list -sid
symcfg -fa all list -sid -port
check wwn and fibre connection
 symcfg -sid  list -memory
Memory board
symcfg list -upatches -sid 
Patches
symcfg -sid  list -env_data
 symcfg show -sid  SystemBay -env_data
Hardware check
symcfg list -pools -sid
 symcfg list -pools -sid -gb

symcfg list -pools -sid 3281 -gb -detail -thin
Thin pool only
 symcfg list -datadev -sid 1226
 symcfg list -datadev -sid 1226 -range 0000:0001
 symcfg list -datadev -sid 1226 -range 0000:0001 -dev
 symcfg show -pool <> -thin -gb -detail


Thin pool only
 symcfg -sid $SID list -rdfg all
 symcfg -sid $SID list -rdfg all -rdfa





   
 symconfigure -sid $SID list -freespace

 symdev list -sid $SID -da all -space
symdev list -FA 7E -sid $SID (can use symcfg list -dir ALL to check)
 symdisk list -sid $SID -da <> (can use sycmfg list -da all to check)

sympd list -sid $SID
 sympd list -sid $SID -v

symdev list -inventory

 symdisk  -sid $SID show 7A:C4
 symdisk list -sid $SID -da
symdisk list -sid $SID -by_diskgroup


Monday, January 10, 2011

Omnibus Installation

Recently I have project related to IBM Tivoli Netcool/Omnibus (Omnibus). So, first of all, we have to install the omnibus on my testing Suse server:


Sunday, January 09, 2011

ITM product code

Recently I am doing projects related to IBM Tivoli products. One of them is the IBM Tivoli Montoring (ITM). To check which products are installed and running. There is a tool "cinfo", but it only shows the product code, which is not very meaningful. 


Therefore I try to search a product code list for reference: