1. Verify if sendmail is running. “ps -ef | grep sendmail“.
2. Stop sendmail. “stopsrc -s sendmail”
3. Verify if sendmail is running. “ps -ef | grep sendmail“.
No process should be returned.
4. Start sendmail. “startsrc -s sendmail -a “-bd -q30m”“.
-bd will start the sendmail as a SMTP mail relay router.
-q will the the interval in which the sendmail daemon will process save messages. If none is provided the daemon will default to instant processing.
5. Verify if sendmail is running. “ps -ef | grep sendmail“.
2010-08-24
2010-05-04
mirror witch not cylinder 0
If you have a mirrored file system in which the first submirror attached does not start on cylinder 0, all additional submirrors you attach must also not start on cylinder 0. If you attempt to attach a submirror starting on cylinder 0 to a mirror in which the original submirror does not start on cylinder 0, the following error message displays ==>
: can't attach labeled submirror to an unlabeled mirror
..
..
: can't attach labeled submirror to an unlabeled mirror
..
..
2010-03-30
Force DCPROMO
if cannot demote (dcpromo) you can use
dcpromo /Forceremoval
and next you must manual remove from AD
dcpromo /Forceremoval
and next you must manual remove from AD
2010-01-18
Howtodo remove disk from mirror AIX
before remove you must unmirror (detatch)
#unmirrorvg vg-name hdisk-no
then remove disk from volumegroup
#reducevg vg-name hdisk-no
and delete hdisk-no
#rmdev -dl hdisk-no
................................................................
#unmirrorvg
then remove disk from volumegroup
#reducevg
and delete hdisk-no
#rmdev -dl hdisk-no
................................................................
2010-01-16
Howtodo unmonitor resourcegroup on SUN cluster
# scstat -g ==> for list resource-group
# scswitch -n -M -j resource-name
unmonitor resource-group of cluster
# scswitch -e -M -j resource-name
to monitor resource-group of cluster
# scswitch -n -M -j
unmonitor resource-group of cluster
# scswitch -e -M -j
to monitor resource-group of cluster
2009-09-29
How to config MPXIO for EMC CX
vi /kernel/drv/scsi_vhci.conf
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "@(#)scsi_vhci.conf 1.9 04/08/26 SMI"
#
name="scsi_vhci" class="root";
#
# Load balancing global configuration: setting load-balance="none" will cause
# all I/O to a given device (which supports multipath I/O) to occur via one
# path. Setting load-balance="round-robin" will cause each path to the device
# to be used in turn.
#
load-balance="round-robin";
#
# Automatic failback configuration
# possible values are auto-failback="enable" or auto-failback="disable"
auto-failback="disable";
#
# For enabling MPxIO support for 3rd party symmetric device need an
# entry similar to following in this file. Just replace the "SUN SENA"
# part with the Vendor ID/Product ID for the device, exactly as reported by
# Inquiry cmd.
#
device-type-scsi-options-list =
"DGC RAID", "symmetric-option";
symmetric-option = 0x1000000;
========
and reboot host
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "@(#)scsi_vhci.conf 1.9 04/08/26 SMI"
#
name="scsi_vhci" class="root";
#
# Load balancing global configuration: setting load-balance="none" will cause
# all I/O to a given device (which supports multipath I/O) to occur via one
# path. Setting load-balance="round-robin" will cause each path to the device
# to be used in turn.
#
load-balance="round-robin";
#
# Automatic failback configuration
# possible values are auto-failback="enable" or auto-failback="disable"
auto-failback="disable";
#
# For enabling MPxIO support for 3rd party symmetric device need an
# entry similar to following in this file. Just replace the "SUN SENA"
# part with the Vendor ID/Product ID for the device, exactly as reported by
# Inquiry cmd.
#
device-type-scsi-options-list =
"DGC RAID", "symmetric-option";
symmetric-option = 0x1000000;
========
and reboot host
2009-07-21
How to do Create a Virtual IP in Solaris
1. create /etc/hostname.: containing the hostname of the virtual IP
/etc/hostname.ce0:1
2. add the hostname and virtual IP to /etc/hosts
reboot or Sol10 restart service by # svcadm restart svc:/network/physical
3. or by Command
ifconfig: plumb
ex : ifconfig ce0:1 plumb
ifconfig: netmask broadcast + up
ex : ifconfig ce0:1 10.67.1.141 netmask 255.255.255.0 broadcast + up
/etc/hostname.ce0:1
2. add the hostname and virtual IP to /etc/hosts
reboot or Sol10 restart service by # svcadm restart svc:/network/physical
3. or by Command
ifconfig
ex : ifconfig ce0:1 plumb
ifconfig
ex : ifconfig ce0:1 10.67.1.141 netmask 255.255.255.0 broadcast + up
Subscribe to:
Posts (Atom)