Oracle 12c RAC in GCE on Ubuntu 14.04.1
I'm building Oracle RAC today on GCE (Google Compute Engine) on Ubuntu 14.04.1 GCE VM instance.
gstanden@vmem1:~$ gcloud auth login
Your browser has been opened to visit:
https://accounts.google.com/o/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&prompt=select_account&response_type=code&client_id=32555940559.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fbigquery+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fndev.cloudman+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fsqlservice.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprediction+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fprojecthosting&access_type=offline
(process:20252): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Saved Application Default Credentials.
You are now logged in as [gil.standen@gmail.com].
Your current project is [None]. You can change this setting by running:
$ gcloud config set project PROJECT
gstanden@vmem1:~$ gcloud config set project ubuntu-oracle-containers
gstanden@vmem1:~$ gcloud compute ssh ubuntu-1
ERROR: (gcloud.compute.ssh) Unable to fetch a list of zones. Specifying [--zone] may fix this issue:
- Invalid value for project: ubuntu-oracle-containers
gstanden@vmem1:~$ gcloud config set project Ubuntu-Oracle-Containers
gstanden@vmem1:~$ gcloud compute ssh ubuntu-1
ERROR: (gcloud.compute.ssh) Unable to fetch a list of zones. Specifying [--zone] may fix this issue:
- Invalid value 'Ubuntu-Oracle-Containers'. Values must match the following regular expression: '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))'
gstanden@vmem1:~$ gcloud config set project
usage: gcloud config set SECTION/PROPERTY VALUE [optional flags]
ERROR: (gcloud.config.set) too few arguments
gstanden@vmem1:~$ gcloud config
Usage: gcloud config [optional flags] <command>
command may be list | set | unset
View and edit Google Cloud SDK properties.
optional flags:
--format FORMAT Format for printed output.
--help Display detailed help.
--project PROJECT_ID Google Cloud Platform project ID to use for this
invocation.
--quiet, -q Disable all interactive prompts.
--trace-token TRACE_TOKEN
Token used to route traces of service requests for
investigation of issues.
-h Print a summary help and exit.
commands:
list View Google Cloud SDK properties.
set Edit Google Cloud SDK properties.
unset Erase Google Cloud SDK properties.
ERROR: (gcloud.config) too few arguments
gstanden@vmem1:~$ gcloud config list
[core]
account = gil.standen@gmail.com
disable_usage_reporting = False
project = Ubuntu-Oracle-Containers
user_output_enabled = True
gstanden@vmem1:~$ gcloud config set project inbound-respect-844
gstanden@vmem1:~$ gcloud compute ssh ubuntu-1
For the following instances:
- [ubuntu-1]
choose a zone:
[1] asia-east1-b
[2] asia-east1-a
[3] asia-east1-c
[4] europe-west1-a (DEPRECATED)
[5] europe-west1-c
[6] europe-west1-b
[7] us-central1-f
[8] us-central1-a
[9] us-central1-b
Please enter your numeric choice: 7
WARNING: You do not have an SSH key for Google Compute Engine.
WARNING: [/usr/bin/ssh-keygen] will be executed to generate a key.
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/gstanden/.ssh/google_compute_engine.
Your public key has been saved in /home/gstanden/.ssh/google_compute_engine.pub.
The key fingerprint is:
e6:dd:84:49:c5:d9:33:83:50:b0:fc:13:cb:ea:e2:27 gstanden@vmem1.vmem.org
The key's randomart image is:
+--[ RSA 2048]----+
| o=o+ |
| . o+ = |
| + . + |
| . = o |
| S o * |
| o . + . |
| . o . |
| E.. |
| ..+. |
+-----------------+
Updated [https://www.googleapis.com/compute/v1/projects/inbound-respect-844].
Warning: Permanently added '104.154.50.183' (ECDSA) to the list of known hosts.
Warning: Permanently added '104.154.50.183' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.16.0-30-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Mon Feb 2 17:26:54 UTC 2015
System load: 0.0 Processes: 74
Usage of /: 7.1% of 9.81GB Users logged in: 0
Memory usage: 3% IP address for eth0: 10.240.106.166
Swap usage: 0%
Graph this data and manage this system at:
https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
gstanden@ubuntu-1:~$ uname -
uname: extra operand ‘-’
Try 'uname --help' for more information.
gstanden@ubuntu-1:~$ uname -a
Linux ubuntu-1 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
gstanden@ubuntu-1:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 42:01:0a:f0:6a:a6
inet addr:10.240.106.166 Bcast:10.240.106.166 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1460 Metric:1
RX packets:759 errors:0 dropped:0 overruns:0 frame:0
TX packets:885 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:187924 (187.9 KB) TX bytes:94605 (94.6 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
gstanden@ubuntu-1:~$
Working with X11 Forwarding in Containers
gstanden@vmem1:~$ ssh -Y -C 104.154.50.183
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.16.0-30-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Tue Feb 3 16:46:23 UTC 2015
System load: 0.0 IP address for sw4: 192.210.39.1
Usage of /: 54.9% of 9.81GB IP address for sw2: 10.207.40.1
Memory usage: 8% IP address for sw3: 10.207.41.1
Swap usage: 0% IP address for sw9: 172.221.40.1
Processes: 145 IP address for sw8: 172.220.40.1
Users logged in: 1 IP address for sw5: 192.211.39.1
IP address for eth0: 10.240.106.166 IP address for sw6: 192.212.39.1
IP address for sw7: 192.213.39.1 IP address for lxcbr0: 10.0.3.1
IP address for sw1: 10.207.39.1
=> /swap is using 87.7% of 4.80GB
Graph this data and manage this system at:
https://landscape.canonical.com/
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
0 packages can be updated.
0 updates are security updates.
Last login: Tue Feb 3 16:46:23 2015 from 24.107.146.127
gstanden@ubuntu-1:~$ xclock
gstanden@ubuntu-1:~$ echo $DISPLAY
ubuntu-1:11.0
gstanden@ubuntu-1:~$ echo xauth add `xauth list ${DISPLAY#localhost}`
xauth add ubuntu-1.vmem.org:11 MIT-MAGIC-COOKIE-1 3bc2c31d29a268b266be74e146678e43
gstanden@ubuntu-1:~$ ssh grid@lxcora01
grid@lxcora01's password:
Last login: Tue Feb 3 11:38:32 2015 from ubuntu-1.vmem.org
[grid@lxcora01 ~]$ xauth add ubuntu-1.vmem.org:11 MIT-MAGIC-COOKIE-1 3bc2c31d29a268b266be74e146678e43
xauth: creating new authority file /home/grid/.Xauthority
[grid@lxcora01 ~]$ xclock
Error: Can't open display:
[grid@lxcora01 ~]$ echo $DISPLAY
[grid@lxcora01 ~]$ export DISPLAY=ubuntu-1:11.0
[grid@lxcora01 ~]$ xclock
[grid@lxcora01 ~]$