Professional Documents
Culture Documents
OPERA v5.6: Change Hostname Guide
OPERA v5.6: Change Hostname Guide
OPERA v5.6
Change Hostname Guide
New Openings and Upgrades
OPERA VERSION 5
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 1
OPERA v5.6
Contents
Contents ........................................................................................................................................................ 1
Approach ....................................................................................................................................................... 2
Environment Details...................................................................................................................................... 2
Requirements................................................................................................................................................ 3
Step 1 – Update Windows Services .............................................................................................................. 4
Step 2 – Update Hosts File ............................................................................................................................ 5
Step 3 – Extract Change Hostname............................................................................................................... 7
Step 4 – Run Change Hostname Utility ......................................................................................................... 9
Support ....................................................................................................................................................... 11
Document Change Log ................................................................................................................................ 12
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 1
OPERA v5.6
Approach
The scripts are designed to update the new hostname of server within the configuration files
after the server hostname has been physically changed.
The scripts make changes to Database, Weblogic Server, JDBC, OHS, OPERA, and Report
configuration files.
Environment Details
Operating System: Windows Server 2016 R2 Standard
Oracle Version: 12.2.0.1
Opera Version: 5.6.X
Weblogic Version: 12.2.1.3.0
Forms Version: 12c
Scripting Languages: Power shell, Python
Java Version: 1.8
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 2
OPERA v5.6
Requirements
If your OPERA server does not meet the requirements listed below, the Change Hostname Utility should
not be used.
• Running the Change Hostname Utility on a server that does not meet the
requirements can cause harm to the server and require redeployment
1. The Server has been built to the specifications outlined in the OPERA assessment.
2. The user account executing the script has full admin access (including being a part of the
ora_dba user group) on the server, ideally using the "Administrator" user which is already a part
of the necessary groups
3. Server hostname should be changed before execution of the script.
4. OPERA SSL certificate has already been successfully implemented
5. Only an OPERA single server environment has been considered.
6. There is no OPERA v5.6 Dataguard / Standby Database setup or Clustered environment
functionality.
7. Scripts are designed with an assumption that the OPERA, Oracle, and WebLogic are defaulted to
a D drive installation.
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 3
OPERA v5.6
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 4
OPERA v5.6
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 5
OPERA v5.6
3. If not already added, create a line for the CN value of the certificate. This should follow the
pattern XXXXX.marriott.com, where XXXXX is the MARSHA code of the hotel and the IP address
is the CURRENT IP address of the OPERA v5.6 server
NOTE: this entry will be modified to the final IP address in a later process
Example Below is for RESOM with an OPERA server IP address of 162.130.8.236
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 6
OPERA v5.6
1. Download the files from the Marriott Box at the link below, the download button should be in
the top right
https://marriottpilot.box.com/s/m07jo6akw9kwzdq4fg2mzat5gbdq7zl2
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 7
OPERA v5.6
4. Change the Extract to: field to D:\, and uncheck the box in red as seen in the screenshot below,
then click OK
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 8
OPERA v5.6
cd D:\OracleScripts
.\MasterScript.ps1
3. The script will run automatically and can take anywhere from 1.5 to 3 hours
NOTE: Do not interact with the PowerShell window or you can cause the script to get stuck.
NOTE: Best practice is to login locally to the server to prevent session timeouts or interruptions
to the change hostname utility
4. The change hostname Utility will reboot the server
5. Once the reboot is complete, the same user that started the Change Hostname scripts will need
to login into the server for the process to finish
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 9
OPERA v5.6
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 10
OPERA v5.6
Support
New OPERA Install/New Property Opening:
Contact your Marriott Installation or IT Project Manager.
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 11
OPERA v5.6
MARRIOTT INTERNATIONAL CONFIDENTIAL & PROPRIETARY INFORMATION Change Hostname Guide | 27-MAY-21 12