Skip to main content

Posts

Cloud Computing Characteristics

   5. Characteristics of Cloud Computing                     On-Demand Self Service No Human interaction Is needed for resource provisioning The resource can be provisioned with a click of a button Provisioning is available 24/7                        Broad Network Access Resources can be accessed from Anywhere using the network Ideally high broadband No physical access is required                               Resource Pooling Physical resources are shared between customers The Cloud's backbone decides which physical resource  to allocate for a customer's virtual services Some advanced cloud services allow for physical resource separati...

Install/Update to Python 2.7 and latest Pip on AWS EC2 Linux:

  # install build tools  sudo yum install make automake gcc gcc-c++ kernel-devel git-core -y  # install python 2.7 and change default python symlink  sudo yum install python27-devel -y  sudo rm /usr/bin/python sudo ln -s /usr/bin/python2.7 /usr/bin/python  # yum still needs 2.6, so write it in and backup script  sudo cp /usr/bin/yum /usr/bin/_yum_before_27  sudo sed -i s/python/python2.6/g /usr/bin/yum  sudo sed -i s/python2.6/python2.6/g /usr/bin/yum  # should display now 2.7.5 or later:  python -V  # now install pip for 2.7  sudo curl -o /tmp/ez_setup.py https://sources.rhodecode.com/setuptools/raw/bootstrap/ez_setup.py   sudo /usr/bin/python27 /tmp/ez_setup.py  sudo /usr/bin/easy_install-2.7 pip  sudo pip install virtualenv # should display current versions: pip -V && virtualenv --version Install/Update to Python 2.7 on CentOS 6.5: $   python  -- version Python   2.6.6 $ $ ...

Anonymous FTP in Linux.

  FTP server with different features:– 1. first it should be integrated with the AD server i.e exchange server. 2.anonymous user can access the server. 3.anonymous user can only able to upload the file and unable to view other files or folders except /incoming dir. 4.AD account user can able to see all the content of the file i.e /incomming and /outgoing. below is the /etc/vsftpd/vsftpd.conf settings =============================================== [root@Anonymoustest ~]# cat /etc/vsftpd/vsftpd.conf anonymous_enable=YES anon_upload_enable=YES local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES chroot_local_user=NO chroot_list_enable=YES chroot_list_file=/etc/vsftpd/chroot_list listen=YES local_root=/outgoing pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES user_config_dir=/etc/vsftpd/users chown_upload_mode=0664 anon_umask=002 before setting these things please make sure the server sho...

Identifying the LUN details on AIX with Script.

  find out the lun details on AIX server use the below commands and scripts. [root@ai1028:/home/root]# lsdev | grep hdisk hdisk0 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk1 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk2 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk3 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk4 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk5 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk6 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk7 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk8 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk9 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk10 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk11 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) i=12 means, 12 hdisks are there on the server [root@ai1028:/home/root]# i=0;while((i<=12));do lscfg -vpl hdisk$i |grep -i hdisk;((i=$i+1));done hdisk0 U8408.E8D.107031T-V8-C604-T1-W50060E80166F8D32-LB000000000000 XP MPIO Disk P9500 (...

Cobalt Environment and work flow

  Consule —————- 1) Traditional methods do not resolve the app's name . in this method, load balancer can resolve, but it is in round-robin fission. if we did any modification it won't update the dynamical but console having an extra feature where there is a Registry that manages all the app info and availability details. 2)Discovery and service configuration tools 3)Container Pilot should use consul for service management Nomad ========== 1)for control deployment and scheduler .hcl format. Service management tool Nomad should be used for managing the containers on one or more servers/clusters. Vault ========= Tool for securely accessing and storing secrets The new component of AN could make use of the latest technology offer by Cobalt to manage the secret AN is only planned for development hence it should not adopt this technology as it will not be accessible in production. cypherstore–is the authorization used by mon servers. What is OAuth? Oauth-token base authentication TTL...