Bienvenidos

Todos estos pasos descriptos fueron probados en ambientes productivos

viernes, 4 de octubre de 2013

Dominio de 25k, caido



Dominio de 25k, caido.No responde el ping, ni el ssh , ni con un console -d al dominio
Primero me conecto a la consola, y luego apago y prendo el equipo.
Luego van surgiendo otros problemas que los voy solucionando de a uno.
[e25k-2-sc0] / # su - sms-svc
e25k-2-sc0:sms-svc:3> setkeyswitch -d g standby
Current virtual key switch position is "ON".
Are you sure you want to change to the "STANDBY" position (yes/no)? yes
Domain is up.
Sending domain shutdown request.
Domain has picked up shutdown request.
Waiting for domain to complete shutdown .............
Domain failed to shutdown.
Do you want to force a shutdown (yes/no)? yes
Waiting on exclusive access to EXB(s): 3FFFF.
Resetting and deconfiguring: V3CPU at SB11
Resetting and deconfiguring: HPCI+ at IO11
Resetting and deconfiguring: EXB at EX11
Powering on: CSB at CS0
Powering on: CSB at CS1
e25k-2-sc0:sms-svc:4> showkeyswitch -d g
Virtual key switch position: STANDBY
e25k-2-sc0:sms-svc:5>
e25k-2-sc0:sms-svc:5> setkeyswitch -d g off
Waiting on exclusive access to EXB(s): 3FFFF.
Powering off: V3CPU at SB11
Powering off: HPCI+ at IO11
Powering off: EXB at EX11
e25k-2-sc0:sms-svc:6>
e25k-2-sc0:sms-svc:6> setkeyswitch -d g on
Powering on: CSB at CS0
 Corto la salida porque es muy larga...

POST (level=16, verbose=20) execution time 9:35
e25k-2-sc0:sms-svc:7> showkeyswitch -d g
Virtual key switch position: ON
e25k-2-sc0:sms-svc:8>
e25k-2-sc0:sms-svc:8> console -d g  ( Hay que darle 2 o 3 enter)
Trying to connect...
Connected to Domain Server.
Your console is in exclusive mode now.
{160} ok boot
Boot device: rootdisk  File and args:
\
SunOS Release 5.10 Version Generic_142900-07 64-bit
Copyright 1983-2010 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: sun007
SUNW,eri0 : 100 Mbps half duplex link up
The / file system (/dev/md/rdsk/d10) is being checked.

WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/md/rdsk/d10).

Oct  3 17:44:08 svc.startd[7]: svc:/system/filesystem/usr:default: Method "/lib/svc/method/fs-usr" failed with e
xit status 95.
Oct  3 17:44:08 svc.startd[7]: system/filesystem/usr:default failed fatally: transitioned to maintenance (see 's
vcs -xv' for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run

Root password for system maintenance (control-d to bypass):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

Oct  3 17:44:50 su: 'su root' succeeded for LOGIN on /dev/console
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
You have new mail.
Sourcing //.profile-EIS.....

TERM=vt100
[sun2007] / # fsck -F ufs /dev/md/rdsk/d10
** /dev/md/rdsk/d10
** Last Mounted on /
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3a - Check Connectivity
** Phase 3b - Verify Shadows/ACLs
** Phase 4 - Check Reference Counts
UNREF FILE  I=11621  OWNER=root MODE=100644
SIZE=484 MTIME=Nov 23 21:51 2011
RECONNECT? y

LINK COUNT FILE I=11621  OWNER=root MODE=100644
SIZE=484 MTIME=Nov 23 21:51 2011  COUNT 0 SHOULD BE 1
ADJUST? y

** Phase 5 - Check Cylinder Groups

CORRECT BAD CG SUMMARIES FOR CG 278? y
CORRECTED SUPERBLOCK SUMMARIES FOR CG 278
CORRECTED SUPERBLOCK SUMMARIES FOR CG 291
1360604 files, 22794043 used, 2315764 free (157924 frags, 269730 blocks, 0.6% fragmentation)

***** FILE SYSTEM WAS MODIFIED *****
[sun2007] / # ^
[sun2007] / # fsck -y -F ufs /dev/md/rdsk/d10
** /dev/md/rdsk/d10
** Last Mounted on /
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3a - Check Connectivity
** Phase 3b - Verify Shadows/ACLs
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cylinder Groups
1360604 files, 22794043 used, 2315764 free (157924 frags, 269730 blocks, 0.6% fragmentation)
[sun2007] / #
[sun2007] / # fsck -y -F ufs /dev/md/rdsk/d30
** /dev/md/rdsk/d30
** Last Mounted on /var/crash
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3a - Check Connectivity
** Phase 3b - Verify Shadows/ACLs
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cylinder Groups
5 files, 12 used, 10327120 free (8 frags, 1290889 blocks, 0.0% fragmentation)
[sun2007] / #

Luego un init 6
Pero al levantar me da errores el dcs
Aplique la solucion que puse hace tiempo atras en mi blog http://solaris4ever.blogspot.com.ar/2011/10/error-al-agregar-una-sb-con-dr.html?m=1

estos son los errores
Oct  3 18:56:11 dsun2007 inetd[427]: Property 'name' of instance svc:/platform/sun4u/dcs:default is missing, inconsistent or invalid
Oct  3 18:56:11 dsun2007 inetd[427]: Property 'endpoint_type' of instance svc:/platform/sun4u/dcs:default is missing, inconsistent or invalid
Oct  3 18:56:11 dsun2007 inetd[427]: Property 'isrpc' of instance svc:/platform/sun4u/dcs:default is missing, inconsistent or invalid
Oct  3 18:56:11 dsun2007 inetd[427]: Property 'wait' of instance svc:/platform/sun4u/dcs:default is missing, inconsistent or invalid
Oct  3 18:56:11 dsun2007 inetd[427]: Unspecified inetd_start method for instance svc:/platform/sun4u/dcs:default

[sun2007] /export/zona4/root/var/spool/clientmqueue # svcs dcs
STATE          STIME    FMRI
maintenance    18:30:06 svc:/platform/sun4u/dcs:default
[sun2007] /export/zona4/root/var/spool/clientmqueue # inetadm -l dcs
SCOPE    NAME=VALUE
Error: Required property name is missing.
Error: Required property endpoint_type is missing.
Error: Required property proto is missing.
Error: Required property isrpc is missing.
Error: Required property wait is missing.
Error: Required property exec is missing.
Error: Required property user is missing.
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE
default  connection_backlog=10
[sun2007] / # svcadm disable dcs
[sun2007] / # 
[sun2007] / # svcs dcs
STATE          STIME    FMRI
disabled       18:56:11 svc:/platform/sun4u/dcs:default
[sun2007] /#  svccfg -v delete dcs
svccfg: Expected property external of property group svc:/platform/sun4u/dcs/:properties/network is missing.
svccfg: Expected property external of property group svc:/platform/sun4u/dcs/:properties/cryptosvc is missing.
svccfg: Expected property external of property group svc:/platform/sun4u/dcs/:properties/filesystem_usr is missing.
svccfg: Expected property external of property group svc:/platform/sun4u/dcs/:properties/nodename is missing.
svccfg: Expected property external of property group svc:/platform/sun4u/dcs/:properties/sckmd is missing.
[sun2007] /#
[sun2007] / # svcs dcs
svcs: Pattern 'dcs' doesn't match any instances
STATE          STIME    FMRI
[sun2007] / # svccfg -v import /var/svc/manifest/platform/sun4u/dcs.xml
svccfg: Taking "initial" snapshot for svc:/platform/sun4u/dcs:default.
svccfg: Taking "last-import" snapshot for svc:/platform/sun4u/dcs:default.
svccfg: Refreshed svc:/platform/sun4u/dcs:default.
svccfg: Successful import.
[sun2007] / # svcs dcs
STATE          STIME    FMRI
disabled       19:04:43 svc:/platform/sun4u/dcs:default
[sun2007] / #
[sun2007] / # svcadm enable dcs
[sun2007] /# svcs dcs
STATE          STIME    FMRI
online         19:06:24 svc:/platform/sun4u/dcs:default
[sun2007] / #