1748163 Members
3797 Online
108758 Solutions
New Discussion

mcsg script

 

mcsg script

Hi Admins,

 

 

Any script for consistency check on MCSG? I need a free tool. Thanks!!!

6 REPLIES 6
Patrick Wallek
Honored Contributor

Re: mcsg script

What are you wanting to check?  What kind of "consistency check?"

 

To check the configuration there is the 'cmcheckconf' command.

Re: mcsg script

Hi Patrick, sorry for the delay, I meant a free tool to check the consistency between both nodes, not only for SG configuration. LVM, patches, kernel parm., etc...

 

thanks!

 

Emil Velez_2
Trusted Contributor

Re: mcsg script

serviceguard 11.20 has a new cmcompare functionality that is able to compare the contents of specified and arbitrary files this also happens when you do a cmapplyconf -C.
Emil Velez
Instructor Storage, Servers, HP-UX and Partner Courses
Hewlett Packard Enterprise Education Services
Ask me about training on StoreServ (3PAR) StoreOnce, StoreEasy, StoreAll, StoreVirtual, HP-UX, ServiceGuard and HPE Partner Ready Certification Training

internet: Linkedin: http://www.linkedin.com/in/emilvelez

HPE Master ASE Server Solutions Architect V3
HPE Master ASE Storage Solutions Architect V2
HP UNIX Certified (ASE HPUX 11iv3 Administration V1)
Certified HPE Instructor
HPE Product Certified - OneView [2016]
HP Sales Certified -Servers, Converged Systems and Services [2015]
HPE Product Certified - Converged Solutions [2017]

Re: mcsg script

thanks for the info Emil, but could be a good to tool for us to have a script to check: patches, kernel parameters, permissions and compare of config files between cluster nodes.

 

Regards!

P Arumugavel
Respected Contributor

Re: mcsg script

On top of my head, I cannot see a tool for doing this job.

 

 

However, you could write a own script to compare the patch level on all the cluster servers.

 

 

Thanks,

Vel

Emil Velez_2
Trusted Contributor

Re: mcsg script

The cmcompare command that is run when you do a cmapplyconf checks the content, permissions and timestamp of the files defined in /etc/cmcluster/cmclfilestocheck

 

What you could do is create a cron job on each node that does a swlist and saves it to a file every day.  Then let the cmcompare functionality check that file  to check if the systems have the same software and patches

 

It will already check /etc/passwd /etc/group and other files to make sure the contents and permissions are the same.

 

Just a idea.

Emil Velez
Instructor Storage, Servers, HP-UX and Partner Courses
Hewlett Packard Enterprise Education Services
Ask me about training on StoreServ (3PAR) StoreOnce, StoreEasy, StoreAll, StoreVirtual, HP-UX, ServiceGuard and HPE Partner Ready Certification Training

internet: Linkedin: http://www.linkedin.com/in/emilvelez

HPE Master ASE Server Solutions Architect V3
HPE Master ASE Storage Solutions Architect V2
HP UNIX Certified (ASE HPUX 11iv3 Administration V1)
Certified HPE Instructor
HPE Product Certified - OneView [2016]
HP Sales Certified -Servers, Converged Systems and Services [2015]
HPE Product Certified - Converged Solutions [2017]