These are some notes I took while integrating a solution providing live streaming of an Axis camera to a media server that converted the stream from rtsp to rtmp and was displayed on a website using flowplayer. The following technologies were used to accomplish this configuration:
I recently had a project where I needed to provide replication for a CentOS 5 LDAP server. The slave (consumer) was going to be running CentOS 6. This post assumes you already have (2) working LDAP servers, fully resolvable, and all ldapsearch queries respond appropriately.
Master (Provider in LDAP terms) - CentOS 5 server
Slave (Consumer in LDAP terms) - CentOS 6 server
On the Master:
Create a new account named replicate. Give the replicate account a password and make sure you can fully query the account from the Slave using ldapsearch.
This post is an overview of the commands needed to setup a basic working LDAP TLS server using CentOS 6.4. I will also go over the process of creating a POSIX user account and a POSIX group. The archived version of this is for CentOS 6 and can be found here: CentOS 6 LDAP With TLS
Add the following to your iptables configuration to allow access through the firewall, then install the required packages for your LDAP server.
I wanted an easy way to get to the shell on my remote machine bypassing the firewall etc.
I’m going to refer to the systems as follows: OurSystemTargetSystem
On OurSystem we need to open a listening network connection using netcat. This can be any port we want, but I’m going to use port 443 because it’s allowed through firewalls.
Note: Make sure the firewall isn’t blocking the listening port you choose on OurSystem
Next we need to force a bash shell back to OurSystem from TargetSystem. On the TargetSystem execute the following, substitute 18.104.22.168 with the external IP of OurSystem, substitute 443 with the port you set netcat to listen on.
You should be greeted with a bash shell from TargetSystem on OurSystem.
I needed to increase the size of a virtual disk on my Dell MD3000i. The MD3000i provides the storage space for my vSphere VM’s. The interface ‘Modular Disk Storage Manager’ does not provide a way to increase the size. To increase the size you must use the SMcli.exe (command line interface) provided with the Storage Manager client.
From the computer the ‘Modular Disk Storage Manager’ is installed on, open a CMD window and change to the following directory:
From this directory execute the following command (an explanation of the switches is below):
Where Production_Storage is the name of your storage array, virtual_disk_name is the name of the virtual disk to increase, 26843545600 is the amount to increase the virtual disk in bytes (in this case 25GB, use this calculator to convert from GB to Bytes: Convert GB to Bytes), and password is the password to the storage array.
Once the operation is complete you will need to extend the Datastore in vSphere.
Locate the datastore, right-click the datastore, select properties and select the ‘Increase …’ button. Next you should see a selection of available devices and the same LUN should appear, select it and click next. Vsphere should see the additional free space and upon clicking next it will expand the volume.