× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Roberto,

Thank you so much for sharing the learning resources.

Surely will go through it.

I'm trying to collect all of the information I can regarding the HMC as
well as ansible modules for documentation purposes.

This will help for sure.

Regards,
Amaljith

On Thu, 6 May 2021, 5:59 pm Roberto José Etcheverry Romero, <
yggdrasil.raiker@xxxxxxxxx> wrote:

Amaljith,
Before trying to automate something, you should understand it fully, at
least in my opinion.
Creating an LPAR is not just sending a command to the HMC to create it,
there are a lot of steps involved in provisioning a VM, just like in any
other Hypervisor.
There are a lot of resources available to learn about Power Systems and one
of them are the videos by Nigel:

https://www.youtube.com/watch?v=Iiv5lQ0iaIg&list=PLrSnhukui338SqBuLO6uRqomlWGCE-QAO
That one is a bit old since it only covers up to Power6, but it explains
lots of concepts about the family.
Be also aware that on Power you can run various OSes, AIX, Linux, and IBM
i. This list mostly focuses on IBM i but since the HMC manages the entire
system it is also on-topic but most of the automation available will be
geared towards AIX and Linux.
I wish you luck in this learning journey!

Roberto


On Thu, 6 May 2021 at 02:55, Amaljith PM <amaljithh@xxxxxxxxx> wrote:

Hi,

Yes that's exactly what I'm trying to do with ansible. Ansible runs on
another machine and it does ssh to HMC and perform it's scripts.

And yes I'm relatively new to this platform. I came across this module
called 'powervm_lpar_instance' which can perform a variety of functions.

I'm trying to create a partition with this module, it needs parameters
system_name and vm_name. I learned that system name is the partition
name,
but not sure what vm name means.

Regards,
Amaljith PM

On Wed, 5 May 2021, 10:29 pm , <midrangel@xxxxxxxxxxxxxxxxx> wrote:

Why?

The HMC is not a place where you do development. You might write
scripts
to
perform functions such as start a flashcopy etc. but those events are
better
handled with a program running elsewhere and using ssh to log in and
enter
the commands, like IBM i for instance.....

Based on your question, you are new to POWER and the HMC, otherwise you
would know that those name value pairs are. Are you trying to
correlate
the system_name and vm_name as ansible variables to what those names
might
be in HMC command name value pairs?


--
Jim Oberholtzer
Agile Technology Architects

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Amaljith PM
Sent: Wednesday, May 5, 2021 11:41 AM
To: Midrange Systems Technical Discussion <
midrange-l@xxxxxxxxxxxxxxxxxx

Subject: Andible on HMC

Hi,

Is there anyone using Ansible with HMC? If yes please let me know what
is a
system_name and vm_name in powervm_lpar_instance.

Regards,
Amaljith
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.