aprendiendo_sap:start
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
aprendiendo_sap:start [2018/05/30 20:16] – [Modificaciones] cayu | aprendiendo_sap:start [2018/05/30 21:12] – [Modificaciones] cayu | ||
---|---|---|---|
Línea 776: | Línea 776: | ||
* / | * / | ||
==== Modificaciones ==== | ==== Modificaciones ==== | ||
- | === Identificador de Base de Datoa Oracle === | + | === Identificador de Base de Datos Oracle === |
Algunas formas de recuperación requieren que la base de datos se inicie y acceda como montada. Para poner la base de datos en modo de montaje, deberemos inicia de la siguiente manera : | Algunas formas de recuperación requieren que la base de datos se inicie y acceda como montada. Para poner la base de datos en modo de montaje, deberemos inicia de la siguiente manera : | ||
< | < | ||
Línea 845: | Línea 845: | ||
SQL> alter system set instance_name=< | SQL> alter system set instance_name=< | ||
</ | </ | ||
+ | |||
+ | SQL> startup | ||
+ | |||
+ | SQL> create pfile from spfile; | ||
+ | |||
+ | File created. | ||
+ | </code | ||
+ | == Iniciando la Base de Datos == | ||
+ | < | ||
+ | SQL> startup | ||
+ | ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance | ||
+ | ORACLE instance started. | ||
+ | |||
+ | Total System Global Area 6.8719E+10 bytes | ||
+ | Fixed Size | ||
+ | Variable Size 2.8857E+10 bytes | ||
+ | Database Buffers 3.9728E+10 bytes | ||
+ | Redo Buffers | ||
+ | ORA-00205: error in identifying control file, check alert log for more info | ||
+ | </ | ||
+ | alert_< | ||
+ | < | ||
+ | ALTER DATABASE MOUNT | ||
+ | Tue May 29 15:27:57 2018 | ||
+ | ORA-00210: cannot open the specified control file | ||
+ | ORA-00202: control file: '/ | ||
+ | ORA-27037: unable to obtain file status | ||
+ | Linux-x86_64 Error: 2: No such file or directory | ||
+ | Additional information: | ||
+ | ORA-00210: cannot open the specified control file | ||
+ | ORA-00202: control file: '/ | ||
+ | ORA-27037: unable to obtain file status | ||
+ | Linux-x86_64 Error: 2: No such file or directory | ||
+ | Additional information: | ||
+ | ORA-00210: cannot open the specified control file | ||
+ | ORA-00202: control file: '/ | ||
+ | ORA-27037: unable to obtain file status | ||
+ | Linux-x86_64 Error: 2: No such file or directory | ||
+ | Additional information: | ||
+ | </ | ||
+ | Renombramos los control file de cntrl< | ||
=== Conectividad interna === | === Conectividad interna === | ||
Deberemos modificar el nombre del host de nuestro servidor, para que se adapte al **SID** que necesitamos y también deberemos ajustar su resolución local en el archivo /// | Deberemos modificar el nombre del host de nuestro servidor, para que se adapte al **SID** que necesitamos y también deberemos ajustar su resolución local en el archivo /// | ||
Línea 895: | Línea 936: | ||
# sed -i -e ' | # sed -i -e ' | ||
# sed -i -e ' | # sed -i -e ' | ||
+ | </ | ||
+ | === Iniciando SAP === | ||
+ | Posteriormente a modificar la configuración de los prefiles de Oracle, iniciamos el Listener | ||
+ | < | ||
+ | # lsnrctl start | ||
+ | |||
+ | LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 29-MAY-2018 15:31:47 | ||
+ | |||
+ | Copyright (c) 1991, 2014, Oracle. | ||
+ | |||
+ | Starting / | ||
+ | |||
+ | TNSLSNR for Linux: Version 12.1.0.2.0 - Production | ||
+ | System parameter file is / | ||
+ | Log messages written to / | ||
+ | Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=< | ||
+ | Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=< | ||
+ | Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=< | ||
+ | |||
+ | Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=< | ||
+ | STATUS of the LISTENER | ||
+ | ------------------------ | ||
+ | Alias | ||
+ | Version | ||
+ | Start Date 29-MAY-2018 15:31:50 | ||
+ | Uptime | ||
+ | Trace Level off | ||
+ | Security | ||
+ | SNMP OFF | ||
+ | Listener Parameter File / | ||
+ | Listener Log File / | ||
+ | Listening Endpoints Summary... | ||
+ | (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=< | ||
+ | (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=< | ||
+ | (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=< | ||
+ | Services Summary... | ||
+ | Service "< | ||
+ | Instance "< | ||
+ | The command completed successfully | ||
+ | </ | ||
+ | |||
+ | Revisar /usr/sap y mover el directorio de < | ||
+ | |||
+ | Modificar los enlaces hacia los ejecutables de SAP en el directorio / | ||
+ | |||
+ | * co.sap< | ||
+ | * dw.sap< | ||
+ | * ig.sap< | ||
+ | * ms.sap< | ||
+ | * se.sap< | ||
+ | |||
+ | De la siguiente forma : | ||
+ | < | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | </ | ||
+ | Modificar los enlaces global y profile / | ||
+ | * global -> / | ||
+ | * profile -> / | ||
+ | |||
+ | Como : | ||
+ | < | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | </ | ||
+ | Modificar los enlaces / | ||
+ | * dbg -> / | ||
+ | * nuc -> / | ||
+ | * run -> / | ||
+ | * uc -> / | ||
+ | Como : | ||
+ | < | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | ln -s / | ||
+ | </ | ||
+ | Revisar la ruta de SSFS (Secure Storage in File System) : | ||
+ | < | ||
+ | RSEC_SSFS_DATAPATH=/ | ||
+ | RSEC_SSFS_KEYPATH=/ | ||
+ | </ | ||
+ | Renombrar SSFS_< | ||
+ | |||
+ | |||
+ | Reset de usuario SAP* : | ||
+ | <code sql> | ||
+ | SQL> select UFLAG, BNAME, MANDT from SAPSR3.USR02 where BNAME=' | ||
+ | |||
+ | SQL> delete from SAPSR3.USR02 where BNAME=' | ||
+ | </ | ||
+ | SAP Profile < | ||
+ | < | ||
+ | login/ | ||
+ | </ | ||
+ | < | ||
+ | # startsap | ||
+ | Checking < | ||
+ | Database is running | ||
+ | ------------------------------------------- | ||
+ | Starting Startup Agent sapstartsrv | ||
+ | OK | ||
+ | Instance Service on host < | ||
+ | ------------------------------------------- | ||
+ | starting SAP Instance DVEBMGS00 | ||
+ | Startup-Log is written to / | ||
+ | ------------------------------------------- | ||
+ | / | ||
+ | Instance on host < | ||
</ | </ | ||
===== Clonación de un sistema SAP ===== | ===== Clonación de un sistema SAP ===== |
aprendiendo_sap/start.txt · Última modificación: 2018/08/09 18:43 por cayu