Thanks for looking Somesh, i updated my dns to point to the new ip for the secondary storage url ... that solved my issue.
But yes this document did not help me .... https://github.com/apache/cloudstack-docs/blob/master/en-US/changing-secondary-storage-ip.xml *we at isightpartners are running cloudstack 4.2.1.* mysql> select id,name,status,available from cloud.host where type="SecondaryStorage"; Empty set (0.00 sec) mysql> mysql> select * from version; +----+---------+---------------------+----------+ | id | version | updated | step | +----+---------+---------------------+----------+ | 1 | 4.0.0 | 2014-04-28 16:58:01 | Complete | | 2 | 4.1.0 | 2014-04-28 20:58:43 | Complete | | 3 | 4.2.0 | 2014-04-28 20:58:43 | Complete | | 4 | 4.2.1 | 2014-04-28 20:58:43 | Complete | +----+---------+---------------------+----------+ 4 rows in set (0.00 sec) mysql> select id from host where type = 'SecondaryStorage'; Empty set (0.00 sec) mysql> select type from host; +--------------------+ | type | +--------------------+ | Routing | | Routing | | Routing | | Routing | | Routing | | SecondaryStorageVM | | ConsoleProxy | | Routing | | Routing | | SecondaryStorageVM | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | Routing | | SecondaryStorageVM | | ConsoleProxy | | SecondaryStorageVM | | SecondaryStorageVM | | SecondaryStorageVM | | ConsoleProxy | | ConsoleProxy | | ConsoleProxy | +--------------------+ 32 rows in set (0.00 sec) mysql> On Fri, May 1, 2015 at 11:06 AM, Somesh Naidu <somesh.na...@citrix.com> wrote: > Prashant, > > Looks like the doc you are referring to might be for older version. What > version of ACS are you using? > > Somesh > CloudPlatform Escalations > Citrix Systems, Inc. > > -----Original Message----- > From: Prashant s [mailto:opsrunb...@gmail.com] > Sent: Saturday, April 25, 2015 2:47 PM > To: dev@cloudstack.apache.org > Subject: please help trying to change the ip of my secondary storage > > Greetings ! > > > i trying to change the ip of my secondary storage , was following these > steps > > can you please advice , what im doing wrong > > > thanks in advance for your help and reading ! > > prashant > > > > i was following these steps > > > https://github.com/apache/cloudstack-docs/blob/master/en-US/changing-secondary-storage-ip.xml > > > > mysql> use cloud; > > mysql> select id from host where type = 'SecondaryStorage'; > > mysql> update host_details set value = 'nfs:// > 192.168.160.20/export/mike-ss1' > > where host_id = HOSTID and name = 'orig.url'; > > mysql> update host set name = 'nfs:// > 192.168.160.20/export/mike-ss1' where type > > = 'SecondaryStorage' and id = #; > > mysql> update host set url = 'nfs:// > 192.168.160.20/export/mike-ss1' where type > > = 'SecondaryStorage' and id = #; > > mysql> update host set guid = 'nfs:// > 192.168.160.20/export/mike-ss1' where type > > = 'SecondaryStorage' and id = #; > > > *But i dont see any host in cloud.host with type secondarystorage * > > *can you please help* > > > mysql> select id,name,status,available from cloud.host where > type="SecondaryStorage"; > > Empty set (0.00 sec) > > mysql> select type from cloud.host ; > > +--------------------+ > > | type | > > +--------------------+ > > | Routing | > > | Routing | > > | Routing | > > | Routing | > > | SecondaryStorageVM | > > | ConsoleProxy | > > | Routing | > > | Routing | > > | SecondaryStorageVM | > > | Routing | > > | Routing | > > | Routing | > > | SecondaryStorageVM | > > | ConsoleProxy | > > | SecondaryStorageVM | > > +--------------------+ > > 15 rows in set (0.00 sec) > > > mysql> select id,name,status,available from cloud.host where > type="SecondaryStorageVM"; > > +----+----------+--------------+-----------+ > > | id | name | status | available | > > +----+----------+--------------+-----------+ > > | 5 | s-1-VM | Disconnected | 1 | > > | 9 | s-354-VM | Disconnected | 1 | > > | 13 | s-689-VM | Disconnected | 1 | > > | 15 | s-768-VM | Up | 1 | > > +----+----------+--------------+-----------+ > > 4 rows in set (0.00 sec) > > > mysql> select id,name,status,available from cloud.host where > type="SecondaryStorage"; > > Empty set (0.00 sec) > > > mysql> >