Skip to content

lop-devops/LOPOsinstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Linux installation on PowerVM Logical partition(LPAR)

python installvm.py -h

usage: installvm.py [-h] --host-ip HOST_IP --host-name HOST_NAME --host-gw
                    HOST_GW [--host-netmask HOST_NETMASK] --host-mac HOST_MAC
                    --host-disk HOST_DISK [--boot-disk BOOT_DISK]
                    [--multipathsetup MULTIPATHSETUP]
                    [--kernel-params KERNEL_PARAMS]
                    [--host-password HOST_PASSWORD] --lpar-hmc LPAR_HMC
                    --lpar-managed-system LPAR_MANAGED_SYSTEM
                    --lpar-partition-name LPAR_PARTITION_NAME
                    [--hmc-userid HMC_USERID] [--hmc-password HMC_PASSWORD]
                    [--hmc-profile HMC_PROFILE] [--ksargs KSARGS]
                    [--showcleanup SHOWCLEANUP] --distro DISTRO
                    [--set-boot-order SET_BOOT_ORDER] --ssl-server SSL_SERVER

optional arguments:
  -h, --help            show this help message and exit
  --distro DISTRO       distro to be installed ex: rhel_7.4le_alpa,
                        sles_11sp3_beta
  --set-boot-order SET_BOOT_ORDER
                        yes/True to set the boot disk order
  --ssl-server SSL_SERVER  SSL certificate for the server domain to be created in LPAR

Host Specific Information for Installation:

  --host-ip HOST_IP     Host IP address
  --host-name HOST_NAME
                        Host FQDN
  --host-gw HOST_GW     Host Gateway IP
  --host-netmask HOST_NETMASK
                        Host network subnetmask
  --host-mac HOST_MAC   Host MAC address
  --host-disk HOST_DISK
                        Host disk(s) by-id to install ex: /dev/disk/by-
                        id/<disk>
  --boot-disk BOOT_DISK
                        boot disk ID from VIOS to set order ex:
                        U9080.M9S.78264B8-V1-C101-T1-L8100000000000000
  --multipathsetup MULTIPATHSETUP
                        Host disk having multipath setup
  --kernel-params KERNEL_PARAMS
                        append addon kernel parameters
  --host-password HOST_PASSWORD
                        system password

Managed System Details:

  --lpar-hmc LPAR_HMC   HMC Name or IP
  --lpar-managed-system LPAR_MANAGED_SYSTEM
                        LPAR Managed system name
  --lpar-partition-name LPAR_PARTITION_NAME
                        LPAR Partition Name
  --hmc-userid HMC_USERID
                        HMC userid
  --hmc-password HMC_PASSWORD
                        HMC password
  --hmc-profile HMC_PROFILE
                        HMC Profile Name
  --ksargs KSARGS       Additional Kick Start option
  --showcleanup SHOWCLEANUP


Example :
python installvm.py --host-ip <host ip> --host-name <host name > --host-gw <system gateway> 
--host-netmask <netmask> --host-mac <mac> --lpar-hmc <hmc where lpar hosted> 
--lpar-managed-system <managed system name> --lpar-partition-name <partition name> 
--distro <build name (hosted in /repo/crlt path)> --host-disk=<disk name> --hmc-profile <lpar profile>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages