Archive for December, 2008

ADDING NEW DISK:
-first show all attached targets
# cfgadm -al
root@solaris10 # cfgadm -al
Ap_Id                          Type         Receptacle   Occupant     Condition
c0                             scsi-bus     connected    configured   unknown
c0::dsk/c0t0d0                 CD-ROM       connected    configured   unknown
c1                             scsi-bus     connected    configured   unknown
c1::dsk/c1t0d0                 disk         connected    configured   unknown
c1::sg/c0t0l0                  unknown      connected    configured   unknown
c1::sg/c0t1l0                  unknown      connected    configured   unknown
c2                             scsi-bus     connected    configured   unknown
c2::rmt/0                      tape         connected    configured   unknown
c2::sg/c0t5l0                  unknown      connected    configured   unknown
c3                             fc           connected    unconfigured [...]

CONFIGURE TAPE:
cfgadm -c configure c3
cfgadm -o show_FCP_dev -al
cfgadm -o show_SCSI_LUN -al
cfgadm -o unusable_FCP_dev -c unconfigure c3::500104f0008aa432
cfgadm -c unconfigure c3::500104f0008aa531
cfgadm -alo show_FCP_dev
luxadm -e port            >>To show link status of card
luxadm -e forcelip
luxadm -e forcelip /dev/cfg/c3
luxadm -e dump_map /dev/cfg/c3
devfsadm -C
# luxadm probe
# prtconf -vp | grep wwn
# prtconf -vp | more
# luxadm -e port
# luxadm [...]

To bind an IP address to a Network Interface Card
#ifconfig –a   >> to check the configuration
#ifconfig qfe0 plumb   >> to enable the first Network Interface Card
#ifconfig qfe0 <ip address> netmask <subnet> up  >>to bind IP address, subnet, and enable the configuration
Create a file on /etc directory – hostname.qfe0 with hostname entry
Add entry on /etc/netmasks if [...]