How To Increase Memory For A LDOM Guest Domain

O.K. I am talking about guest LDOMs! So its implicit that you will have to work on Control Domain to process any memory requests. To begin with, you first need to calculate how much memory is currently allocated and with how much memory was the server shipped with.

Some useful and handy commands for the calculating memory out are as follows-
# /usr/platform/`uname -i`/sbin/prtdiag -v [LDOM]
# ldm list [Control Domain]
That's it!! Now, if you have the space available - jump to the implementation part of the problem-

1. Take a backup of the existing configuration [From Control Domain]
# ldm list-constraints -x > /var/tmp/guest-domain-name.xml
# ldm list-bindings > /var/tmp/full-bindings
# ldm ls -l > /var/tmp/guest-domain-list.xml

2. Take the guest domain down [From LDOM]
# init 0

3. Time to increase the memory [From Control Domain]
# ldm stop-domain Guest-Domain
# ldm unbind-domain Guest-Domain
# ldm set-memory 64GB Guest-Domain
# ldm bind-domain Guest-Domain
# ldm start-domain Guest-Domain
# ldm add-config Domain-Configuration-Date.Today

4. Boot the system from the OK prompt
ok> boot

5. Check the status and ensure that the memory size has increased to 64 GB
# /usr/platform/`uname -i`/sbin/prtdiag -v [LDOM]
# ldm list [Control Domain]

Let me know how your LDOM memory size increase go!! If this was useful ... please leave a comment!

By the way, would you be interested to know - How To Decrease Memeory For A LDOM Guest Domain

Sharing is caring! If you like the post, please share the word ...


  1. It is very helpful. Could you pls also advise after you init 0 why you still need ldm stop? What's the proper procedure to stop a ldom? tks