Archive for May, 2013

Simple Python scp wrapper

Inspired by the following article I decided to write a simply python scp wrapper which is based on the ideas taken from the perl script also mentioned on the same page. The whole point of this wrapper is dead simple: to allow certain users scp into their specific directories with out granting full ssh access. […]

Posted on May 28, 2013 at 11:34 am by sergeyt · Permalink · Leave a comment
In: Linux, Scripting

OpenLDAP do_syncrep retrying attempts

Do you observe the error messages on your Linux OpenLDAP replica or master server similar to the ones listed below: May 16 12:05:21 ldapserver1 slapd[5420]: do_syncrep2: rid=005 (-1) Can’t contact LDAP server May 16 12:05:21 ldapserver1 slapd[5420]: do_syncrepl: rid=005 rc -1 retrying (4 retries left) May 16 12:05:21 ldapserver1 slapd[5420]: do_syncrep2: rid=002 (-1) Can’t contact […]

Posted on May 21, 2013 at 9:12 am by sergeyt · Permalink · Leave a comment
In: Linux

How the SCP protocol works

That’s not my title but the one I stole from a fantastic Jan Pechanec’s blog post that describes how the SCP protocol works – https://blogs.oracle.com/janp/entry/how_the_scp_protocol_works I really encourage everyone to read it.

Posted on May 17, 2013 at 2:48 pm by sergeyt · Permalink · One Comment
In: FreeBSD, HP-UX, Linux, Solaris

How to create new thin devices using symcli and add them to a masking view and a storage group

Below are the steps that I used recently to create and present a few thin devices. More precisely: Boot disk – 50GB Two TDEVs 150GB each. One for data and the other for logs. Create a nested initiator group: symaccess -sid VMAX-SID create -name IG_SERVERNAME_HBA0 -type initiator -consistent_lun symaccess -sid VMAX-SID -name IG_SERVERNAME_HBA0 -type initiator […]

Posted on May 16, 2013 at 1:46 am by sergeyt · Permalink · Leave a comment
In: EMC, SAN