In this blog we are going to access the newly created DB VM.
In order to do so
Use ssh to ssh to the server
ssh -i .ssh/id_rsa opc@10.10.11.3
where 10.10.11.3 is the private IP of the machine You can do your normal operations as in Linux
opc user has sudo access
Verify Running processes.
[opc@ocdb ~]$ sudo su -
[root@ocdb ~]# su - oracle
[oracle@ocdb ~]$ ps -ef | grep pmon
oracle 25963 25883 0 08:24 pts/0 00:00:00 grep pmon
grid 70954 1 0 07:16 ? 00:00:00 asm_pmon_+ASM1
oracle 85219 1 0 07:39 ? 00:00:00 ora_pmon_db12
grid 86676 1 0 07:18 ? 00:00:00 apx_pmon_+APX1
In order to do so
Use ssh to ssh to the server
ssh -i .ssh/id_rsa opc@10.10.11.3
where 10.10.11.3 is the private IP of the machine You can do your normal operations as in Linux
opc user has sudo access
Verify Running processes.
[opc@ocdb ~]$ sudo su -
[root@ocdb ~]# su - oracle
[oracle@ocdb ~]$ ps -ef | grep pmon
oracle 25963 25883 0 08:24 pts/0 00:00:00 grep pmon
grid 70954 1 0 07:16 ? 00:00:00 asm_pmon_+ASM1
oracle 85219 1 0 07:39 ? 00:00:00 ora_pmon_db12
grid 86676 1 0 07:18 ? 00:00:00 apx_pmon_+APX1
Verify Connectivity using SQL Developer
Connect as sysdba and make sure to enter the details as given to me during BM / VM Creation
No comments:
Write comments