After upgrading to DS 6.3.1 on Solaris 10:
#cacaoadm status
Cannot find property: [cacao.embedded].
This can be fixed by addition of "use.j2me=false" option to
/etc/cacao/instances/default/private/cacao.properties
Wednesday, 2 December 2009
Thursday, 19 November 2009
Configuring SMF Service Probes for Containers in Sun Cluster 3.2.
Prerequsites:
Program inside a clustered zone must be managed through SMF and be in OFFLINE state.
Script for program must reside inside the zone and return 0 - normal, 100 - service restart needed, 201 - zone restart/switch is needed.
1. On clustered global zone edit file /opt/SUNWsczone/sczsmf/util/sczsmf_config:
RS=sczsmf-rs
RG=sczbt-rg
SCZBT_RS=sczbt-rs
ZONE=sczbt-zone-name
SERVICE=smf-service
RECURSIVE=true|false
STATE=true|false
SERVICE_PROBE=sczsmf-service-probe
The meaning and permitted values of the keywords in the sczsmf_config file are as
follows:
RS=sczsmf-rs
Specifies the name that you are assigning to the zone SMF resource. This must be
defined.
RG=sczbt-rg
Specifies the name of the resource group the zone boot resource resides in. This
must be defined.
SCZBT_RS=sczbt-rs
Specifies the name of the zone boot resource. You must specify a value for this
keyword.
ZONE=sczbt-zone-name
Specifies the zone name. This must be defined.
SERVICE=smf-service
Specifies the SMF service to enable/disable. This must be defined.
RECURSIVE=true|false
Specifies true to enable the service recursively or false to just enable the service
and no dependents. This must be defined.
STATE=true|false
Specifies true to wait until the service state is reached or false to not wait until
the service state is reached. This must be defined.
SERVICE_PROBE=sczsmf-service-probe
Specify the script to check the SMF service.
2. Run
/opt/SUNWsczone/sczsmf/util/sczsmf_register - to register SMF service resource within cluster.
3. Set failover properties for new resource(it may require to put resource offline):
sudo clresource set -p Failover_enabled=True sczsmf-rs
sudo clresource set -p Failover_mode=SOFT sczsmf-rs
4. Enable resource
sudo clresource enable sczsmf-rs
5. Check status:
sudo clresource status sczsmf-rs
Usefull comands:
clresourcegroup show
clresource list-prop
Additional reading:
http://docs.sun.com/app/docs/doc/819-3069/cacjgdbc?a=browse
Program inside a clustered zone must be managed through SMF and be in OFFLINE state.
Script for program must reside inside the zone and return 0 - normal, 100 - service restart needed, 201 - zone restart/switch is needed.
1. On clustered global zone edit file /opt/SUNWsczone/sczsmf/util/sczsmf_config:
RS=sczsmf-rs
RG=sczbt-rg
SCZBT_RS=sczbt-rs
ZONE=sczbt-zone-name
SERVICE=smf-service
RECURSIVE=true|false
STATE=true|false
SERVICE_PROBE=sczsmf-service-probe
The meaning and permitted values of the keywords in the sczsmf_config file are as
follows:
RS=sczsmf-rs
Specifies the name that you are assigning to the zone SMF resource. This must be
defined.
RG=sczbt-rg
Specifies the name of the resource group the zone boot resource resides in. This
must be defined.
SCZBT_RS=sczbt-rs
Specifies the name of the zone boot resource. You must specify a value for this
keyword.
ZONE=sczbt-zone-name
Specifies the zone name. This must be defined.
SERVICE=smf-service
Specifies the SMF service to enable/disable. This must be defined.
RECURSIVE=true|false
Specifies true to enable the service recursively or false to just enable the service
and no dependents. This must be defined.
STATE=true|false
Specifies true to wait until the service state is reached or false to not wait until
the service state is reached. This must be defined.
SERVICE_PROBE=sczsmf-service-probe
Specify the script to check the SMF service.
2. Run
/opt/SUNWsczone/sczsmf/util/sczsmf_register - to register SMF service resource within cluster.
3. Set failover properties for new resource(it may require to put resource offline):
sudo clresource set -p Failover_enabled=True sczsmf-rs
sudo clresource set -p Failover_mode=SOFT sczsmf-rs
4. Enable resource
sudo clresource enable sczsmf-rs
5. Check status:
sudo clresource status sczsmf-rs
Usefull comands:
clresourcegroup show
clresource list-prop
Additional reading:
http://docs.sun.com/app/docs/doc/819-3069/cacjgdbc?a=browse
Мітки:
Solaris,
Sun Cluster,
Zones
Tuesday, 17 November 2009
How to find recently added FC disks
- Save output format and zpool status commands in order to have list of disks you already had.
- cfgadm -al -o show_SCSI_LUN
- devfsadm
- format - you can observe all disks now
stmsboot -L - mapping between multipathed and physical device
luxadm -e dump_map /dev/fc/fp0 - shows devices attached to particular FC HBA
mpathadm list mpath-support -lists drivers
mpathadm show mpath-support libmpscsi_vhci.so - shows supported features of particular driver
mpathadm list lu - shows mpath devices status
mpathadm show lu /dev/rdsk/c4t60060E801526AE00000126AE00000181d0s2 - particular mpath device configuration
Мітки:
Solaris
Monday, 9 November 2009
Tuesday, 3 November 2009
Turning on Sun Cluster checks debug
- set debug to ALL in/opt/SUNWsczone/sczbt/etc/config
- Added daemon.debug in the syslog so it writes to /var/adm/messsages
- Added daemon.debug in the syslog so it writes to /var/adm/messsages
Мітки:
clustering,
Solaris,
Sun Cluster
Subscribe to:
Posts (Atom)
.jpg)
