-> Login to the server and check parameters by using plimit command
bash-3.00# plimit $$
25169: bash -l
resource current maximum
time(seconds) unlimited unlimited
file(blocks) unlimited unlimited
data(kbytes) unlimited unlimited
stack(kbytes) 8192 unlimited
coredump(blocks) unlimited unlimited
nofiles(descriptors) 1024 1024
vmemory(kbytes) unlimited unlimited
It means you can not change value more than 1024. You can change max value by using
bash-3.00# plimit -n 10000 $$
Now it is set to 10000
bash-3.00# plimit $$
25505: bash -l
resource current maximum
time(seconds) unlimited unlimited
file(blocks) unlimited unlimited
data(kbytes) unlimited unlimited
stack(kbytes) 8192 unlimited
coredump(blocks) unlimited unlimited
nofiles(descriptors) 10000 10000
vmemory(kbytes) unlimited unlimited
Now you can ulimit to set 10000
# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 10000
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
Friday, April 9, 2010
Tuesday, February 9, 2010
Friday, January 15, 2010
Clearing faults
2) #fmadm repair
# fmadm repair 03351534-e325-cf5d-81ae-e3fc8be83e5b
3) # cd /var/fm/fmd
# cd /var/fm/fmd && rm errlog fltlog ckpt/eft/* rsrc/*
(rm errlog fltlog ckpt/eft/* rsrc/*)
4) # fmadm reset cpumem-diagnosis
5) # fmadm reset cpumem-retire
6) # fmadm reset eft
7) # fmadm reset io-retire
# init 6
After these steps check to see if problem still exit.
# fmadm faulty
# fmadm repair 03351534-e325-cf5d-81ae-e3fc8be83e5b
3) # cd /var/fm/fmd
# cd /var/fm/fmd && rm errlog fltlog ckpt/eft/* rsrc/*
(rm errlog fltlog ckpt/eft/* rsrc/*)
4) # fmadm reset cpumem-diagnosis
5) # fmadm reset cpumem-retire
6) # fmadm reset eft
7) # fmadm reset io-retire
# init 6
After these steps check to see if problem still exit.
# fmadm faulty
Wednesday, December 16, 2009
Monitor Web Applications Over HTTPS
To configure the Beacon to recognize the Certificate Authority:
Obtain the Certificate of the Web Site's Certificate Authority, as follows:
In Microsoft Internet Explorer, connect to the HTTPS URL of the Web Site you are attempting to monitor.
Double-click the lock icon at the bottom of the browser screen, which indicates that you have connected to a secure Web site.
The browser displays the Certificate dialog box, which describes the Certificate used for this Web site. Other browsers offer a similar mechanism to view the Certificate detail of a Web Site.
Click the Certificate Path tab and select the first entry in the list of certificates as shown in Figure 2-7.
Click View Certificate to display a second Certificate dialog box.
Click the Details tab on the Certificate window.
Click Copy to File to display the Certificate Manager Export wizard.
In the Certificate Manager Export wizard, select Base64 encoded X.509 (.CER) as the format you want to export and save the certificate to a text file with an easily-identifiable name, such as beacon_certificate.cer.
Open the certificate file using your favorite text editor.
The content of the certificate file will look similar to the content shown in .
Update the list of Beacon Certificate Authorities, as follows:
Locate the b64InternetCertificate.txt file in the following directory of Agent Home of the Beacon host:
agent_home/sysman/config/
This file contains a list of Base64 Certificates.
Edit the b64InternetCertificate.txt file and add the contents of the Certificate file you just exported to the top of the file, taking care to include all the Base64 text of the Certificate including the BEGIN and END lines.
Restart the Management Agent.
After you restart the Management Agent, the Beacon detects your addition to the list of Certificate Authorities recognized by Beacon and you can successfully monitor the availability and performance of the secure Web site URL.
Obtain the Certificate of the Web Site's Certificate Authority, as follows:
In Microsoft Internet Explorer, connect to the HTTPS URL of the Web Site you are attempting to monitor.
Double-click the lock icon at the bottom of the browser screen, which indicates that you have connected to a secure Web site.
The browser displays the Certificate dialog box, which describes the Certificate used for this Web site. Other browsers offer a similar mechanism to view the Certificate detail of a Web Site.
Click the Certificate Path tab and select the first entry in the list of certificates as shown in Figure 2-7.
Click View Certificate to display a second Certificate dialog box.
Click the Details tab on the Certificate window.
Click Copy to File to display the Certificate Manager Export wizard.
In the Certificate Manager Export wizard, select Base64 encoded X.509 (.CER) as the format you want to export and save the certificate to a text file with an easily-identifiable name, such as beacon_certificate.cer.
Open the certificate file using your favorite text editor.
The content of the certificate file will look similar to the content shown in .
Update the list of Beacon Certificate Authorities, as follows:
Locate the b64InternetCertificate.txt file in the following directory of Agent Home of the Beacon host:
agent_home/sysman/config/
This file contains a list of Base64 Certificates.
Edit the b64InternetCertificate.txt file and add the contents of the Certificate file you just exported to the top of the file, taking care to include all the Base64 text of the Certificate including the BEGIN and END lines.
Restart the Management Agent.
After you restart the Management Agent, the Beacon detects your addition to the list of Certificate Authorities recognized by Beacon and you can successfully monitor the availability and performance of the secure Web site URL.
Wednesday, December 9, 2009
shutdown or reboot a Solaris Server
Reboot Commads:
shutdown -y -i6 -g0
or
sync;sync;init 6
or
reboot
Shutdown Commands:
shutdown -y -i5 -g0
or
sync;sync;init 5
or
poweroff
to Bring to OK prompt
init 0
or
shutdown –i0 –g0 –y
shutdown -y -i6 -g0
or
sync;sync;init 6
or
reboot
Shutdown Commands:
shutdown -y -i5 -g0
or
sync;sync;init 5
or
poweroff
to Bring to OK prompt
init 0
or
shutdown –i0 –g0 –y
Resetting a domain on E25K
setkeyswitch –d domain off
showkeyswitch –d domain
setobpparams -d domain 'auto-boot?=false'
showobpparams -d domain
setkeyswitch -d domain on
console -d domain
0k >
showkeyswitch –d domain
setobpparams -d domain 'auto-boot?=false'
showobpparams -d domain
setkeyswitch -d domain on
console -d domain
0k >
How to login on E25K console
ssh -l user e25kcontroller
$ sudo su -
# su - sms-svc
Password:
E25ksystem-controller:sms-svc:1> showplatform
> showboards
> console -d [ ABC ]
console login: root
password: **********
NOTE: The escape character is "~."
$ sudo su -
# su - sms-svc
Password:
E25ksystem-controller:sms-svc:1> showplatform
> showboards
> console -d [ ABC ]
console login: root
password: **********
NOTE: The escape character is "~."
Subscribe to:
Posts (Atom)
Welcome to the UNIX world
