Reducing Cores in T5240 server for meeting Oracle Core Licences


 
Thread Tools Search this Thread
Operating Systems Solaris Reducing Cores in T5240 server for meeting Oracle Core Licences
# 1  
Old 08-29-2013
Reducing Cores in T5240 server for meeting Oracle Core Licences

Hi

I need to reduce cores on T5240 server for meeting Oracle Core licenses. For that I have install the LDOM packages & run below mention commands.


Code:
 
 bash-3.2# ldm list-config
factory-default [next poweron]
config_initial
bash-3.2# ldm set-vcpu 32 primary
bash-3.2# ldm list-config
factory-default [next poweron]
config_initial
bash-3.2#
bash-3.2# prtdiag -v|more
System Configuration:  Oracle Corporation  sun4v T5240
Memory size: 65312 Megabytes
================================ Virtual CPUs ================================
 
CPU ID Frequency Implementation         Status
------ --------- ---------------------- -------
0      1165 MHz  SUNW,UltraSPARC-T2+    on-line
1      1165 MHz  SUNW,UltraSPARC-T2+    on-line
2      1165 MHz  SUNW,UltraSPARC-T2+    on-line
3      1165 MHz  SUNW,UltraSPARC-T2+    on-line
4      1165 MHz  SUNW,UltraSPARC-T2+    on-line
5      1165 MHz  SUNW,UltraSPARC-T2+    on-line
6      1165 MHz  SUNW,UltraSPARC-T2+    on-line
7      1165 MHz  SUNW,UltraSPARC-T2+    on-line
8      1165 MHz  SUNW,UltraSPARC-T2+    on-line
9      1165 MHz  SUNW,UltraSPARC-T2+    on-line
10     1165 MHz  SUNW,UltraSPARC-T2+    on-line
11     1165 MHz  SUNW,UltraSPARC-T2+    on-line
12     1165 MHz  SUNW,UltraSPARC-T2+    on-line
13     1165 MHz  SUNW,UltraSPARC-T2+    on-line
14     1165 MHz  SUNW,UltraSPARC-T2+    on-line
15     1165 MHz  SUNW,UltraSPARC-T2+    on-line
16     1165 MHz  SUNW,UltraSPARC-T2+    on-line
17     1165 MHz  SUNW,UltraSPARC-T2+    on-line
18     1165 MHz  SUNW,UltraSPARC-T2+    on-line
19     1165 MHz  SUNW,UltraSPARC-T2+    on-line
20     1165 MHz  SUNW,UltraSPARC-T2+    on-line
21     1165 MHz  SUNW,UltraSPARC-T2+    on-line
22     1165 MHz  SUNW,UltraSPARC-T2+    on-line
23     1165 MHz  SUNW,UltraSPARC-T2+    on-line
24     1165 MHz  SUNW,UltraSPARC-T2+    on-line
25     1165 MHz  SUNW,UltraSPARC-T2+    on-line
26     1165 MHz  SUNW,UltraSPARC-T2+    on-line
27     1165 MHz  SUNW,UltraSPARC-T2+    on-line
28     1165 MHz  SUNW,UltraSPARC-T2+    on-line
29     1165 MHz  SUNW,UltraSPARC-T2+    on-line
30     1165 MHz  SUNW,UltraSPARC-T2+    on-line
31     1165 MHz  SUNW,UltraSPARC-T2+    on-line
======================= Physical Memory Configuration ========================
bash-3.2#
bash-3.2# ldm add-config primary
bash-3.2#
bash-3.2#
bash-3.2# ldm list-config
factory-default
config_initial
primary [current]
bash-3.2#
bash-3.2#

Please let me know whether we have to run " ldm add-config primary
" command as without this command also if I take the reboot of the server & showing 4 core having 8 thread each(mean 32 virtual CPU in prtdiag -v output). As I am not an expert in LDOM configuration

Moderator's Comments:
Mod Comment please use code tags and not php tags!

Last edited by DukeNuke2; 08-29-2013 at 11:37 AM..
# 2  
Old 08-29-2013
you need to configure Guest LDOMS and provide a portion of the vcpu resources to the guest

LDOMs and VM for Sparc are intended to allow you to partition the physical resources of the host into smaller manageable portions to allow for minimizing exposure for licensing purposes.

Oracle licenses are based on the number of cores available to the software for processing. Configuring a Guest LDOM and then only allow Xcores to be accessed by that LDOM will prevent you from having to license the whole server for use if you only need a smaller number of cores for processing that workload.

You've stated that your Sparc T5240 is configured with 4 cores (2 x cpu, 2 cores per cpu, 8 threads per core). So assuming you would only want to license 1/2 of those resources you need to build a Guest LDOM, assign it 16 VCPU and that will limit the resources to 1/2 of the available physical resources.

To do this you will need to create virtual infrastructure for the new LDOM (virtual networking, virtual disk servers, virtual disks,) and create the VM itself. This will require you to partition your disks and install an additional copy of the OS. I would recommend you use Solaris 11 if you can as the VM updates for that OS allow for a more robust config.

Hope this helps.
# 3  
Old 08-29-2013
# 4  
Old 08-30-2013
Thanks for the reply

In my current environment, I don't need to create LDOMs & providing virtual CPUs to them. What I need to be done is just reduce the core from current physical host.

I am just setting up the control domain name primary & providing VCPU to them. after this, I will get the desired number of Cores from the physical server.

I just need to know that whether I have to run "
ldm add-config primary" command as without this command if I take the reboot of the server my assignment of "ldm set-vcpu 32 primary" is consistant mean I am getting 32 vcpu or 4 cores

Thanks
# 5  
Old 08-30-2013
What version of LDM are you using ?
# 6  
Old 08-30-2013
I think the command you need to look at is
Code:
ldm remove-vcpu # primary

depending on your version of LDM, this may require a reboot.
This User Gave Thanks to os2mac For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

Question: # of ldoms on T5240 with 2 T2 US 8 core

I have a T5240 with 2 T2 US 8 core.. Theoretically how many ldoms can I configure? (5 Replies)
Discussion started by: Iftikhar Barrie
5 Replies

2. UNIX and Linux Applications

core temp all cores mac

a few months ago i downloaded a program from apple it was a core temp panel applet i had to reload and lost track of where i got it anyone familiar with it i liked it because it monitored all the cores ubuntu10.10 (0 Replies)
Discussion started by: thirnick
0 Replies

3. Shell Programming and Scripting

writing a simple script to get total number of cpus/cores in server

Hi, I am very new to scripting and I wanted to write a unix shell script which can give me, 1)number of cpu's in a box 2)number of cores per cpu 3)total number of cores in abox (ie multiplying 1&2) I am also trying to figure out how to check if hyper-threading is enabled in the... (8 Replies)
Discussion started by: steven12
8 Replies

4. HP-UX

help on loading licences in Alpha server

How to install the C / C++ Licences in Digial Alpha 2000 server? When i did try to load its giving a checksum error..... (1 Reply)
Discussion started by: mukundt
1 Replies
Login or Register to Ask a Question