How to add Oracle VM Server to existing Server Pool – Part 14


Step 1: Login to Oracle VM Manager as admin

[root@mgmtsrv ~]# ssh -l admin ovm.lab.local -p 10000
admin@ovm.lab.local's password:
OVM>

Step 2: Discover the new Oracle VM Server

OVM> discoverServer ipaddress=ovs02.lab.local password=********** takeOwnership=Yes
Command: discoverServer ipaddress=ovs02.lab.local password=**** takeOwnership=Yes
Status: Success
Time: 2017-12-30 06:10:06,997 EST
JobId: 1514632190427

Step 3: Attach existing FileServer to new Oracle VM Server

OVM> list FileServer
Command: list FileServer
Status: Success
Time: 2017-12-30 06:10:39,887 EST
Data:
id:0004fb0000090000371a9d6db792e728 name:MYSANRec
id:0004fb000009000030d16d353855168b name:Local FS ovs01.lab.local
id:0004fb000009000031ef15ebfd64864b name:Local FS ovs02.lab.local

OVM> addAdminServer FileServer name=MYSANRec server=ovs02.lab.local
Command: addAdminServer FileServer name=MYSANRec server=ovs02.lab.local
Status: Success
Time: 2017-12-30 06:11:24,290 EST
JobId: 1514632283791

OVM> addRefreshServer FileServer name=MYSANRec server=ovs02.lab.local
Command: addRefreshServer FileServer name=MYSANRec server=ovs02.lab.local
Status: Success
Time: 2017-12-30 06:11:54,250 EST
JobId: 1514632314003

OVM> refresh FileServer name=MYSANRec
Command: refresh FileServer name=MYSANRec
Status: Success
Time: 2017-12-30 06:12:10,568 EST
JobId: 1514632328802

Step 4: Attach new Oracle VM server to existing VLAN interface

OVM> list Network
Command: list Network
Status: Success
Time: 2017-12-30 06:13:18,171 EST
Data:
id:0a0a0a00 name:10.10.10.0
id:10aafb998c name:VMNet

OVM> list Server
Command: list Server
Status: Success
Time: 2017-12-30 06:13:51,135 EST
Data:
id:56:4d:88:59:8d:10:18:09:9d:1a:5d:a3:f2:8d:f7:97 name:ovs01.lab.local
id:56:4d:d5:a4:e0:32:e8:f9:98:85:b6:db:16:56:aa:cc name:ovs02.lab.local

OVM> show Server name=ovs02.lab.local
Command: show Server name=ovs02.lab.local
Status: Success
Time: 2017-12-30 06:14:02,226 EST
Data:
Status = Running
........
Ethernet Port 1 = 0004fb00002000009484d6243391378c [eth0 on ovs02.lab.local]
Ethernet Port 2 = 0004fb0000200000baf56305d148910c [eth1 on ovs02.lab.local]
........

OVM> add Port id=0004fb0000200000baf56305d148910c to Network name=VMNet
Command: add Port id=0004fb0000200000baf56305d148910c to Network name=VMNet
Status: Success
Time: 2017-12-30 06:15:09,567 EST
JobId: 1514632505563

Step 5: Add new Oracle VM Server to existing Server Pool

OVM> list FileSystem
Command: list FileSystem
Status: Success
Time: 2017-12-30 06:20:28,899 EST
Data:
id:0004fb0000050000778bab4e27014113 name:Server Pool File System
id:9f4e1109-2c5b-4bae-834b-0ccc203e5ab6 name:nfs on mgmtsrv.lab.local:/repo2
id:f3834a16-6fcb-4f82-9a2a-b3d3ed936ae3 name:nfs on mgmtsrv.lab.local:/repo1

OVM> list ServerPool
Command: list ServerPool
Status: Success
Time: 2017-12-30 06:21:14,991 EST
Data:
id:0004fb00000200002d1d67487c79ed89 name:Pool_01

OVM> add Server name=ovs02.lab.local to ServerPool name=Pool_01
Command: add Server name=ovs02.lab.local to ServerPool name=Pool_01
Status: Success
Time: 2017-12-30 06:21:36,694 EST
JobId: 1514632896237

OVM> show ServerPool name=Pool_01
Command: show ServerPool name=Pool_01
Status: Success
Time: 2017-12-30 06:21:49,006 EST
Data:
Server 1 = 56:4d:88:59:8d:10:18:09:9d:1a:5d:a3:f2:8d:f7:97 [ovs01.lab.local]
Server 2 = 56:4d:d5:a4:e0:32:e8:f9:98:85:b6:db:16:56:aa:cc [ovs02.lab.local]

Cluster Enabled = Yes
Timeout for Cluster(seconds) = 120
Keymap Name = en-us
Virtual IP = 10.10.10.200
Vm Migrate SSL = No
Server Count = 2
Master Server = 56:4d:88:59:8d:10:18:09:9d:1a:5d:a3:f2:8d:f7:97 [ovs01.lab.local]
File System Type = Unknown
Vm 1 = 0004fb0000060000524f9d3e43fd71f3 [FirstVM]
StartPolicy = Current Server
Policy Mode = Off
Policy CPU Enabled = No
Policy Period (minutes) = 10
Policy CPU Threshold = 75
Id = 0004fb00000200002d1d67487c79ed89 [Pool_01]
Name = Pool_01
Description = First Oracle Server Cluster
Locked = false

Step 5: Attach the new OVS server to exisiting storage repository

OVM> list Repository
Command: list Repository
Status: Success
Time: 2017-12-30 06:24:22,864 EST
Data:
id:0004fb000003000082b0d717e2f9871d name:OraRepo

OVM> add Server name=ovs02.lab.local to Repository name=OraRepo
Command: add Server name=ovs02.lab.local to Repository name=OraRepo
Status: Success
Time: 2017-12-30 06:26:48,646 EST
JobId: 1514633207814

OVM> refresh Repository name=OraRepo
Command: refresh Repository name=OraRepo
Status: Success
Time: 2017-12-30 06:26:54,170 EST
JobId: 1514633213719

OVM> show Repository name=OraRepo
Command: show Repository name=OraRepo
Status: Success
Time: 2017-12-30 06:26:57,710 EST
Data:
File System = 9f4e1109-2c5b-4bae-834b-0ccc203e5ab6 [nfs on mgmtsrv.lab.local:/repo2]
Manager UUID = 0004fb00000100009157557324ed168d
File System Free (GiB) = 19.25
File System Total (GiB) = 24.48
File System Used (GiB) = 5.23
Used % = 21.0
Refreshed = Yes
Presented = Yes
Presented Server 1 = 56:4d:88:59:8d:10:18:09:9d:1a:5d:a3:f2:8d:f7:97 [ovs01.lab.local]
Presented Server 2 = 56:4d:d5:a4:e0:32:e8:f9:98:85:b6:db:16:56:aa:cc [ovs02.lab.local]
VirtualDisk 1 = 0004fb0000120000590b281ac02ac9b2.img [0004fb0000120000590b281ac02ac9b2.img]
VirtualCdrom 1 = 0004fb0000150000006463c3fe40be43.iso [0004fb0000150000006463c3fe40be43.iso]
Vm 1 = 0004fb0000060000524f9d3e43fd71f3 [FirstVM]
Id = 0004fb000003000082b0d717e2f9871d [OraRepo]
Name = OraRepo
Locked = false

Create a Server Pool in Oracle VM using Command Line Interface – Part 4


Step 1: Login to Oracle VM Manger as admin

[root@mgmtsrv ~]# ssh -l admin ovm.lab.local -p 10000
admin@ovm.lab.local's password: ##Enter Oracle VM Manager admin password##
OVM>

Step 2: List and refresh the NFS file server for cluster server pool

OVM> list FileSystem
Command: list FileSystem
Status: Success
Time: 2017-12-12 05:43:52,784 EST
Data:
id:9f4e1109-2c5b-4bae-834b-0ccc203e5ab6 name:nfs on mgmtsrv.lab.local:/repo2
id:f3834a16-6fcb-4f82-9a2a-b3d3ed936ae3 name:nfs on mgmtsrv.lab.local:/repo1

OVM> refresh FileSystem name="nfs on mgmtsrv.lab.local://repo1"
Command: refresh FileSystem name="nfs on mgmtsrv.lab.local://repo1"
Status: Success
Time: 2017-12-12 05:45:54,300 EST
JobId: 1513075553096

Step 3: Creating a Clustered Server Pool

OVM> create ServerPool virtualIP=10.10.10.200 clusterEnable=Yes fileSystem="nfs on mgmtsrv.lab.local://repo1" name=Pool_01 description='First Oracle Server Cluster'
Command: create ServerPool virtualIP=10.10.10.200 clusterEnable=Yes fileSystem="nfs on mgmtsrv.lab.local://repo1" name=Pool_01 description='First Oracle Server Cluster'
Status: Success
Time: 2017-12-12 05:48:33,487 EST
Data:
id:0004fb000002000085056823cacce55e name:Pool_01

Step 4: Add Oracle Virtual Server to the Server Pool

OVM> add Server name=ovs01.lab.local to ServerPool name=Pool_01
Command: add Server name=ovs01.lab.local to ServerPool name=Pool_01
Status: Success
Time: 2017-12-12 05:49:29,467 EST
JobId: 1513075749306
OVM>