EMC ESRSve admin password reset (VXRail Edition)

Resetting a password on a ESRS appliance is pretty straight forward. But there is a pesky error that can pop up from time to time with ESRS appliances that get deployed via the VXRail deployment.

The normal esrs admin password reset goes something like this:


ESRSapplicance:~ # cd /opt/esrs/webuimgmt-util/
ESRSapplicance:~ # ./passwordAdmin.sh

Normally this would then ask you for a new password for the admin account associated with your ESRS appliance.

But what is the error you might ask? Well it happens in lieu of asking for a new password.

“User Configuration File Missing. Please contact ESRS Support”

In order to get around this error it is a simple command you must run before starting the ./passwordadmin.sh script:


ESRSapplicance:~ # echo admin > /etc/esrsadmin.conf
ESRSapplicance:~ # cd /opt/esrs/webuimgmt-util/
ESRSapplicance:~ # ./passwordAdmin.sh

And thats it! Have fun with ESRS and let me know it this article helped you!

A General system error occurred: Connection refused

Got this error today when trying to start up a VM.

A General system error occurred: Connection refused

 

While it was annoying to see, this issue is easily resolved. At least for me.

Log into your VCSA and first check the drive space

user@VCSA:$ df -h

Confirm the none of the drives are full

Then check the status and start the vmware-vpx-workflow service

user@VCSA:$ service-control --status vmware-vpx-workflow
user@VCSA:$ service-control --start vmware-vpx-workflow

It will take a second to start the service but that should do the trick!

 

VExpert 2018

I wanted to make a short post to say thanks to the VExpert community. I have been selected as a VExpert for the second year.. it has been awesome to be apart of this awesome community.

It has been a great experience meeting a lot of new people over the past year, and lets hope 2018 is even better!

https://vexpert.vmware.com/directory/1342

AppVol: Capture Machine boots to AppStack VMDK instead of OS

Been running to issues when provisioning Application stacks that the capture machine boots to the the AppStack VMDK instead of the OS VMDK . It is an annoying issue but a very easy fix!

  1. Shutdown the capture machine and take a snapshot.
  2. Edit the settings of the capture machine, change the primary hard drive to SCSI (0:0) under the Virtual Device Node option.
  3. Select the VM options tab > boot options > Force Bios Setup
  4. During the bios setup navigate to boot and ensure the harddrive is first in the boot order.
  5. Restart your capture VM and try to mount the appStack for provisioning.

 

 

RHEL/CentOS7 xrdp auto disconnects when logging on

So I ran into an issue this week with XRDP disconnecting from my RHEL/CentOS7 RDP connection the moment the logon process is finished. Searching around for different answers to this solution there seems to be no one way of doing it. So I decided to tell you what I did to fix the issue and hopefully help you avoid a major headache in the future.

 

I will start with the installation of XRDP and go through the changes.

  1. Install xrdp tigervnc-server on your RHEL/CentOS7 box
yum -y install xrdp tigervnc-server

2. Start xrdp service and enable at boot

systemctl enable xrdp
user@computer:$ systemctl start xrdp

3. Allow 3389 through the firewall and reload firewall

firewall-cmd --permanent --zone=public --add-port=3389/tcp 
user@computer:$ firewall-cmd --reload

4. Configure SELinux ( I did not need to perform this step)

chcon --type=bin_t /usr/bin/xrdp
user@computer:$ chcon --type=bin_t /usr/bin/xrdp-sesman

5. Edit the xrdp.ini file located at the /etc/xrdp/xrdp.ini

vi /etx/xrdp/xrdp.ini

6. Comment out the line that says “Channel_code=1” Here is a example of the .ini file after the change is made

[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=high
#channel_code=1
max_bpp=24
#black=000000
#grey=d6d3ce
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72

[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1

Just a FYI also some of these commands I did not come up with and where figured out from other blogs. Which when I get permission from the owners I will post here.

That being said this is my first post into some real enterprise level Linux! If you have any tip or tricks as i go down the RHEL CentOS path let me know!

Resources i used:

Install xrdp on CentOS 7 / RHEL 7

Knowing Stagnation Part 2

So in the last Post we uncovered some ways to find stagnation. In this post we will be covering a couple of ways to treat the stagnation after you discovered you are infected by it. This can force you into some seriously complicated situations and perhaps some very unconformable ones.

But how do we treat Stagnation before we decide its best to move on from your job?


Cut the fat out of your day

Cutting the spare time out of your day can help with treating stagnation, being able to fill your day with interesting tasks that may not have to do with your job description but enhance your career is a good first step.

You enjoy what interests you right? So if your current job doesn’t interest you perhaps there is some steps you can take to fill your day with interesting tasks while still completing your responsibilities. Simple things like putting VMware workstation on your work PC and standing up your first Linux box. Discovering new technologies is a great way to fill some time within your day. Leaning a new skill on your own will show your boss you are ready for a more advanced job and you have the ambition to do it. This is done by spending every minute at your work doing something productive and interesting.


Lean on your colleagues

Bother your colleagues and ask what they are doing. Show the ambition to proactively work with your team members, even if their job has nothing to do with yours. Sometimes they will say no. and that is fine move to the next person until you find someone who can teach you some new skills. When that colleague and yourself get more comfortable working together they will rely on you more for small tasks. and also provide a voice to your manager when it comes to taking on more advanced tasks and less minute tasks.

And plus misery  loves company. Maybe your colleagues feel the same way about the company, and working in two’s is a lot better than working alone. At that point you can be an effective voice for change when there are two of you with the same concerns. So when you talk to your manager they will know its not just one engineer that has a issue this makes a huge difference


Got a manager?

This is the hardest part of trying to treat stagnation and that is talking to your manager about your current roles and responsibilities. depending on the kind of relationship you have with your manager this can go one of two ways.

First way is good.

You sit down to have an honest and polite discussion with your manager about where you see yourself in 5-10 years career wise. Tell them what you want to learn and how they can potentially help. This conversation is the easiest and will usually be the conversation that will be had. This shows that your manager cares about his employee’s and wants to provide them with the opportunity to learn and thrive in their current work environment.  If your manager is anything close to a good manager this conversation will end with some proactive steps you guys can take together to work on your career path and what you expect to gain from working at that company.

Having this plan is nice but it only works when you and your manager put your 100% commitment into it.  If you both have the end goal in mind and your manager is halfway decent you will come out on top and at least for a short time your stagnation will be lifted.

But then there is the second way….

Do you have a manager? Does your manager only care about his paycheck? Does your manager not care about his employee’s because he is retiring in 5 year? well for three easy payments of mental stability we can fix your problems.

Having a conversation with a manager who just does give a rats ass is a hard spot to be in and honestly working for someone like that just plain sucks ass.

So what do we do about said manager?

  • Do we just don’t even bother and leave?
  • Do we go to his boss?
  • Do we just learn on our own and hope we don’t get caught?

There is one of two ways that work with these kinds of managers. The first is to have a Polite but frank discussion with them. Kind of like the first way. At this point that will do one of two things. it will either

  • A. Put a fire under their ass even if just for a short while.
  • B. They will get aggravated and hold a grudge and it will be very awkward
  • C. They will find any excuse to fire you.
  • D. Nothing changes

Those choices don’t sound to bad right? Well I have been in the situations where my “managers” have been out to get me. Just for showing them their flaws in managing. So when i say a Polite but frank discussion that is exactly what it needs to be. Tell them what you want to learn and tell them how you want to learn it. Tell them everything that could be better about the company or the team. Now don’t get me wrong this could cause some issues so do this AT YOUR OWN RISK. But it is worth a try even for the managers that don’t seem to give a rats ass.  Have the discussion about your career, it is important to you so it should be important to your manager. If it isn’t then leave that job immediately. It is not worth you being miserable and stagnant in your job because some crappy manager has had enough of this world.  Find greener pastures and embrace the change.


Like this article? Do you hate it? Let me know below in the comments or on twitter!

Knowing Stagnation Part 1

When you start at a new company you can tell pretty quickly who is taking a deep investment in their career and future versus who is just riding the creek of stagnation waiting for that gust of wind to get them to pay-day. The signs are clear from the outside looking in, But when you are the one who is stagnant do you know?

One of the biggest mistakes an IT lady/gentleman can make is not knowing when they are stagnant. We all got into IT for the love of learning and the constant challenge,  stagnation is usually looked over and not addressed when it should be. Which can really harm your career and performance at any company. No one is immune to stagnation. The best IT people i know have had a few lulls in their career from time to time. But the question is do they notice it and re mediate?

So how do we find/treat/cure stagnation? Well it’s not easy but we can certainly give it a go.


So how do we know the signs of stagnation?

Don’t want to go to work?

Dreading work is not only caused by stagnation but also by an unhealthy work environment. If you wake up in the morning and would rather take a 2 hour shower and cry. Chances are you are in an extremely unhealthy work environment. This can be caused by a bad manager or a shitty employee maybe you been changing out printer ink for 5 years and want to move up in the world and aren’t getting that opportunity, either way this is a sign you need to leave that job and fast.

Einstein made a pretty simple equation back when he was making up science things, take heed.

UHWE x LIIJ=DICAM

In case you didn’t learn that in high school physics full read out is below.

(Unhealthy work environment x Lack of interest in job = disaster in career and mind)


Need more energy?

More coffee! Do you find yourself needing 4 or more coffee’s a day? Are you single and don’t have kids? Didn’t go out partying last night with the guy/girls? Just a normal working day? Chances are you are stagnant… or at least getting there. That doesn’t make sense Frank you must be crazy?!? Well when was the last time you needed to drink a coffee before you go to an amusement park or had a party? Not very often. It tends to be the more excited you are about a particular task the less artificial energy you need.

If you don’t get genuinely excited about changing printer ink or building a new ESXi host then you will need a little push to get up and do it. That is a sign of stagnation. Not really getting excited about the challenges that you are presented with. Regardless of how minute or honestly how uninteresting they may be shows that you are looking for a bigger more interesting challenge, and only you can find that new challenge and exploit it.


Practice makes a perfect stagnate environment

Repetition is the path to stagnation. Would you take a job for $120,000 a year sharpening pencils all day? Probably at first you would, hell I would too how hard can it be right? Well physically not very hard, But mentally I am sure it is torture. Waking up at the same time every day, making the same commute every day, doing the same task every day can get tiring really fast. Repetition is nice for learning code and such but what happens if you are not a coder? or what happens when you need to expand your mind beyond that handful of task’s? Don’t stand for a company that wants you to do one task all day. Your career is worth more than creating distribution lists all day.


More to come on this topic in the next couple of days!