Saturday, September 17, 2016

How To Repair A Corrupted SD Card or USB Flash Drive

How To Repair A Corrupted SD Card or USB Flash Drive

1)Go  to Cmd prompt :
as Administrator

2)write  diskpart cmd in cmd promt

diskpart

3) Now you will be DISKPART>

4) DISKPART>list disk




5) now run clean cmd
Clean

you can run this cmd 2-3 times.


6)Now run
create partition primary 

7)Now run
>active

8) select partition 1 


this partition is pendrive or flesh

9)format fs=fat32


when completed it will auto play

OBIEE 12c logs and Files ,services location.

log Files location in OBIEE 12c:-


File Locations of 11g and 12c  :-
11g:
  • Upgrade log: Middleware\Oracle_BI1\upgrade\logs
  • Admin Server log files: [MW_HOME]\user_projects\domains\bifoundation_domain\servers\AdminServer\logs
  • Managed Server log files: [MW_HOME]\user_projects\domains\bifoundation_domain\servers\bi_server1\logs
  • BI Server log files:[MW_HOME]\instances\instance1\diagnostics\logs\OracleBIServerComponent\coreapplication_obis1
  • Presentation Server log file:[MW_HOME]\instances\instance1\diagnostics\logs\OracleBIPresentationServicesComponent\coreapplication_obips1
12c:

  • Upgrade log: ORACLE_HOME\user_projects\domains\bi\servers\obips1\logs
  • Admin Server log files:ORACLE_HOME\user_projects\domains\bi\servers
  • Managed Server log files: ORACLE_HOME\user_projects\domains\bi\servers
  • BI Server log files:ORACLE_HOME\user_projects\domains\bi\servers\obis1\logs
  • Presentation Server log file:ORACLE_HOME\user_projects\domains\bi\servers\obips1\logs


how to start and stop BI services OBIEE12c:-

cd orabi/obiee/Oracle_Home/user_projects/domains/bi/bitools/bin
[oracle@ServerName bin]$./stop.sh


Common scripts bin directory.  This contains the start, stop & status scripts along with the data-model-cmd script for common tasks such as uploading/downloading repositories, updating application roles & users & setting repository variables plus many other utility scripts:
/u01/app/obiee/user_projects/domains/bi/bitools/bin
Weblogic scripting tool – wlst.sh – used for perform backups of the BI content (to ‘bar’ files) and other weblogic tasks:
/u01/app/obiee/oracle_common/common/bin
Service Instances. Where the metadata for each installed BI instance is stored. There is one sub-directory for each instance and if you just performed a basic install there will just be one directory, probably called ‘ssi’
/user_projects/domains/bi/bidata/service_instances
Repository (RPD) files. These are kept beneath the Service Instances directory. Note you cannot directly edit these – or copy them down to your pc and edit them there. You must use the data-model-cmd to upload/download them:
/user_projects/domains/bi/bidata/service_instances/ssi/metadata/datamodel/customizations
Web Catalog.  Where the dashboards, reports, prompts and all other user content is stored, along with some catalog config files. The structure of these directories is identify to OBIEE 11g, starting with root, then shared, users etc..
/user_projects/domains/bi/bidata/service_instances/ssi/metadata/content/catalog
instanceconfig.xml. Normally you shouldn’t edit this file directly, you should use the mbean browser in enterprise manager, but there are occasions when you might need to.
/user_projects/domains/bi/config/fmwconfig/biconfig/OBIPS/instanceconfig.xml
NQSConfig.INI. Again normally you shouldn’t edit this file directly, you should use the mbean browser in enterprise manager, but there are occasions when you might need to.
/user_projects/domains/bi/config/fmwconfig/biconfig/OBIS/NQSConfig.INI
obis.properties. This file can be used to define environment variables for OBI.
/user_projects/domains/bi/config/fmwconfig/bienv/OBIS/obis.properties
config.xml. Security file containing, amount other items, the security realm details from weblogic – really handy if you have a LDAP issue and weblogic won’t start!
/user_projects/domains/bi/config
fmwconfig. This is a folder contain many security files – system-jazn-data.xml, various SSO, wallet and other security config files.
/user_projects/domains/bi/config/fmwconfig
xmlp-server-config.xml Configuration file for BI Publisher and the Mobile App Designer.
//user_projects/domains/bi/bidata/components/bipublisher/repository/Admin/Configuration/xmlp-server-config.xml
odbc.ini, odbcinst.ini & tnsnames.ora.  All three of the data source connection files are located together:
/user_projects/domains/bi/config/fmwconfig/bienv/core
odbc template files – useful for copying the basic config for new data sources into the actual odbc files used by OBIEE above:
/bi/common/ODBC/Merant/7.1.4
Log files.  There are still separate log files for the five BI components and the Admin & BI managed services within weblogic, but there are now all located together in the same area.
AdminServer Managed Service logs:
/user_projects/domains/bi/servers/AdminServer/logs
bi_server1 Managed Service logs:
/user_projects/domains/bi/servers/bi_server1/logs
BI Server logs:
/user_projects/domains/bi/servers/obis1/logs
Presentation server logs:          
/user_projects/domains/bi/servers/obips1/logs
Java Host logs:
/user_projects/domains/bi/servers/obijh1/logs
Cluster Component logs:
/user_projects/domains/bi/servers/obiccs1/logs
Scheduler logs:
/user_projects/domains/bi/servers/obisch1/logs


[oracle@ServerName]$ cd orabi/obiee/Oracle_Home/user_projects/domains/bi/bitools/bin
[oracle@ServerName bin]$./start.sh




Data engineering Interview Questions

1)  What all challenges you have faced and how did you overcome from it? Ans:- Challenges Faced and Overcome As a hypothetical Spark develop...