Thursday, September 16, 2010

How to savecore in solaris

0 komentar
usually if the system is experiencing panic, then the investigation which is conducted from the coredump, but sometimes not coredump file is created .. follows the steps to be able to make the coredump file


root # tail -f /var/adm/messages | grep savecore
Sep 14 11:08:58 myserver savecore: not enough space in /var/crash/myserver (2094 MB avail, 3634 MB needed)

hohoho...size in /var not enough for save this coredump..

root # df -h /tmp
swap 47G 255M 46G 1% /tmp
root # mkdir /tmp/corecore
root # cd /tmp/corecore
root # savecore -Ld .
dumping to /dev/dsk/c0t9d0s0, offset 65536, content: kernel
100% done: 282920 pages dumped, compression ratio 4.86, dump succeeded
System dump time: Tue Sep 14 13:38:16 2010
Constructing namelist ./unix.0
Constructing corefile ./vmcore.0
100% done: 282920 of 282920 pages saved
root #

savecore with option :
-L Save a crash dump of the live
running Solaris system, without actually rebooting
or altering the system in any way.
-d Disregard dump header valid flag. Force
savecore to attempt to save a crash dump
even if the header information stored on the
dump device indicates the dump has already
been saved.

--- $ ---
Read More..

Adding size volume existing in veritas

0 komentar
Today i have request from customer for add size mountpoint in veritas environment, Ok lets begin..

Name Disk Group : serverdg
Name Volume : logging

1. Check free size in disk group serverdg

root # vxassist -g serverdg maxsize
Maximum volume size: 472766464 (230843Mb)

2. Add size 5 Gb as requested by user
root # vxresize -g rb34dg log 5g
UX:vxfs fsadm: ERROR: V-3-23544: sectors must be >= 62914561 as they are currently in use.
VxVM vxresize ERROR V-5-1-7514 Problem running fsadm command for volume log, in diskgroup serverdg
root #
Based on the description on the web Symantec, error V-3-23544 (The vxresize command will produce the V-3-23544 error message when the target size is too small for file space currently in use.) resolution : Adjust the resize command plus '+' sign.

root # vxresize -g rb34dg log +5g
UX:vxfs fsadm: ERROR: V-3-20340: attempt to resize /dev/vx/rdsk/serverdg/logging failed with errno 28
UX:vxfs fsadm: ERROR: V-3-23643: Retry the operation after freeing up some space
VxVM vxresize ERROR V-5-1-7514 Problem running fsadm command for volume log, in diskgroup serverdg
root #

ehm..check size filesystem :
root # df -h | grep log
/dev/vx/dsk/serverdg/logging 30G 30G 0K 100% /productions/var/log

ok..for solving this case, first must be clean up filesystem until below 100% from application customer side..after that execute again a command vxresize.
root # vxresize -g rb34dg log +5g
root #
root # df -h | grep log
/dev/vx/dsk/serverdg/logging 35G 30G 5.3G 85% /productions/var/log
Read More..

Wednesday, March 03, 2010

Setting SC SunFire T2000

0 komentar
gandevtuna.blogspot.com


Langkah-langkahnya sebagai berikut :
1. Connect ke serial management port (lihat gambar diatas)
2. Masukan User + password
3. Mulai setup System Console

sc> setupsc
Entering Interactive setup mode. To exit and discard changes to that point, use Ctrl-C or to exit and save changes to that point, use Ctrl-Z.
Do you wish to configure the enabled interfaces [y]? y


Should the SC network interface be enabled [y]? y
Should the SC email alerts be enabled [y]? n
Do you wish to configure the network interface [y]? y
Should the SC use DHCP to obtain its network configuration [n]? n
Enter the SC IP address [100.100.100.100]? 192.168.1.248
Enter the SC IP netmask [255.255.255.0]? 255.255.255.0
Enter the SC IP gateway address [100.100.100.100]? 192.168.1.1
Do you wish to configure the network management interfaces [y]? y
Enter the number of mail servers to configure [0]? 0
Do you wish to configure the SC parameters [y]? y
Enter any customer data for this platform (maximum of 40 characters) []? MyCompany
Enter the console session escape sequence (2 characters). The first character can be any printable characters or control-A through control-Y except for control-C, control-D, control-H, control-J, or control-M. The second character must be a ".". [#.]? #.
Enter level of events to be displayed over the CLI where valid settings are 0 (none), 1 (critical), 2 (critical and major) and 3 (critical, major and minor) [2]? 2
Should poweron sequencing be enabled [y]? y
Enter the SC cli prompt (maximum of 16 characters) [sc]? Myhost-sc
Enter the SC CLI timeout in seconds (maximum of 10000s) [0]? 0
Should password entry echo '*'s [y]? y
Your ALOM configuration profile has been successfully completed. To activate your network configuration, please reset the SC.

sc> resetsc
Are you sure you want to reset the SC [y/n]? y
User Requested SC Shutdown

ALOM POST 1.0


Dual Port Memory Test, PASSED.

TTY External - Internal Loopback Test

TTY External - Internal Loopback Test, PASSED.

TTYC - Internal Loopback Test

TTYC - Internal Loopback Test, PASSED.

TTYD - Internal Loopback Test

TTYD - Internal Loopback Test, PASSED.

Memory Data Lines Test
Memory Data Lines Test, PASSED.

Memory Address Lines Test
Slide address bits to test open address lines
Test for shorted address lines
Memory Address Lines Test, PASSED.

Boot Sector FLASH CRC Test
Boot Sector FLASH CRC Test, PASSED.



Return to Boot Monitor for Handshake
ALOM POST 1.0
Status = 00007fff

Returned from Boot Monitor and Handshake



Loading the runtime image... VxWorks running. Starting Advanced Lights Out Manager CMT v1.1.6 Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Current mode: NORMAL
Attaching network interface lo0... done.
Attaching network interface motfec0.... done. Booting from Segment 0

SC Alert: SC System booted.


Full VxDiag Tests

BASIC TOD TEST
Read the TOD Clock: SUN AUG 11 18:40:27 2002
Wait, 1 - 3 seconds
Read the TOD Clock: SUN AUG 11 18:40:29 2002
BASIC TOD TEST, PASSED

ETHERNET CPU LOOPBACK TEST
50 BYTE PACKET - a 0 in field of 1's.
50 BYTE PACKET - a 1 in field of 0's.
900 BYTE PACKET - pseudo-random data.
ETHERNET CPU LOOPBACK TEST, PASSED

Full VxDiag Tests - PASSED

login :
password:

MyHost-sc >
Read More..

Setting RSC SunFire V890

1 komentar
Berikut cara setting RSC (Remote System Console) untuk server SF V890 :

1. Login as root
2. Go to folder rsc
root # cd /usr/platform/`uname -i`/rsc
3. Do configure RSC
root # ./rsc-config


Continue with RSC setup (y|n): y

Set RSC date/time now (y|n|?) [y]:
Server Hostname [SFV890-SC]:
Edit customer info field (y|n|?) [n]:
Enable RSC Ethernet Interface (y|n|s|?) [n]: y
RSC IP Mode (config|dhcp|?) [dhcp]: config
RSC IP Address []: 192.168.1.10
RSC IP Netmask [255.255.255.0]:
RSC IP Gateway []: 192.168.1.1
Enable RSC Alerts (y|n|s|?) [n]: y
Enable Email Alerts (y|n) [n]:
Enable RSC Serial Port Interface (y|n|s|?) [n]: y
Serial port baud rate (9600|19200|38400|57600|115200) [9600]:
Serial port data bits (7|8) [8]:
Serial port parity (even|odd|none) [none]:
Serial port stop bits (1|2) [1]:
Setup RSC User Account (y|n|?) [y]:
Username []: admin
User Permissions (c,u,a,r|none|?) [cuar]:



--------------------
Verifying Selections
--------------------


General Setup
-------------
Set RSC date now = y
Server Hostname = SFV890-SC
Set Customer Info = n

Is this correct (y|n): y



Ethernet Setup
--------------
IP Mode = config
IP Address = 192.168.1.10
IP Netmask = 255.255.255.0
IP Gateway = 192.168.1.1

Is this correct (y|n): y



Alert Setup
-----------
Email Enabled = n

Is this correct (y|n): y



Serial Port Setup
-----------------
Serial Port Baud = 9600
Serial Port Data Bits = 8
Serial Port Parity = none
Serial Port Stop Bits = 1


Is this correct (y|n): y



User Setup
----------
User Name = admin
User Permissions = cuar

Is this correct (y|n):y


This script will now update RSC, continue? (y|n): y
Updating flash, this takes a few minutes
........................................
........................................
........................................
........................................
........................................
........................................
........................................
...........................
Download completed successfully

Resetting RSC (takes about 90 seconds): DONE
Setting up server to update RSC date on boot: DONE
Setting up server hostname: DONE
Setting up ethernet interface: DONE
Disabling e-mail alerts: DONE
Disabling pager alerts: DONE
Disabling modem interface: DONE
Setting up serial port interface: DONE
Adding user to RSC:

rscadm: user already exists



when this script completes,
use the rscadm command to correct the error.

Resetting RSC (takes about 90 seconds):
Are you sure you want to reboot RSC (y/n)? y
DONE
Setting up RSC date: DONE

*******************************
RSC has been successfully setup
*******************************
root#

4. DONE
Read More..

Tuesday, February 02, 2010

Setting NTP linux

6 komentar
Server NTP menggunakan solaris, dengan ip 192.168.1.20. Sedangkan client menggunakan linux (Red Hat Linux release 9 (Shrike)). Yang saya bahas disini disisi client.

1. masukan ip server ntp ke ntp konfigurasi client
root # vi /etc/ntp.conf
--------truncated --------
dibaris paling bawah masukan ip ntp server

server 192.168.1.20


2. restart service ntp
root # service ntpd restart
ntpd: Removing firewall opening for NTP-server port 123 [ OK ]
Shutting down ntpd: [ OK ]

3. check hasil
root# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) LOCAL(0) 10 l 63 64 377 0.000 0.000 0.008
192.168.1.20 0.0.0.0 16 u - 512 0 0.000 0.000 4000.00

root# date
Tue Feb 2 15:28:15 WIT 2010

4. Kalau tidak update, gunakan command berikut
root # ntpdate -u 192.168.1.20


Read More..

Tuesday, January 26, 2010

Exclude file or directory in Tar Command

0 komentar
http://gandevtuna.blogspot.com


Kemarin dapet request untuk buat user baru dari user sysadmin ke sysadmin1, semua harus identik sama dan ada directory yang jangan dimasukan beserta isinya pada saat proses create user ini,tapi kalau sudah selesai directory ini harus ada...


Setelah mencari di buku primbon, untuk meng-exclude folder pada saat copy paste di solaris ternyata gak ada atau belum pernah melakukannya..Dengan bantuan server development akhir didapat ramuan command yang ampuh. Berikut langkah-langkahnya :

1. Create User sysadmin1
root@localhost # useradd -u 1009 -g 1 -d /export/home/sysadmin1 -m -s /bin/bash -c "User Sysadmin1" sysadmin1
64 blocks

2. Create password for user sysadmin1
root@localhost # passwd sysadmin1
New Password:
Re-enter new Password:
passwd: password successfully changed for sysadmin1

3.create exclude file or directory
root@localhost # vi /tmp/exclude
./logs/
~
~
~
~
~
~
"/tmp/exclude" [New file] 1 line, 10 characters

4. Copy contents of sysadmin home to sysadmin1 home directory
root@localhost # cd /export/home/sysadmin;tar cvXf /tmp/exclude - . | (cd /export/home/sysadmin1; tar xfBp -)
a ./ 0K
a ./root_pts_2 3K
a ./root_pts_2_20091112191039_LOGOUT 1K
a ./root_pts_2_20091112191117_LOGOUT 4K
a ./root_pts_1 21K
---- truncated ----
a ./logs excluded
root@localhost #

5. Verify contents and modify if any changes


Selamat mencoba

Read More..

Tuesday, January 19, 2010

can't edit cron solaris 10

0 komentar



This morning, there is a problem with the cron service misuse of one production server. Initial plan to edit the crontab file for user applications, but strange when doing cron-e that the contents of the file does not exist and can not add and insert the command in cron.

1. Check list file crontab
user_aplication@localhost # crontab -l
0 23 * * * /u02/applprod/backup_daily.sh
09 06 * * * /u02/applprod/backup_daily_up.sh

2. Try add and insert command
user_aplication@localhost # crontab -e
0

86
? [

(press ctrl+d, exit from editor cron)
user_aplication@localhost #

3. Check service cron
user_aplication@localhost # svcs cron
STATE STIME FMRI
online 9:08:01 svc:/system/cron:default

4. Solving problem,
a. edit file crontab
user_aplication@localhost # vi /var/spool/cron/crontabs/user_aplication
0 23 * * * /u02/applprod/backup_daily.sh > /dev/null 2>&1
09 06 * * * /u02/applprod/backup_daily_up.sh > /dev/null 2>&1

:wq!

b. refresh daemon cron
user_aplication@localhost # svcadm disable svc:/system/cron:default
user_aplication@localhost # svcadm enable svc:/system/cron:default

5. done

picture from googling..
Read More..

Monday, January 18, 2010

How to upgrade firmware Lom and SB in Sun E2900

0 komentar


lom>showboards -p v

Component Compatible Version
--------- ---------- -------
SSC1 Reference 5.20.3 Build_03
/N0/IB6 Yes 5.20.3 Build_03
/N0/SB0 Yes 5.20.13 Build_01
/N0/SB2 Yes 5.20.3 Build_03
/N0/SB4 Yes 5.20.6 Build_02

lom>showsc -v

SC: SSC1
System Controller V2

SC date: Fri Jan 15 02:16:00 PST 2008
PST GMT-08:00 Pacific Standard Time
SC uptime: 6 minutes 26 seconds

ScApp version: 5.20.3 Build_03
Version build: 3.0
Version String: 5.20.3
RTOS version: 46

SC POST diag level: max

Clock source is: 75MHz

Solaris Host Status: Powered Off

Chassis HostID: 845xxxxx
PROC RTUs installed: 0
PROC Headroom Quantity: 0
lom>


lom>showboards -p version -v

Component Segment Compatible In Date Time Build Version
--------- ------- ---------- -- ---- ---- ----- -------
SSC1/FP0 - - - - - - RTOS version: 46
SSC1/FP1 ScApp Reference 12 10/21/2006 06:38 3.0 5.20.3
SSC1/FP1 Ver - - 10/21/2006 06:38 3.0 5.20.3 Build_03
/N0/IB6/FP0 iPOST Yes 12 10/21/2006 06:36 3.0 5.20.3
/N0/IB6/FP0 Ver - - 10/21/2006 06:38 3.0 5.20.3 Build_03
/N0/IB6/FP0 Info - 12 10/21/2006 06:38 3.0 5.20.3
/N0/SB0/FP0 POST Yes 12 06/04/2009 02:44 1.0 5.20.13
/N0/SB0/FP0 OBP Yes 12 06/04/2009 02:43 1.0 5.20.13
/N0/SB0/FP0 Ver - - 06/04/2009 02:46 1.0 5.20.13 Build_01
/N0/SB0/FP0 Info - 12 06/04/2009 02:46 1.0 5.20.13
/N0/SB0/FP1 POST Yes 12 06/04/2009 02:44 1.0 5.20.13
/N0/SB0/FP1 OBP Yes 12 06/04/2009 02:43 1.0 5.20.13
/N0/SB0/FP1 Ver - - 06/04/2009 02:46 1.0 5.20.13 Build_01
/N0/SB0/FP1 Info - 12 06/04/2009 02:46 1.0 5.20.13
/N0/SB2/FP0 POST Yes 12 10/21/2006 06:25 3.0 5.20.3
/N0/SB2/FP0 OBP Yes 12 10/21/2006 06:21 3.0 5.20.3
/N0/SB2/FP0 Ver - - 10/21/2006 06:29 3.0 5.20.3 Build_03
/N0/SB2/FP0 Info - 12 10/21/2006 06:29 3.0 5.20.3
/N0/SB2/FP1 POST Yes 12 10/21/2006 06:25 3.0 5.20.3
/N0/SB2/FP1 OBP Yes 12 10/21/2006 06:21 3.0 5.20.3
/N0/SB2/FP1 Ver - - 10/21/2006 06:29 3.0 5.20.3 Build_03
/N0/SB2/FP1 Info - 12 10/21/2006 06:29 3.0 5.20.3
/N0/SB4/FP0 POST Yes 12 05/23/2007 08:56 2.0 5.20.6
/N0/SB4/FP0 OBP Yes 12 05/23/2007 08:54 2.0 5.20.6
/N0/SB4/FP0 Ver - - 05/23/2007 08:57 2.0 5.20.6 Build_02
/N0/SB4/FP0 Info - 12 05/23/2007 08:57 2.0 5.20.6
/N0/SB4/FP1 POST Yes 12 05/23/2007 08:56 2.0 5.20.6
/N0/SB4/FP1 OBP Yes 12 05/23/2007 08:54 2.0 5.20.6
/N0/SB4/FP1 Ver - - 05/23/2007 08:57 2.0 5.20.6 Build_02
/N0/SB4/FP1 Info - 12 05/23/2007 08:57 2.0 5.20.6


Based on this information, SB0 have version 5.20.13, SB2 have version 5.20.3 and SB4 have 5.20.6 firmware version. RTOS has firmware version 5.20.3 as well, then we will upgrade all the components into versions 5.20.14. Below are step by step :

1. Download Patch 114527-15

2. Save the file on an internal server (the server that is still a network with the server firmware to be upgraded.

3. flashupdate -f ftp://root:jadulbanget@192.168.12.101///tmp/114527-15/114527-15 scapp rtos

As part of this update, the system controller will automatically reboot.
RTOS will be upgraded automatically during the next boot.
ScApp will be upgraded automatically during the next boot.
Rebooting will interrupt any current operations.
This includes keyswitch changes, Solaris reboots
and all current connections.

Do you want to continue? [no] yes

Waiting for critical processes to finish. This may take a while.
Critical processes have finished.
No boards can be updated.

Rebooting the SC to automatically complete the upgrade.

Rebooting. All network client connections closed. Reestablish any needed connections.
Fri Jan 15 02:21:21 app1lom lom: Stopping all services on this SC
Fri Jan 15 02:21:21 app1lom lom: All services on this SC have been stopped.


Software Reset...


@(#) SYSTEM CONTROLLER(SC) POST 46 2006/09/26 07:52
PSR = 0x044010e5
PCR = 0x04004000

Memory size = 128MB

SelfTest running at DiagLevel:0x20

SC Boot PROM Test
BootPROM CheckSum Test
IU Test
IU instruction set Test
Little endian access Test
FPU Test
FPU instruction set Test
SparcReferenceMMU Test
SRMMU TLB RAM Test
SRMMU TLB Read miss Test
SRMMU page probe Test
SRMMU segment probe Test
SRMMU region probe Test
SRMMU context probe Test
IIep Internal Cache Test
DCACHE RAM access Test
DCACHE TAG access Test
DCACHE Read miss Test
DCACHE Read hit Test
DCACHE Write miss Test
DCACHE Write hit Test
ICACHE RAM access Test
ICACHE TAG access Test
ICACHE miss Test
ICACHE hit Test
ICACHE TAG flush Test
PCIC Test
PCIC Probe Test
PCIC Config Register Access Test
PCI Master Abort Test
PCIC Init Test
Memory Test
Memory Address Test
MemBankAddrTest: start address = 0x00010000
MemBankAddrTest: start address = 0x04000000
MemBankAddrTest: start address = 0x08000000
MemBankAddrTest: start address = 0x0c000000
RIO Ebus Test
Rio Ebus Probe Test
RIO Ethernet Test
Rio Enet Probe Test
Rio Ethernet Int Loopbacks Test
DUART(16552) InterSC Test
Loopback Test
COM3 port
COM4 port
Interrupt Test
COM3 port _ Intr #2

COM4 port _ Intr #2

System Clock Test
System Clock verify Test
Board0 Clock is selected
75MHZ Fixed Crystal is the selected Clock Source
CLK(Self) :0x0000ffff CLK(Other) : 0x00000000
REF : 0x00002229
CLOCK(SELF) FREQ : 74.99 MHZ
CLOCK(OTHER) FREQ : 0.0 MHZ
SBBC PCI Controller Test
SBBC PCI Config Space probe Test
SBBC Internal Reg Access Test
SBBC Interrupts Test
Port1 interrupt generation Tests INTR #14

Port0 interrupt generation Tests INTR #14

SBBC Device0 Test
PS Fail Reg(SBBC Dev0) Test
SBBC Device1 Test
SRAM (SBBC Dev1) Test
Memory Address Test (Non-destructive)
SBBC Device2 Test
BId&MFG Reg (SBBC Dev2) Test
SBBC Device3 Test
FRU Prsnt Reg (SBBC Dev3) Test
SBBC Device5 Test
EPLD (SBBC Dev5) Test
TOD(M48T59) Test
TOD Init Test
TOD Functional Test
TOD NVRAM(Non-Destructive) Test
TOD Interrupts Test
I2C Register Access Test
Enable Mux Register Test
Channel Mux Register Test
Add Command Register Test
Data Register Test
Local I2C AT24C64 Test
EEPROM Device Test
performing eeprom sequential read

Local I2C PCF8591 Test
VOLT_AD Device Test
channel[00000001] Voltage(0x0000009B) :1.51
channel[00000002] Voltage(0x0000009C) :3.35
channel[00000003] Voltage(0x0000009A) :5.1
channel[00000004] Voltage(0x00000000) :0.0
Local I2C LM75 Test
TEMP0(IIep) Device Test
Temperature : 24.0 Degree(C)

Local I2C LM75 Test
TEMP1(Rio) Device Test
Temperature : 22.50 Degree(C)

Local I2C LM75 Test
TEMP2(CBH) Device Test
Temperature : 29.50 Degree(C)

Local I2C PCF8574 Test
Sc CSR Device Test
Console Bus Hub Test
CBH Register Access Test
POST Complete.
ERI Device Present
Using SCC MAC address
MAC address is 0:13:4e:5a:2a:6f
Hostname: mylom
Address: 192.168.22.10
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 192.168.22.1
interrupt: 100 Mbps full duplex link up



Flashupdate
Verifying network connectivity to 192.168.12.101... Passed.
Connecting to 192.168.12.101...
Transferring sgrtos.flash via FTP : 2048 Transferring sgrtos.flash via FTP : 4608
-------- truncated -------

Validating RTOS flash image...
Updating flashprom sectors at address 0x20000000: 0/11 = 100%
ok

Connecting to 192.168.12.101...
Transferring sgsc.flash via FTP : 2048 Transferring sgsc.flash via FTP : 4608
------------truncated file ------------
Transferring sgsc.flash via FTP : 6553876
Validating ScApp flash image...
Updating flashprom sectors at address 0x36000000: 0/101 = 0%
----------- truncated -----------
Updating flashprom sectors at address 0x36000000: 101/101 = 100%
ok



Software Reset...


@(#) SYSTEM CONTROLLER(SC) POST 49 2009/08/28 05:26
PSR = 0x044010e5
PCR = 0x04004000

Memory size = 128MB

SelfTest running at DiagLevel:0x20

SC Boot PROM Test
BootPROM CheckSum Test
IU Test
IU instruction set Test
Little endian access Test
FPU Test
FPU instruction set Test
SparcReferenceMMU Test
SRMMU TLB RAM Test
SRMMU TLB Read miss Test
SRMMU page probe Test
SRMMU segment probe Test
SRMMU region probe Test
SRMMU context probe Test
IIep Internal Cache Test
DCACHE RAM access Test
DCACHE TAG access Test
DCACHE Read miss Test
DCACHE Read hit Test
DCACHE Write miss Test
DCACHE Write hit Test
ICACHE RAM access Test
ICACHE TAG access Test
ICACHE miss Test
ICACHE hit Test
ICACHE TAG flush Test
PCIC Test
PCIC Probe Test
PCIC Config Register Access Test
PCI Master Abort Test
PCIC Init Test
Memory Test
Memory Address Test
MemBankAddrTest: start address = 0x00010000
MemBankAddrTest: start address = 0x04000000
MemBankAddrTest: start address = 0x08000000
MemBankAddrTest: start address = 0x0c000000
RIO Ebus Test
Rio Ebus Probe Test
RIO Ethernet Test
Rio Enet Probe Test
Rio Ethernet Int Loopbacks Test
DUART(16552) InterSC Test
Loopback Test
COM3 port
COM4 port
Interrupt Test
COM3 port _ Intr #2

COM4 port _ Intr #2

System Clock Test
System Clock verify Test
Board0 Clock is selected
75MHZ Fixed Crystal is the selected Clock Source
CLK(Self) :0x0000ffff CLK(Other) : 0x00000000
REF : 0x00002229
CLOCK(SELF) FREQ : 74.99 MHZ
CLOCK(OTHER) FREQ : 0.0 MHZ
SBBC PCI Controller Test
SBBC PCI Config Space probe Test
SBBC Internal Reg Access Test
SBBC Interrupts Test
Port1 interrupt generation Tests INTR #14

Port0 interrupt generation Tests INTR #14

SBBC Device0 Test
PS Fail Reg(SBBC Dev0) Test
SBBC Device1 Test
SRAM (SBBC Dev1) Test
Memory Address Test (Non-destructive)
SBBC Device2 Test
BId&MFG Reg (SBBC Dev2) Test
SBBC Device3 Test
FRU Prsnt Reg (SBBC Dev3) Test
SBBC Device5 Test
EPLD (SBBC Dev5) Test
TOD(M48T59) Test
TOD Init Test
TOD Functional Test
TOD NVRAM(Non-Destructive) Test
TOD Interrupts Test
I2C Register Access Test
Enable Mux Register Test
Channel Mux Register Test
Add Command Register Test
Data Register Test
Local I2C AT24C64 Test
EEPROM Device Test
performing eeprom sequential read

Local I2C PCF8591 Test
VOLT_AD Device Test
channel[00000001] Voltage(0x0000009B) :1.51
channel[00000002] Voltage(0x0000009C) :3.35
channel[00000003] Voltage(0x0000009A) :5.1
channel[00000004] Voltage(0x00000000) :0.0
Local I2C LM75 Test
TEMP0(IIep) Device Test
Temperature : 24.50 Degree(C)

Local I2C LM75 Test
TEMP1(Rio) Device Test
Temperature : 23.0 Degree(C)

Local I2C LM75 Test
TEMP2(CBH) Device Test
Temperature : 30.0 Degree(C)

Local I2C PCF8574 Test
Sc CSR Device Test
Console Bus Hub Test
CBH Register Access Test
POST Complete.
ERI Device Present
Using SCC MAC address
MAC address is 0:13:4e:5a:2a:6f
Hostname: mylom
Address: 192.168.22.10
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 192.168.22.1
interrupt: 100 Mbps full duplex link up


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

Sun Fire System Firmware
RTOS version: 49
ScApp version: 5.20.14 Build_02
SC POST diag level: min

The date is Monday, January 14, 2008, 2:29:55 AM PST.

Fri Jan 15 02:29:57 mylom lom: Boot: ScApp 5.20.14, RTOS 49
Fri Jan 15 02:30:02 mylom lom: Updating config data from the SCC
Fri Jan 15 02:30:04 mylom lom: Caching ID information
Fri Jan 15 02:30:05 mylom lom: Clock Source: 75MHz
Fri Jan 15 02:30:10 mylom lom: /N0/PS0: Status is OK
Fri Jan 15 02:30:11 mylom lom: /N0/PS1: Status is OK
Fri Jan 15 02:30:11 mylom lom: /N0/PS2: Status is OK
Fri Jan 15 02:30:12 mylom lom: /N0/PS3: Status is OK
Fri Jan 15 02:30:12 mylom lom: Chassis is in single partition mode.
Fri Jan 15 02:31:13 mylom lom: /N0/FT0, fan speed, High (4,2)
Fri Jan 15 02:32:32 mylom lom: Starting telnet server ...
Enter Password:
Connected.
lom>

4. Verify output
lom>showsc
SC: SSC1
System Controller V2

SC date: Fri Jan 14 02:33:10 PST 2008
SC uptime: 3 minutes 22 seconds

ScApp version: 5.20.14 Build_02
RTOS version: 49


Solaris Host Status: Powered Off

Chassis HostID: 845xxxx
PROC RTUs installed: 0
PROC Headroom Quantity: 0
lom>showboards -p v

Component Compatible Version
--------- ---------- -------
SSC1 Reference 5.20.14 Build_02
/N0/IB6 Yes 5.20.3 Build_03
/N0/SB0 Yes 5.20.13 Build_01
/N0/SB2 Yes 5.20.3 Build_03
/N0/SB4 Yes 5.20.6 Build_02

5. Upgrade Component SB and IB
lom>flashupdate -f ftp://root:jadulbanget@192.168.12.101///tmp/114527-15/114527-15 all rtos

As part of this update, the system controller will automatically reboot.
RTOS will be upgraded automatically during the next boot.
ScApp will be upgraded automatically during the next boot.

After this update you must reboot each active domain that was upgraded.

Rebooting will interrupt any current operations.
This includes keyswitch changes, Solaris reboots
and all current connections.
Do you want to continue? [no] y
Waiting for critical processes to finish. This may take a while.
Critical processes have finished.

Retrieving: flashupdate -f ftp://root:jadulbanget@192.168.12.101///tmp/114527-15/114527-15/lw8cpu.flash
Validating ................... Done

Programming PROM /N0/SB0/FP0
Erasing .................. Done
Programming .................. Done
Verifying .................. Done

Programming PROM /N0/SB0/FP1
Erasing .................. Done
Programming .................. Done
Verifying .................. Done

Programming PROM /N0/SB2/FP0
Erasing .................. Done
Programming .................. Done
Verifying .................. Done

Programming PROM /N0/SB2/FP1
Erasing .................. Done
Programming .................. Done
Verifying .................. Done

Programming PROM /N0/SB4/FP0
Erasing .................. Done
Programming .................. Done
Verifying .................. Done

Programming PROM /N0/SB4/FP1
Erasing .................. Done
Programming .................. Done
Verifying .................. Done

Retrieving: flashupdate -f ftp://root:jadulbanget@192.168.12.101///tmp/114527-15/114527-15/lw8pci.flash
Validating ........ Done

Programming PROM /N0/IB6/FP0
Erasing ....... Done
Programming ....... Done
Verifying ....... Done

Rebooting the SC to automatically complete the upgrade.

Rebooting. All network client connections closed. Reestablish any needed connections.
Fri Jan 15 02:40:15 app1lom lom: Stopping all services on this SC
Fri Jan 15 02:40:15 app1lom lom: All services on this SC have been stopped.


Software Reset...


@(#) SYSTEM CONTROLLER(SC) POST 49 2009/08/28 05:26
PSR = 0x044010e5
PCR = 0x04004000

Memory size = 128MB

SelfTest running at DiagLevel:0x20

SC Boot PROM Test
BootPROM CheckSum Test
IU Test
IU instruction set Test
Little endian access Test
FPU Test
FPU instruction set Test
SparcReferenceMMU Test
SRMMU TLB RAM Test
SRMMU TLB Read miss Test
SRMMU page probe Test
SRMMU segment probe Test
SRMMU region probe Test
SRMMU context probe Test
IIep Internal Cache Test
DCACHE RAM access Test
DCACHE TAG access Test
DCACHE Read miss Test
DCACHE Read hit Test
DCACHE Write miss Test
DCACHE Write hit Test
ICACHE RAM access Test
ICACHE TAG access Test
ICACHE miss Test
ICACHE hit Test
ICACHE TAG flush Test
PCIC Test
PCIC Probe Test
PCIC Config Register Access Test
PCI Master Abort Test
PCIC Init Test
Memory Test
Memory Address Test
MemBankAddrTest: start address = 0x00010000
MemBankAddrTest: start address = 0x04000000
MemBankAddrTest: start address = 0x08000000
MemBankAddrTest: start address = 0x0c000000
RIO Ebus Test
Rio Ebus Probe Test
RIO Ethernet Test
Rio Enet Probe Test
Rio Ethernet Int Loopbacks Test
DUART(16552) InterSC Test
Loopback Test
COM3 port
COM4 port
Interrupt Test
COM3 port _ Intr #2

COM4 port _ Intr #2

System Clock Test
System Clock verify Test
Board0 Clock is selected
75MHZ Fixed Crystal is the selected Clock Source
CLK(Self) :0x0000ffff CLK(Other) : 0x00000000
REF : 0x00002228
CLOCK(SELF) FREQ : 75.0 MHZ
CLOCK(OTHER) FREQ : 0.0 MHZ
SBBC PCI Controller Test
SBBC PCI Config Space probe Test
SBBC Internal Reg Access Test
SBBC Interrupts Test
Port1 interrupt generation Tests INTR #14

Port0 interrupt generation Tests INTR #14

SBBC Device0 Test
PS Fail Reg(SBBC Dev0) Test
SBBC Device1 Test
SRAM (SBBC Dev1) Test
Memory Address Test (Non-destructive)
SBBC Device2 Test
BId&MFG Reg (SBBC Dev2) Test
SBBC Device3 Test
FRU Prsnt Reg (SBBC Dev3) Test
SBBC Device5 Test
EPLD (SBBC Dev5) Test
TOD(M48T59) Test
TOD Init Test
TOD Functional Test
TOD NVRAM(Non-Destructive) Test
TOD Interrupts Test
I2C Register Access Test
Enable Mux Register Test
Channel Mux Register Test
Add Command Register Test
Data Register Test
Local I2C AT24C64 Test
EEPROM Device Test
performing eeprom sequential read

Local I2C PCF8591 Test
VOLT_AD Device Test
channel[00000001] Voltage(0x0000009B) :1.51
channel[00000002] Voltage(0x0000009C) :3.35
channel[00000003] Voltage(0x0000009A) :5.1
channel[00000004] Voltage(0x00000000) :0.0
Local I2C LM75 Test
TEMP0(IIep) Device Test
Temperature : 25.0 Degree(C)

Local I2C LM75 Test
TEMP1(Rio) Device Test
Temperature : 23.50 Degree(C)

Local I2C LM75 Test
TEMP2(CBH) Device Test
Temperature : 31.50 Degree(C)

Local I2C PCF8574 Test
Sc CSR Device Test
Console Bus Hub Test
CBH Register Access Test
POST Complete.
ERI Device Present
Using SCC MAC address
MAC address is 0:13:4e:5a:2a:6f
Hostname: mylom
Address: 192.168.22.10
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 192.168.22.1
interrupt: 100 Mbps full duplex link up


Flashupdate
Verifying network connectivity to 192.168.12.101... Passed.
Connecting to 192.168.12.101...
Transferring sgrtos.flash via FTP : 2048
---- Truncated -----
Transferring sgrtos.flash via FTP : 696120
Validating RTOS flash image...
Updating flashprom sectors at address 0x20000000: 0/11 = 0%Updating flashprom sectors at address 0x20000000: 11/11 = 100%
ok

Connecting to 192.168.12.101...
Transferring sgsc.flash via FTP : 2048
------------truncated --------------
Transferring sgsc.flash via FTP : 6553876
Validating ScApp flash image...
Updating flashprom sectors at address 0x36000000: 0/101 = 0%Updating flashprom sectors at address 0x36000000: 9/101 = 8%Updating flashprom sectors at address 0x36000000: 40/101 = 39%Updating flashprom sectors at address 0x36000000: 65/101 = 64%Updating flashprom sectors at address 0x36000000: 89/101 = 88%Updating flashprom sectors at address 0x36000000: 101/101 = 100%
ok



Software Reset...


@(#) SYSTEM CONTROLLER(SC) POST 49 2009/08/28 05:26
PSR = 0x044010e5
PCR = 0x04004000

Memory size = 128MB

SelfTest running at DiagLevel:0x20

SC Boot PROM Test
BootPROM CheckSum Test
IU Test
IU instruction set Test
Little endian access Test
FPU Test
FPU instruction set Test
SparcReferenceMMU Test
SRMMU TLB RAM Test
SRMMU TLB Read miss Test
SRMMU page probe Test
SRMMU segment probe Test
SRMMU region probe Test
SRMMU context probe Test
IIep Internal Cache Test
DCACHE RAM access Test
DCACHE TAG access Test
DCACHE Read miss Test
DCACHE Read hit Test
DCACHE Write miss Test
DCACHE Write hit Test
ICACHE RAM access Test
ICACHE TAG access Test
ICACHE miss Test
ICACHE hit Test
ICACHE TAG flush Test
PCIC Test
PCIC Probe Test
PCIC Config Register Access Test
PCI Master Abort Test
PCIC Init Test
Memory Test
Memory Address Test
MemBankAddrTest: start address = 0x00010000
MemBankAddrTest: start address = 0x04000000
MemBankAddrTest: start address = 0x08000000
MemBankAddrTest: start address = 0x0c000000
RIO Ebus Test
Rio Ebus Probe Test
RIO Ethernet Test
Rio Enet Probe Test
Rio Ethernet Int Loopbacks Test
DUART(16552) InterSC Test
Loopback Test
COM3 port
COM4 port
Interrupt Test
COM3 port _ Intr #2

COM4 port _ Intr #2

System Clock Test
System Clock verify Test
Board0 Clock is selected
75MHZ Fixed Crystal is the selected Clock Source
CLK(Self) :0x0000ffff CLK(Other) : 0x00000000
REF : 0x00002228
CLOCK(SELF) FREQ : 75.0 MHZ
CLOCK(OTHER) FREQ : 0.0 MHZ
SBBC PCI Controller Test
SBBC PCI Config Space probe Test
SBBC Internal Reg Access Test
SBBC Interrupts Test
Port1 interrupt generation Tests INTR #14

Port0 interrupt generation Tests INTR #14

SBBC Device0 Test
PS Fail Reg(SBBC Dev0) Test
SBBC Device1 Test
SRAM (SBBC Dev1) Test
Memory Address Test (Non-destructive)
SBBC Device2 Test
BId&MFG Reg (SBBC Dev2) Test
SBBC Device3 Test
FRU Prsnt Reg (SBBC Dev3) Test
SBBC Device5 Test
EPLD (SBBC Dev5) Test
TOD(M48T59) Test
TOD Init Test
TOD Functional Test
TOD NVRAM(Non-Destructive) Test
TOD Interrupts Test
I2C Register Access Test
Enable Mux Register Test
Channel Mux Register Test
Add Command Register Test
Data Register Test
Local I2C AT24C64 Test
EEPROM Device Test
performing eeprom sequential read

Local I2C PCF8591 Test
VOLT_AD Device Test
channel[00000001] Voltage(0x0000009B) :1.51
channel[00000002] Voltage(0x0000009C) :3.35
channel[00000003] Voltage(0x0000009A) :5.1
channel[00000004] Voltage(0x00000000) :0.0
Local I2C LM75 Test
TEMP0(IIep) Device Test
Temperature : 25.0 Degree(C)

Local I2C LM75 Test
TEMP1(Rio) Device Test
Temperature : 23.0 Degree(C)

Local I2C LM75 Test
TEMP2(CBH) Device Test
Temperature : 31.50 Degree(C)

Local I2C PCF8574 Test
Sc CSR Device Test
Console Bus Hub Test
CBH Register Access Test
POST Complete.
ERI Device Present
Using SCC MAC address
MAC address is 0:13:4e:5a:2a:6f
Hostname: mylom
Address: 192.168.22.10
Netmask: 255.255.255.0
Attached TCP/IP interface to eri unit 0
Attaching interface lo0...done
Gateway: 192.168.22.1
interrupt: 100 Mbps full duplex link up


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

Sun Fire System Firmware
RTOS version: 49
ScApp version: 5.20.14 Build_02
SC POST diag level: min

The date is Friday, January 14, 2008, 2:46:47 AM PST.

Fri Jan 15 02:46:49 mylom lom: Boot: ScApp 5.20.14, RTOS 49
Fri Jan 15 02:46:56 mylom lom: Caching ID information
Fri Jan 15 02:46:58 mylom lom: Clock Source: 75MHz
Fri Jan 15 02:47:02 mylom lom: /N0/PS0: Status is OK
Fri Jan 15 02:47:03 mylom lom: /N0/PS1: Status is OK
Fri Jan 15 02:47:03 mylom lom: /N0/PS2: Status is OK
Fri Jan 15 02:47:04 mylom lom: /N0/PS3: Status is OK
Fri Jan 15 02:47:04 mylom lom: Chassis is in single partition mode.
Fri Jan 15 02:49:30 mylom lom: Starting telnet server ...
Enter Password:
Connected.

lom>

6. Verify output
lom>showboards -p v

Component Compatible Version
--------- ---------- -------
SSC1 Reference 5.20.14 Build_02
/N0/IB6 Yes 5.20.14 Build_02
/N0/SB0 Yes 5.20.14 Build_02
/N0/SB2 Yes 5.20.14 Build_02
/N0/SB4 Yes 5.20.14 Build_02


Read More..

Wednesday, January 13, 2010

Mengapa saya benci menggunakan kartu kredit

2 komentar



credit card

Sudah hampir setahun lebih menggunakan kartu kredit dengan berbagai merk dari bank pengelola kartu kredit, sampai saat kemarin,adalah terakhir saya menggunakan kartu kredit. Awal penggunaan kartu kreditku, terpaksa karena akan bepergian ke luar negeri waktu itu. Lalu kenapa saya menutup kartu kredit?kan banyak manfaatnya?..


Memang disatu sisi ada manfaat dari kartu kredit,tapi juga tidak sedikit kerugiannya ibarat pisau bermata dua. Menurut bank pengelola kartu kredit,manfaat yang didapat : mudah digunakan,suku bunga bersaing,bla..bla..bla dan deretan bahasa marketing lainnya yang menggiurkan. Namun ketika kita menggunakannya,sadar atau tidak sadar kita sudah didorong untuk berprilaku konsumtif. Walaupun ada beberapa nasihat dari kawan, "Gunakan krtu kredit dengan bijak !" namun kenyataan, prilaku orang tidak mudah untuk seperti itu ketika mendapatkan kemudahan-kemudahan yang ditawarkan kartu kredit.

Saya pribadi selama menggunakan kartu kredit,setiap "Ngutang" atau gesek kartu kredit,maka setiap bulan langsung dibayar lunas, dengan pagu yang lumayan besar tapi tidak pernah sampai over limit. Saya heran dengan orang yang bangga menunjukkan limit/pagu dari credit card yang digunakan,padahal itu hanya semu. Mengingat, dengan semakin besar pagu/limit credit card tersebut,niscaya semakin besar prosentase dari pendapatan kita yang akan berpindah tangan ke bank tersebut.

Akhirnya kemarin,kartu kredit terakhir yang saya pegang resmi saya tutup. Anehnya dilembar tagihan terakhir yang saya terima, saya masih punya kredit 70rb rupiah ketika saya nyatakan penutupan, uang tersebut tidak diungkit-ungkit oleh pihak bank kalau masih ada kredit, lain halnya ketika kita kurang dalam pembayaran 100 rupiah pun akan dikejar dan terus berbunga..Ini yang semakin membulatkan tekad saya untuk menutup kartu kredit.
Ada seorang temen yang bilang, "2010 gak punya kartu kredit??,kemane aja?", EGP. Yang penting aku sekarang bebas dari belenggu kartu kredit.
*gambar diambil dari http://damncoolpics.blogspot.com/ dan junarto.wordpress.com/
Read More..

Tuesday, January 12, 2010

Reference command line Brocade (Help File)

5 komentar
Bro:admin> help
aaaconfig Configure RADIUS for AAA services
ad Specifies all administration domain (AD)-level
operations
ag Configure the Access Gateway feature
agshow Displays the Access Gateway information registered
with the fabric
agtcfgdefault Reset SNMP agent to factory default
aliadd Add a member to a zone alias
alicreate Create a zone alias
alidelete Delete a zone alias
aliremove Remove a member from a zone alias
alishow Print zone alias information
aptpolicy Get and set Advanced Performance Tuning policy
auditcfg Modifies and displays audit log filter
configuration.

authutil Get and set authentication configuration
backplanetest Backplane connection test for multi-blade systems.
backport Test for back-end ASIC pair to ASIC pair links.
bannerset Set security banner
bannershow Display security banner
bcastshow Display broadcast routing information
bladebeacon Enables or disables blade beaconing or displays the
current mode.
bladedisable Disables all user ports on a blade.
bladeenable Enables all User Ports on a blade.
burninerrclear Clear errors that are stored in the non-volatile
storage
burninerrshow Display errors that are stored in the non-volatile
storage
burninstatus Display the diagnostics burnin status.
camtest Verify QuickLoop's Content Addressable Memory
(CAM).SID translation
centralmemorytest Test ASIC central memory operation.
cfgactvshow Display Effective zone configuration information
cfgadd Add a member to a configuration
cfgclear Clear all zone configurations
cfgcreate Create a zone configuration
cfgdelete Delete a zone configuration
cfgdisable Disable a zone configuration
cfgenable Enable a zone configuration
cfgremove Remove a member from a configuration
cfgsave Save zone configurations in flash
cfgshow Print zone configuration information
cfgsize Print size details of zone database
cfgtransabort Abort zone configuration transaction
cfgtransshow Print zone configurations in transaction buffer
chassisconfig Display or set the chassis configuration
chassisname Display or set the chassis's Name
chassisshow Display all Field Replaceable Units (FRU)
chipregshow Displays the port registers for a given chip
number.
cmemretentiontest Data retention test of the central memory SRAMs.
cmitest Verify CMI bus between ASICs.
configdefault Reset config to factory default
configdownload Load switch config from a server
configshow Print switch config parameters
configupload Save switch config to a server
configure Set switch config parameters
datatypeshow Display available diagnostic data types.
date Print/set the system date and time
dbgshow Display debug levels of various modules
defzone Activates or deactivates a default zone
configuration.
diagclearerror Clears diagnostics failure status.
diagcommandshow Display diagnostic command descriptions.
diagdisablepost Disable diagnostic POST.
diagenablepost Enable diagnostic POST.
diagenv Diagnostic debug parameters management package.
diaghelp Display diagnostic command descriptions.
diagloopid Select the diagnostics loop ID.
diagmodeshow Displays diagnostic mode configuration.
diagpost Displays the contents of port registers and
memories.
diagretry Sets diagnostic retry mode
diagsetburnin Initializes the blade for a burnin run.
diagsetcycle Set diagnostic script parameters.
diagsetesdmode Set or display ESD mode.
diagsetshowtime Set or display diagnostic show-time mode.
diagshow Display diagnostic status.
diagshowtime Set or display diagnostic show-time mode.
diagstatus Display currently running diagnostic tests.
diagstopburnin Terminate burnin run on a blade.
distribute Distributes data to switches in a fabric.
dlsreset Turn off the dynamic load sharing (DLS) option
dlsset Turn on the dynamic load sharing (DLS) option
dlsshow Display the state of the dynamic load sharing
option
dnsconfig Configure DNS service
enclosureshow Display the switch enclosure attributes
errclear Clear error log
errdelimiterset Sets the error log start and end delimiter for
messages sent to the console and syslog
errdump Print error log (no page breaks)
errfilterset Sets a filter for an error log destination
errmoduleshow Displays all the defined modules in the system
errshow Print error log
fabportshow Display contents of a particular port's data
fabretryshow Display retry count of various fabric commands
fabriclog Displays or manipulates the fabric log
fabricprincipal Displays/Enables/Disables Principal Switch
Selection mode
fabricshow Print fabric membership info
fabstateclear Clears the fabric state information
fabstateresize Changes the number of state entries
fabstateshow Displays the fabric state information
fabstatsshow Displays the fabric statistics information
fabswitchshow Display fabric switch state information
fandisable Disables a fan unit.
fanenable Enables a fan unit.
fanshow Print fan status
fastboot Reboot this switch and bypass POST
fastwritecfg Configure FC fastwrite feature
fazoneadd Add a member to a fabric assist zone
fazonecreate Create a fabric assist zone
fazonedelete Delete a fabric assist zone
fazoneremove Remove a member from a fabric assist zone
fazoneshow Print Fabric Assist Zone information
fcipchiptest Functional Test of Components in FCIP Complex.
fciphelp Print FCIP help info
fcippathtest Data Path Test of the FCIP complex.
fcping Sends a FC ELS ECHO request to a port
fcplogclear Clear the FCP log
fcplogdisable Disable logging of FCP events
fcplogenable Enable logging of FCP events
fcplogshow Display FCP probing log information
fcpprobeshow Display FCP probing information
fcprlsshow Display FCP RLS (read link state) information
fcrchiptest Functional Test of FCR FPGA.
fcrconfigure Sets FC Router configuration parameters.
fcrfabricshow Displays FC Routers on a backbone fabric.
fcrlsancount Display maximum LSAN zone limit.
fcrlsanmatrix Manage LSAN fabric matrix configuration.
fcrpathtest Data Path Test on Connection between FCR FPGA and
Central ASIC.
fcrphydevshow Displays FC Router physical device information.
fcrproxyconfig Displays or configures proxy devices presented by
an FC Router.
fcrproxydevshow Displays FC Router proxy device information.
fcrresourceshow Displays FC Router physical resource usage.
fcrrouterportcost Displays FC Router route information.
fcrrouteshow Displays FC Router route information.
fcrxlateconfig Displays or persistently configures a translate
(xlate) domain's domain ID for both
EX_Port-attached fabric and backbone fabric.
fddcfg fddcfg manages the fabric data distribution
configuration parameters.
fdmicacheshow Display abbreviated remote FDMI device information
according to remote domain ID
fdmishow Display detailed FDMI device information
ficonclear Clears contents of the specified FICON management
database
ficoncupset Sets FICON-CUP parameters for a switch
ficoncupshow Displays FICON-CUP parameters for a switch
ficonhelp Displays FICON commands
ficonshow Displays contents of the specified FICON management
database
filtertest Run frame filter test for bloom ASICs.
firmwarecommit Commit firmware to stable storage
firmwaredownload Download firmware into switch
firmwaredownloadstatus Display the progress and status of firmwareDownload
firmwarerestore Restore the old firmware in the switch
firmwareshow Display firmware versions in the switch
fosconfig Enable/disable FabOS services
fporttest Functional test of F->N N->F point to point path.
framerpathtest Tests data path between ASICs
frureplace Replace a Field Replacable Unit
fspfshow Print FSPF global information
fwalarmsfilterset Configure alarms filtering for Fabric Watch
fwalarmsfiltershow Show alarms filtering for Fabric Watch
fwclassinit Initialize all Fabric Watch classes
fwconfigreload Reload Fabric Watch configuration
fwconfigure Configure Fabric Watch
fwfrucfg Configure FRU state and notification
fwhelp Print Fabric Watch help info
fwmailcfg Configure Fabric Watch Email Alert
fwportdetailshow Create a report with detailed port information
fwsamshow Show availability monitor information
fwset Set port persistence time
fwsettocustom Set boundary & alarm level to custom
fwsettodefault Set boundary & alarm level to default
fwshow Show thresholds monitored and port persistence time
grep Linux grep command
h Print shell history
hadisable Disables the High Availability feature in the
switch.
hadump Displays information about the status of the High
Availability feature in the switch.
haenable Enables the High Availability feature in the switch
hafailover Forces the failover mechanism so that the Standby
Control Processor (CP)becomes the Active CP.
hashow Displays control processor (CP) status
hasyncstart Enables HA state synchronization.
hasyncstop Disables the HA state synchronization.
help Print this list
historylastshow Displays last history record
historymode Display or set the mode of the history log
historyshow Displays entire history log
httpcfgshow Used to show the version of the Java plug-in used
by the Webtools
i Display process summary
ifmodeset Set the link operating mode for a network interface
ifmodeshow Display the link operating mode for a network
interface
interfaceshow Display the FSPF (TM) interface information
interopmode Displays/enables/disables Brocade switch
interoperability with switches from other
manufacturers
iodreset Turn off the in-order delivery (IOD) option
iodset Turn on the in-order delivery (IOD) option
iodshow Display the state of the in-order delivery option
ipaddrset Set ethernet and FC IP addresses
ipaddrshow Print ethernet and FC IP addresses
ipfilter Manage/display IP filters
iscsihelp Print iSCSI help info
islshow Display the current connections and status
killtelnet Terminate telnet/serial login sessions
interactively
licenseadd Adds license keys to switch
licensehelp Print license help info
licenseidshow Displays the system license ID
licenseport Configure per-port POD license assignments
licenseremove Removes a license key from this system
licenseshow Displays current license keys
linkcost Set or print the FSPF cost of a link
login Login as a new user
logout Logout from remote session
loopporttest Functional test of L-port M->M path on a loop.
lsdbshow Displays the FSPF link state database
memshow Display memory usage in the system.
minicycle Functional test of internal and external transmit
and receive paths at full speed.
minispropshow Displays ASIC pair properties.
more Linux more command
mscapabilityshow Display Management Server Capability.
msconfigure Configure Management Server
msplatshow Display the Management Server Platform Database
msplatshowdbcb Display the Management Server Database Control
Block
msplcleardb Clear the Management Server Platform Database
fabric-wide
msplmgmtactivate Activate the Management Server Platform Database
fabric-wide
msplmgmtdeactivate Deactivate the Management Server Platform Database
fabric-wide
mstddisable Disables the Management Server Topology Discovery
Management Service
mstdenable Enables the Management Server Topology Discovery
Management Service
mstdreadconfig Display status of Management Server Topology
Discovery Service
myid Display the current login session details
nbrstateshow Display FSPF (TM) neighbors' states
nbrstatsclear Reset the FSPF (TM) interface counters
netstat Display network connections and statistics
nodefind Display all the devices' PID matching the given
world wide name
nsaliasshow Display local Name Server information with Aliases
nsallshow Print global Name Server information
nscamshow Print local Name Server Cache information
nsshow Print local Name Server information information
nszonemember Display the information of all the online devices
which are zoned with the given device.
opensource Display information on open source software
utilized in FabOS
passwd Set usernames and passwords
passwdcfg passwdcfg manages the password policies.
pathinfo Display routing information between two ports
pdshow Show information from Panic Dump file
perfaddeemonitor Add end-to-end monitor
perfaddipmonitor Add monitor for IP trafic frame count
perfaddreadmonitor Add filter-based monitor - SCSI Read
perfaddrwmonitor Add monitor - SCSI Read and Write
perfaddscsimonitor Add monitor for SCSI frame count
perfaddusermonitor Add filter-based monitor
perfaddwritemonitor Add filter-based monitor - SCSI Write
perfcfgclear Clear Performance settings from FLASH
perfcfgrestore Restore Performance configuration from FLASH
perfcfgsave Save Performance configuration to FLASH
perfclearalpacrc Clears the CRC error count associated with a port
and Arbitrated Loop Physical Address (AL_PA).
perfcleareemonitor Clears statistics counters of one or more
end-to-end performance monitors.
perfclearfiltermonitor Clears counters of one or more filter-based
performance monitors.
perfdeleemonitor Delete end-to-end monitor
perfdelfiltermonitor Delete filter-based monitor
perfhelp Print Performance Monitoring help info
perfmonitorclear Clear end-to-end/filter-based/ISL monitors
perfmonitorshow Show end-to-end/filter-based/ISL monitors
perfsetporteemask Set overall mask for end-to-end monitors
perfshowalpacrc Get ALPA CRC count by port and ALPA
perfshoweemonitor Show user-defined end-to-end monitors
perfshowfiltermonitor Show filter-based monitors
perfshowporteemask Show the current end-to-end mask
pkicreate Creates public key infrastructure (PKI) objects
pkiremove Removes existing public key infrastructure (PKI)
objects
pkishow Displays existing public key infrastructure (PKI)
objects
policy Configure IPSec encryption and authentication
algorithms
portalpashow Show the ALPAs of a port
portbuffershow Print the buffer allocations for the ports of a
quad
portcamshow Display filter utilization
portcfg Create/Delete a new ip interface/route/arp entry on
the GigE port
portcfgdefault Restore the port configuration to defaults
portcfgeport Enable/Disable a port from becoming E_Port
portcfgexport Sets a port to be an EX_Port and sets and displays
EX_Port configuration parameters.
portcfggport Lock a port as a G_Port
portcfgislmode Configure a port to be ISL R_RDY Mode
enabled/disabled
portcfglongdistance Configure a Long Distance Port
portcfglport Lock a port as a L_Port
portcfgnpivport Enables and disables NPIV functionality on a port.
portcfgnport Enable/disable N_Port capability for a port
portcfgpersistentdisable Persistently disable a port
portcfgpersistentenable Enable a persistently disabled port
portcfgshow Displays port configuration settings.
portcfgspeed Configure a port to a particular speed level
portcfgtrunkport Configure a port for trunking
portcfgvexport Sets a port to be an VEX_Port connected to FC-IP
and sets and displays VEX_Port configuration
parameters.
portcmd Execute commands (ping etc) on the GigE port
portdebug Set debug level and verbosity level of port modules
portdisable Disable a specified port
portenable Enable a specified port
porterrshow Print port error summary
portflagsshow Display the port status bitmaps of all ports in a
switch
portledtest Cycle user port LEDs.
portlogclear Clear port activity log
portlogconfigshow Display portlog configuration
portlogdisable Disable portlog facility
portlogdump Print port log (no page breaks)
portlogdumpport Print port log (no page breaks)
portlogenable Enables port log facility
portlogeventshow Display information about port log events
portloginshow Display port login information
portlogpdisc Set or clear the debug_pdisc_flag
portlogreset Enable portlog facility
portlogresize Resize the port log
portlogshow Print port activity log
portlogshowport Print port activity log
portlogtypedisable Disable port logging
portlogtypeenable Enable port logging
portloopbacktest Functional test of port N->N path.
portmirror Set a port's configuration to be disabled or
enabled
portname Assign or display the name associated with a port
portperfshow Print port throughput numbers
portregtest Write/read test of the ASIC SRAMs portregtest.
portrouteshow Display various routing tables for a port
portshow Show configured ip interfaces/routes/arp entries on
the GigE Port
portstats64show Display the 64-bit hardware statistics for a port
portstatsclear Clear the status of a specified switch port
portstatsshow Print hardware statistics
portswap Swaps area numbers
portswapdisable Disable portswap feature
portswapenable Enable portswap feature
portswapshow Display port and area information
porttest Functional test on a live fabric. Starts porttest.
porttestshow Retreive information from porttest.
portzoneshow Displays the enforced zone type of the F/FL-ports
of a switch.
powerofflistset sets slot power off list order
powerofflistshow Displays slot power-off order.
psshow Print power supply status
quietmode Displays/enables/disables quietmode on telnet
session
reboot Reboot this processor
routehelp Print routing help info
saschiptest Functional Test of Components in SAS Complex.
saspathtest Data Path Test of the SAS complex.
secactivesize Displays size of the active (security) database
secauthsecret Creates/Manages DHCHAP secret key details
seccertutil Creates/Manages/Displays third party PKI
certificates
secdefinesize Displays size of the defined (security) database
secfabricshow Displays security related fabric information
secfcsfailover Forces primary role to this FCS switch
secglobalshow Displays current internal security state
information
sechelp Displays information about security commands
secmodedisable Disables secure mode
secmodeenable Enables secure mode
secmodeshow Displays whether secure mode is enabled or disabled
secnonfcspasswd Sets the admin passwd for non-FCS switches
secpolicyabort Aborts changes to defined policy
secpolicyactivate Activates all policy sets
secpolicyadd Adds members to an existing policy
secpolicycreate Creates a new policy
secpolicydelete Deletes an existing policy
secpolicydump Displays all members of existing policies
secpolicyfcsmove Moves a member in the FCS policy
secpolicyremove Removes members from an existing policy
secpolicysave Saves defined policy set and sends to all switches
secpolicyshow Shows members of one or more policies
secstatsreset Resets security statistics
secstatsshow Displays security statistics
sectemppasswdreset Resets temporary password
sectemppasswdset Sets temporary password
sectransabort Aborts current transaction
secversionreset Resets version stamp
sensorshow Display sensor readings
setdbg Set debug level of the specified module
setesdmode Set or display ESD mode.
setmfgmode Set or display diagnostic MFG mode.
setmodem Enables or disables modem login to a control
processor (CP)
setsplbmode Set or display SPLB mode.
setverbose Set verbosity level of the specified module
sfpshow Print Serial ID SFP information
shellflowcontroldisable Disable xon-xoff flow control on console serial
port
shellflowcontrolenable Enable xon-xoff flow control on console serial port
slotpoweroff Removes power from a slot.
slotpoweron Restores power to a slot.
slotshow Displays the status of all slots in the system.
sltest Serial link test of port N->N path.
snmpconfig Configure SNMP
snmpmibcapset Set options for configuring SNMP Mib/Trap
Capability
snmpmibcapshow Show SNMP Mib/Trap Configuration
spinfab Functional test of switch to switch ISL cabling and
trunk group operation.
spinjitter line-speed jitter measurement
spinsilk Functional test of internal and external transmit
and receive paths at full speed
sramretentiontest Data retention test of the miscellaneous SRAMs in
ASIC.
statsclear Clear port and diagnostic statistics.
statstest Statistics counter test for the ASICs.
stopporttest Terminate the running porttest.
supportffdc Modifies or displays first-failure data capture
(FFDC) configuration.
supportftp set support Ftp parameters
supportsave retrieve support data from switch to host
supportshow Prints switch information for debugging purposes.
supportshowcfgdisable Disables a group of commands under supportshow
command.
supportshowcfgenable Enables a group of commands under supportshow
command.
supportshowcfgshow Displays the groups of commands enabled for
display. by the supportshow command.
switchbeacon Set switch beacon on or off
switchcfgpersistentdisable Persistently disable a switch
switchcfgpersistentenable Enable a persistently disabled switch
switchcfgspeed Configures all ports of the switch to a particular
speed level
switchcfgtrunk Configure all ports on the switch for trunking
switchdisable Disable this switch
switchenable Enable this switch
switchname Print/set this switch's name
switchreboot Halts and restarts the operational switch.
switchshow Print switch and port status
switchstatuspolicyset Set policy parameters for overall switch status
switchstatuspolicyshow Print policy parameters for overall switch status
switchstatusshow Print overall switch status
switchuptime Display the amount of time for which the switch is
up
syslogdfacility Change the syslog facility
syslogdipadd Add syslog daemon IP address
syslogdipremove Remove syslog daemon IP address
syslogdipshow Print the syslog daemon targets
sysshutdown Provides a graceful shutdown to protect the switch
file systems.
systemverification Run a suit of diagnostic tests on all switches in a
system.
tempshow Print temperature readings
timeout Set/show the IDLE timeout value for a login session
topologyshow Display the unicast fabric topology
tracedump generate/remove trace dump or display trace dump
status
trackchangeshelp Print Track Changes help info
trackchangesset Configure alert for login/logout/config update
trackchangesshow Displays status of track changes
trunkdebug Debug a trunk link failure
trunkshow Display trunking information
tsclockserver Displays or sets the NTP server address
tstimezone Displays or sets the time zone
turboramtest Turbo SRAM test for bloom ASICs.
txdpath Functional test of ASIC pair TXA TXD connections.
uptime Print how long switch has been up
urouteconfig Configure a static route
urouteremove Remove a static route
urouteshow Display unicast routing information
userconfig Display or configure user accounts
userrename Rename user login name
version Print firmware version
wwn Display or set the world wide name
zone Copies/Removes/Validates zone objects
zoneadd Add a member to a zone
zonecreate Create a zone
zonedelete Delete a zone
zonehelp Print zoning help info
zoneobjectcopy Copies a zone object
zoneobjectexpunge Expunges a zone object
zoneobjectrename Rename a zoning Object
zoneremove Remove a member from a zone
zoneshow Print zone information
Bro:admin>


Read More..

Monday, January 11, 2010

how to collect supportdata in Sun Storage 6130 with command line

0 komentar
1. Login as root
2. Go to folder /opt/SUNWstade/bin
root@localhost # cd /opt/SUNWstade/bin
3. root@localhost # ./ras_admin device_list

MonitoredOn Device Type IP WWN Active
----------- ------------ ---------- ---------------- ------------------ ------
root02-app ROOTDISK2A 6130 192.168.1.195 200600A0B818A700 root02-app ROOTDISK1A 6130 192.168.1.193 200600a0b8197800 Y

root@root02-app # ./6130SupportData 192.168.1.195 /tmp support.zip
Collecting support data for 192.168.1.195

4. After finish,check file result in /tmp

option two,we can manual collect with separate command :

1. service -d -c print -t arrayprofile > arrayProfileSummary.txt

2. service -d -c print -t mel > majorEventLog.txt

3. service -d -c read -q nvsram region=0xEE > NVSRAMdata.txt

4. service -d -c print -t rls > readLinkStatus.csv

5. sscs list alarm > alarms.txt



Read More..

Sunday, January 10, 2010

Change hostname on HP-UX

1 komentar
1. root@myhpux:/> hostname hpuxdev
2. root@myhpux:/> uname –S hpuxdev
3. root@myhpux:/> vi /etc/rc.config.d/netconf

before:
root@myhpux:/etc/rc.config.d> vi netconf

HOSTNAME="myhpux"

OPERATING_SYSTEM=HP-UX

LOOPBACK_ADDRESS=127.0.0.1


after:
HOSTNAME="hpuxdev"

OPERATING_SYSTEM=HP-UX

LOOPBACK_ADDRESS=127.0.0.1


4. root@hpuxdev:/> /sbin/init.d/net start
5. verifikasi hasil
root@myhpux:/> hostname

hpuxdev

root@myhpux:/> nodename

hpuxdev


Semoga bermanfaat..
Read More..

Thursday, January 07, 2010

How to clear CHS in sun server

1 komentar
Here are the steps to solving clear CHS (Component Healty Status):
1. lom> service

The use of service commands can be destructive and destabilize the system.
Use of service mode is authorized only by personnel trained in its use.

Enter Password:
lom [service]>
lom [service]> showchs-b
Component Status
--------------- --------
/ N0/RP0 Suspect
/ N0/RP2 Suspect
/ N0/SB2 Suspect



2.lom [service]> OK setchs-s-r "OK"-c / N0/RP0
3.lom [service]> showchs-b
Component Status
--------------- --------
/ N0/RP2 Suspect
/ N0/SB2 Suspect
4.lom [service]> OK setchs-s-r "OK"-c / N0/RP2
5.lom [service]> OK setchs-s-r "OK"-c / N0/SB2
6.lom [service]> showchs-b
Component Status
--------------- --------
lom [service]>
7.lom [service]> showchs-v-c / N0/RP2
Total # of records: 1
Component: / N0/RP2
Time Stamp: Thu Jan 03 07:39:34 PST 2006
New Status: OK
Old Status: Suspect
Event Code: Field Engineer Status Supplied
Initiator: Field Engineer
Message: OK
8.lom [service]> console
Localhost console login:
9.root@localhost # eeprom diag-level=mem2
10. root@localhost # eeprom auto-boot=false
11. init 0
12.lom> poweroff
13. lom>poweron ---> take approximately 1.5 hours
14. ok setenv diag-level min
15. ok boot
Read More..
 
footer