Tuesday, September 6, 2016

How to increase memory using dlpar in aix?

How to change memory using dlpar in aix?



1. Ground work:

uname -L                                 --> To find the Lpar name and Lpar id.
lparstat -i                                --> To check current assigned memory (Desired memory)
prtconf -m                               --> To check the size of the memory
lsrsrc ibm.managementserver     --> To find the hmc details where the lpar belongs to.
Get the hscroot password to access the HMC for the DLPAR operation.


2. Implementation steps 

Login to the HMC using hscroot access

system management
            servers
                        select the frame
                                    Select the lpar
                                                Dynamic Logical Partitioning
                                                            Processor
                                                                        Add or remove
                                                                                    change the assigned memory
(change the size of the memory - increase upto Maximum memory limits or decrease upto Minimum memory level)
                                                                                                Click OK

We need to change the same in the partition profile so that when the LPAR is reactivated, it should start with the new value.

Select the Lpar
            Configuration
                        Manage profile
                                    Select the default profile last activated
                                                Action
                                                            Edit
                                                                        Now change the desired memory value 
                                                                                    Click OK
                                   
4. Validation
lparstat -i                                        --> To check the output of the memory. (Check online memory)
prtconf -m                                       --> To check the size of the memory.