ONTAP Discussions

updating ontap 9.1 on FAS2240 system image upload

thomas382
11,179 Views

Hello;

 

I want to update our FAS 2240 to the newest cdot 9.1P20 Image.

so i downloaded the image successfully:

Software get http://.../91P20_q_image.tgz completed on node cluster3-01.

But with cluster3::*> system image show i see only the previos 2 Images:

Node Image Default Current Version Date
-------- ------- ------- ------- ------------------------- -------------------
cluster3-01
image1 false false 9.1P15 11/20/2018 11:13:30
image2 true true 9.1P19 12/16/2019 13:41:04
2 entries were displayed.

I suggest is has to to with cluster vs. node repository but i could not ind a way to solve it, can you please help me out?

Many Thanks

Thomas

1 ACCEPTED SOLUTION

Ontapforrum
9,301 Views

Try running this command:
::> system node image update -node  cluster3-01 -package file:///mroot/etc/software/91P20_q_image.tgz -setdefault true  -replace-package true

View solution in original post

20 REPLIES 20

Ontapforrum
11,011 Views

What you are looking at is the 'boot' images. You need to use "system image package show", which shows the 'software packages' available to you as repository.

 

Steps:
1) Do this:
::> system image package show
You should see your latest package.

 

2) Now copy that image to the cluster image repository.
::> cluster image package get -url file:///mroot/etc/software/91P20_q_image.tgz

 

3) Verify if the image has transferred:
::> cluster image package show-repository

 

There is a thread here:
https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-image-from-node-repository-to-cluster-image-repository/td-p/138018

thomas382
11,007 Views

Hi Ontapforrum;

 

Thanks for your fast reply:)

 

I did what you wrote but i get on my single node cluster:

cluster3::*> cluster image package get -url file:///mroot/etc/software/91P20_q_image.tgz

Error: command failed: This feature is not available on single node clusters.

can you please provide me the "single node" command?

Many Thanks, Thomas

Ontapforrum
10,993 Views

Welcome!

 

Cluster image repository is for automated update procedure (Primary written for multi-node, minimum 2 ), for NDU procedures. With Single Node it is DISRUPTIVE anyway. 

 

I think beginning with ONTAP 9.2, you can perform an automated update of a single-node cluster. Because single-node clusters lack redundancy, updates are always disruptive. As you are on 9.1, I guess that will not apply.

 

Performing an automated upgrade on a single-node cluster:
https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-ug-rdg%2FGUID-B93B2383-9600-4535-971A-297DDA7564CD.html

thomas382
10,956 Views

Thanks a lot, but my problem is i have cdot 9.1P19 actually and the FAS 2240 didn't support an upgrade to 9.2.

So i could only upgrade to 9.1P20, the newest version, so i could not make a automated upgrade.

 

 

Ontapforrum
10,950 Views

I see your point. I checked hwu,  you are right, it only supports 9.1.x, so have to deal with non-automated. Even with automated it is disruptive just that it does lot of checks for you.

thomas382
10,891 Views

Disruptiv and manual Update is no problem, i can deal with.

What i don't know is how to get the Image correctly to my Cluster that i can set it for install:

 

Software get http://.../91P20_q_image.tgz completed on node cluster3-01.

But with system node image show i cant see it!

Could you please help me?

Many Thanks Thomas

Mjizzini
10,880 Views

Instead of using the software get command , try to use ::*> system image get http://.../91P20_q_image.tgz

thomas382
10,878 Views

Thanks,

I did it several times without error, so i had to do it with -replace-package true argument:

 

cluster3::*> system image get http://download.pmu.ac.at/netapp/91P20_q_image.tgz -replace-package true

Software get http://.../91P20_q_image.tgz started on node cluster3-01
Downloading package. This may take up to 10 minutes.
97% downloaded
Download complete.
Software get http://.../91P20_q_image.tgz completed on node cluster3-01.

 

But with both commands, system node image show and cluster image show i don't see the new Image, that's my Problem!

I only see the old images and not the 9.1)20 Image!

image1 false false 9.1P15
image2 true true 9.1P19

 

Greetings, Thomas

 

 

Ontapforrum
10,856 Views

I see your point.

 

@Mjizzini: Internally it uses software get command, I think thomas382 is using the correct command which is system image get...!!


Let's try and see what's the cause, could you go to the following folder using the instructions given below and find out if the software image actually exists there or not.
cd /mroot/etc/software/


Go to diag level:

clust::> set diag

Warning: These diagnostic commands are for use by NetApp personnel only.
Do you want to continue? {y|n}: y

clust::*>


clust::*> systemshell
(system node systemshell)
diag@127.0.0.1's password:

Warning: The system shell provides access to low-level
diagnostic tools that can cause irreparable damage to
the system if not used properly. Use this environment
only when directed to do so by support personnel.

clust-01%
clust-01%
clust-01% cd /mroot/etc/software/
clust-01% ll
total 950616
-rw-r--r-- 1 root wheel 969605463 Sep 19 18:49 xx_q_image.tgz
clust-01%

thomas382
10,817 Views

Sorry, i think i lost the Creditentials for the systemshell account during the migration to a new password manager.

is there a possibility to reset the Password?

Thanks a lot for your help, Thomas

Ontapforrum
10,811 Views

Yes, you can, just set the new password.

::>set diag
::*>security login password -username diag

thomas382
10,793 Views

Thanks, i set the Diag Passwrd, but i need to set the systemshell password too.

Greetings, Thomas

Ontapforrum
10,791 Views

No. systemshell uses 'diag' user.

 

::> set diag
::*> systemshell -node node-xx
::*> systemshell -node node-xx
(system node systemshell)
diag@169.254.96.238's password:

thomas382
10,767 Views

Thanks for your patience!

I tryed several, keyboard layout independent passwords, but receive the same error:

 

cluster3::*> security login password -username diag

Enter a new password:
Enter it again:

cluster3::*> set diag

cluster3::*> systemshell -node cluster3-01
(system node systemshell)
diag@127.0.0.1's password:
diag@127.0.0.1's password:
Many Thanks

Thomas

Ontapforrum
10,750 Views

bydefault, user 'diag' is locked. If you are using it for the first time, then it must be un-locked first. Just use this command:

::*> security login unlock -username diag

 

You should be good now.

thomas382
9,256 Views

Thanks, the best way to learn, here is the output:

 

total 1713384
-rw-r--r-- 1 root wheel 873885001 Jul 1 2019 91P19_q_image.tgz
-rw-r--r-- 1 root wheel 873727624 Sep 24 13:33 91P20_q_image.tgz

 

looks that the image is correctly there.

Greetings, Thomas

thomas382
9,229 Views

Hello;

 

With the following Command i get now the korrect output:

cluster3::> system image package show

mroot
91P19_q_image.tgz
91P20_q_image.tgz

 

Could you please help me how i can start a Disruptive Upgrade of my single node cluster?

Thanks, Thomas

Ontapforrum
9,217 Views

Just follow this pdf: [Page-61 & 62 covers it, simple steps and should be smooth]
https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-ug-rdg/Upgrade%20revert%20or%20downgrade.pdf

Under topic - Updating an ONTAP cluster disruptively (steps 1 to 7)

thomas382
9,194 Views

I followed the manual, and i can see the image, with the command:

 

system node image show-update-progress -node *

 

There is no update/install in progress
Status of most recent operation:
Run Status: Exited
Exit Status: Success
Phase: Download
Exit Message: Software get http://.../91P20_q_image.tgz completed on node cluster3-01.

 

So the image should be on the cluster node, but with system image show i get:


cluster3-01
image1 false false 9.1P15 11/20/2018 11:13:30
image2 true true 9.1P19 12/16/2019 13:41:04

So i can't set the new image9.1P20  as default.

Many Thanks, Thomas

 

 

 

Ontapforrum
9,302 Views

Try running this command:
::> system node image update -node  cluster3-01 -package file:///mroot/etc/software/91P20_q_image.tgz -setdefault true  -replace-package true

Public