Skip to content

Virtually Caffeinated

A double-shot of knowledge

Menu
  • About Me
  • Useful Links

About Me

Profile
Jeremy Wheeler

I am an experienced Consulting Architect for VMware’s Professional Services Organization, End-user Computing specializing in VMware Horizon Suite product-line and SDDC. I have over 23 years of experience in the IT industry. In addition to his past experience, I have a passion for technology and thrives on educating customers. Additionally, I have 10 years of hands-on virtualization experience deploying full-life cycle solutions using VMware, CITRIX, and Hyper-V. I also has 18 years of experience in computer programming in various languages ranging from basic scripting to C, C++, PERL, .NET, SQL, and PowerShell. I’ve received acclaim from several clients for my in-depth and varied technical experience and exceptional hands-on customer satisfaction skills. In February 2013, I received VMware’s Spotlight award for my outstanding persistence and dedication to customers and was nominated again in October of 2013. I was awarded 2015 – 2017 vEXPERT.

  • Home
  • 2015
  • March
  • 5
  • vROps Change Master Node IP
vRealize Ops Manager

vROps Change Master Node IP

Jeremy Wheeler
March 5, 2015March 21, 2015 4 mins

Contents

  1. Changing Master Node IP address
    1. Master Node IP preparation steps
    2. Change IP from the C# Client
    3. Configuring the Master Node from console
    4. CaSA service changes
    5. ConfigureRoles script
    6. Manually changing Script files
    7. roleState.properties modifications
    8. gemfire.properties modifications
    9. persistence.properties modifications

Changing Master Node IP address

In some cases I have found customers want to change their Master Node IP when moving from a Pilot to Production for example. This is supported from VMware but isn’t an easy task. Before we dig into this I also want to make sure it’s clear this isn’t changing the Master Node NAME. Changing the Master Node name isn’t supported and cannot be achieved by simply editing the CaSa script, * IT WILL BREAK YOUR CLUSTER *. There mentioning of changing the Master Node Name through an API call, but this is something you will need to call VMware’s GSS about. In a nutshell, it’s not support and you are better off following my Master Node Name change blog entry.

Two different methods exist where you could change the Master Node IP, both are complicated. You can’t simply login to the appliance and change the IP or change them from the properties window. roleState, Gemfire, and Persistence all need this new IP information updated. If you just need to change the IP address this blog entry will assist you in accomplishing such task (the first method). The second method I spoke about is following my blog entry regarding changing the Master Node Name. This entry talks about turning your single node cluster into an HA federation and have the Master Replica reflect the new IP and New node name you want and invoke a failure.

  • Master Node IP preparation steps

 

Special Note:

It’s always better to be safe than sorry so don’t be a hero and take a snapshot on vROps virtual machine before you start.

 

The first thing you need to do is to make sure you bring vROps cluster offline. This can be done via vROps admin UI at https://<your Master Node IP>/admin/

As a result of taking the cluster offline, the Master Node will be brought offline as well.

 

 

 

  • Change IP from the C# Client

 

Shutdown the Master Node VM and change its IP address. In vROps, this configuration is part of the VM properties.

 

Before powering on the VM, make sure to change any DNS A record you might have pointing to the old IP address.

Once the VM is up and running, open SSH console session.

 

  • Configuring the Master Node from console

 

 

Changing the IP in the VM properties is not enough, we also need to make sure the GemFire and the vROps cluster service are also aware of the change.

 

Note

Press Alt-F1 to get into the shell of the virtual appliance.

 

  • CaSA service changes

 

  1. Stop the CaSA service

    service vmware-casa stop

  2. Edit the following file and update the old IP to the new IP:

    /storage/db/casa/webapp/hsqldb/casa.db.script

 

Note

If the IPs do not exist yet in casa.db.script, start then stop the CaSA service.

 

  1. Start the CaSA service

    service vmware-casa start

 

  • ConfigureRoles script

 

Navigate to: /usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/bin

 

Run the following script:

./vcopsConfigureRoles.py –-adminCS <Your New Master Node IP>

Note

The above script command is two dashes, not one dash, i.e. <dash><dash>adminCS.

 

 

  • Manually changing Script files

 

If you feel like manual process is your thing (or if you just want to validate the script did its job), edit the IP address in the following 3 configuration files:

 

/usr/lib/vmware-vcopssuite/utilities/sliceConfiguration/data/roleState.properties

/usr/lib/vmware-vcops/user/conf/gemfire.properties

/usr/lib/vmware-vcops/user/conf/persistence/persistence.properties

 

roleState.properties modifications

 

roleState.properties

 

gemfire.properties modifications

 

gemfire.properties

 

persistence.properties modifications

 

persistence.properties

 

After the change has been made, all that is left is to login to the admin UI again (using the new IP address of course) and bring the cluster (and the Master Node for that matter) online again.

 


This should complete the steps needed to re-IP the appliance.

Share :
whosay

Written by  Jeremy Wheeler: Jeremy

Post navigation

Previous: vROps Licensing
Next: vROps 6, Supermetrics, and editing XML

Related Post

vROps Licensing

vROps 6, Supermetrics, and editing XML

vRealize Operation Troubleshooting

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

Recent Posts

  • Log Parsing Cheat Sheet
  • Virtually There: Presentations that Pop!
  • Cool Resources for your Kids at home during this time..
  • Move OmniGraffle Package to Flat Format
  • VMware User Environment Manager and Sysinternals BGinfo

Archives

RSS Press Releases

  • VMware Named 2022 HPE Global Technology Partner of the Year June 28, 2022
    VMware recognized for embodying partnership-first value and commitment to helping mutual customers unleash their growth potential and achieve better business outcomes LAS VEGAS--(BUSINESS WIRE)-- HPE DISCOVER – VMware, Inc. (NYSE: VMW) today announced the company was named the 2022 HPE Global Technology Partner of the Year. This award recognizes VMware as an HPE partner that […]
  • VMware Unveils vSphere+ and vSAN+ to Simplify Operations with Centralized Infrastructure Management, Increase Developer Velocity with Integrated Kubernetes, and Extend On-Premises with Hybrid Cloud Services June 28, 2022
    PALO ALTO, Calif.--(BUSINESS WIRE)-- VMware, Inc. (NYSE: VMW) today unveiled VMware vSphere+ and VMware vSAN+ to help organizations bring the benefits of the cloud to their existing on-premises infrastructure with no disruption to their workloads or hosts. Introduced at VMworld 2021 as a technology preview known as Project Arctic, these new offerings will help customers […]
  • VMware Named a Leader in Three Unified Endpoint Management IDC MarketScape Vendor Assessments June 16, 2022
    VMware positioned as a Leader in Unified Endpoint Management (UEM) Software, UEM Software for Apple Devices, and UEM Software for Ruggedized/IoT Device Deployments PALO ALTO, Calif.--(BUSINESS WIRE)-- VMware Inc. (NYSE: VMW), a leading innovator in enterprise software, today announced it has been positioned as a Leader in three recent IDC MarketScape reports related to the […]
Copyright VMBUCKET.COM © 2020