Active IQ Unified Manager Discussions

Cannot remove host after IP change on host

eric_barlier
5,287 Views

Hi guys,

I recently installed OM 3.8 on a new server. I added a controller which had the wrong IP at the time. I have since changed the IP and cannot get OM

to reflect the change.

dfm host list

          XXXXXXX                                        10.3.32.143                               0118067680   No
        

dfm host delete

          dfm host delete 10.3.32.143
          Deleted host  XXXXXX  (86).

I wait 30 minutes or so, I then add the host using the new IP

dfm host add

          dfm host add 10.3.32.142
          Added host VIC-BCC-FAS6040-01A (86).

still I get the old IP..


dfm host list

          dfm host list
          XXXXXXX                                        10.3.32.143                               0118067680   No

How can I fix this? leave it overnight between deleting and adding?

Eric

1 ACCEPTED SOLUTION

prasads
5,287 Views

Hi Eric,

You can use the CLI to change the host IP address on OpsMgr

dfm host set <host-name-in-opsmgr> hostPrimaryAddress=<new-ip>

Example:

"dfm host set f270-184-148 hostPrimaryAddress=10.72.184.148"

Alternatively you can use the OpsMgr web ui also.

Go to "Controller Details" page, & click on "Edit Settings" link to open the "Edit Storage Controller Settings" page

In the " Primary IP Address" field, provide the new IP address.

Hope this helps.

Regards,

Prasad

View solution in original post

4 REPLIES 4

raghavt
5,287 Views

Hi Eric

Try to delete

Like this

dfm host delete -f 10.3.32.143

when u do

dfm host delete 10.3.32.143

it actually does not remove host completely, it still has the info about the host

so when u

did dfm host add 10.3.32.143

it just added the host from the list

so

when u do "-f" it removes the entry from the table completely ( -f actually removes the entry forcefully)

and

do dfm host add 10.3.32.142

I think this would be solving your problem

Regards

raghav

adaikkap
5,287 Views

Use the cli

dfm host set 86 hostPrimaryAddress=10.3.32.142

then do a host list.

You should be fine.

Regards

adai

eric_barlier
5,287 Views

many ways of doing it I see.. I had my CLI open and ran

dfm host set 86 hostPrimaryAddress=10.3.32.142

thanks!


Eric

prasads
5,288 Views

Hi Eric,

You can use the CLI to change the host IP address on OpsMgr

dfm host set <host-name-in-opsmgr> hostPrimaryAddress=<new-ip>

Example:

"dfm host set f270-184-148 hostPrimaryAddress=10.72.184.148"

Alternatively you can use the OpsMgr web ui also.

Go to "Controller Details" page, & click on "Edit Settings" link to open the "Edit Storage Controller Settings" page

In the " Primary IP Address" field, provide the new IP address.

Hope this helps.

Regards,

Prasad

Public