This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aix:powervc_cmd [2023/01/18 13:13] manu created |
aix:powervc_cmd [2025/05/21 10:16] (current) manu |
||
---|---|---|---|
Line 13: | Line 13: | ||
https://aix4admins.blogspot.com/2018/08/openstack.html | https://aix4admins.blogspot.com/2018/08/openstack.html | ||
+ | |||
+ | PowerVC version | ||
+ | <cli prompt='#'> | ||
+ | [root@ibmrhelpvc01p /opt/ibm/powervc]# cat version.properties | ||
+ | [2.2.0 Install] | ||
+ | name = IBM PowerVC | ||
+ | version = 2.2.0 | ||
+ | build = 20231102-0930 | ||
+ | oem = no | ||
+ | install-date = 2024-02-13 | ||
+ | cloud_enabled = yes | ||
+ | cluster = PowerVC | ||
+ | install_method = cluster | ||
+ | </cli> | ||
===== Services ===== | ===== Services ===== | ||
Line 179: | Line 193: | ||
<cli prompt='#'> | <cli prompt='#'> | ||
[root@ibmpvc01 ~]# nova --os-auth-url https://ibmpvc01:5000/v3 --os-username root --os-project-name ibm-default list | [root@ibmpvc01 ~]# nova --os-auth-url https://ibmpvc01:5000/v3 --os-username root --os-project-name ibm-default list | ||
- | +--------------------------------------+-----------------------------+--------+------------+-------------+-------------------------------------+ | + | +--------------------------------------+----------------+--------+------------+-------------+-----------------------+ |
- | | ID | Name | Status | Task State | Power State | Networks | | + | | ID | Name | Status | Task State | Power State |Networks | |
- | +--------------------------------------+-----------------------------+--------+------------+-------------+-------------------------------------+ | + | +--------------------------------------+----------------+--------+------------+-------------+-----------------------+ |
- | | 14307dbe-db30-4320-8f4c-54dc620c44d5 | AIX002 | ACTIVE | - | Running | VLAN3=; VLAN5-BACKUP= | | + | | 14307dbe-db30-4320-8f4c-54dc620c44d5 | AIX002 | ACTIVE | - | Running | VLAN3=; VLAN5-BACKUP= | |
- | | 18319c1b-aca1-45c8-888d-17b8c0256a70 | AIX047 | ACTIVE | - | Running | VLAN3-TEST=10.10.10.1 | | + | | 18319c1b-aca1-45c8-888d-17b8c0256a70 | AIX047 | ACTIVE | - | Running | VLAN3-TEST=10.10.10.1 | |
- | | 7c10d210-1f20-453b-9fd3-af357f35d7e3 | AIX052 | ACTIVE | - | Running | VLAN8-TEST1=10.10.10.3 | | + | | 7c10d210-1f20-453b-9fd3-af357f35d7e3 | AIX052 | ACTIVE | - | Running | VLAN8-TEST1=10.10.10.3| |
</cli> | </cli> | ||
Line 475: | Line 489: | ||
[root@ibmpvc01 ~]# nova --os-auth-url https://ibmpvc01:5000/v3 --os-username root --os-project-name ibm-default hypervisor-servers 828422A_xxxxx3V | [root@ibmpvc01 ~]# nova --os-auth-url https://ibmpvc01:5000/v3 --os-username root --os-project-name ibm-default hypervisor-servers 828422A_xxxxx3V | ||
- | +--------------------------------------+----------------------------+--------------------------------------+---------------------+ | + | +--------------------------------------+---------+--------------------------------------+---------------------+ |
- | | ID | Name | Hypervisor ID | Hypervisor Hostname | | + | | ID | Name | Hypervisor ID | Hypervisor Hostname | |
- | +--------------------------------------+----------------------------+--------------------------------------+---------------------+ | + | +--------------------------------------+---------+--------------------------------------+---------------------+ |
- | | 4c68b784-220c-44f5-93a3-7275bad5670e | LNX025 | 7b1c1c2a-ff6e-4b5f-80bb-035278fbe7fa | 828422A_xxxxx3V | | + | | 4c68b784-220c-44f5-93a3-7275bad5670e | LNX025 | 7b1c1c2a-ff6e-4b5f-80bb-035278fbe7fa | 828422A_xxxxx3V | |
- | | 6f887754-766f-4e85-8771-2c7582d6e035 | AIX096 | 7b1c1c2a-ff6e-4b5f-80bb-035278fbe7fa | 828422A_xxxxx3V | | + | | 6f887754-766f-4e85-8771-2c7582d6e035 | AIX096 | 7b1c1c2a-ff6e-4b5f-80bb-035278fbe7fa | 828422A_xxxxx3V | |
- | | 1480ae45-bf67-42cc-9fb7-c0104ffadd82 | AIX018 | 7b1c1c2a-ff6e-4b5f-80bb-035278fbe7fa | 828422A_xxxxx3V | | + | | 1480ae45-bf67-42cc-9fb7-c0104ffadd82 | AIX018 | 7b1c1c2a-ff6e-4b5f-80bb-035278fbe7fa | 828422A_xxxxx3V | |
- | <Cli> | + | </cli> |
<cli prompt='#'> | <cli prompt='#'> | ||
Line 524: | Line 538: | ||
# ll /var/lib/cinder | # ll /var/lib/cinder | ||
</code> | </code> | ||
+ | |||
+ | ===== PowerVC - Volume and zone naming ===== | ||
+ | |||
+ | You can specify a template for the zoning name. The zone-name-template can be a combination of these keys: 'vm_name', 'storage_hostname', 'storage_display_name', 'intiatior_wwpn', 'target_wwpns', or your custom string. vm_name corresponds to virtual machine's host name. | ||
+ | <cli prompt='#'> | ||
+ | # powervc-config storage fc-zone zone-name-template | ||
+ | -t "DATA_CENTER_1_%(initiator_wwpn)s_%(vm_name)s_%(storage_display_name).6s" | ||
+ | |||
+ | DATA_CENTER_1_c050760867264558_TEST_INITIATO__HDS_G18JTA | ||
+ | </cli> | ||
+ | |||
+ | You can specify a template for the volume name. The vol-name-template can be a combination of these keys: 'display_name’ ,’id’ or your custom string. | ||
+ | <cli prompt='#'> | ||
+ | # powervc-config storage vol-name-format --template ‘vol-%(display_name).37s-%(id).13s’ | ||
+ | </cli> | ||
+ |