Skip to content

Commit

Permalink
WMS ID : 11344 - Updating Lab 2 and 4 as part of regular improvements (
Browse files Browse the repository at this point in the history
…#44)

* Update object-storage-token.md

* commit

* commit

* Update eval_start.png

* commit

* Update db-migration.md

* Update db-migration.md

* commit

* Update db-migration.md

* coomit

* commit

* Update db-migration.md

* commit

* Update db-migration.md

* Update db-migration.md

* commit

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* Update source-database-prov.md

* Update source-database-prov.md

* Update source-database-prov.md

* commit

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* commit

* commit

* Update zdm-host-provision.md

* commit

* Update zdm-host-provision.md

* commit

* commit

* Update prepare-source-db.md

* Update prepare-source-db.md

* Update prepare-source-db.md

* Update zdm-host-provision.md

* Update zdm-host-provision.md

* Update target-db-provision.md

* Update zdm-host-provision.md

* Update prepare-source-db.md

* commit

* Update prepare-target-db.md

* commit

* commit

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* commit

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* Update object-storage-token.md

* commit

* commit

* Update migrate-db.md

* Update migrate-db.md

* commit

* Update source-database-prov.md

* Update target-db-provision.md

* Update zdm-host-provision.md

* Update prepare-source-db.md

* Update prepare-target-db.md

* Update object-storage-token.md

* commit

* Update zdm-host-provision.md

* commit

asa

* Update zdm-host-provision.md

* commit

* Update manifest.json

* Update manifest.json

* Update manifest.json

* commit

* commit

* Update migrate-db.md

* Update migrate-db.md

* commit

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* commit

* Update manifest.json

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* Update ssh-source-login.png

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* Update target-db-provision.md

* Update target-db-provision.md

* Update target-db-provision.md

* Update target-db-provision.md

* commit

* commit

* Update prepare-source-db.md

* Update prepare-source-db.md

* commit

* Update prepare-target-db.md

* Update prepare-target-db.md

* commit

* Update migrate-db.md

* Update migrate-db.md

* commit

* commit

* Update migrate-db.md

* Update introduction.md

* Update source-db-provision.md

* Update target-db-provision.md

* commit

* commit

* Update introduction.md

* commit

* commit

* commit

* commit

* Update migrate-db.md

* Update migrate-db.md

* Update migrate-db.md

* commit

* commit

* commit

* commit

* Update migrate-db.md

* commit

* commit

* Update manifest.json

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* Update target-db-provision.md

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* commit

* target-db-provision-changes

* zdm provision update

* image change

* commit

* commit

* Update zdm-host-provision.md

* Updated source-db-provision

* Update source-db-provision.md

* target-db-provision

* target-db-prov

* Update target-db-provision.md

* prepare-target

* Updated multiple modules

* updated

* Updated

* Update zdm-host-provision.md

* asas

* Lab 2 and 4 changes
  • Loading branch information
aputhenc authored Mar 22, 2024
1 parent 90b463f commit 9725bbc
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,61 @@ In this lab

12. Take a note of the Public IP address of the compute instance which will used to login to source database system.

13. Collect the value of SYS password.
13. Modify the SYS user password on Source Database.

Login to the source database server using the Public IP and private ssh key.
Please note that we need to use same Source Database SYS password for the Target database provisioning (Lab 3).

Please refer the value of RACPASSWORD variable in file /u01/ocidb/params.ini for SYS,SYSTEM,PDBADMIN and SYSMAN password.
Current SYS user password (refer RACPASSWORD variable in /u01/ocidb/params.ini file) can't be used for Target database provisioning since it doesn't meet the password complexity of Target database service.

Please follow below procedure to change SYS user password of Source Database.

a. Establish connection to source database.

Please follow below steps to establish connection to source database using SQLPLUS.

Login to source database server using Public IP and ssh key.

Switch user to **oracle** using below command.

**sudo su - oracle**

Set the environment to connect to your database.

Type **. oraenv** and press **Enter**.

Enter **ORCL** when asked for **ORACLE\_SID** and then press **Enter** (Enter your ORACLE\_SID if that is different from ORCL).

Type **sqlplus "/as sysdba"** and press **Enter** to connect to source database as SYS user.

Please find below snippet of the connection steps.

![Image showing sqlplus connection to source cdb](./images/source-cdb-connection.png)

b. Modify the SYS password.

Execute below statement on the source database connection already established using previous step.

```text
<copy>
alter user SYS identified by Your_Password
</copy>
```
Below is the sample output.
![Image showing output of sys password change command on source](./images/sys-password-change.png)
Please note that you need to provide a password that meets below criteria.
The password must be 9 to 30 characters and contain at least two uppercase, two lowercase, two numeric, and two special characters.
The special characters must be _, #, or -.
The password must not contain the user name (SYS, SYSTEM, and so on) or the word "oracle" either in forward or reversed order and regardless of casing.
You may now **proceed to the next lab**.
## Acknowledgements
* **Author** - Amalraj Puthenchira, Cloud Data Management Modernise Specialist, EMEA Technology Cloud Engineering
* **Last Updated By/Date** - Amalraj Puthenchira, March 2023
* **Last Updated By/Date** - Amalraj Puthenchira, March 2024
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ In this lab
mkdir -p /home/zdmuser/zdminstall
mkdir /home/zdmuser/zdmhome
mkdir /home/zdmuser/zdmbase
chown -R zdmuser:zdm /home/
chown -R zdmuser:zdm /home/zdmuser
</copy>
```
6. Download ZDM software.
Expand Down Expand Up @@ -271,9 +271,11 @@ In this lab
If you have different private keys for source and target database systems then you have to copy both of them to ZDM service host.
Change the permission of private key as below.
Change the permission and ownership of private key as below.
chmod 600 **key\_file\_name**
chown zdmuser:zdm **key\_file\_name**
4. Verify SSH connectivity from ZDM servive host to Source and Target DB system.
Expand All @@ -298,7 +300,7 @@ You may now **proceed to the next lab**.
## Acknowledgements
* **Author** - Amalraj Puthenchira, Cloud Data Management Modernise Specialist, EMEA Technology Cloud Engineering
* **Last Updated By/Date** - Amalraj Puthenchira, March 2023
* **Last Updated By/Date** - Amalraj Puthenchira, March 2024
Expand Down

0 comments on commit 9725bbc

Please sign in to comment.