User Tools

Site Tools


storage:svc_cmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
storage:svc_cmd [2021/12/10 15:06]
manu [Manualy upgrade controler firmware/software]
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 doneissue  + 
-  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 portsenter 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 459: Line 479:
 </​cli> ​ </​cli> ​
  
-==== Manualy upgrade controler firmware/​software ====+==== Manualy upgrade controler firmware/​software/reset drives status ​==== 
 + 
 +If you have pending upgrade on drives, for a long time and never end 
 +<cli prompt='>'>​ 
 +IBM_Storwize:​v3700-Quorum:​superuser>​lsdriveupgradeprogress  
 +id  status ​       estimated_completion_time  
 +0   ​not_scheduled ​                                                     
 +7   ​not_scheduled ​                                         
 +51  completed ​    ​221013120044 ​              
 +52  completed ​    ​221013120550 ​              
 +53  completed ​    ​221013121056 ​              
 +54  completed ​    ​221013121602 
 +</​cli>​ 
 + 
 +Reset the status to **not_scheduled**
  
 First copy firmware and test upgrade tool into /​home/​admin/​upgrade First copy firmware and test upgrade tool into /​home/​admin/​upgrade
Line 516: Line 550:
 updated to 7.8.1.11 until it has been resolved updated to 7.8.1.11 until it has been resolved
 </​cli>​ </​cli>​
 +
 +If it keeps schedules pending, then restart **tomcat**
 +<cli prompt='>'>​
 +IBM_Storwize:​v3700:​superuser>​ satask restartservice -service tomcat
 +IBM_Storwize:​v3700:​superuser>​ satask restartservice -service cimom
 +</​cli>​
 +Wait about 5 min and then retry the upgrade
  
 Now you are ready to upgrade the new firmware Now you are ready to upgrade the new firmware
Line 522: Line 563:
 </​cli>​ </​cli>​
  
-====== SVC changing topology for enhanced ​strech ​cluster ======+Use the following command to check the upgrade progress, take care it will stay on 0, after it will switch to 50% after reboot of first controller... 
 +<cli prompt='>'>​ 
 +IBM_Storwize:​v3700-Quorum:​superuser>​ lsupdate 
 +</​cli>​ 
 + 
 +====== SVC changing topology for enhanced ​stretch ​cluster ======
  
 == Configuration steps == == Configuration steps ==
Line 608: 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>​
 +
storage/svc_cmd.1639145201.txt.gz · Last modified: 2021/12/10 15:06 by manu