La commande 'lslparmigr' permet d'afficher les informations sur les opérations de migration LPM de LPAR.

 

Ci-dessous la documentation officielle IBM

 

NAME

       lslparmigr - list partition migration information

SYNOPSIS

       lslparmigr -r {lpar | mc | mempool | msp | procpool | sys |

                      virtualio}

        [-m managed-system]

        [-t target-managed-system [--ip IP-address [-u user-ID]]]

        [--redundantvios {0 | 1 | 2}] [--filter "filter-data"]

        [-F [attribute-names] [--header]] [--help]

DESCRIPTION

       lslparmigr lists partition migration information.

OPTIONS

       -r     The  type  of  resources  for  which to list partition migration

              information.

              Specify lpar to list partition migration information for all  of

              the partitions in managed-system.

              Specify mc to list partition mobility capabilities for the Hard-

              ware Management Console (HMC).

              Specify mempool to list shared memory pool information  for  the

              destination  managed  system.  Shared memory pool information is

              only listed if the shared memory pool has enough available  mem-

              ory  for the partition specified with the lpar_names or lpar_ids

              filter, if there is an available paging  space  device  for  the

              partition,  and if the paging VIOS redundancy requirement of the

              partition can be satisfied.  The  redundant  attribute  that  is

              listed  indicates  whether or not the partition would be config-

              ured to use redundant paging VIOS partitions on the  destination

              managed  system  (a  value of 0 indicates the partition would be

              configured to not use redundant paging VIOS  partitions,  and  a

              value  of  1  indicates the partition would be configured to use

              redundant paging VIOS partitions).

              Specify msp to list possible source and destination  mover  ser-

              vice partition (MSP) pairs for active partition migration of the

              partitions specified with the lpar_names or lpar_ids filter.

              Specify procpool to list possible shared processor pools in  the

              destination managed system that have enough available processing

              resources for the partition specified  with  the  lpar_names  or

              lpar_ids filter.

              Specify sys to list the partition mobility capabilities for man-

              aged-system.

              Specify virtualio to list possible and suggested mappings of the

              virtual  fibre channel adapters and virtual SCSI adapters in the

              partition specified with the lpar_names or  lpar_ids  filter  to

              virtual I/O servers in the destination managed system.

       -m     The  name  of  the  managed  system  for which to list partition

              migration information.  The name may either be the  user-defined

              name for the managed system, or be in the form tttt-mmm*sssssss,

              where tttt is the machine type, mmm is the model, and sssssss is

              the  serial  number of the managed system.  The tttt-mmm*sssssss

              form must be used if there are multiple managed systems with the

              same user-defined name.

              When listing shared memory pool, mover service partition, shared

              processor pool, or virtual I/O information, specify  the  source

              managed system for the partition migration with this option.

              This  option  is not valid when listing partition mobility capa-

              bilities for the HMC.  This option is required when listing  all

              other types of partition migration information.

       -t     The  name  of the target, or destination, managed system for the

              partition migration.  The name may either  be  the  user-defined

              name for the managed system, or be in the form tttt-mmm*sssssss,

              where tttt is the machine type, mmm is the model, and sssssss is

              the  serial  number of the managed system.  The tttt-mmm*sssssss

              form must be used if there are multiple managed systems with the

              same user-defined name.

              This  option  is required when listing shared memory pool, mover

              service partition, shared processor pool, or virtual I/O  infor-

              mation.  This option is not valid when listing any other type of

              partition migration information.

       --ip   If the destination managed system is not  managed  by  the  same

              management  console  that is managing the source managed system,

              then use this option to specify the IP address or host  name  of

              the  management console that is managing the destination managed

              system.

              To use this option, SSH must be enabled on both management  con-

              soles.  Also, you must run the mkauthkeys command once to set up

              SSH key authentication.

       -u     If the destination managed system is not  managed  by  the  same

              management  console  that is managing the source managed system,

              then use this option to specify the user ID to use on  the  man-

              agement console that is managing the destination managed system.

              If you do not specify the user ID, then the user ID of the  user

              that issues this command will be used.

       --redundantvios,--redundantpgvios

              When  listing shared memory pool information, use this option to

              specify the paging VIOS redundancy requirement for the partition

              on  the  destination  managed system.  Valid values are 0 if the

              partition is not to use redundant paging VIOS partitions,  1  if

              the  partition  is  required to use redundant paging VIOS parti-

              tions, or 2 if the partition is to  use  redundant  paging  VIOS

              partitions if possible.

              This option is only valid when listing shared memory pool infor-

              mation.  If this option is not  specified  when  listing  shared

              memory  pool  information, then the partition is required to use

              the same paging VIOS redundancy configuration on the destination

              managed  system  that  the  partition  is currently using on the

              source managed system.

              The --redundantvios and --redundantpgvios  options  are  equiva-

              lent.  The --redundantpgvios option is deprecated.

       --filter

              The  filter(s)  to apply to the resources to be listed.  Filters

              are used to select which resources are to be listed.  If no fil-

              ters  are  used,  then all of the resources will be listed.  For

              example, partition information can be listed by using  a  filter

              to  specify  the names or IDs of the partitions to list.  Other-

              wise, if no filter is used, then information for all of the par-

              titions in the managed system will be listed.

              The  filter  data consists of filter name/value pairs, which are

              in comma separated value (CSV) format.  The filter data must  be

              enclosed in double quotes.

              The format of the filter data is as follows:

              "filter-name=value,filter-name=value,..."

              Note  that certain filters accept a comma separated list of val-

              ues, as follows:

              ""filter-name=value,value,...",..."

              When a list of values is specified, the filter  name/value  pair

              must be enclosed in double quotes.  Depending on the shell being

              used, nested double quote characters may need to be preceded  by

              an escape character, which is usually a '\' character.

              Valid filter names:

                   lpar_names | lpar_ids

                        One of these filters is required when listing shared

                        memory pool, mover service partition, shared

                        processor pool, or virtual I/O information.  When

                        listing shared memory pool, shared processor pool,

                        or virtual I/O information, only one partition can

                        be specified.  These filters are optional when

                        listing partition information, and if specified,

                        multiple partitions can be specified.

                   dest_sys_names

                        The user-defined name or the machine type, model,

                        and serial number (tttt-mmm*sssssss) for one

                        or more destination managed systems.  This filter

                        is only valid when listing partition information.

              The  lpar_names,  lpar_ids, and dest_sys_names filters are mutu-

              ally exclusive.

              This option is not valid when  listing  HMC  or  managed  system

              information.

       -F     A  delimiter  separated  list of attribute names for the desired

              attribute values to be displayed.  If  no  attribute  names  are

              specified,  then  values  for all of the attributes will be dis-

              played.

              When this option is specified, only  attribute  values  will  be

              displayed.  No attribute names will be displayed.  The attribute

              values displayed will be separated by the  delimiter  which  was

              specified with this option.

              This  option is useful when only attribute values are desired to

              be displayed, or when the values of only selected attributes are

              desired to be displayed.

       --header

              Display  a header record, which is a delimiter separated list of

              attribute names for the attribute values that will be displayed.

              This  header  record  will  be the first record displayed.  This

              option is only valid when used with the -F option.

       --help Display the help text for this command and exit.

EXAMPLES

       List partition migration information for all partitions in the  managed

       system system1:

       lslparmigr -r lpar -m system1

       List  partition migration information for all partitions in the managed

       system system1 that are currently migrating or waiting  to  migrate  to

       managed system system2:

       lslparmigr -r lpar -m system1 --filter "dest_sys_names=system2"

       List  the shared memory pool information for managed system system2 for

       partition lpar1 if lpar1 is to use redundant paging VIOS partitions  on

       system2 if possible:

       lslparmigr -r mempool -m system1 -t system2 --filter "lpar_names=lpar1"

        --redundantvios 2

       List possible source and destination MSP pairs for migrating  partition

       lpar1 from managed system system1 to managed system system2:

       lslparmigr -r msp -m system1 -t system2 --filter "lpar_names=lpar1"

       List  possible  shared  processor  pools in managed system system2 that

       partition lpar1 can use when it is migrated from managed system system1

       to system2:

       lslparmigr -r procpool -m system1 -t system2 --filter

        "lpar_names=lpar1"

       List the partition mobility capabilities for managed system system1:

       lslparmigr -r sys -m system1

       List  possible  and suggested mappings of the virtual fibre channel and

       virtual SCSI adapters in the partition with ID 1 to virtual I/O servers

       in managed system system2:

       lslparmigr -r virtualio -m system1 -t system2 --filter "lpar_ids=1"

       List  possible  and suggested mappings of the virtual fibre channel and

       virtual SCSI adapters in partition aix1 to virtual I/O servers in  man-

       aged  system system2, when system2 is managed by the HMC with host name

       hmc2:

        mkauthkeys --ip hmc2 -u hmc2user

        lslparmigr -r virtualio -m system1 -t system2 --ip hmc2 -u hmc2user

        --filter "lpar_names=aix1"

ENVIRONMENT

       None

BUGS

       None

AUTHOR

       IBM Austin

SEE ALSO

       migrlpar, mkauthkeys

 

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone