Data Backup and Recovery

SMO rollingupgrade to 3.2 fails

ChrisHolloway
4,146 Views

Hi all

I'm trying to do a rollingupgrade of SMO for Windows from version 3.0.3 to version 3.2.  I've installed the software on the host, but when I run the rolling upgrade command to upgrade it's entries in the repositories I get the following error:

C:\Program Files\NetApp\SnapManager for Oracle\bin>smo repository rollingupgrade -repository -dbname oemdb -host rephost -login -username SMO -port 1521 -upgradehost server704.xxx.xxx.uk -force

 

Once this operation has begun, you will not be able to cancel it.  Are you sure you wish to proceed with the repository rolling upgrade (Y/N)? y

[ INFO] SMO-09283: Existing old repository version "64"

[ERROR] SMO-09234: Following hosts does not exist in the old repository. server704.xxx.xxx.uk

[ERROR] SMO-13032: Cannot perform operation: Repository Rolling Upgrade.  Root cause: SMO-09234: Following hosts does not exist in the old repository. server704.xxx.xxx.uk

[ INFO] SMO-13039: Successfully aborted operation: Repository Rolling Upgrade

[ERROR] SMO-13048: Repository Rolling Upgrade Operation Status: FAILED

[ INFO] SMO-13049: Elapsed Time: 0:00:01.797

Operation Id [N683a59e9153692dd81900789cf3f6dc8] failed. Error: Following hosts does not exist in the old repository. server704.xxx.xxx.uk

But if I query the repository, the host is there:

C:\Program Files\NetApp\SnapManager for Oracle\bin>smo repository show -repository -port 1521 -dbname oemdb -host rephost -login -username SMO

Repository Definition:

  User Name: SMO

  Host Name: rephost

  Database Name: oemdb

  Database Port: 1521

  Version: 64

Hosts that have run operations using this repository: 13

<snip>

  server704.xxxx.xxx.uk

<snip>

Profiles defined in this repository: 24

<snip>

  server704_BWT

  server704_CM3

<snip>

Incomplete Operations: 0

I've tried every combo of upper case, lower case, FQDN, short name, IP address etc. but with no luck.  This is the first server we've tried this on, but until we get this one working we won't be doing it on any others as we don't want to break the currently working SMO environment.

Anyone got any ideas?

TIA

Chris

5 REPLIES 5

himanshp
4,146 Views

Hello Chris,

Can you please send the logs for the above operation.

Thanks,

Himanshu

himanshp
4,146 Views

Meanwhile Chris, Can you also try to run the above command with hostname specified within double quotes.

smo repository rollingupgrade -repository -dbname oemdb -host rephost -login -username SMO -port 1521 -upgradehost "server704.xxx.xxx.uk"

Thanks,

Himanshu

ChrisHolloway
4,146 Views

I've re-run the command with the host name in double quotes, but it has the same error.  I'll get the logs now.

I also have a case open with support.

ChrisHolloway
4,146 Views

I've attached the log.  Basically, looking at the log it matches up the host name but then says it can't find any profiles which match the host name.  However, the profiles are all there with the correct hostnames.

himanshp
4,146 Views

Chris,

It has 3 interfaces 172.16.0.145, 172.16.0.149, 172.16.0.74 and there are no profiles listed when queried, that's the reason it says that the host dosen't exist in the repository. If we can get the repository show command log file, it can be of some help to debug.

Thanks,

Himanshu

Public