How to change Sun server T2000 Battery Replacement
2. collect log form SC
– showenvironment
– showlogs -v
– showdate
– showplatform
– showfaults
– console -f
3. collect logs from OS :
– bash
– prtdiag -v
– metastat|grep Stat
– echo|format
– date
– prtconf -pv | grep boot
– metadb -i
– metastat
– eeprom
– eeprom|grep auto
– eeprom auto-boot?=true (will go straight to OS)
– eeprom auto-boot?=false (will be to OK)
– tail -f /var/adm/messages
– ifconfig -a
– df -h
4. goto OK prompt
– init 0
5. poweroff the system from SC
– poweroff
6. mark cable tag & remove all cable if necessary
7. remove & install SC battery
8. attach cable
9. check & set SC date time
– showdate
– setdate mmddHHMMyy
10. poweron the server
– poweron
– showenvironment [ Check: SC/BAT/V_BAT OK]
– console -f
After everything it will come with ok prompt.Type “devalias”
{0} ok devalias
{0} ok boot disk0
11. check logs from OS :
– prtdiag -v
– date
– date mmddHHMMyy
– prtconf -pv | grep boot
– metadb -i
– metastat
