Posts

replacing an HBA card on Sun Sparc server-solaris 10

There was problem with one of the port of HBA port on the dual port HBA card as shown below: root@river03s:/root# fcinfo hba-port HBA Port WWN: 2100003xxxxxxxxxxxxx OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: QLE2462 Firmware Version: 4.0.27 FCode/BIOS Version: QLE2462  Host Adapter FCode(SPARC): 1.26  05/17/07 Type: unknown State: offline Supported Speeds: 1Gb 2Gb 4Gb Current Speed: not established Node WWN: 200000exxxxxxxxxx HBA Port WWN: 200100exxxxxxxxxx OS Device Name: /dev/cfg/c3 Manufacturer: QLogic Corp. Model: QLE2462 Firmware Version: 4.0.27 FCode/BIOS Version: QLE2462  Host Adapter FCode(SPARC): 1.26  05/17/07 Type: N-port State: online Supported Speeds: 1Gb 2Gb 4Gb Current Speed: 4Gb Node WWN: 200010exxxxxxxxxx Status of the disk paths as shown below: root@river03s:/root# mpathadm show lu /dev/rdsk/c4t6006048000028797069453594D323332d0s2 Logical Unit:  /dev/rdsk/c4t60060xxxxxxxxxxxxxxx2d0s2 mpath-sup...

changing file descriptors on solaris OS

Changing ulimit file descriptors: change /etc/profile and add ulimit -n 1024 and /etc/system # Hard limit on file descriptors for single process set rlim_fd_max = 2048 # Soft limit on the file descriptors for a single process set rlim_fd_cur = 1024

configuring jumbo frames on the SUN SPARC Enterprise T5240 nxge interface

It will be worth to provide some background about jumbo frames. The maximum transmission unit (MTU) is the size (in bytes) of the largest protocol data unit that it can pass onwards. MTU parameters usually appear in association with a communications interface (NIC, serial port, etc.). The MTU may be fixed by standards (as is the case with Ethernet) or decided at connect time (as is usually the case with point-to-point serial links). A higher MTU brings greater efficiency because each packet carries more user data while protocol overheads, such as headers or underlying per-packet delays remain fixed, and higher efficiency means a slight improvement in bulk protocol throughput. However, large packets can occupy a slow link for some time, causing greater delays to following packets and increasing lag and minimum latency. For example, a 1500 byte packet, the largest allowed by Ethernet at the network layer (and hence most of the Internet), would tie up a 14.4k modem for a...

ifconfig command

Description The command ifconfig is used to assign an address to a network interface and to configure network interface parameters. The ifconfig command must be used at boot time to define the network address of each interface present on a machine; it may also be used at a later time to redefine an interface's address or other operating parameters. If no option is specified, ifconfig displays the current configuration for a network interface. If an address family is specified, ifconfig reports only the details specific to that address family. Only privileged users may modify the configuration of a network interface. Options appearing within braces ( { } ) indicate that one of the options must be specified. DHCP Configuration The forms of ifconfig that use the auto-dhcp or dhcp arguments are used to control the Dynamic Host Configuration Protocol (“DHCP”) configuration of the interface. In this mode, ifconfig is used to control operation of dhcpagent(1M) , the DHCP c...

NFS TroubleShooting

This article will help you to understand some of the basic troubleshooting instructions for NFS problems … 1. Determine the NFS version: To determine what version and transport of NFS is currently available, run rpcinfo on the NFS server. # rpcinfo -p | grep 100003 100003 2 udp 0.0.0.0.8.1 nfs superuser 100003 3 udp 0.0.0.0.8.1 nfs superuser 100003 2 tcp 0.0.0.0.8.1 nfs superuser 100003 3 tcp 0.0.0.0.8.1 nfs superuser he second column above is the NFS version, the third column is the transport protocol. Sun has implemented the following versions of NFS on it’s operating systems, for both client and server: OS Version NFSv2 NFSv3 NFSv4 SunOS UDP     Solaris[TM] 2.4 and below UDP     Solaris[TM] 2.5,2.6,7,8,9 UDP and/or TCP UDP and/or TCP   Solaris[TM] 10 UDP and/or TCP UDP and/or TCP TCP* *The UDP transport is not supported in NFSv4, as it does not contain the required congestion control ...

nfsstat can be used to examine NFS performance.

nfsstat -s reports server-side statistics. In particular, the following are important: calls : Total RPC calls received. badcalls : Total number of calls rejected by the RPC layer. nullrecv : Number of times an RPC call was not available even though it was believed to have been received. badlen : Number of RPC calls with a length shorter than that allowed for RPC calls. xdrcall : Number of RPC calls whose header could not be decoded by XDR (External Data Representation). readlink : Number of times a symbolic link was read. getattr : Number of attribute requests. null : Null calls are made by the automounter when looking for a server for a filesystem. writes : Data written to an exported filesystem. Sun recommends the following tuning actions for some common conditions: writes > 10% : Write caching (either array-based or host-based, such as a Prestoserv card) would speed up operation. badcalls >> 0 : The network may be overloaded and should be ch...

Administering Multipathing Devices Through mpathadm Commands

The Sun Solaris OS multipathing support can be determined and configured by using mpathadm commands. Starting with Solaris 10 Update 3, the mpathadm command enables multipathing administration through the ANSI standard Multipath Management API. The terms used in this chapter to denote a path, initiator port, target port, and logical unit are consistent with the T10 specification. This chapter contains the following sections: To Get a List of Multipathing Support That Can Be Administered by the mpathadm Command The multipathing support is identified with the Multipath Management API plug-in library name. Run the mpathadm list mpath-support command. # mpathadm list mpath-support mpath-support: libmpscsi_vhci.so (Only one result is shown in the preceding example.)   To Get the Multipathing Support Properties The multipathing support properties are associated with Multipath Management API plug-in properties. 1. Run the mpathadm list mpat...