Servicios

Web hosting
Ver »
Páginas Web
Ver »
Soporte UNIX
Ver »
UNIX TIPS
Ver »

Dynamic Reconfiguration SF E25K

Verificar ACL del Dominio
sms-svc> showplatform -p available -d A
sms-svc> setupplatform -p available -d A SBX IOX

Agregar un Tag al Dominio
sms-svc> addtag -d A TESTX
sms-svc> showplatform -p domains

Verificar Tarjetas Disponibles
sms-svc> showboards | grep -v Empty

Desde la System Controller
============================

 Attach
-----------------
addboard -d A -c assign    SBX
addboard -d A -c connect   SBX
addboard -d A -c configure SBX

 Detach
------------------
deleteboard -c unconfigure SBX
deleteboard -c disconnect  SBX
deleteboard -c unassign    SBX

moveboard -d A -c configure SBX

Desde el dominio (como root)
============================

 Attach
----------------
cfgadm -x assign    SBX
cfgadm -c connect   SBX
cfgadm -c configure SBX

 Detach
-----------------
cfgadm -c unconfigure SBX
cfgadm -c disconnect  SBX
cfgadm -x unassign    SBX


Desde la System Controller
============================

 Attach
---------------
rcfgadm -d A -x assign    SBX
rcfgadm -d A -c connect   SBX
rcfgadm -d A -c configure SBX

 Detach
-----------------
rcfgadm -d A -c unconfigure SBX
rcfgadm -d A -c disconnect  SBX
rcfgadm -d A -x unassign    SBX

Verificar o Configurar parametros de Arranque del Sistema
sms-svc> showobpparams -d A
sms-svc> setobpparams -d A 'auto-boot?=true'

Verificar el componente asignado al Dominio SB7
scmain:sms-svc:24> showboards
Retrieving board information. Please wait.
........
Location Pwr Type of Board Board Status Test Status Domain
-------- --- ------------- ------------ ----------- ------
SB0 On CPU Active Passed domain-test
SB1 On CPU Active Passed domain-test
SB7 On CPU Active Passed domain-test

Note: Detach a SB in active environment. Boot the domain to Solaris or setkeyswitch to standby or off to unconfigure the board.

Regresar


Random TIPS

RESPALDAR ARCHIVO wtmpx CON FORMATO LEGIBLE

root@ # cd /var/adm/
root@ # ls -l wtmpx
-rw-r--r--   1 adm      adm      1539641784 Apr 15 18:02 wtmpx
root@ # /usr/lib/acct/fwtmp < /var/adm/wtmpx > /var/adm/wtmpx.`date +%Y%m%d`
root@ # ls -l | grep wtmpx
-rw-r--r--   1 adm      adm      1539693492 Apr 15 18:09 wtmpx
-rw-r--r--   1 root     other    355949528 Apr 15 18:09 wtmpx.20150415
root@ # > /var/adm/wtmpx
root@ # ls -l /var/adm/wtmpx
-rw-r--r--   1 adm      adm          372 Apr 15 18:11 /var/adm/wtmpx
root@ # gzip wtmpx.20150415
root@ # ls -l | grep wtmpx
-rw-r--r--   1 adm      adm        10044 Apr 15 18:12 wtmpx
-rw-r--r--   1 root     other    42045437 Apr 15 18:09 wtmpx.20150415.gz
root@ #

free counters