HP HPE VAN SDN Controller 2.7 Administrator's Manual page 166

Table of Contents

Advertisement

6.
Navigate to the /opt/sdn/cassandra/bin directory and enter the following command:
/opt/sdn/cassandra/bin# ./nodetool status
7.
Copy the Host ID of the Cassandra instance that has a state of DN in the output of the
command you entered in the previous step. For example, the last entry in the following output
is the Cassandra instance for the controller that was stopped:
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Addres
UN 192.0.2.142
UN 192.0.2.140
DN 192.0.2.141
8.
Remove the Cassandra instance from the cluster by entering the ./nodetool removenode
HostID command, where HostID is the identifier of the Cassandra instance to remove.
For example:
/opt/sdn/cassandra/bin# ./nodetool removenode
26999328-abec-4d80-a689-eb8b1f7f89d1
9.
Log out of the server.
/opt/sdn/cassandra/bin# exit
10. From the Linux prompt of the server for the controller you stopped, delete the Cassandra
data:
/opt/sdn/cassandra/data# rm -rf *
/opt/sdn/cassandra/commitlog# rm *
/opt/sdn/cassandra/saved_caches# rm *
11. Restart the controller and Cassandra database, then log out of the server:
/opt/sdn/cassandra/bin# service sdnc start
/opt/sdn/cassandra/bin# exit
166 Troubleshooting
Load
Tokens Owns
1.23 GB
1
100.0%
1.23 GB
1
100.0%
310.11 MB
1
100.0%
(effective) Host ID
4245b8ab-6c3c-4755-bb28-90850d3a4a24
c172bbe2-799c-4adf-bd38-690dfa75ac79
26999328-abec-4d80-a689-eb8b1f7f89d1
Rack
rack1
rack1
rack1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents