solaris 11, p2v in 3 steps
p2v is not a new feature. but i just tried it.
p2v is physical to virtual. which means you can migrate solaris from real HW to solaris zone.
1. create zone on solaris11.
Read the rest of this entry »
how to fix ldap hange issue on solaris
Issue details:
Solaris ldap client doesn’t work. you can use ldaplist/ldapclient even ps will hang
Solutions:
kill the ldap_cachemgr.
root # file /var/run/ldap_cache_door
/var/run/ldap_cache_door: door to ldap_cachemgr[1299]
kill 1299
then bounce the ldapclient, more details to trace the issue.
Read the rest of this entry »
(Solved) sftp: Received message too long
when you connect by ssh. it works fine. but doesn’t work with sftp ?
check your ~user/.bashrc or ~user/.profile or ~user/.cshrc anything related with your environment.
remove the echo from above files.
addons: check free memory on Solaris without top
vmstat 1 2 | tail -1 | awk '{printf "%d%s\n", ($5*4)/1024, "MB" }'
Quick Ref for XSCF console
Final tips: man intro ; then man
List all domain
XSCF> showdomainstatus -a
Connect to a domain
XSCF> console -d domainhere
Forcely to connect a domain
XSCF> console -d domainhere -f
View an connected console
XSCF> console -d domainhere -r
Read the rest of this entry »
(Sloved) lsof, unknown file system type (zfs)
Environment:
Solaris 10.
lsof version 4.77
root@solaris10:~# lsof |more
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sched 0 root cwd unknown file system type (zfs), v_op: 0×60074 068940
init 1 root cwd unknown file system type (zfs), v_op: 0×60074 068940
Solution:
Install the latest lsof version
Read the rest of this entry »
(resolved)sqlplus issue need set oracle_home
bash-3.2$ rpm -qa|grep oracle
oracle-instantclient-sqlplus-11.1.0.1-1
oracle-instantclient-basic-11.1.0.1-1
bash-3.2$ sqlplus
Error 6 initializing SQL*Plus
Message file sp1
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
Fix:
bash-3.2$ export ORACLE_HOME=/usr/lib/oracle/11.1.0.1/client64
bash-3.2$ export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
bash-3.2$ /usr/lib/oracle/11.1.0.1/client64/bin/sqlplus erer/pass@IP:1526/SPAPA1P
SQL*Plus: Release 11.1.0.6.0 – Production on Sat Sep 22 04:33:02 2012
Rundeck, operate batch hosts at the same time
Rundeck, a web-accessible console for dispatching commands and scripts to your nodes. Dispatch shell commands and scripts across all your physical or virtual nodes from a web-based or command-line interface. Automate ad-hoc and routine procedures. Use the API and plugins to integrate with other services. Use your LDAP/AD for authentication, and configure extensive access control.
Install Steps:
rpm -Uvh http://rundeck.org/latest.rpm
yum install rundesk
/etc/init.d/rundeckd start
http://your_host:4440
Default account: admin/admin
Sendmail issue: Relaying denied
Aug 11 05:55:40 relay_host sendmail[25741]: [ID 801593 mail.notice] q7B4teTq025741: ruleset=check_rcpt, arg1=
Aug 11 05:55:40 relay_host sendmail[25741]: [ID 801593 mail.info] q7B4teTq025741: from=
the Relay host won’t allow your email goes out. because your hostname is not match with DNS.
nslookup 10.23.4.224 , check the domain. and compare with your real host.
Auto-deploy Hadoop cluster with HDP
With the heat of Hadoop, the deployment and monitor becoming our system engineers’ focus.
More solution coming out now. such as Serengeti, but it aims for the Vsphere.
Bigtop, is a project under Apache. not bad, will give it a try.
HDP, Hortonworks Data Platform has been release recently.
Will try mention as much details doing the installation as I can.
Read the rest of this entry »
zfs issue: zfs: alignment error ?
Issue log:
Mounting ZFS filesystems: (1/15)
panic[cpu31]/thread=30023ee3800: BAD TRAP: type=34 rp=2a103a46890 addr=7020726573706f76 mmu_fsr=0
zfs: alignment error:
addr=0x7020726573706f76
pid=4838, pc=0x7a24d504, sp=0x2a103a46131, tstate=0×4480001600, context=0×42
g1-g7: 0, feedfacefeedface, feedface, 0, 3000638d940, 42, 30023ee3800
000002a103a465b0 unix:die+9c (34, 2a103a46890, 7020726573706f76, 0, 2a103a46670, c1e00000)
Solution:
go to single user mode.
ok. try “canmount=noauto” don’t automatically mount zfs.
Read the rest of this entry »