Help with multiple profiles for lpar

Hi

I have a doubt. Imagine an aix lpar named "sitsapfs" having 2 different profiles. If in case if it goes down suddenly how we will come to know under which profile
it has been running before going down ?

Log into your HMC and select the LPAR you have concerns about. Click on the drop down menu button, then "Configuration", then "Manage Profiles". Look at the "Status" column and one should say "Default Profile". That one is your default profile.

If I am not mistaken the last profile used with be labeled under that "Status" column as "Last Activated" even though that may not be your "Default Profile".

Even though I doubt an LPAR would go down suddenly... Really, the only time the profiles are read is when the LPAR is shutdown (shutdown -F) and then restarted from the profile. Reboots (shutdown -Fr) do not re-read the HMC profiles. So in your scenario where your LPAR "goes down suddenly", which profile is read would depend on how the LPAR is started back up. If it reboots on its own, then neither profile is re-read. It stays in the same state that it was when it was originally booted. If you manually start it, then you will be choosing which profile is used.