This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
storage:svc_cmd [2023/06/28 14:42] manu [Manualy upgrade controler firmware/software/reset drives status] |
storage:svc_cmd [2025/03/21 23:03] (current) manu [Replace SVC node] |
||
---|---|---|---|
Line 323: | Line 323: | ||
//Error// using replication metro mirror (PPRC) or global mirror --> change the system layout on all devices to have the same virtualization layer | //Error// using replication metro mirror (PPRC) or global mirror --> change the system layout on all devices to have the same virtualization layer | ||
- | ==== Enable SVC NPIV ==== | + | ==== Enable SVC NPIV (required in v8.7) ==== |
Here we talk about SVC FC port virtualization, host with NPIV is supported for a long time. | Here we talk about SVC FC port virtualization, host with NPIV is supported for a long time. | ||
+ | |||
+ | === Change from Not virtualized to Transitional === | ||
Enabling NPIV target port functionality on a new cluster | Enabling NPIV target port functionality on a new cluster | ||
After creating the cluster, but before starting to add hosts, issue | After creating the cluster, but before starting to add hosts, issue | ||
- | chiogrp fctargetportmode transitional <IO group> | + | <cli> |
+ | chiogrp -fctargetportmode transitional <IO group> | ||
+ | </cli> | ||
on each populated I/O group. | on each populated I/O group. | ||
- | Once that is done, issue | + | |
- | chiogrp fctargetportmode enabled <IO group> | + | === Update the zoning for ports connected to hosts === |
+ | |||
+ | Ensure that the hosts are using the NPIV ports for host I/O. To verify that you are logged in to these hosts with these NPIV ports, enter the following command | ||
+ | <cli> | ||
+ | lsfabric -host host_id_or_name | ||
+ | </cli> | ||
+ | Wait a minimum of 15 minutes before you move from transitional to enabled state. | ||
+ | |||
+ | === Change from Transitional to NPIV === | ||
+ | |||
+ | To change the NPIV setting to enabled, enter the following command: | ||
+ | <cli> | ||
+ | chiogrp -fctargetportmode enabled | ||
+ | </cli> | ||
on each populated I/O group. | on each populated I/O group. | ||
If using WWPN based zoning, issue the command to view the set of FC ports. | If using WWPN based zoning, issue the command to view the set of FC ports. | ||
+ | <cli> | ||
lstargetportfc | lstargetportfc | ||
+ | </cli> | ||
All ports that display virtualized=yes need to be zoned into hosts as described above. | All ports that display virtualized=yes need to be zoned into hosts as described above. | ||
Line 634: | Line 654: | ||
mkvdisk -mdiskgrp pool1 -iogrp io_grp0 -size 1099511627776 -unit b -name DCAV-PRTSM02-99 | mkvdisk -mdiskgrp pool1 -iogrp io_grp0 -size 1099511627776 -unit b -name DCAV-PRTSM02-99 | ||
</cli> | </cli> | ||
+ | |||
+ | ===== Users management ===== | ||
+ | |||
+ | ==== Groups ==== | ||
+ | |||
+ | List groups: | ||
+ | <cli prompt='>'> | ||
+ | IBM_FlashSystem:fs7300:user01> lsusergrp | ||
+ | id name role remote owner_id owner_name | ||
+ | 0 SecurityAdmin SecurityAdmin no | ||
+ | 1 Administrator Administrator no | ||
+ | 2 CopyOperator CopyOperator no | ||
+ | 3 Service Service no | ||
+ | 4 Monitor Monitor no | ||
+ | 5 RestrictedAdmin RestrictedAdmin no | ||
+ | </cli> | ||
+ | |||
+ | ==== Users ==== | ||
+ | |||
+ | Create a new user with a password: | ||
+ | <cli prompt='>'> | ||
+ | IBM_FlashSystem:fs7300:user01> mkuser -name user02 -usergrp SecurityAdmin -password xxxxxx | ||
+ | </cli> | ||
+ | |||
+ | List all users | ||
+ | <cli prompt='>'> | ||
+ | IBM_FlashSystem:fs7300:user01> lsuser | ||
+ | id name password ssh_key remote usergrp_id usergrp_name | ||
+ | 0 superuser yes yes no 0 SecurityAdmin | ||
+ | 1 user02 yes no no 0 SecurityAdmin | ||
+ | 3 report no yes no 4 Monitor | ||
+ | </cli> | ||
+ | |||
+ | Create a user with ssh key axchange | ||
+ | |||
+ | * Copy the public key from you user to **/home/admin/upgrade** | ||
+ | <cli prompt='#'> | ||
+ | [root@lnx01]/storage/.ssh # scp /storage/.ssh/id_ecdsa.pub user01@fs7300:/home/admin/upgrade | ||
+ | Password: | ||
+ | id_ecdsa.pub 100% 284 411.6KB/s 00:00 | ||
+ | </cli> | ||
+ | |||
+ | * Create a user and import the ssh key | ||
+ | <cli prompt='>'> | ||
+ | IBM_FlashSystem:fs7300:user01>mkuser -name report -usergrp Monitor -keyfile /home/admin/upgrade/id_ecdsa.pub | ||
+ | User, id [8], successfully created | ||
+ | </cli> | ||
+ | |||
+ | |||
+ | ===== Replace SVC node ====== | ||
+ | |||
+ | <cli> | ||
+ | satask installsoftware -file IBM_5.0.12 -ignore | ||
+ | </cli> | ||
+ | |||
+ | <cli> | ||
+ | sainfo lsservicenode | ||
+ | </cli> | ||
+ | |||
+ | |||
+ | <cli> | ||
+ | satask chvpd -wwnn 500507680F00FFFF -fcportmap 11-11,12-12,13-13,14-14,21-21,22-22,23-23,24-24 | ||
+ | </cli> | ||
+ |