VLC 10.4.0 to Log Hybrid & SA 10.6 - What's the process?
I have one VLC v10.4.02 which was earlier connected with the SA server (now SA server doesn't exists), so now I have added the same VLC on the new SA server v10.6.1.0 & then added the VLC onto the Log Hybrid server v 10.6.0.0.
But after the above activity, I am not able see any logs are coming from the VLC to the Log Hybrid, log hybrid is only collecting the logs from the windows legacy machine. So just want to know that the Log Hybrid doesn't supports the older version of VLC to collect the logs? Because I have created the certificates on the VLC and also added the IP address of new SA server & also the SA server was able to discover the VLC, but I have no idea that why the Log Hybrid is unable to collect the logs.
And to resolve the above issue I thought to troubleshoot & to upgrade the VLC onto the same version of Log Hybrid, but unable to do the same by following the upgrade procedure as mentioned in the document. So I tried to make an custom repository on the VLC (it was suggested by a RSA support member) to get it updated to 10.4.1.0 and then 10.4.2.0 and then 10.5.1.0 and then disable custom repo and then use the SA local repo to get it upgraded from 10.5 version to 10.6.10 by using the upgrade package of latest 10.6 packages.
But I tried many times to make an custom repo on the VLC and upload the packages of 10.4.1, but I am unable to achieve it.
So just want to know is anybody can suggest me that how to upgrade the VLC which is on a older version but connected to the SA on the latest version & suggest if the custom repo creation for upgrading is the only option then how I can do it to achieve the target.
Note: But we want the VLC on the latest version & the event sources which are already integrated should also keep collecting the logs after upgrading the version of the VLC on 10.6.
Many many thanks in advance.
It seems your best bet is as advised by the support engineer.
You need to create a local repo name it any directory, for instance /tmp/repo/rpms
- mkdir /tmp/repo/rpms
- scp the RPMs from your windows machine to the directory /tmp/repo/rpms
- service puppet stop
- createrepo /tmp/repo
- sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/*
- vi /etc/yum.repos.d/local.repo
- add the following content in this file
Once done, now you need to run "yum clean all" followed by "yum update".
Make sure to do the update as per the supported upgrade path.
Let me know if you faced any problems, or if that is what you already tried doing before.
I am not able to install the createrepo packages to create the custom repo. Pls advise how to do so.
I have tried installing the createrepo packages but it throws so many dependencies error all the time. Suggest how to clear it.
Luckily createrepo are python files
Can you please place the "genpkgmetadata.py , mergerepo.py , modifyrepo.py, worker.py" files attached, in the following path with the following permissions
-rwxr-xr-x. 1 root root 11983 May 14 2014 /usr/share/createrepo/genpkgmetadata.py
-rwxr-xr-x. 1 root root 3424 May 14 2014 /usr/share/createrepo/mergerepo.py
-rwxr-xr-x. 1 root root 8694 May 14 2014 /usr/share/createrepo/modifyrepo.py
-rwxr-xr-x. 1 root root 3795 May 14 2014 /usr/share/createrepo/worker.py
Also Can you please create a file "createrepo" with the following path and permissions as below
-rwxr-xr-x. 1 root root 60 Jan 26 2011 /usr/bin/createrepo
In this file, please add the following 2 lines
exec /usr/share/createrepo/genpkgmetadata.py "$@"
Once done, please try to re-run the command createrepo as per instructions in the previous reply.
Please make sure the correct permissions are granted for all these files.
Let me know what happens.
Please download the following file, and scp it to your machine /root directory
Now from your /root directory, issue the below commands
tar xzvf /root/createrepo-0.10.4.tar.gz
Let me know what happens.
The below is the output..
[root@NCORP-VLC-01 ~]# tar xzvf /root/createrepo-0.10.4.tar.gz
[root@NCORP-VLC-01 ~]# cd /root/createrepo-0.10.4/bin/
[root@NCORP-VLC-01 bin]# ./createrepo /tmp/repo
./createrepo: line 2: /usr/share/createrepo/genpkgmetadata.py: cannot execute binary file
./createrepo: line 2: /usr/share/createrepo/genpkgmetadata.py: Success
Yes, I tried that also but the same output of it too.
[root@NCORP-VLC-01 yum.repos.d]# yum check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
file:///tmp/repo/repodata/repomd.xml: [Errno 14] Could not open/read file:///tmp/repo/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: LocalRepo. Please verify its path and try again
Please remove the old files, and try again.
rm -f /usr/bin/createrepo
rm -rf /usr/share/createrepo
Then try again to run the ./createrepo /tmp/repo
If this fails, please login a support case, and I will pick it to assist you with this.