EnderUNIX Team.


EnderUNIX İpucu

Arkadaşıma gönder , Ana Sayfa

[ Solaris ]

"ALOM'u aktive etme ve sistem konsoluna baglanma" - Omer Faruk Sen - (2007-07-05 22:02:14)   [3026]

Sparc bir makinada var olan ALOM'u aktive etmek icin su islemler yapilir

1) NET MGMT portuna network kablosu takilir.
2) /usr/platform/`uname -i`/sbin/scadm show ile su anki ayarlar gorulur

# /usr/platform/`uname -i`/sbin/scadm show
if_network="true"
if_modem="false"
if_connection="ssh"
if_emailalerts="false"
sys_autorestart="xir"
sys_bootrestart="none"
sys_bootfailrecovery="none"
sys_maxbootfail="3"
sys_xirtimeout="900"
sys_boottimeout="900"
sys_wdttimeout="60"
netsc_tpelinktest="true"
netsc_dhcp="false"
netsc_ipaddr="X.X.X.X"
netsc_ipnetmask="255.255.255.0"
netsc_ipgateway="X.X.X.1"
mgt_mailhost=""
mgt_mailalert=""
sc_customerinfo=""
sc_escapechars="#."
sc_powerondelay="true"
sc_powerstatememory="false"
sc_clipasswdecho="true"
sc_cliprompt="sc"
sc_clitimeout="0"
sc_clieventlevel="2"
sc_backupuserdata="true"
sys_eventlevel="2"

3) # /usr/platform/`uname -i`/sbin/scadm set if_network true
# /usr/platform/`uname -i`/sbin/scadm set netsc_dhcp false
# /usr/platform/`uname -i`/sbin/scadm set netsc_ipaddr Y.Y.Y.Y
# /usr/platform/`uname -i`/sbin/scadm set netsc_ipnetmask 255.255.255.0
# /usr/platform/`uname -i`/sbin/scadm set netsc_ipgateway Y.Y.Y.Z
# /usr/platform/`uname -i`/sbin/scadm set if_connection ssh
# /usr/platform/`uname -i`/sbin/scadm useradd root
# /usr/platform/`uname -i`/sbin/scadm userpassword root
# /usr/platform/`uname -i`/sbin/scadm userperm root cuar
# /usr/platform/`uname -i`/sbin/scadm resetrsc


Daha sonra uzaktaki makinadan Y.Y.Y.Y IP'sine ALOM acilinca (yaklasik 1 dakika suruyor boot etmesi) ssh ile ustte olusturulan root kullanicisi ile baglanilir

4) ssh root@Y.Y.Y.Y -v

5) sc> konsolu alindiktan sonra
console -f komutu verilir
>console -f
Warning: User currently has write permission to this console and forcibly removing them will terminate any current write actions and all work will be lost. Would you like to continue? [y/n]y
Enter #. to return to ALOM.

6) Simdi makinanin konsoluna sistem root
kullanicisi ve sifresi ile baglanilir. Konsole baglantisindan alom'a (sc> promptuna) gecmek icin #. karakterine basilir



NOT: v890 ve v490 makinalarinda SC yerine RSC bulunmaktadir. Bunun kurulumu ve ayarlanmasi icin
http://docs.sun.com/app/docs/doc/819-5134/6n785bit5?a=view#gcdkl
adresine bakabilirsiniz. RSC Kullanim klavuzu icin http://docs.sun.com/source/816-3314-12/index.html adresine bakabilirsiniz.

Arkadaşıma gönder , Ana Sayfa