- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hanfs.sh mapping from package style legacy to modu...
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
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
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
11-08-2011 07:56 AM
11-08-2011 07:56 AM
hanfs.sh mapping from package style legacy to modular
hello,
in a legacy package i configure a "nfs share" with Serviceguard NFS Toolkit :
configure : /etc/cmcluster/<package>/hanfs.sh
add a entry: example:
XFS[0]="-o ro,anon=65534,root=server.local /filesystem/"
and it works !
how about with a modular package ?
my software Serviceguard release:
B5140BA A.11.31.08 Serviceguard NFS Toolkit
T1905CA A.11.20.00.01 Serviceguard
i want to add a nfs share like:
example from /etc/dfs/dfstab
share -F nfs -o ro,anon=65534,root=server.local -d Share" /filesystem
i read a part of a docu and i should add a nfs module to a package , right ?
like:
cmmakepkg -m sg/multi_node_all -m nfs/hanfs /etc/cmcluster/nfs_modular/nfs-export.conf
and next steps ?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2011 11:15 PM
11-09-2011 11:15 PM
Re: hanfs.sh mapping from package style legacy to modular
hello,
i have now new, bad informations, how i add "hanfs.sh" to a modular package. when i make follwing steps, my package goes down ... i think it will better to add "share/unshare" in the customer_define_part ....
other have also some problems with this issue : HA NFS module package to specify client hosts
i made following steps:
Save of actual package-conf file:
cp -p /etc/cmcluster/svg-package/svg-package.conf /etc/cmcluster/svg-package/svg-package.conf.save
Add of Modul nfs/hanfs:
cmmakepkg -m nfs/hanfs -i /etc/cmcluster/svg-package/svg-package.conf
Redirect Output :
cmmakepkg -m nfs/hanfs -i /etc/cmcluster/svg-package/svg-package.conf > /etc/cmcluster/svg-package/svg-package.conf.new
Add entry:
XFS "-o ro,anon=65534,root=server.local -d Share /filesystem"
cmcheckconf :
cmcheckconf -P /etc/cmcluster/svg-package/svg-package.conf.new
/etc/cmcluster/svg-package/svg-package.conf.new:828: service_halt_timeout value of 0 is equivalent to 1 sec.
Output:
cmcheckconf: Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration
cmapplyconf :
cmapplyconf -P /etc/cmcluster/svg-package/svg-package.conf.new
Output:
/etc/cmcluster/svg-package/svg-package.conf.new:828: service_halt_timeout value of 0 is equivalent to 1 sec.
One or more of the specified packages are running. Any error in the
proposed configuration change could cause these packages to fail.
Ensure configuration changes have been tested before applying them.
Then package goes down .....
Also i don't know how to make entry with ", how escape it , with "\" it isn't possible like :
XFS "-o ro,anon=65534,root=server.local -d \"Info Share" /filesystem"
it is complex ...
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2011 11:28 PM
11-09-2011 11:28 PM
Re: hanfs.sh mapping from package style legacy to modular
>I don't know how to make entry with ", how escape it , with "\" it isn't possible like :
>XFS "-o ro,anon=65534,root=server.local -d \"Info Share" /filesystem"
Can you use "\" before your evil space, instead of quoting the whole name?
But is is better to not use evil spaces.
- Tags:
- evil spaces