Solved

AIX SMS Mode

Posted on 2014-02-04
4
1,892 Views
Last Modified: 2014-02-04
I have a running AIX partition and want to change the boot mode to SMS next time when the server reboots. (HMC command will be great to know)

I was able to do this, When I shutdown the partition and later activate the profile in SMS mode
0
Comment
Question by:aanya247
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 39833337
Run the following as "hscroot" using the HMC CLI:

HMC command to change the boot mode at next reboot:

chsyscfg -r prof -m  managedsys -i "lpar_name=lparname,name=profilename,boot_mode=sms"

HMC command to boot an LPAR into SMS mode:

chsysstate -r lpar -m managedsys -n lparname -o on -b sms


Values in bold must be replaced with your actual values.
0
 

Author Comment

by:aanya247
ID: 39833390
So the first command, will set the boot mode to SMS if I reboot the server.

I guess the second command does the same thing, Does it automatically boot the LPAR..??
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39833410
The second command does not change the default boot mode - it actually boots the LPAR once into SMS without changing its future behavior. I just mentioned it for completeness.

The first command is the one you should use to set the target mode of future reboots to SMS. Change it back to normal with "boot_mode=norm".
0
 

Author Comment

by:aanya247
ID: 39833484
Thanks you now I understand ...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question