2.2. Creating an Instance and configure OS

2.2.1. Creating an Instance

2.2.1.1. Creating a Bootable Volume

You need to move to “Virtual Server” then “Image Storage”, after signing in to the Control Panel, as below.

../../_images/image006.png

Search for the name of Oracle SE2 Official template from among the list of “Official Template”. Please refer to “Official Image Template” in Oracle Service Descriptions for the name of available template.

../../_images/image007.png

Click “Create Volume” at the action list of Oracle SE2 Official Image Template.

../../_images/image0081.png

Click [Create Volume] after your imputing the parameters below. You will be moved to [Virtual Server] → [Volume] screen automatically.

Volume Name

Fill in “Volume Name”, which is necessary items. (ex. SE2_OS_Vol)

Descriptions

Also fill in the “Description”, a description of the Volume (voluntarily)

“Use as Image Source”

Please make sure select Oracle SE2 Official Image Template

Size (GB)

80 NOTE: You need to surely choose “equal to or greater than [ 80G ]”.

Zone / Group

Select a region where Oracle SE2 is available. NOTE: Available Oracle version are different within regions. For further details, please refer to “Available Region / Group” in “Oracle” service descriptions.

../../_images/image0091.png

Once you have completely created the Volume Instance, you can change the volume as appeared above.

../../_images/image011.png

2.2.1.2. Creating an Instance

You need to move to [ “Virtual Server” ] then [ “Volume” ].

Select the “Boot as an Instance“ in the action list of “SE2_OS_Vol”.

../../_images/image0121.png

After you input following items, click the “Network” tab.

Zone / Group

You need to select the same zone as that of created Bootable Volume.

Instance Name

You need to specify any name of the Instance, such as “oracle-se2”.

Flavor

You need to select a specific VM flavor, such as [ 2CPU-8GB ].

Boot Source

You need to select “Boot from Volume

Volume

You need to select Bootable Volume(ex.SE2_OS_Vol).

../../_images/image0131.png

Click the “+” mark in order to select a specific Network, which you will connect to the Virtual Network, from among the list of “Available Logical Networks”.

../../_images/image014.png

Verify that the selected Network is in the list of “Selected Logical Networks”.

../../_images/image0161.png

After your configuring an Instance, click “Create Instance”.

../../_images/image017.png

The screen will be automatically moved from the “Virtual Server” to “Instances”. You need to verify that the Virtual Server, such as “oracle_se2”, will be “active” and “running”.

../../_images/image018.png

2.2.2. Sign in

Via a console, sign in as an Administrator user.

From the action list of the virtual server “oracle-se2”, click [ Console ].
NOTE: If you can NOT directly input the console, you need to select “Click here if you want to show only the console”.
../../_images/image020.png

Confirm that the Windows sign in screen as pictured below is shown.

../../_images/image0211.png

2.2.3. Configuring the OS settings.

2.2.3.1. Network Settings

You need to configure the Network settings. For more information on how to configuring in this document is as below.

IP Address

192.168.1.101/24

IP Address Setting Method

Manual
Default Gateway 192.168.1.254

Execute the following command in PowerShell.

PS C:\Users\Administrator> New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress "192.168.1.101" -PrefixLength 24 -AddressFamily "IPv4" -DefaultGateway "192.168.1.254"
Confirm the settings. Execute the following command in PowerShell.
Confirm the IPv4 Address and the Default Gateway are properly setup as the picture below shows.
PS C:\Users\Administrator> ipconfig
Windows IP Configuration

Ethernet adapter Ethernet:
Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . . : fe80::61fa:9059:7cab:3c0f%12
IPv4 Address. . . . . . . . . . . : 192.168.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254

2.2.3.2. Configuring the Hostname

If you intend to use “oracle-se2” as a host name, execute the command below in PowerShell.
When the command below is executed, OS will be rebooted in order to reflect.
PS C:\Users\Administrator> Rename-Computer -NewName "oracle-se2" -Force -Restart

Confirm the settings. Execute the following command in PowerShell.

PS C:\Users\Administrator> hostname
oracle-se2

2.2.3.3. Configuring the Time Zone Settings

In the default settings, the Time Zone is UTC. If changing this to any specific one (e.g. Asia/Tokyo), execute the command below in PowerShell.

PS C:\Users\Administrator> tzutil /s "Tokyo Standard Time"

Confirm the settings. Execute the following command in PowerShell.

PS C:\Users\oracle> tzutil /g
Tokyo Standard Time

2.2.3.4. Configuring the NTP

When using the common function pool’s NTP server, the following tasks are required.

  • Configuring the Common Function Gateways.

You are required to go to “Network” and “Common Function Gateways”.
Click “Create Common Function Gateways”.
../../_images/image024.png

After inputting following items, click “Create Common Function Gateways”.

Name

You are required to input the name of Common Function Gateways.

Descriptions

You are required to input the description

Common Function Pool

You need to utilize the default settings at Common Function Pool.

../../_images/image025.png

When the creation has been completed, the screen shows “In Operation” as the picture below shows.

../../_images/image026.png

Verify the NTP Server IP Address. Select “Common GW”, which you have already created Common Function Gateways.

../../_images/image027.png

The IP address of NTP server is following; (ex. 169.254.127.1)

../../_images/image028.png

Then, verify that the Logical Network will be configured. You need to move to “Network” then “Logical Network”. You are required to verify that “common_function_gw_access_<ID>” as appeared. You need to connect to this Logical Network when you utilize the NTP.

../../_images/image029.png
  • Add the network interface to the Instance

You are required to move to “Server”, “Virtual Server” then “Instance”.

You need to select the NTP server by the action list of the Instances, such as “oracle-se2”, which will review the NTP server.

../../_images/image0301.png

After configuring following settings, click [Connect Interface].

Logical Network

You have selected the Logical Network of Common Function Gateways, common_function_gw_access_<ID> as above.

IP Address

The DHCP is utilized as the network of Common Function Gateways, so an IP Address will be automatically assigned. If you would like to specify it, you need to configure the IP Address settings.

../../_images/image031.png

You verify that the Network Interface of the Common Function Gateways has been added into the Instance. If the DHCP has been assigned the IP Address, you also need to verify its IP Address (e.g. 169.254.0.8).

../../_images/image0321.png
  • Verifying the NTP Server

Check the interface. Execute the command below in PowerShell.
This is the Common Function Gateways’ interface that Ethernet 2 has been added.
PS C:\Users\Administrator> ipconfig
Windows IP Configuration
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . . : fe80::e8e2:14c8:7a7:c2aa%23
IPv4 Address. . . . . . . . . . . : 169.254.0.8
Subnet Mask . . . . . . . . . . . : 255.255.128.0
Default Gateway . . . . . . . . . :

Confirm that its connectivity with the NTP server. Execute the command below in PowerShell.

PS C:\Users\Administrator> w32tm /resync
Sending resync command to local computer
The command completed successfully.

PS C:\Users\Administrator> w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 3 (secondary reference - syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0371246s
Root Dispersion: 7.8215542s
ReferenceId: 0xA9FE7F01 (source IP:  169.254.127.1)
Last Successful Sync Time: 12/8/2016 5:21:47 AM
Source: 169.254.127.1,0x9
Poll Interval: 10 (1024s)

2.2.4. Configuration a Database Volume

2.2.4.1. Creating a Volume

You are required to move to the “Server”, “Virtual Server” then “Volume”.

Click “Create Volume”.

../../_images/image033.png

After input following settings, click “Create Volume”.

Volume Name

You need to describe any name of a Volume, “SE2_DB_Vol”.

Descriptions

You need to describe the Volume.

Volume Source

You need to specify the “ No Source (Blank Volume)”.

Size(GB)

You can create the Database as well as select a suitable size from the data space, such as 100G.

Zone / Group

You need to specify the same Zone as the Instance, at 3. Creating an Instance.

../../_images/image0341.png

Once you have completely created the Volume Instance, you can change the volume as appeared above.

../../_images/image0351.png

2.2.4.2. Attaching the Database Volume

You need to click “Manage Connection” in the action list of created the Database Volume.

../../_images/image0361.png

You need to select your created Instance, such as “oracle-se2”, at “Creating an Instance” in the list box of “Connect Instance”. After you have selected, click “Connect Volume”.

../../_images/image0371.png

Once connected, “Connected” status will be displayed as below.

../../_images/image0381.png

2.2.4.3. Formatting the Database Volumes.

You need to format the Database Volume.

Confirm the added disc’s number (No.). Execute the command below in PowerShell.

PS C:\Users\Administrator> Get-Disk
Number Friendly Name                            OperationalStatus                    Total Size Partition Style
------ -------------                            -----------------                    ---------- ---------------
0      Red Hat VirtIO SCSI Disk Device          Online                                    80 GB MBR
1      Red Hat VirtIO SCSI Disk Device          Offline                                  100 GB RAW

Make the added disc online. Execute the command below in PowerShell.

PS C:\Users\Administrator> Set-Disk -Number 1 -IsOffline $False

Initialize the added disc. Execute the command below in PowerShell.

PS C:\Users\Administrator> Initialize-Disk -Number 1 -PartitionStyle MBR

Create partitions on the added disc. Execute the command below in PowerShell.

PS C:\Users\Administrator> New-Partition -DiskNumber 1 -UseMaximumSize -DriveLetter D

Format the added disc. Execute the command below in PowerShell.

PS C:\Users\Administrator> Format-Volume -DriveLetter D -FileSystem NTFS -NewFileSystemLabel Data -Force

Verify the added disc via the Explorer.

../../_images/explorer-data-volume.png