Logging on to AP During Downtime
During the downtime phase of the upgrade, the system is locked. If you want to log on to the system, you cna only do so as 000/DDIC or 000/SAP*.
Other users will receive the error 'Logon not possible: upgrade still running.'
While the upgrade is runing, there is no real reason to logon. If you do so, restrict yourself to using simple monitoring transactions sunc as SM50. Keep in mind that the SAPup process is in full control and can shut down the system at any moment, so you might find yourself kicked out without warning.
Notice also that, during downtime, the default client is always 000.
Unlock the System to Correct Errors
Although the system is locked during downtime phases, in some circumstances,
it may be necessary for you to log on to the system to fix an error. Users SAP* or
DDIC can always log on, but if you have to change development objects, then you
must log on as another user.
To unlock the system, use the following commands:
-- Unix
cd /bin
/exe/tp unlocksys pf=
/exe/tp unlock_eu pf=
-- Windows
cd \exe
tp.exe unlocksys pf=
tp.exe unlock_eu pf=
denotes the transport profile of the domain to which the system belogns.
This is normally a file called /usr/sap/trans/TP_DOMAIN_.PFL(where SID is the system ID of the
transprot domain controller, no necessarilly that of the currenct system.)
The unlocksys argument of the first TP command enables logging on for users other than SAP* or DDIC.
The unlock_eu argumnet unlock the development workbench to allow repository changes.
위의 방법과 같이 수행하면 update 중인 system의 shadow intance의 lock이 해제되지 않으므로 다음과 같이 수행
1. su - adm
2. cd /bin
3. ./SAPup unlockshd
4. env|grep DIR_
DIR_LIBRARY=/usr/sap//SYS/exe/run 는 현재 운영중인 환경의 변수임으로 이를 shadow instance의 환경 값으로 변경.
setenv DIR_LIBRARY /exe (이렇게 해야 업그레이드 환경의 바이너리와 라이브러리 사용 가능)
5. ./tp unlocksys pf=TPPARM (디렉토리는 /bin 유지)
이 글은 스프링노트에서 작성되었습니다.
'4 Jobs > SAP' 카테고리의 다른 글
RFC Error : Win32 error 1326 (0) | 2010.08.24 |
---|---|
MDB-05053 Error (0) | 2010.08.24 |
시스템 카피 후 SRCSYSTEM update (0) | 2010.08.24 |
Wage Types 백업 (0) | 2010.08.24 |
TADIR (0) | 2010.08.24 |