Professional Documents
Culture Documents
Ashok Thiyagarajan
ADVANS | MARLBOROUGH, MA AND CHENNAI, INDIA | WWW.ADVANSIT.COM
Table of Contents
COMPONENTS:.......................................................................................................................................... 3
TNSNAME: ................................................................................................................................................. 4
NODE MANAGER LISTEN ADDRESS: .......................................................................................................... 6
MACHINE NAME: ...................................................................................................................................... 7
VERIFIY MACHINE AND SERVERS: ............................................................................................................. 9
FILE CHANGES: ........................................................................................................................................ 10
nodemanager.properties ........................................................................................................................ 10
biee-domain.xml: .................................................................................................................................... 10
topology.xml: .......................................................................................................................................... 11
startManagedWebLogic.sh ..................................................................................................................... 11
stopManagedWebLogic.sh...................................................................................................................... 12
Config.xml: .............................................................................................................................................. 12
SCHEDULER CONNECTION SETTINGS IN ENTERPRISE MANAGER:.......................................................... 13
STARTING BI_SERVER1: ........................................................................................................................... 14
Systems MBean Browser: ....................................................................................................................... 15
Data Sources: .......................................................................................................................................... 17
STOP OBIEE SERVICES: ............................................................................................................................ 18
1. Shutdown OPMN Components ........................................................................................................... 18
2. Shutdown Managed Server ................................................................................................................ 18
3. Shutdown Node Manager ................................................................................................................... 19
4. Shutdown Admin Server ..................................................................................................................... 19
START OBIEE SERVICES:........................................................................................................................... 19
1. Start Admin Server .............................................................................................................................. 19
2. StartNode Manager ............................................................................................................................ 19
3. Start Managed Server ......................................................................................................................... 20
4. Startup OPMN Components ............................................................................................................... 20
RESTORING CATALAOG: .......................................................................................................................... 21
ARCHIVE: ................................................................................................................................................. 22
2
UNARCHIVE: ............................................................................................................................................ 23
UNARCHIVE OPTIONS: ............................................................................................................................ 24
Inherit pasted item: ................................................................................................................................ 24
Preserve pasted item: ............................................................................................................................. 24
Create pasted item: ................................................................................................................................ 24
None:....................................................................................................................................................... 24
Old: .......................................................................................................................................................... 24
All: ........................................................................................................................................................... 24
CONNECTION POOL: ............................................................................................................................... 24
SIGNING IN ERROR: ................................................................................................................................. 25
Obie.old.com to Obie.new.com
This document provides the information about the Migration of hostname, Service name and
port.
SYSTEM 1
SYSTEM 2
OBIEE
Application
Installed System
DATABASE
SCHEMAS
(dev_biplatform
& mds_own)
SYSTEM 3
OBIEE Application
Configuration without
Installation obie.new.com
from system 1 and
restoring Database
Schemas from system 2
COMPONENTS:
Listed below are the components at a high level in 11g, which require changes whenever the
host name changes.
1. Admin Server
2. Managed Server
3. Node Manager
4. RCU Schemas Connections
5. System Components
TNSNAME:
In the below path the following tnsnames.ora file should be changed to our Hostname, port
number and service name.
/u01/app/Middleware/Oracle_BI1/network/admin
OBIEEDEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.1)(PORT = 1520))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = obie.new.com)
)
)
After the above changes, restart the listener and ensure that you are able to connect to the
database through the tnsnames entry (This post assumes a single instance Oracle database.
Also this post will not cover the changes to get the database control working).
After getting the database connectivity to work, the next step is to start up the Admin Server.
Unlike Managed Server, Admin Server will run even with a wrong host name.
So, start up the Admin Server by running startWeblogic.sh script in
Middleware_Home}\user_projects\domains\bifoundation_domain folder.
Once the Admin Server is started, navigate to the Weblogic Console. Under
the bifoundation_domain > Environment link click on the Machines.
After Locking & Editing the Admin Console, add a new machine with the new host
name obie.new.com as shown below.
So, you should see both the old host name and the new host name under the machines list.
MACHINE NAME:
Now, under bifoundation_domain > Environments link, click on the Servers link.
Click on the bi_server1 managed server and change the machine name to obie.new.com from
the older host name (This will get activated only after you Lock & Edit the Admin Console) in
the Configuration > General tab.
Save & Activate the Changes. Now you can notice that the Managed Server will be pointing to
the new Host name as shown below
We will still not be able to start the Managed Server as the Node Manager will be pointing to
the older host name. To overcome this, we need to first remove the existing Node Manager
Service by running the following script by which is available at
/u01/app/Middleware/wlserver_10.3/server/bin.
./setWLSEnv.sh
After running this script you will receive a message the your environment is set.
Before doing any changes take a backup of all the files which you are editing.
The following files must be changed in order to take effect of new changes.
10
FILE CHANGES:
nodemanager.properties
This file is present in folder /u01/app/Middleware/wlserver_10.3/common/nodemanager
This will install the Node Manager Service with the updated host name. Start the Node
Manager Service manually now.
biee-domain.xml:
For System Components to use the new host name, we need to basically update the bieedomain.xml file under
/u01/app/Middleware/user_projects/domains/bifoundation_domain/config/fmwconfig.
There will be 2 entries using the older host name. Update both of them to the new host
name obie.new.com
11
topology.xml:
Also, the communication (only in Enterprise Manager for listing the status of components)
between opmnctl and the java components happen through a file called Topology.xml.
This file will be present under
/u01/app/Middleware/user_projects/domains/bifoundation_domain/opmn.
Update the older host name in this file to the new host name obie.new.com
startManagedWebLogic.sh
12
stopManagedWebLogic.sh
Config.xml:
Ensure the machine name and host name has been changed in the below config.xml file
/u01/app/Middleware/user_projects/domains/bifoundation_domain/config
13
14
STARTING BI_SERVER1:
After starting the service, navigate back to the Admin Console and click
on bifoundation_domain. From the Control tab, start thebi_server1 managed server.
Ensure that the Managed Server goes into RUNNING state before continuing on to the next
step.
15
16
In this update the Machine Name attribute to the new host name
17
Data Sources:
Now, we have the Admin Server pointing to the new host name (we have to restart for changes
to be applicable we can do that in the end). We still have the connections to RCU schemas
from BI EE pointing to the older host name. To update this, login to Admin Console.
Expand Services > JDBC and click on the Data Sources link.
Click on each data source(bip_datasource, mds-owsm & rtd_datasource) and update the
database connection URL (Connection Pool tab) to point to the new host name obie.new.com
18
We still have 2 more changes pending, System Components & other static files using the older
host name like RPD, start scripts etc.
After all these changes, restart your system, all the components will start normally but with the
new host name.
19
Verify that the Managed Server has shut down completely with ps -ef | grep bi_server1.
2. StartNode Manager
cd /u01/app/Middleware/wlserver_10.3/server/bin
nodemanager ./startNodeManager.sh > nodemanager.out &
tail -f nodemanager.out
nodemanager.out is log file which logs the running status
20
After issuing the start command we tail the log until we see the message below, indicating that
the server has started successfully.
<Info> <Secure socket listener started on port ####>
21
Now you can login to analytics and login with your username and password and verify the host
name.
RESTORING CATALAOG:
Catalog restore can be done in two ways
1. Using Catalog Manager
2. Using Catalog Tasks in Presentation Services.
Archive a Presentation Catalog (that is, the catalog root folder) or an individual catalog folder,
all objects in the folder and the folder's subfolders are saved in single compressed file.
Unarchive a Presentation Catalog or an individual catalog folder, the archive file is
uncompressed and all objects in the folder and the folder's subfolders are then stored in the
current offline catalog. Existing folders that have the same names as folders being unarchived
are overwritten.
Timestamps that are assigned to the item and folder that you are archiving, select the Keep
Timestamp checkbox.
If you do not select this option, the archiving process will not include timestamp information.
Upon unarchiving, the system will apply a timestamp indicating the time at which the item or
folder is unarchived.
Permissions that are assigned to each item or folder, select the Keep Permissions checkbox.
If you do not select this option, the archiving process will not include any permissions. Upon
unarchiving, the system will assign the parent folder's permissions to all of the items and
folders.
22
CATALOG MIGRATION:
ARCHIVE:
Go to> obie.old.com:9704/analytics and login with your USERNAME and PASSWORD
1. Go to > Catalog > Select your Catalog Folder as marked above and select Archive
2. After selecting Archive a prompt box will appear as above. If you want to keep
Permissions and Keep Timestamps enable it otherwise disable it.
3. Select OK and your catalog file will be automatically downloaded like below.
23
UNARCHIVE:
4. Go to > obie.new.advansit.com:9704/analytics and login with your USERNAME and
PASSWORD
5. Go to > Catalog > and select under which folder your Catalog folder should be deployed.
6. Select the folder on which you want un archive.
7. After select un archive it will prompt for Browse position to upload the catalog.
24
UNARCHIVE OPTIONS:
Inherit pasted item: Inherits its permissions (ACL) from its new parent folder.
Preserve pasted item: Preserves its permissions (ACL) as it was in the original, mapping
accounts as necessary.
Create pasted item: Preserves its permissions (ACL) as it was in the original, creating and
mapping accounts as necessary.
None: Pastes all files, but does not paste any existing files.
Old: Pastes all files, but does not paste any existing files unless they are older than the source.
All: Paste all files, whether they exist or not. The default is 'all', which was the default behavior
in Release 10.1.3.2.
CONNECTION POOL:
1.
2.
3.
4.
5.
25
6.
7.
8.
9.
SIGNING IN ERROR:
After doing all the changes while uploading the catalog I uploaded my production catalog
and I was unable to sign in.
26
27
28
6. If the user is present, delete this user entry from rpd Eg: weblogic
Now its all set! You can log in to your obie.new.com:9704/analytics and
check the reports that have un archived.