Monday, 16 March 2020

How to extend Tablespace in oracle using BR tools


Open new cmdàrunàbrtools


Select option 2: (press 2)


















Select option 1: (press 1)















Select option c: (press c)













Selection option c: (press c)




Selection option 1: (press 1)












Then select the table we need to extend:

Select option 1: (press 1)














Automatically it will take 10GB else we need to give size in option 5

Select option c(thrice):




























Table space extended successfully.

How to Deploy XPI-Inspector tool

Deploy XPI-Inspector tool for Tracing PI issues.


XPI_Inspector:

The XPI Inspector tool was developed by SAP for collecting information about the configuration and traces and to improve the troubleshooting of PI issues.

Using XPI Inspector application you will be able to collect a lot of information about your system that will help you to learn about problems in the past, to analyze new and detect such at an early stage

Open the start page of the application by using the following url address: 

http(s)://<host>:<port>/xpi_inspector 

Before Deploy XPI inspector tool.










1.Download the xpi_inspector_x.ear file from service market place.

You can deploying the tool using telnet.

Open telnet. For this, use putty system or call the command telnet <host> <http port + 8>























Login as admin user.

















Insert the following commands:
add deploy

deploy <xpi_inspector_ear.ear file path> version_rule=all















































Deploy completed successfully.!!

After Deploy the XPI inspector tool.

















How to Trace:


1. Select relevant Example 
2. Activate the relevant options:
  • Collect debug traces from Messaging System
  • Collect debug trace from XI Module Processor
3. Press Start
4. Reproduce the issue
5. Wait until the issue occurs
6. Press Stop
7. Result Page will appear

How to change PASSWORD_LIFE_TIME Parameter in Oracle

How to change PASSWORD_LIFE_TIME to UNLIMITED in Oracle


C:\Users\je2adm>sqlplus

SQL*Plus: Release 11.2.0.3.0 Production on Fri Jun 23 15:50:55 2017

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Enter user-name: /as sysdba

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options


SQL> select resource_name,limit from dba_profiles where profile='DEFAULT';

RESOURCE_NAME                    LIMIT
-------------------------------- ----------------------------------------
COMPOSITE_LIMIT                  UNLIMITED
SESSIONS_PER_USER                UNLIMITED
CPU_PER_SESSION                  UNLIMITED
CPU_PER_CALL                     UNLIMITED
LOGICAL_READS_PER_SESSION        UNLIMITED
LOGICAL_READS_PER_CALL           UNLIMITED
IDLE_TIME                        UNLIMITED
CONNECT_TIME                     UNLIMITED
PRIVATE_SGA                      UNLIMITED
FAILED_LOGIN_ATTEMPTS            10
PASSWORD_LIFE_TIME               180

RESOURCE_NAME                    LIMIT
-------------------------------- ----------------------------------------
PASSWORD_REUSE_TIME              UNLIMITED
PASSWORD_REUSE_MAX               UNLIMITED
PASSWORD_VERIFY_FUNCTION         NULL
PASSWORD_LOCK_TIME               1
PASSWORD_GRACE_TIME              7

16 rows selected.


SQL>
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

Profile altered.

SQL> select resource_name,limit from dba_profiles where profile='DEFAULT';

RESOURCE_NAME                    LIMIT
-------------------------------- ----------------------------------------
COMPOSITE_LIMIT                  UNLIMITED
SESSIONS_PER_USER                UNLIMITED
CPU_PER_SESSION                  UNLIMITED
CPU_PER_CALL                     UNLIMITED
LOGICAL_READS_PER_SESSION        UNLIMITED
LOGICAL_READS_PER_CALL           UNLIMITED
IDLE_TIME                        UNLIMITED
CONNECT_TIME                     UNLIMITED
PRIVATE_SGA                      UNLIMITED
FAILED_LOGIN_ATTEMPTS            10
PASSWORD_LIFE_TIME               UNLIMITED

RESOURCE_NAME                    LIMIT
-------------------------------- ----------------------------------------
PASSWORD_REUSE_TIME              UNLIMITED
PASSWORD_REUSE_MAX               UNLIMITED
PASSWORD_VERIFY_FUNCTION         NULL
PASSWORD_LOCK_TIME               1
PASSWORD_GRACE_TIME              7

16 rows selected.

SQL>

General Oracle commands

                      Oracle Database Commands and Queries:



1.To view all the table from dictionary :
SQL> select table_name from dictionary;

2.To identify the database name :
SQL> select name from v$database;

3.To identify the instance name :
SQL> select instance from v$thread;

4.To know the size of the database blocks :
SQL> select value from v$parameter where name =’db_block_size’;

5.List the name of the data files :
SQL> select name from v$datafile;

6.Identify the datafile that makes up the system tablespace :
SQL> select file_name from dba_data_files where tablespace_name = ‘SYSTEM’;

7.To check how much free space is available in database and how much is used:
SQL>select sum(bytes)/1024 “free space in KB” from dba_free_space;
SQL>select sum(bytes)/1024 “used space in KB” from dba_segments”;

8.List the name and creation date of database users :
SQL>select username, created from dba_users;

9.Where is the existing Control file located and what is the name?
SQL> select * from v$controlfile;  OR
 SQL> show parameter control
SQL> select name from v$controlfile;

10.What is the initial sizing of the datafile section in your control file?
SQL>select records_total from v$controlfile_record_sectionwhere type = “DATAFILE”;

11.List the number and location of existing log files?
SQL> select member from v$logfile;

12.Display the number of redo log file groups and members your database has ?
SQL>select group#, members, status from v$log;

13.In which database mode is your database configured?
SQL> select log_mode from v$database;

 14.Is archiving enabled?
SQL>select archiver from v$instance;

15.To view all the tablespaces name?
SQL>select tablespace_name from dba_tablespaces;

16.Identify the different types of segments in the database.
SQL>select DISTINCT segment_type from dba_segments;

How to Import object / TR in to JAVA system(ESR)

Importing object XI7_1_MES_1.0_of_jmect-nsps.tpz into Enterprise Service Repository(ESR).

Enter transaction sxmb_ifr to get the below link. Enter into ESR (Enterprise Services Builder)

Enter the user name and password















Select Tools -> Import Design Objects





















The object   XI7_1_MES_1.0_of_jmect-nsps.tpz  has saved in local drive choose Client in the below screen.
















Select the object that needs to be imported.





















Perform Import

















Object is successfully imported into system (ESR). Object imported into ESR will be activated automatically and no manual activation required. 


How to Manually Disable SAML 2.0 for SAP URL

 SAML 2.0 authentication is enabled in an AS ABAP system, but for some particular ICF services, you want to disable the SAML 2.0 authenticat...