Team,
I need your assistance with the below task.
I need to migrate Splunk sh-2 (Non ES instance) from Cent OS to REDHAT from one VM to another VM.
I would appreciate it if you can provide step by step guide for this migration.
Note: We need to maintain the same IP address / Host Name of the existing VM ( Splunk Server).
Hi @kiranhar,
ok, so the path is the one I described in my previous post.
tell me if I can help you more, otherwise, please accept one answer for the other people of Community.
Ciao.
Giuseppe
P.S.: Karma Points are appreciated 😉
Hi @kiranhar,
folow these steps:
It's different is you have a different IP or hostname.
Ciao.
Giuseppe
Hi Thanks for your response.
We wanted to keep the old setup until we migrate Splunk to the new VM. So, we have a new VM with new IP and new Hostname, later will change the IP and Host Name on the new Server as old one. Please advise on the steps for this scenario.
Awaiting your response.
Hi @kiranhar,
if you want to migrate to another VM with different hostname and IP, you have to follow the same procedure, but, before restart the new VM, you have to manually modify the following conf files:
replacing the old hostname with the new one.
Ciao.
Giuseppe
Hi,
Thanks for your respons. No, it is the same IP and Host to maintain on the new VM.
Hi @kiranhar,
ok, so the path is the one I described in my previous post.
tell me if I can help you more, otherwise, please accept one answer for the other people of Community.
Ciao.
Giuseppe
P.S.: Karma Points are appreciated 😉
Hello @gcusello ,
I've followed the same method of migration as you reffered here. But when the entire setup is migrated from CentOS to RHEL. From backend all looks working fine but just the web UI does not comes up.
I tried doing multiple things but now luck.
- inputs and server. Conf has the same host name as of servers
- port 800 never comes up to listening state. Other ports are working as expected like 8089.8088 etc
-tired untaring the splunk package file on the new server as with the same version but no luck.
The web log and splunk.log files under opt/splunk/var/log/splunk directory also does not speak anything about the issue
Hi @Arun,
at first, I hint to open a different question, instead using an already closed one, this is better to you to have more answers.
Anyway, did you disabled local firewall (firewalld) on Red Hat?
I didn't experience the issues you describe, check the local firewall and the grants on the user you're using.
Ciao.
Giuseppe
Thanks. Also, please advise, on how to create a Splunk user and Splunk group on the new Linux Server (Redhat). Please provide the steps.
Hi @kiranhar,
good for you, see next time!
Ciao and happy splunking
Giuseppe
P.S.: Karma Points are appreciated 😉
Hi @kiranhar,
I'm sorry but I'm a little rusty on Linux, anyway, you can find this on Google:
https://linuxize.com/post/how-to-add-user-to-group-in-linux/
or something else.
Ciao.
Giuseppe