Appendix A. HMC command list 479
Command attributes are discussed in “HMC CLI command attributes” on page 494.
Listing all partitions in a managed system
Use the lssyscfg command to list all partitions in a managed system.
To do this, enter:
lssyscfg -r lpar -m <managed system>
To list only the names, IDs, and states of all partitions in a managed system, enter:
lssyscfg -r lpar -m <managed system> -F name,lpar_id,state --header
Listing LPAR properties
Use the lssyscfg command to list the properties of a specific partition.
Type the following command:
lssyscfg -r lpar -m <managed system> --filter"lpar_ids=<partition ID>"
Getting the LPAR state
Use the lssyscfg command to display the state of a partition. Type the following command:
lssyscfg -r lpar -m <managed system> --filter "lpar_names=<partition name>" -F state
Modifying LPAR properties
Use the chsyscfg command to modify the properties of a partition. The following example
shows how to change a partition’s cluster ID:
chsyscfg -r lpar -m <managed system> -i"lpar_id=l,cluster_id=3"
Valid attributes, specified with the –i flag, are:
– new_name name
– lpar_id
– default_profile
– cluster_id
hsl_opti_pool_id load_source_slot min_mem min_interactive
virtual_scsi_adapters max_mem desired_interactive uncap_weight
proc_type max_interactive virtual_eth_adapters max_virtual_slots
Tip: lnstead of entering configuration information on the command line with the -i flag, the
information can instead be placed in a file, and the filename specified with the -f flag.
Note: The partition name can be specified instead of the partition ID by using the
lpar_names filter in place of the lpar_ids filter. Also, more than one partition may be
specified in the filter list.
Note: The partition ID can be specified instead of the partition name by using the lpar_ids
filter in place of the lpar_names filter. Also, more than one partition may be specified in the
filter list.
name desired_proc_units min_proc_units lpar_id
Commentaires sur ces manuels