Operating System - HP-UX
1829905 Members
1417 Online
109993 Solutions
New Discussion

SG: package with no SERVICEs

 
SOLVED
Go to solution
Adam Garsha
Valued Contributor

SG: package with no SERVICEs

11.17. I want to use SG to automate mounting/unmounting a utility volume/filesystems; I don't want any monitoring scripts for this package. In short, I am just seeking to make it easy to move a clump of storage around in my cluster--there are no apps that are related to this package, it is utility/scratch storage.

Is it ok to have a package that doesn't define any SERVICE_* (name,cmd,restart)?

Namely, is it supported to have no Services in an SG package?

I just tried it and it seems to work well... no more lame sleeping-while loop scripts...

Is it supported? Thanks!
5 REPLIES 5
John Bigg
Esteemed Contributor
Solution

Re: SG: package with no SERVICEs

Yes. You can have a package without services, without IP addresses and even without storage and filesystems if you want. You can have nothing and everything and any combination is supported, although having nothing would be kind of redundant!
Frank de Vries
Respected Contributor

Re: SG: package with no SERVICEs

We run a fully fledged cluster
but without services for years
successfully,

NODE STATUS STATE
orasrv2 up running

Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/0/0 lan0
STANDBY up 0/5/0/0 lan1
PRIMARY up 1/12/0/0 lan2

PACKAGE STATUS STATE AUTO_RUN NODE
devnew up running enabled orasrv2

Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual

Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Subnet up 10.214.0.0

Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled orasrv2 (current)
Alternate up enabled orasrv1

PACKAGE STATUS STATE AUTO_RUN NODE
tstnew up running enabled orasrv2

Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual

Script_Parameters:
ITEM STATUS MAX_RESTARTS RESTARTS NAME
Subnet up 10.214.0.0

Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled orasrv2 (current)
Alternate up enabled orasrv1
Look before you leap
Ignacio Javier
Regular Advisor

Re: SG: package with no SERVICEs


I agree with the above answers.

I have a Package without service and everything goes fine.


regards
Ganesh Balraman
Regular Advisor

Re: SG: package with no SERVICEs

Yes u can configure the SG without adding any service.


Regds
B.Ganesh
Adam Garsha
Valued Contributor

Re: SG: package with no SERVICEs

See above. You don't need service (or ip for that matter or subnet).