- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change lcation of /etc/cmcluster
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 12:44 AM
12-11-2007 12:44 AM
I want to change the location of /etc/cmcluster files to another location on /usr. How do I do that?
Thanks,
Anat
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 12:53 AM
12-11-2007 12:53 AM
Re: change lcation of /etc/cmcluster
Only possible is to create symllink in /etc/ name cmcluster which points to /usr/..../
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 12:59 AM
12-11-2007 12:59 AM
Re: change lcation of /etc/cmcluster
could you elaborate more on how to do that?
Secondly, I know that there s cluster.conf file where all the locations are defined, is there a safe way to modify them?
Anat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 01:07 AM
12-11-2007 01:07 AM
Re: change lcation of /etc/cmcluster
why do you want to change location of SG Cluster files from /etc to /usr?
Gabriel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 01:08 AM
12-11-2007 01:08 AM
Re: change lcation of /etc/cmcluster
You are right when u say
>>is there a safe way to modify them?
Its not a good idea to change location of default files.
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 01:15 AM
12-11-2007 01:15 AM
SolutionHowever, the cluster ascii file and all package files can be placed anywhere. It's just convention which has led to everyone using /etc/cmcluster for the package files but this is actually a bad location since log files should not really be located directly in /etc.
When building a new cluster simply locate the package files wherever you want and use cmapplyconf as usual. If you have existing packages you wish to move you would need to halt the packages, move the ascii, script and log files to a new location, edit the ascii file to specify a new script location and then run cmapplyconf to apply the new configuration with the new location.
SG 11.17 onwards allows you to specify a specific location for log files so they do not need to be placed in the same directory as the script file. This would be another alternate method of locating these files elsewhere. Specify SCRIPT_LOG_FILE in the packaghe ascii file.
And lastly, as has already been suggested you could move the whole directory and use a symbolic link. i.e. halt the cluster, mv /etc/cmcluster /mnt/newlocation/cmcluster; ln -s /mnt/newlocation/cmcluster /etc/cmcluster However, I'm not sure that scrictly this would be supported since you need to take care about making sure things are mounted at the correct time etc. I would not really suggest this last option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2007 02:42 AM
12-11-2007 02:42 AM
Re: change lcation of /etc/cmcluster
Anat